[llvm] [LVI][SCCP] Add basic ConstantFPRange support (PR #111544)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 09:03:17 PDT 2024


================
@@ -492,7 +667,7 @@ class ValueLatticeElement {
   void setNumRangeExtensions(unsigned N) { NumRangeExtensions = N; }
 };
 
-static_assert(sizeof(ValueLatticeElement) <= 40,
+static_assert(sizeof(ValueLatticeElement) <= 64,
----------------
dtcxzyw wrote:

It looks better after https://github.com/llvm/llvm-project/pull/111641. But I believe we can further reduce the size of `APFloat` from 24 to 16.

https://github.com/llvm/llvm-project/pull/111544


More information about the llvm-commits mailing list