Skip to content

Commit 8126cba

Browse files
committed
Delete the incorrect assert that assumes size of APFloat is the same as IEEEFloat.
1 parent 35684fa commit 8126cba

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/include/llvm/ADT/APFloat.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,9 +1473,6 @@ class APFloat : public APFloatBase {
14731473
friend DoubleAPFloat;
14741474
};
14751475

1476-
static_assert(sizeof(APFloat) == sizeof(detail::IEEEFloat),
1477-
"Empty base class optimization is not performed.");
1478-
14791476
/// See friend declarations above.
14801477
///
14811478
/// These additional declarations are required in order to compile LLVM with IBM

0 commit comments

Comments
 (0)