aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit81cb20775a5bf9511020ac51b75094a83209e11f (patch)
treeabf91202ea4de3daf9fb7ae0ef1d3e31829e016e /lib
parent4f01c1ee9920e25bb9695189439ed5e29fc9128d (diff)
downloadexternal_llvm-81cb20775a5bf9511020ac51b75094a83209e11f.zip
external_llvm-81cb20775a5bf9511020ac51b75094a83209e11f.tar.gz
external_llvm-81cb20775a5bf9511020ac51b75094a83209e11f.tar.bz2
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
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp b/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp
index b472feb..95cc0ec 100644
--- a/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp
+++ b/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));