summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorRuchira Sasanka <sasanka@students.uiuc.edu>2001-08-13 16:24:01 +0000
committerRuchira Sasanka <sasanka@students.uiuc.edu>2001-08-13 16:24:01 +0000
commit20429a47e5ee573b1907f495f5df738e9263fd80 (patch)
tree8e60f920b8293887d354ed499afded29ee2d5737 /llvm/lib
parent5715b56e655e5303cc9c0f1063242f75322d3502 (diff)
downloadbcm5719-llvm-20429a47e5ee573b1907f495f5df738e9263fd80.tar.gz
bcm5719-llvm-20429a47e5ee573b1907f495f5df738e9263fd80.zip
Changed case 64 to make the first arg of phi a defintion
llvm-svn: 355
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp b/llvm/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp
index b472febbddd..95cc0ec62be 100644
--- a/llvm/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp
+++ b/llvm/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp
@@ -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));
OpenPOWER on IntegriCloud