summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PostRASchedulerList.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-09-28 20:32:46 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-09-28 20:32:46 +0000
commit0bb5af345a6c511b3b6ecb425e46595ce0b7c6e1 (patch)
tree06e843c05afde979e4e4a2764c467081398403ea /llvm/lib/CodeGen/PostRASchedulerList.cpp
parentdc9efe8078baeb01466bfd710d868bd2afd98e82 (diff)
downloadbcm5719-llvm-0bb5af345a6c511b3b6ecb425e46595ce0b7c6e1.tar.gz
bcm5719-llvm-0bb5af345a6c511b3b6ecb425e46595ce0b7c6e1.zip
Use KILL instead of IMPLICIT_DEF in LowerSubregs pass.
llvm-svn: 83007
Diffstat (limited to 'llvm/lib/CodeGen/PostRASchedulerList.cpp')
-rw-r--r--llvm/lib/CodeGen/PostRASchedulerList.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/PostRASchedulerList.cpp b/llvm/lib/CodeGen/PostRASchedulerList.cpp
index 0f2d3095ac0..9d75b25b82c 100644
--- a/llvm/lib/CodeGen/PostRASchedulerList.cpp
+++ b/llvm/lib/CodeGen/PostRASchedulerList.cpp
@@ -655,11 +655,11 @@ bool SchedulePostRATDList::BreakAntiDependencies() {
I != E; --Count) {
MachineInstr *MI = --I;
- // After regalloc, IMPLICIT_DEF instructions aren't safe to treat as
- // dependence-breaking. In the case of an INSERT_SUBREG, the IMPLICIT_DEF
+ // After regalloc, KILL instructions aren't safe to treat as
+ // dependence-breaking. In the case of an INSERT_SUBREG, the KILL
// is left behind appearing to clobber the super-register, while the
// subregister needs to remain live. So we just ignore them.
- if (MI->getOpcode() == TargetInstrInfo::IMPLICIT_DEF)
+ if (MI->getOpcode() == TargetInstrInfo::KILL)
continue;
// Check if this instruction has a dependence on the critical path that
OpenPOWER on IntegriCloud