projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e39493e
)
Replace isTwoAddress with operand constraint.
author
Evan Cheng
<evan.cheng@apple.com>
Tue, 23 Jun 2009 05:23:49 +0000
(
05:23
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Tue, 23 Jun 2009 05:23:49 +0000
(
05:23
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73947
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMInstrThumb2.td
b/lib/Target/ARM/ARMInstrThumb2.td
index 07c71da46d6217938fd5764f2cf5e1039f589653..0aba2d52280952297392f1ea3efdfcb417954a79 100644
(file)
--- a/
lib/Target/ARM/ARMInstrThumb2.td
+++ b/
lib/Target/ARM/ARMInstrThumb2.td
@@
-160,7
+160,7
@@
def tMOVi16 : PseudoInst<(outs GPR:$dst), (ins i32imm:$src),
[(set GPR:$dst, imm0_65535:$src)]>,
Requires<[HasThumb2]>;
-let
isTwoAddress = 1
in
+let
Constraints = "$src = $dst"
in
def tMOVTi16 : PseudoInst<(outs GPR:$dst), (ins GPR:$src, i32imm:$imm),
"movt $dst, $imm",
[(set GPR:$dst, (or (and GPR:$src, 0xffff),