[PATCH] D157700: [GlobalIsSel] Allow using PatFrags with multiple defs as the root of a combine rule
Pierre van Houtryve via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 11 03:24:45 PDT 2023
Pierre-vh created this revision.
Pierre-vh added reviewers: arsenm, foad, aemerson.
Herald added a subscriber: StephenFan.
Herald added a project: All.
Pierre-vh requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
I had to tighten the restrictions on PatFrags a bit to make it consistent: instructions that
define the root of a PF can only have one def.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157700
Files:
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/test/TableGen/GlobalISelCombinerMatchTableEmitter/patfrag-errors.td
llvm/test/TableGen/GlobalISelCombinerMatchTableEmitter/pattern-errors.td
llvm/utils/TableGen/GlobalISelCombinerMatchTableEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157700.549320.patch
Type: text/x-patch
Size: 8085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230811/0ac3e699/attachment.bin>
More information about the llvm-commits
mailing list