[PATCH] D150068: [X86][AsmParser] Refactor code in AsmParser

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 7 08:54:19 PDT 2023


barannikov88 added inline comments.


================
Comment at: llvm/lib/Target/X86/X86InstrAsmAlias.td:554
 
-/*  FIXME: This is disabled because the asm matcher is currently incapable of
- *  matching a fixed immediate like $1.
----------------
I think this can be done by implementing `validateTargetOperandClass` for `MCK__36_1` ($1).
See how ARM does this.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150068/new/

https://reviews.llvm.org/D150068



More information about the llvm-commits mailing list