[Mlir-commits] [llvm] [mlir] [MLIR] Add f6E3M2FN type (PR #105573)
Sergey Kozub
llvmlistbot at llvm.org
Thu Sep 5 02:50:55 PDT 2024
================
@@ -91,6 +91,8 @@ IntegerType IntegerType::scaleElementBitwidth(unsigned scale) {
//===----------------------------------------------------------------------===//
unsigned FloatType::getWidth() {
+ if (llvm::isa<Float6E3M2FNType>(*this))
+ return 6;
----------------
sergey-kozub wrote:
Created https://github.com/llvm/llvm-project/pull/107372
https://github.com/llvm/llvm-project/pull/105573
More information about the Mlir-commits
mailing list