[llvm-branch-commits] [llvm] LiveVariables: Only visit tracked physical registers (PR #230151)

Carl Ritson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Oct 8 22:50:06 PDT 2026


================
@@ -46,6 +47,8 @@ class LiveVariables {
   // register references are presumed dead across basic blocks.
   std::vector<MachineInstr *> PhysRegUse;
 
+  BitVector TrackedRegs;
----------------
perlfu wrote:

nit: should have a comment explaining what this holds/tracks exactly.

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


More information about the llvm-branch-commits mailing list