Index: src/IceInst.h |
diff --git a/src/IceInst.h b/src/IceInst.h |
index e3262c83d8dee23590b63d96981806321ed45bf5..e6b973fabc8476338e43e0365a23b61cb0a9cb53 100644 |
--- a/src/IceInst.h |
+++ b/src/IceInst.h |
@@ -67,6 +67,10 @@ public: |
FakeKill, // not part of LLVM/PNaCl bitcode |
Target // target-specific low-level ICE |
// Anything >= Target is an InstTarget subclass. |
+ // Note that the value-spaces are shared across targets. |
+ // To avoid confusion over the definition of shared values, |
+ // an object specific to one target should never be passed |
+ // to a different target. |
}; |
InstKind getKind() const { return Kind; } |
@@ -923,6 +927,8 @@ protected: |
~InstTarget() override {} |
}; |
+bool checkForRedundantAssign(const Variable *Dest, const Operand *Source); |
+ |
} // end of namespace Ice |
namespace llvm { |