[llvm] [mlir] [MLIR] Add f6E3M2FN type (PR #105573)

Diego Caballero via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 17:21:20 PDT 2024


================
@@ -415,9 +416,9 @@ inline bool BaseMemRefType::isValidElementType(Type type) {
 inline bool FloatType::classof(Type type) {
   return llvm::isa<Float8E5M2Type, Float8E4M3Type, Float8E4M3FNType,
                    Float8E5M2FNUZType, Float8E4M3FNUZType,
-                   Float8E4M3B11FNUZType, Float8E3M4Type, BFloat16Type,
-                   Float16Type, FloatTF32Type, Float32Type, Float64Type,
-                   Float80Type, Float128Type>(type);
+                   Float8E4M3B11FNUZType, Float8E3M4Type, Float6E3M2FNType,
----------------
dcaballe wrote:

Same? (follow bitwidth order)

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


More information about the llvm-commits mailing list