From: Evan Cheng Date: Tue, 23 Jun 2009 05:23:49 +0000 (+0000) Subject: Replace isTwoAddress with operand constraint. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3850a6ae9d1c5f38c94c89237ce87d4270dcac64;p=oota-llvm.git Replace isTwoAddress with operand constraint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73947 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index 07c71da46d6..0aba2d52280 100644 --- 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),