summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMInstrInfo.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2006-08-08 20:35:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2006-08-08 20:35:03 +0000
commit8c41f99e6f175c156f1cdab4e9609ece39e2e141 (patch)
tree8add034f3c5c1110451f8603d834823bcd799249 /llvm/lib/Target/ARM/ARMInstrInfo.cpp
parent44124236f5e47a4ce2c5c6d13afe8ece49fc827c (diff)
downloadbcm5719-llvm-8c41f99e6f175c156f1cdab4e9609ece39e2e141.tar.gz
bcm5719-llvm-8c41f99e6f175c156f1cdab4e9609ece39e2e141.zip
change the addressing mode of the str instruction to reg+imm
llvm-svn: 29571
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.cpp b/llvm/lib/Target/ARM/ARMInstrInfo.cpp
index 5437c1dda10..4384c288966 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMInstrInfo.cpp
@@ -22,6 +22,10 @@ ARMInstrInfo::ARMInstrInfo()
: TargetInstrInfo(ARMInsts, sizeof(ARMInsts)/sizeof(ARMInsts[0])) {
}
+const TargetRegisterClass *ARMInstrInfo::getPointerRegClass() const {
+ return &ARM::IntRegsRegClass;
+}
+
/// Return true if the instruction is a register to register move and
/// leave the source and dest operands in the passed parameters.
///
OpenPOWER on IntegriCloud