diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-03-29 21:38:31 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-03-29 21:38:31 +0000 |
commit | 5e3c203cfd460ffa60341fb555fba6162abcbe61 (patch) | |
tree | a4f88514b80befbdfda32b2d72704d3d2d515675 /lib/Target/ARM | |
parent | a145c6d76667f8a702f7da1a9836aba4729c9f85 (diff) | |
download | external_llvm-5e3c203cfd460ffa60341fb555fba6162abcbe61.zip external_llvm-5e3c203cfd460ffa60341fb555fba6162abcbe61.tar.gz external_llvm-5e3c203cfd460ffa60341fb555fba6162abcbe61.tar.bz2 |
Can't re-materialize mov r, imm in thumb since mov would clobber the condition code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35479 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index 3c7cd03..ad8a88f 100644 --- a/lib/Target/ARM/ARMInstrThumb.td +++ b/lib/Target/ARM/ARMInstrThumb.td @@ -379,7 +379,7 @@ def tLSRrr : TIt<(ops GPR:$dst, GPR:$lhs, GPR:$rhs), "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)]>; |