[llvm] [LVI][SCCP] Add basic ConstantFPRange support (PR #111544)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 12:26:39 PDT 2024
================
@@ -492,7 +667,7 @@ class ValueLatticeElement {
void setNumRangeExtensions(unsigned N) { NumRangeExtensions = N; }
};
-static_assert(sizeof(ValueLatticeElement) <= 40,
+static_assert(sizeof(ValueLatticeElement) <= 80,
----------------
nikic wrote:
I was wondering why the size increase was *this* large, and apparently the answer is: APFloat is currently throwing 8 bytes out of the window because it inherits from APFloatBase in a situation where empty base class optimization does not apply, because the first member if a union that contains members that also inherit from APFloatBase.
https://github.com/llvm/llvm-project/pull/111544
More information about the llvm-commits
mailing list