[PATCH] D78145: [ValueLattice] Steal bits from Tag to track range extensions (NFC).

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 08:05:26 PDT 2020


nikic added inline comments.


================
Comment at: llvm/include/llvm/Analysis/ValueLattice.h:78
 
-  ValueLatticeElementTy Tag;
+  ValueLatticeElementTy Tag : 6;
+  /// Number of times a constant range has been extended with widening enabled.
----------------
Why 6? I would expect either 3 here (because that's enough to represent the states) or 8 (an ISA friendly number).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78145/new/

https://reviews.llvm.org/D78145





More information about the llvm-commits mailing list