diff --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td --- a/mlir/include/mlir/IR/OpBase.td +++ b/mlir/include/mlir/IR/OpBase.td @@ -490,6 +490,10 @@ def BF16 : Type, "bfloat16 type">, BuildableType<"$_builder.getBF16Type()">; +def F8E4M3FN : Type, "f8E4M3FN type">, + BuildableType<"$_builder.getFloat8E4M3FNType()">; +def F8E5M2 : Type, "f8E5M2 type">, + BuildableType<"$_builder.getFloat8E5M2Type()">; def AnyComplex : Type()">, "complex-type", "::mlir::ComplexType">;