Changed case 64 to make the first arg of phi a defintion

llvm-svn: 355
This commit is contained in:
Ruchira Sasanka 2001-08-13 16:24:01 +00:00
parent 5715b56e65
commit 20429a47e5
1 changed files with 1 additions and 1 deletions

View File

@ -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));