mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-09 16:45:03 +00:00
findTiedToSrcOperand() changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32353 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3cc3816cd4
commit
7814ad0bf3
@ -198,8 +198,8 @@ void RegAllocSimple::AllocateBasicBlock(MachineBasicBlock &MBB) {
|
||||
unsigned physReg = Virt2PhysRegMap[virtualReg];
|
||||
if (physReg == 0) {
|
||||
if (op.isDef()) {
|
||||
int TiedOp = TM->getInstrInfo()
|
||||
->findTiedToSrcOperand(MI->getOpcode(), i);
|
||||
int TiedOp = TM->getInstrInfo()->
|
||||
findTiedToSrcOperand(MI->getInstrDescriptor(), i);
|
||||
if (TiedOp == -1) {
|
||||
physReg = getFreeReg(virtualReg);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user