[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrThumb.td
Evan Cheng
evan.cheng at apple.com
Thu Mar 29 14:39:07 PDT 2007
Changes in directory llvm/lib/Target/ARM:
ARMInstrThumb.td updated: 1.19 -> 1.20
---
Log message:
Can't re-materialize mov r, imm in thumb since mov would clobber the condition code.
---
Diffs of the changes: (+1 -1)
ARMInstrThumb.td | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/ARM/ARMInstrThumb.td
diff -u llvm/lib/Target/ARM/ARMInstrThumb.td:1.19 llvm/lib/Target/ARM/ARMInstrThumb.td:1.20
--- llvm/lib/Target/ARM/ARMInstrThumb.td:1.19 Tue Mar 27 11:19:21 2007
+++ llvm/lib/Target/ARM/ARMInstrThumb.td Thu Mar 29 16:38:31 2007
@@ -379,7 +379,7 @@
"lsr $dst, $rhs",
[(set GPR:$dst, (srl GPR:$lhs, GPR:$rhs))]>;
-let isReMaterializable = 1 in
+// FIXME: This is not rematerializable because mov changes the condition code.
def tMOVi8 : TI<(ops GPR:$dst, i32imm:$src),
"mov $dst, $src",
[(set GPR:$dst, imm0_255:$src)]>;
More information about the llvm-commits
mailing list