Check in bug fix for vadve

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@662 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-09-28 15:06:55 +00:00
parent 3d754fbcaa
commit 5070c6a512

View File

@ -1438,7 +1438,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
mvec[numInstr++] = new MachineInstr(BA);
mvec[numInstr-1]->SetMachineOperand(0, MachineOperand::MO_CCRegister,
(Value*) NULL);
mvec[numInstr-1]->SetMachineOperand(0, MachineOperand::MO_PCRelativeDisp,
mvec[numInstr-1]->SetMachineOperand(1, MachineOperand::MO_PCRelativeDisp,
((BranchInst*) subtreeRoot->getInstruction())->getSuccessor(1));
// delay slot
@ -1465,7 +1465,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
mvec[numInstr++] = new MachineInstr(BA);
mvec[numInstr-1]->SetMachineOperand(0, MachineOperand::MO_CCRegister,
(Value*) NULL);
mvec[numInstr-1]->SetMachineOperand(0, MachineOperand::MO_PCRelativeDisp,
mvec[numInstr-1]->SetMachineOperand(1, MachineOperand::MO_PCRelativeDisp,
((BranchInst*) subtreeRoot->getInstruction())->getSuccessor(1));
// delay slot