[all-commits] [llvm/llvm-project] 63390d: [GlobalISel] Add Predicates to GICombineRule

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed Oct 26 00:13:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63390dccd86d42387abdd0adf11417ae1ec3d4ae
      https://github.com/llvm/llvm-project/commit/63390dccd86d42387abdd0adf11417ae1ec3d4ae
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
    M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
    M llvm/test/TableGen/GICombinerEmitter/match-tree.td
    M llvm/utils/TableGen/GICombinerEmitter.cpp

  Log Message:
  -----------
  [GlobalISel] Add Predicates to GICombineRule

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.

Reviewed By: dsanders

Differential Revision: https://reviews.llvm.org/D136681




More information about the All-commits mailing list