summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocFast.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-05-14 00:02:23 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-05-14 00:02:23 +0000
commit68c235bd4db9cec4520ae6711670262e075cab1f (patch)
treea725499e44d71e9d009eeb462b2b0dfffb11a0a9 /llvm/lib/CodeGen/RegAllocFast.cpp
parent41f8dc897e731dbb3f9fcc14c35e222e89562c21 (diff)
downloadbcm5719-llvm-68c235bd4db9cec4520ae6711670262e075cab1f.tar.gz
bcm5719-llvm-68c235bd4db9cec4520ae6711670262e075cab1f.zip
Trust kill flags from isel and later passes.
llvm-svn: 103748
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocFast.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocFast.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp
index 2f59b1d849b..66ba86ac94c 100644
--- a/llvm/lib/CodeGen/RegAllocFast.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud