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

Davide Grohmann llvmlistbot at llvm.org
Fri Apr 17 00:08:00 PDT 2026


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

This is just code cleanup. I can mention it in the commit message. There is no real change to behavior here.

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


More information about the Mlir-commits mailing list