Skip to content

Commit fa6390e

Browse files
committed
EarlyCSE: preserve TODO
1 parent 1bf8fe9 commit fa6390e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Scalar/EarlyCSE.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,7 @@ class EarlyCSE {
965965
const ParseMemoryInst &Later);
966966

967967
Value *getOrCreateResult(Instruction *Inst, Type *ExpectedType) const {
968+
// TODO: We could insert relevant casts on type mismatch.
968969
// The load or the store's first operand.
969970
Value *V;
970971
if (auto *II = dyn_cast<IntrinsicInst>(Inst)) {

0 commit comments

Comments
 (0)