summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-06-23 05:23:49 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-06-23 05:23:49 +0000
commit022a726a25cac321a8e97e4a98565b489e2f2a4f (patch)
tree529876ca085fa906054e2a7d2194c064a2e472ab
parentb7cf95957d170943479f8a132a3439595336ff5b (diff)
downloadbcm5719-llvm-022a726a25cac321a8e97e4a98565b489e2f2a4f.tar.gz
bcm5719-llvm-022a726a25cac321a8e97e4a98565b489e2f2a4f.zip
Replace isTwoAddress with operand constraint.
llvm-svn: 73947
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb2.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb2.td b/llvm/lib/Target/ARM/ARMInstrThumb2.td
index 07c71da46d6..0aba2d52280 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb2.td
+++ b/llvm/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),
OpenPOWER on IntegriCloud