projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d4f259
)
Trust kill flags from isel and later passes.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 14 May 2010 00:02:23 +0000
(
00:02
+0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 14 May 2010 00:02:23 +0000
(
00:02
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103748
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocFast.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocFast.cpp
b/lib/CodeGen/RegAllocFast.cpp
index 2f59b1d849bf9fb92311328a04f92e1582b88c75..66ba86ac94c55fa4f6dcc942a3b1b537e8eb136d 100644
(file)
--- 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;