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:
3eccaa6
)
Use convenience function for consistency.
author
Lang Hames
<lhames@gmail.com>
Tue, 14 Feb 2012 03:04:29 +0000
(
03:04
+0000)
committer
Lang Hames
<lhames@gmail.com>
Tue, 14 Feb 2012 03:04:29 +0000
(
03:04
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150457
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveIntervalAnalysis.cpp
b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 64bbf1e78169e4f53720cb0c5f696c9182b927d9..72f4eb7d646e373bc73a19dcc072f15799a76508 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
lib/CodeGen/LiveIntervalAnalysis.cpp
@@
-994,8
+994,7
@@
unsigned LiveIntervals::getReMatImplicitUse(const LiveInterval &li,
if (Reg == 0 || Reg == li.reg)
continue;
- if (TargetRegisterInfo::isPhysicalRegister(Reg) &&
- !allocatableRegs_[Reg])
+ if (TargetRegisterInfo::isPhysicalRegister(Reg) && !isAllocatable(Reg))
continue;
RegOp = MO.getReg();
break; // Found vreg operand - leave the loop.