mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Changed case 64 to make the first arg of phi a defintion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4f01c1ee99
commit
81cb20775a
@ -717,7 +717,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
|
||||
Instruction* phi = subtreeRoot->getInstruction();
|
||||
mvec[0] = new MachineInstr(PHI, 1 + phi->getNumOperands());
|
||||
mvec[0]->SetMachineOperand(0, MachineOperand::MO_VirtualRegister,
|
||||
subtreeRoot->getValue());
|
||||
subtreeRoot->getValue(), true);
|
||||
for (unsigned i=0, N=phi->getNumOperands(); i < N; i++)
|
||||
mvec[0]->SetMachineOperand(i+1, MachineOperand::MO_VirtualRegister,
|
||||
phi->getOperand(i));
|
||||
|
Loading…
x
Reference in New Issue
Block a user