[X86][NFC] Use mnemonic tables in validateInstruction 1/4
authorAmir Ayupov <aaupov@fb.com>
Tue, 14 Jun 2022 18:20:36 +0000 (11:20 -0700)
committerAmir Ayupov <aaupov@fb.com>
Tue, 14 Jun 2022 19:06:23 +0000 (12:06 -0700)
commit4bf928bce44adda059aba715664c41462536d483
tree3913dbb7a6e2aa6bdec9379da15521f6984560c6
parent8605b4d8c5cc1e1f8a0547378ca1eb69a1a56840
[X86][NFC] Use mnemonic tables in validateInstruction 1/4

Group switch cases by opcode:
- VFCMADDCPH
- VFCMADDCSH
- VFMADDCPH
- VFMADDCSH

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D127716
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp