[PATCH] D80608: [llvm-mc] Make the suffix matcher more accurate.
Pengfei Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 26 20:42:12 PDT 2020
pengfei created this revision.
pengfei added reviewers: skan, craig.topper, MaskRay, LuoYuanke.
Herald added subscribers: llvm-commits, lebedev.ri, gbedwell, hiraditya.
Herald added a reviewer: andreadb.
Herald added a reviewer: lebedev.ri.
Herald added a project: LLVM.
Some instruction like VPMULDQ is NOT the variant of VPMULD but a new one
So we should make sure the suffix matcher only works for memory variant
that has the same size with the suffix.
Currently we only check for SSE/AVX* instructions, because many legacy
instructions didn't declare the alias instructions of their variants.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80608
Files:
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/lib/Target/X86/AsmParser/X86Operand.h
llvm/test/MC/X86/avx512-err.s
llvm/test/tools/llvm-mca/X86/BdVer2/dependent-pmuld-paddd.s
llvm/test/tools/llvm-mca/X86/BtVer2/dependent-pmuld-paddd.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80608.266407.patch
Type: text/x-patch
Size: 4847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200527/7ce5b990/attachment.bin>
More information about the llvm-commits
mailing list