Remember to set def-flag on register loaded from stack slot in CellSPU.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 16 May 2009 07:25:44 +0000 (07:25 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 16 May 2009 07:25:44 +0000 (07:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71934 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CellSPU/SPUInstrInfo.cpp

index 92ca244ed40a74dd92b6ad21d30bab9652dbab22..4af995a78139b5c622861d854a6213c277646773 100644 (file)
@@ -391,7 +391,7 @@ SPUInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
 
   DebugLoc DL = DebugLoc::getUnknownLoc();
   if (MI != MBB.end()) DL = MI->getDebugLoc();
-  addFrameReference(BuildMI(MBB, MI, DL, get(opc)).addReg(DestReg), FrameIdx);
+  addFrameReference(BuildMI(MBB, MI, DL, get(opc)DestReg), FrameIdx);
 }
 
 /*!