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

Jakub Kuderski llvmlistbot at llvm.org
Mon Nov 27 09:26:13 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)
----------------
kuhar wrote:

dropped it in a cleanup commit above

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


More information about the Mlir-commits mailing list