mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
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:
parent
9c5822a966
commit
79fcad85a4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user