[Mlir-commits] [mlir] [mlir][spirv] Fix `fp8` and `bf16` leaking into unsupported ops (PR #199102)

Dmitriy Smirnov llvmlistbot at llvm.org
Thu Jun 18 06:49:59 PDT 2026


d-smirnov wrote:

@IgWod @kuhar 
It seems the change is too restrictive. Following is not allowed now:

    spirv.func @group_non_uniform_ballot(%arg0: vector<2xbf16>, %arg1: bf16, %arg2: i32) "None" {
      %0 = spirv.VectorInsertDynamic %arg1, %arg0[%arg2] : vector<2xbf16>, i32
      spirv.Return
    }

However, it seems that for composite ops it should not be so strict (providing the capabilities enabled). Could you advise how to handle the example above, please?

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


More information about the Mlir-commits mailing list