[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.td
Dale Johannesen
dalej at apple.com
Fri Apr 27 15:17:36 PDT 2007
Changes in directory llvm/lib/Target/ARM:
ARMInstrInfo.td updated: 1.97 -> 1.98
---
Log message:
Prevent Thumb code from generating ARM instructions
---
Diffs of the changes: (+3 -3)
ARMInstrInfo.td | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/ARM/ARMInstrInfo.td
diff -u llvm/lib/Target/ARM/ARMInstrInfo.td:1.97 llvm/lib/Target/ARM/ARMInstrInfo.td:1.98
--- llvm/lib/Target/ARM/ARMInstrInfo.td:1.97 Fri Apr 27 08:54:47 2007
+++ llvm/lib/Target/ARM/ARMInstrInfo.td Fri Apr 27 17:17:18 2007
@@ -1124,11 +1124,11 @@
def : ARMPat<(extloadi16 addrmode3:$addr), (LDRH addrmode3:$addr)>;
// truncstore i1 -> truncstore i8
-def : Pat<(truncstorei1 GPR:$src, addrmode2:$dst),
+def : ARMPat<(truncstorei1 GPR:$src, addrmode2:$dst),
(STRB GPR:$src, addrmode2:$dst)>;
-def : Pat<(pre_truncsti1 GPR:$src, GPR:$base, am2offset:$offset),
+def : ARMPat<(pre_truncsti1 GPR:$src, GPR:$base, am2offset:$offset),
(STRB_PRE GPR:$src, GPR:$base, am2offset:$offset)>;
-def : Pat<(post_truncsti1 GPR:$src, GPR:$base, am2offset:$offset),
+def : ARMPat<(post_truncsti1 GPR:$src, GPR:$base, am2offset:$offset),
(STRB_POST GPR:$src, GPR:$base, am2offset:$offset)>;
// smul* and smla*
More information about the llvm-commits
mailing list