[X86]Fix wrong asm match for VMASKMOVDQU
authorWang, Xin10 <xin10.wang@intel.com>
Thu, 18 May 2023 03:36:15 +0000 (23:36 -0400)
committerWang, Xin10 <xin10.wang@intel.com>
Thu, 18 May 2023 03:36:45 +0000 (23:36 -0400)
commit56055822b4d3a656ec0676de193c1065dc332188
tree762fe037eaf1546709cab4d5fe8860dc0e641550
parent43cd59d5df2300ecc650536940a9bea2ece2c3d6
[X86]Fix wrong asm match for VMASKMOVDQU

VMASKMOVDQU supports 32bit/64bit version in 64bitmode, previously we prefer to use VMASKMOVDQU64 in 64bitmode because the 32bit one need 0x67 prefix.
After D150436, asm match table changed a little, which makes in 64bit mode "vmaskmovdqu     %xmm0, %xmm1" will match VMASKMOVDQU other than VMASKMOVDQU64, this patch correct the asm match order for this instruction.

Reviewed By: skan

Differential Revision: https://reviews.llvm.org/D150835
llvm/lib/Target/X86/X86InstrSSE.td
llvm/test/MC/X86/x86_64-asm-match.s