[Mlir-commits] [clang] [llvm] [mlir] [MLIR] Add f8E4M3 IEEE 754 type (PR #97118)
Maksim Levental
llvmlistbot at llvm.org
Mon Jul 8 19:38:19 PDT 2024
================
@@ -460,10 +460,10 @@ class alignas(void *) Stmt {
unsigned : NumExprBits;
static_assert(
- llvm::APFloat::S_MaxSemantics < 16,
- "Too many Semantics enum values to fit in bitfield of size 4");
+ llvm::APFloat::S_MaxSemantics < 32,
+ "Too many Semantics enum values to fit in bitfield of size 5");
LLVM_PREFERRED_TYPE(llvm::APFloat::Semantics)
- unsigned Semantics : 4; // Provides semantics for APFloat construction
----------------
makslevental wrote:
Didn't I see this in another PR you sent? If not, is there a way to separate this into PRs for LLVM/Clang and PRs for MLIR?
https://github.com/llvm/llvm-project/pull/97118
More information about the Mlir-commits
mailing list