[PATCH] D136681: [GlobalISel] Add Predicates to GICombineRule

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 06:42:31 PDT 2022


Pierre-vh created this revision.
Pierre-vh added reviewers: arsenm, dsanders.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, tpr, rovka, jvesely.
Herald added a project: All.
Pierre-vh requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Small QoL change to allow Predicates to be used in GICombineRule.
Currently only one combine in the AMDGPU backend makes use of it.

The implementation is pretty simple to get started but of course we can expand this later on and optimize predicate checking better if needed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136681

Files:
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/Target/AMDGPU/AMDGPU.td
  llvm/lib/Target/AMDGPU/AMDGPUCombine.td
  llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
  llvm/utils/TableGen/GICombinerEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136681.470466.patch
Type: text/x-patch
Size: 7043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221025/88e76a0c/attachment.bin>


More information about the llvm-commits mailing list