[llvm] [APFloat] Add APFloat support for E8M0 type (PR #107127)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 6 00:27:15 PDT 2024
================
@@ -1007,6 +1023,10 @@ IEEEFloat &IEEEFloat::operator=(IEEEFloat &&rhs) {
}
bool IEEEFloat::isDenormal() const {
+ // The E8M0 format does not support denormals.
+ if (semantics == &semFloat8E8M0FN)
----------------
arsenm wrote:
Also would expect this to just work out
https://github.com/llvm/llvm-project/pull/107127
More information about the llvm-commits
mailing list