[Mlir-commits] [mlir] [MLIR][AMDGPU] Add OCP FP8 support for new hardware (PR #106160)
Eric Kunze
llvmlistbot at llvm.org
Wed Nov 20 15:46:12 PST 2024
================
@@ -56,6 +56,15 @@ bool Type::isF64() const { return llvm::isa<Float64Type>(*this); }
bool Type::isF80() const { return llvm::isa<Float80Type>(*this); }
bool Type::isF128() const { return llvm::isa<Float128Type>(*this); }
+bool Type::isFloat() const { return llvm::isa<FloatType>(*this); }
+
+/// Return true if this is an integer type with the specified width.
----------------
eric-k256 wrote:
typo integer should be float?
https://github.com/llvm/llvm-project/pull/106160
More information about the Mlir-commits
mailing list