[llvm] [AMDGPU] Fix predicates for BUFFER_ATOMIC_FMIN/FMAX patterns (PR #89066)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 06:01:49 PDT 2024


================
@@ -1726,7 +1726,7 @@ let SubtargetPredicate = isGFX12Plus in {
   defm : SIBufferAtomicPat_Common<"SIbuffer_atomic_cond_sub_u32", i32, "BUFFER_ATOMIC_COND_SUB_U32_VBUFFER", ["noret"]>;
 }
 
-let SubtargetPredicate = isGFX6GFX7GFX10Plus in {
+let OtherPredicates = [isGFX6GFX7GFX10Plus] in {
----------------
arsenm wrote:

I would expect these to be swapped, with HasUnrestrictedSOffset in OtherPredicates 

https://github.com/llvm/llvm-project/pull/89066


More information about the llvm-commits mailing list