summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2009-01-15 11:18:53 +0000
committerRichard Osborne <richard@xmos.com>2009-01-15 11:18:53 +0000
commit502b91a35cf61abcef292504c4db916c1abebd80 (patch)
treece805c3657ee572c5b3fcebc00b5743c31f6f808 /llvm/lib/Target/XCore/XCoreRegisterInfo.cpp
parent08a4c281cb101e788ed05814bb4ba7834e179cbc (diff)
downloadbcm5719-llvm-502b91a35cf61abcef292504c4db916c1abebd80.tar.gz
bcm5719-llvm-502b91a35cf61abcef292504c4db916c1abebd80.zip
Update the operands used when building LDAWSP instructions to match the .td
changes in the last commit. llvm-svn: 62257
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreRegisterInfo.cpp')
-rw-r--r--llvm/lib/Target/XCore/XCoreRegisterInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp b/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp
index d40404e2fe9..d93dad83a8c 100644
--- a/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp
+++ b/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp
@@ -481,7 +481,6 @@ void XCoreRegisterInfo::emitPrologue(MachineFunction &MF) const {
// Set the FP from the SP.
unsigned FramePtr = XCore::R10;
BuildMI(MBB, MBBI, TII.get(XCore::LDAWSP_ru6), FramePtr)
- .addImm(0)
.addImm(0);
if (emitFrameMoves) {
// Show FP is now valid.
OpenPOWER on IntegriCloud