[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ADCE.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Oct 16 11:10:06 PDT 2004
Changes in directory llvm/lib/Transforms/Scalar:
ADCE.cpp updated: 1.81 -> 1.82
---
Log message:
Add note
---
Diffs of the changes: (+1 -0)
Index: llvm/lib/Transforms/Scalar/ADCE.cpp
diff -u llvm/lib/Transforms/Scalar/ADCE.cpp:1.81 llvm/lib/Transforms/Scalar/ADCE.cpp:1.82
--- llvm/lib/Transforms/Scalar/ADCE.cpp:1.81 Sun Sep 19 23:43:14 2004
+++ llvm/lib/Transforms/Scalar/ADCE.cpp Sat Oct 16 13:09:25 2004
@@ -234,6 +234,7 @@
}
} else if (I->mayWriteToMemory() || isa<ReturnInst>(I) ||
isa<UnwindInst>(I)) {
+ // Unreachable instructions are not marked intrinsically live here.
markInstructionLive(I);
} else if (isInstructionTriviallyDead(I)) {
// Remove the instruction from it's basic block...
More information about the llvm-commits
mailing list