[Mlir-commits] [mlir] [mlir][AMDGPU] Avoid verifier crash in DPPOp on vector operand types (PR #178887)
Jakub Kuderski
llvmlistbot at llvm.org
Sat Jan 31 07:06:01 PST 2026
================
@@ -801,3 +801,14 @@ func.func @wmma_scale(%fp8_src: vector<64xf8E4M3FN>, %fp6_alt_src: vector<64xf6E
%5 = amdgpu.scaled_wmma 32x16x128 (%scale_vec4_e4m3 * %fp4_src_a) * (%scale_vec4_e4m3 * %fp4_src_b) + %dst1 {a_first_scale_lane = 0 : i32, b_first_scale_lane = 0 : i32} : vector<4xf8E4M3FN>, vector<128xf4E2M1FN>, vector<4xf8E4M3FN>, vector<64xf4E2M1FN>, vector<16xf32>
func.return
}
+
+// CHECK-LABEL: func.func @dpp_vector_src_does_not_assert
+// CHECK: arm_sme.get_tile
+// CHECK: math.ctpop
+// CHECK: amdgpu.dpp
+func.func @dpp_vector_src_does_not_assert() {
+ %tile = arm_sme.get_tile : vector<[16]x[16]xi8>
+ %pop = math.ctpop %tile : vector<[16]x[16]xi8>
----------------
kuhar wrote:
You can avoid these external dialects by making %pop and %tile function arguments
https://github.com/llvm/llvm-project/pull/178887
More information about the Mlir-commits
mailing list