[llvm] [AMDGPU] Add regbank legalization rules for G_ATOMICRMW_FMIN and G_ATOMICRMW_FMAX (PR #182824)
Petar Avramovic via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 07:19:03 PDT 2026
================
@@ -0,0 +1,267 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; NOTE: Converted from regbankselect-atomicrmw-fmin-fmax.mir
+; Test atomicrmw fmin/fmax - register bank selection and legalization via GlobalISel.
+; Uses gfx1010 so global/flat/local f32 and f64 rules apply.
+; Note: Global and flat atomicrmw are expanded to cmpxchg before reaching GlobalISel;
+; only local (addrspace 3) reaches regbankselect as G_ATOMICRMW_FMIN/FMAX.
----------------
petar-avramovic wrote:
Is this comment up to date? all mentioned cases are here(not expanded)
https://github.com/llvm/llvm-project/pull/182824
More information about the llvm-commits
mailing list