Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127923 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Devang Patel committed Mar 18, 2011
1 parent 9c5822a commit 79fcad8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Transforms/Utils/Local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79fcad8

Please sign in to comment.