[llvm] [GlobalISel] Add iterative known-bits evaluation to GISelValueTracking (PR #221755)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 07:15:09 PDT 2026
================
@@ -38,6 +38,13 @@ class LLVM_ABI GISelValueTracking : public GISelChangeObserver {
const DataLayout &DL;
unsigned MaxDepth;
+ // The triple (Register, DemandedElts, Depth) used as worklist and cache key.
+ using WorkItem = std::tuple<Register, APInt, unsigned>;
+ // Items pending evaluation during the active top-level query.
+ SmallVector<WorkItem> Stack;
----------------
daemonpilot wrote:
Thanks for pointing it out. Refined.
https://github.com/llvm/llvm-project/pull/221755
More information about the llvm-commits
mailing list