[PATCH] D159111: [TableGen][GlobalISel] Add support for matching/writing MIFlags in MIR Patterns

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 08:27:07 PDT 2023


Pierre-vh created this revision.
Pierre-vh added reviewers: arsenm, aemerson, foad.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
Pierre-vh requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Allow matching one or more MIFlags, and writing them out as well.

Depends on D158975 <https://reviews.llvm.org/D158975>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159111

Files:
  llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h
  llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
  llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/Combiner.cpp
  llvm/lib/CodeGen/GlobalISel/GIMatchTableExecutor.cpp
  llvm/test/TableGen/GlobalISelCombinerEmitter/builtins/builtin-pattern-errors.td
  llvm/test/TableGen/GlobalISelCombinerEmitter/matchtable-miflags.td
  llvm/test/TableGen/GlobalISelCombinerEmitter/patfrag-errors.td
  llvm/test/TableGen/GlobalISelCombinerEmitter/pattern-errors.td
  llvm/test/TableGen/GlobalISelCombinerEmitter/pattern-parsing.td
  llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
  llvm/utils/TableGen/GlobalISelMatchTable.cpp
  llvm/utils/TableGen/GlobalISelMatchTable.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159111.554365.patch
Type: text/x-patch
Size: 24604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230829/c3005088/attachment.bin>


More information about the llvm-commits mailing list