[llvm-commits] [llvm] r73947 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Evan Cheng
evan.cheng at apple.com
Mon Jun 22 22:23:49 PDT 2009
Author: evancheng
Date: Tue Jun 23 00:23:49 2009
New Revision: 73947
URL: http://llvm.org/viewvc/llvm-project?rev=73947&view=rev
Log:
Replace isTwoAddress with operand constraint.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td?rev=73947&r1=73946&r2=73947&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td Tue Jun 23 00:23:49 2009
@@ -160,7 +160,7 @@
[(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),
More information about the llvm-commits
mailing list