diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-16 18:09:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-16 18:09:25 +0000 |
commit | b2f59a2af7a94acf85c8b18af5c63f155df94f84 (patch) | |
tree | 47286ae3a39f332d406b47e9655bf79eef1108f8 | |
parent | 7a7ed0274d01efb2e12a32fd5fee6aa9596b0b9a (diff) | |
download | external_llvm-b2f59a2af7a94acf85c8b18af5c63f155df94f84.zip external_llvm-b2f59a2af7a94acf85c8b18af5c63f155df94f84.tar.gz external_llvm-b2f59a2af7a94acf85c8b18af5c63f155df94f84.tar.bz2 |
Add note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17043 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/ADCE.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp index 7fafe26..e1f228d 100644 --- a/lib/Transforms/Scalar/ADCE.cpp +++ b/lib/Transforms/Scalar/ADCE.cpp @@ -234,6 +234,7 @@ bool ADCE::doADCE() { } } 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... |