mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-20 00:43:48 +00:00
Replace isTwoAddress with operand constraint.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73947 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e39493eb1b
commit
3850a6ae9d
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user