[all-commits] [llvm/llvm-project] d11e54: [MacroFusion] Support multiple predicators (#72219)

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Mon Dec 11 20:12:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d11e54f3fe697e2f6a88ed45c12622ccdb55c2e7
      https://github.com/llvm/llvm-project/commit/d11e54f3fe697e2f6a88ed45c12622ccdb55c2e7
  Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/MacroFusion.h
    M llvm/lib/CodeGen/MacroFusion.cpp
    M llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp

  Log Message:
  -----------
  [MacroFusion] Support multiple predicators (#72219)

The user can provide multiple predicators to MacroFusion and the
DAG mutation will be applied if one of them is evalated to true.

`ShouldSchedulePredTy` is renamed to `MacroFusionPredTy`.




More information about the All-commits mailing list