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:
afbd073
)
Fix the build. Apparently MachineInstr& is no longer implicitly convertable to Machi...
author
Owen Anderson
<resistor@mac.com>
Tue, 8 Jul 2008 23:36:37 +0000
(23:36 +0000)
committer
Owen Anderson
<resistor@mac.com>
Tue, 8 Jul 2008 23:36:37 +0000
(23:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53260
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocLocal.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocLocal.cpp
b/lib/CodeGen/RegAllocLocal.cpp
index a80311a60b1d12faf5e0b42b26d093d7c677ebd9..ed45961db9186d1af107f9394ef90505ca93f632 100644
(file)
--- a/
lib/CodeGen/RegAllocLocal.cpp
+++ b/
lib/CodeGen/RegAllocLocal.cpp
@@
-663,7
+663,7
@@
void RALocal::AllocateBasicBlock(MachineBasicBlock &MBB) {
// - used in another block
// - used in the same block before it is defined (loop)
if (UI->getParent() != &MBB ||
- (MO.isDef() && UI.getOperand().isUse() && precedes(*UI, MI))) {
+ (MO.isDef() && UI.getOperand().isUse() && precedes(
&
*UI, MI))) {
UsedInMultipleBlocks.set(MO.getReg() -
TargetRegisterInfo::FirstVirtualRegister);
usedOutsideBlock = true;