mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +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:
@@ -225,8 +225,6 @@ bool llvm::isInstructionTriviallyDead(Instruction *I) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isa<DbgInfoIntrinsic>(I)) return false;
|
|
||||||
|
|
||||||
if (!I->mayHaveSideEffects()) return true;
|
if (!I->mayHaveSideEffects()) return true;
|
||||||
|
|
||||||
// Special case intrinsics that "may have side effects" but can be deleted
|
// Special case intrinsics that "may have side effects" but can be deleted
|
||||||
|
Reference in New Issue
Block a user