[all-commits] [llvm/llvm-project] 560558: [X86]Fix wrong asm match for VMASKMOVDQU
XinWang10 via All-commits
all-commits at lists.llvm.org
Wed May 17 20:37:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 56055822b4d3a656ec0676de193c1065dc332188
https://github.com/llvm/llvm-project/commit/56055822b4d3a656ec0676de193c1065dc332188
Author: Wang, Xin10 <xin10.wang at intel.com>
Date: 2023-05-17 (Wed, 17 May 2023)
Changed paths:
M llvm/lib/Target/X86/X86InstrSSE.td
M llvm/test/MC/X86/x86_64-asm-match.s
Log Message:
-----------
[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
More information about the All-commits
mailing list