mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-07 12:30:44 +00:00
Fix the build. Apparently MachineInstr& is no longer implicitly convertable to MachineBasicBlock::iterator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53260 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
afbd0737e7
commit
0966f0f0e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user