[llvm] [AMDGPU][GlobalIsel] Add register bank legalization rules for amdgcn atomic fminmax num (PR #184564)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 4 04:08:05 PST 2026
================
@@ -1489,6 +1489,13 @@ RegBankLegalizeRules::RegBankLegalizeRules(const GCNSubtarget &_ST,
addRulesForIOpcs({amdgcn_global_atomic_ordered_add_b64})
.Any({{DivS64}, {{Vgpr64}, {IntrId, VgprP1, Vgpr64}}});
+ addRulesForIOpcs(
+ {amdgcn_global_atomic_fmin_num, amdgcn_global_atomic_fmax_num})
----------------
arsenm wrote:
I forgot we have these intrinsics. We should really remove them
https://github.com/llvm/llvm-project/pull/184564
More information about the llvm-commits
mailing list