[llvm] DynamicAPInt: optimize size of structure (PR #97831)

Arjun P via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 6 03:24:43 PDT 2024


================
@@ -203,6 +211,14 @@ class DynamicAPInt {
 
   friend hash_code hash_value(const DynamicAPInt &x); // NOLINT
 
+  void static_assert_layout() { // NOLINT
+    constexpr size_t ValLargeOff =
----------------
Superty wrote:

this should probably be BitWidthOffset. You can write out the full words for the variables here -- offset, size

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


More information about the llvm-commits mailing list