[llvm-commits] [llvm] r71934 - /llvm/trunk/lib/Target/CellSPU/SPUInstrInfo.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Sat May 16 00:25:44 PDT 2009


Author: stoklund
Date: Sat May 16 02:25:44 2009
New Revision: 71934

URL: http://llvm.org/viewvc/llvm-project?rev=71934&view=rev
Log:
Remember to set def-flag on register loaded from stack slot in CellSPU.

Modified:
    llvm/trunk/lib/Target/CellSPU/SPUInstrInfo.cpp

Modified: llvm/trunk/lib/Target/CellSPU/SPUInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/SPUInstrInfo.cpp?rev=71934&r1=71933&r2=71934&view=diff

==============================================================================
--- llvm/trunk/lib/Target/CellSPU/SPUInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/CellSPU/SPUInstrInfo.cpp Sat May 16 02:25:44 2009
@@ -391,7 +391,7 @@
 
   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);
 }
 
 /*!





More information about the llvm-commits mailing list