This is an archive of the discontinued LLVM Phabricator instance.

[X86][NFC] Use mnemonic tables in validateInstruction 2/4
ClosedPublic

Authored by Amir on Jun 13 2022, 11:47 PM.

Details

Summary

Group switch cases by opcode:

  • VFCMULCPH
  • VFCMULCSH
  • VFMULCPH
  • VFMULCSH

Diff Detail

Event Timeline

Amir created this revision.Jun 13 2022, 11:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 13 2022, 11:47 PM
Amir requested review of this revision.Jun 13 2022, 11:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 13 2022, 11:47 PM
craig.topper added inline comments.
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
3846

What about VFMULCSH?

Amir retitled this revision from [X86][NFC] Use mnemonic tables in validateInstruction 2/N to [X86][NFC] Use mnemonic tables in validateInstruction 2/4.Jun 14 2022, 9:35 AM
Amir edited the summary of this revision. (Show Details)Jun 14 2022, 9:38 AM
Amir added reviewers: craig.topper, skan, pengfei.
Amir added inline comments.Jun 14 2022, 9:42 AM
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
3846

Thanks! Lost it indeed, which caused one test failure (LLVM.MC/X86::avx512fp16-complex-fma.s).

Amir updated this revision to Diff 436841.Jun 14 2022, 10:10 AM

Add missing isVFMULCSH

Amir marked an inline comment as done.Jun 14 2022, 10:10 AM
This revision is now accepted and ready to land.Jun 14 2022, 10:34 AM
This revision was landed with ongoing or failed builds.Jun 14 2022, 12:09 PM
This revision was automatically updated to reflect the committed changes.