From: Chris Lattner Date: Sat, 16 Oct 2004 18:09:25 +0000 (+0000) Subject: Add note X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b2f59a2af7a94acf85c8b18af5c63f155df94f84;p=oota-llvm.git Add note git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17043 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp index 7fafe26d4a9..e1f228d6fab 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(I) || isa(I)) { + // Unreachable instructions are not marked intrinsically live here. markInstructionLive(I); } else if (isInstructionTriviallyDead(I)) { // Remove the instruction from it's basic block...