From f416b4b5ce505d7a0608cc06fc51f5e7c75d3de4 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Sat, 16 May 2009 07:25:44 +0000 Subject: [PATCH] Remember to set def-flag on register loaded from stack slot in CellSPU. llvm-svn: 71934 --- lib/Target/CellSPU/SPUInstrInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/CellSPU/SPUInstrInfo.cpp b/lib/Target/CellSPU/SPUInstrInfo.cpp index 92ca244ed40..4af995a7813 100644 --- a/lib/Target/CellSPU/SPUInstrInfo.cpp +++ b/lib/Target/CellSPU/SPUInstrInfo.cpp @@ -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); } /*!