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:
Ruchira Sasanka 2001-08-13 16:24:01 +00:00
parent 4f01c1ee99
commit 81cb20775a

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