mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
This PHI has 4 additional operands, not 2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15926 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
903990df33
commit
d2cbb871d0
@ -2836,7 +2836,7 @@ void ISel::emitCastOperation(MachineBasicBlock *MBB,
|
|||||||
// PhiMBB:
|
// PhiMBB:
|
||||||
// DestReg = phi [ IntTmp, OldMBB ], [ XorReg, XorMBB ]
|
// DestReg = phi [ IntTmp, OldMBB ], [ XorReg, XorMBB ]
|
||||||
BB = PhiMBB;
|
BB = PhiMBB;
|
||||||
BuildMI(BB, PPC::PHI, 2, DestReg).addReg(IntTmp).addMBB(OldMBB)
|
BuildMI(BB, PPC::PHI, 4, DestReg).addReg(IntTmp).addMBB(OldMBB)
|
||||||
.addReg(XorReg).addMBB(XorMBB);
|
.addReg(XorReg).addMBB(XorMBB);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user