aboutsummaryrefslogtreecommitdiff
path: root/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
commit62db116933dbc2ac61389329c39ccd00d15f066b (patch)
tree4a85db7693118586ded75ba4805a34becd91974b /lib/Target/XCore/XCoreRegisterInfo.cpp
parentb67e6b3b65f88d63cf483f47057beac5b8f55edf (diff)
Update the operands used when building LDAWSP instructions to match the .td
changes in the last commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62257 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreRegisterInfo.cpp')
-rw-r--r--lib/Target/XCore/XCoreRegisterInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/XCore/XCoreRegisterInfo.cpp b/lib/Target/XCore/XCoreRegisterInfo.cpp
index d40404e2fe..d93dad83a8 100644
--- a/lib/Target/XCore/XCoreRegisterInfo.cpp
+++ b/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.