[llvm] [AMDGPU] Improve MIR pattern for FMinFMaxLegacy combine. NFC. (PR #90968)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Fri May 3 06:51:33 PDT 2024
================
@@ -15,8 +15,9 @@ def fmin_fmax_legacy_matchdata : GIDefMatchData<"FMinFMaxLegacyInfo">;
let Predicates = [HasFminFmaxLegacy] in
def fcmp_select_to_fmin_fmax_legacy : GICombineRule<
(defs root:$select, fmin_fmax_legacy_matchdata:$matchinfo),
----------------
tschuett wrote:
No. I prefer to only list the `$root`. defs is probably definitions and not def in SSA.
https://github.com/llvm/llvm-project/pull/90968
More information about the llvm-commits
mailing list