We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bf8fe9 commit fa6390eCopy full SHA for fa6390e
llvm/lib/Transforms/Scalar/EarlyCSE.cpp
@@ -965,6 +965,7 @@ class EarlyCSE {
965
const ParseMemoryInst &Later);
966
967
Value *getOrCreateResult(Instruction *Inst, Type *ExpectedType) const {
968
+ // TODO: We could insert relevant casts on type mismatch.
969
// The load or the store's first operand.
970
Value *V;
971
if (auto *II = dyn_cast<IntrinsicInst>(Inst)) {
0 commit comments