From f2c3f6a8556b6275f1084b9f8c130452a7f5eb9d 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71934 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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); } /*!