diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-14 00:02:23 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-14 00:02:23 +0000 |
commit | 57b6076d343e03237ea8b56ab291f488cc97300f (patch) | |
tree | e2064b7290270d85c6e639efd1fe501bfeaad036 /lib/CodeGen/RegAllocFast.cpp | |
parent | 7d4f25904de543b039a28eddbea3034a5d80e7f8 (diff) |
Trust kill flags from isel and later passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocFast.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocFast.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/RegAllocFast.cpp b/lib/CodeGen/RegAllocFast.cpp index 2f59b1d849..66ba86ac94 100644 --- a/lib/CodeGen/RegAllocFast.cpp +++ b/lib/CodeGen/RegAllocFast.cpp @@ -673,10 +673,6 @@ void RAFast::AllocateBasicBlock(MachineBasicBlock &MBB) { for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) { MachineOperand &MO = MI->getOperand(i); if (!MO.isReg()) continue; - - // FIXME: For now, don't trust kill flags - if (MO.isUse()) MO.setIsKill(false); - unsigned Reg = MO.getReg(); if (!Reg || !TargetRegisterInfo::isPhysicalRegister(Reg) || ReservedRegs.test(Reg)) continue; |