[Mlir-commits] [mlir] [mlir][spirv] Add SPV_EXT_float8 support (PR #179246)

Jakub Kuderski llvmlistbot at llvm.org
Tue Feb 3 06:00:39 PST 2026


================
@@ -648,6 +653,15 @@ void TypeCapabilityVisitor::addConcrete(ScalarType type) {
   } else {
     assert(isa<FloatType>(type));
     switch (bitwidth) {
+    case 8: {
+      if (isa<Float8E4M3FNType>(type) || isa<Float8E5M2Type>(type)) {
----------------
kuhar wrote:

```suggestion
      if (isa<Float8E4M3FNType, Float8E5M2Type>(type)) {
```

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


More information about the Mlir-commits mailing list