[Mlir-commits] [mlir] [mlir][spirv] Simplify gpu reduction to spirv logic (PR #73546)

Stanley Winata llvmlistbot at llvm.org
Mon Nov 27 09:25:57 PST 2023


================
@@ -647,8 +647,108 @@ gpu.module @kernels {
     // CHECK: %{{.*}} = spirv.GroupNonUniformUMax "Subgroup" "Reduce" %[[ARG]] : i32
     %r0 = gpu.subgroup_reduce maxsi %arg : (i32) -> (i32)
     %r1 = gpu.subgroup_reduce maxui %arg : (i32) -> (i32)
+    %r3 = gpu.subgroup_reduce maxui %arg : (i32) -> (i32)
----------------
raikonenfnu wrote:

this was resolved.


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


More information about the Mlir-commits mailing list