summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-02-16 00:37:02 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-02-16 00:37:02 +0000
commit2eecc22fdbff0b089f1600981809d36eca67bdf4 (patch)
tree6d8cc0374418bc326bf506cfd7705d117cfe123f /llvm/lib
parent4a8c43fe6d36fd259196397ed9b61b559d233bc3 (diff)
downloadbcm5719-llvm-2eecc22fdbff0b089f1600981809d36eca67bdf4.tar.gz
bcm5719-llvm-2eecc22fdbff0b089f1600981809d36eca67bdf4.zip
Remove a duplicated check.
llvm-svn: 125625
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/VirtRegRewriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/VirtRegRewriter.cpp b/llvm/lib/CodeGen/VirtRegRewriter.cpp
index 1d0404efb57..458a2134bf4 100644
--- a/llvm/lib/CodeGen/VirtRegRewriter.cpp
+++ b/llvm/lib/CodeGen/VirtRegRewriter.cpp
@@ -1633,7 +1633,7 @@ SpillRegToStackSlot(MachineBasicBlock::iterator &MII,
/// effect and all of its defs are dead.
static bool isSafeToDelete(MachineInstr &MI) {
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() ||
MI.isLabel() || MI.isDebugValue() ||
MI.hasUnmodeledSideEffects())
OpenPOWER on IntegriCloud