[llvm] Make default size MBB.size() (PR #83526)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 29 23:13:58 PST 2024


================
@@ -1641,8 +1642,7 @@ MachineBasicBlock::computeRegisterLiveness(const TargetRegisterInfo *TRI,
     return LQR_Dead;
   }
 
-
-  N = Neighborhood;
+  N = this->size();
----------------
arsenm wrote:

Searching the entire block entirely defeats the purpose of having the threshold 

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


More information about the llvm-commits mailing list