mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-28 08:37:41 +00:00
Remove a duplicated check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5eda282cd1
commit
e32effb02f
@ -1633,7 +1633,7 @@ SpillRegToStackSlot(MachineBasicBlock::iterator &MII,
|
|||||||
/// effect and all of its defs are dead.
|
/// effect and all of its defs are dead.
|
||||||
static bool isSafeToDelete(MachineInstr &MI) {
|
static bool isSafeToDelete(MachineInstr &MI) {
|
||||||
const TargetInstrDesc &TID = MI.getDesc();
|
const TargetInstrDesc &TID = MI.getDesc();
|
||||||
if (TID.mayLoad() || TID.mayStore() || TID.isCall() || TID.isTerminator() ||
|
if (TID.mayLoad() || TID.mayStore() || TID.isTerminator() ||
|
||||||
TID.isCall() || TID.isBarrier() || TID.isReturn() ||
|
TID.isCall() || TID.isBarrier() || TID.isReturn() ||
|
||||||
MI.isLabel() || MI.isDebugValue() ||
|
MI.isLabel() || MI.isDebugValue() ||
|
||||||
MI.hasUnmodeledSideEffects())
|
MI.hasUnmodeledSideEffects())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user