diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-09-28 20:32:46 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-09-28 20:32:46 +0000 |
commit | 544df3651e15f31ae2c14588c1272fd870560250 (patch) | |
tree | 82d8126f30232e4ac8fe32447b399cc4426564f9 /lib/CodeGen/PostRASchedulerList.cpp | |
parent | 26207e5bf1123a793bd9b38bcda2f569a6b45ef2 (diff) |
Use KILL instead of IMPLICIT_DEF in LowerSubregs pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PostRASchedulerList.cpp')
-rw-r--r-- | lib/CodeGen/PostRASchedulerList.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/PostRASchedulerList.cpp b/lib/CodeGen/PostRASchedulerList.cpp index 0f2d3095ac..9d75b25b82 100644 --- a/lib/CodeGen/PostRASchedulerList.cpp +++ b/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 |