[PATCH] D146800: [TableGen][GlobalISel] Support EXTRACT_SUBREGs for ComplexPattern suboperands.

Ivan Kosarev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 03:50:24 PDT 2023


kosarev created this revision.
Herald added a project: All.
kosarev requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This makes it possible to write GlobalISel patterns generating
EXTRACT_SUBREG instructions applied to suboperands of ComplexPattern
operands. Currently, TableGen complains that such operands are not
declared in matcher.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146800

Files:
  llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
  llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
  llvm/test/TableGen/GlobalISelEmitterSubreg.td
  llvm/utils/TableGen/GlobalISelEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146800.508031.patch
Type: text/x-patch
Size: 9103 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230324/57e64545/attachment.bin>


More information about the llvm-commits mailing list