Remove dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127923 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2011-03-18 23:33:58 +00:00
parent 9c5822a966
commit 79fcad85a4

View File

@ -225,8 +225,6 @@ bool llvm::isInstructionTriviallyDead(Instruction *I) {
return true;
}
if (isa<DbgInfoIntrinsic>(I)) return false;
if (!I->mayHaveSideEffects()) return true;
// Special case intrinsics that "may have side effects" but can be deleted