[Mlir-commits] [mlir] [mlir][spirv] Small fix around SPV_EXT_FP8 when converting types (PR #192466)

Igor Wodiany llvmlistbot at llvm.org
Thu Apr 16 10:30:16 PDT 2026


================
@@ -549,12 +552,12 @@ bool ScalarType::isValid(IntegerType type) {
 }
 
 void TypeExtensionVisitor::addConcrete(ScalarType type) {
-  if (isa<BFloat16Type>(type)) {
+  if (type.isBF16()) {
----------------
IgWod wrote:

It's not really fp8 related so probably worth reflecting it in the title.

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


More information about the Mlir-commits mailing list