Reverse operands for Intel syntax form of 'bt' alias.

llvm-svn: 186809
This commit is contained in:
Craig Topper 2013-07-22 07:47:51 +00:00
parent d7ff88a8d9
commit d0ed3a417e
1 changed files with 2 additions and 1 deletions

View File

@ -1969,7 +1969,8 @@ def : InstAlias<"aad", (AAD8i8 10)>;
def : InstAlias<"aam", (AAM8i8 10)>;
// Disambiguate the mem/imm form of bt-without-a-suffix as btl.
def : InstAlias<"bt $imm, $mem", (BT32mi8 i32mem:$mem, i32i8imm:$imm)>;
def : InstAlias<"bt {$imm, $mem|$mem, $imm}",
(BT32mi8 i32mem:$mem, i32i8imm:$imm), 0>;
// clr aliases.
def : InstAlias<"clrb $reg", (XOR8rr GR8 :$reg, GR8 :$reg)>;