summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-05-16 07:25:44 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-05-16 07:25:44 +0000
commit99abac89969de081c5ef959045b52fe73f500c39 (patch)
treef1ab5c77fd3282750e8bd1c770a9adc40724ba0c
parente61c7a3958e70edd92f9beb2f8da2a26cc5b43d4 (diff)
downloadbcm5719-llvm-99abac89969de081c5ef959045b52fe73f500c39.tar.gz
bcm5719-llvm-99abac89969de081c5ef959045b52fe73f500c39.zip
Remember to set def-flag on register loaded from stack slot in CellSPU.
llvm-svn: 71934
-rw-r--r--llvm/lib/Target/CellSPU/SPUInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUInstrInfo.cpp b/llvm/lib/Target/CellSPU/SPUInstrInfo.cpp
index 92ca244ed40..4af995a7813 100644
--- a/llvm/lib/Target/CellSPU/SPUInstrInfo.cpp
+++ b/llvm/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);
}
/*!
OpenPOWER on IntegriCloud