OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a145c6d
)
Can't re-materialize mov r, imm in thumb since mov would clobber the condition code.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 29 Mar 2007 21:38:31 +0000
(21:38 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 29 Mar 2007 21:38:31 +0000
(21:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35479
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMInstrThumb.td
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMInstrThumb.td
b/lib/Target/ARM/ARMInstrThumb.td
index
3c7cd03
..
ad8a88f
100644
(file)
--- 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)]>;