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)]>; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits