================
@@ -163,13 +163,22 @@ namespace {
     // Track 'estimated' register pressure.
     SmallDenseSet<Register> RegSeen;
     SmallVector<unsigned, 8> RegPressure;
+    // Maximum estimate in the current block's scanned prefix.
+    SmallVector<unsigned, 8> PeakPressure;
 
     // Register pressure "limit" per register pressure set. If the pressure
     // is higher than the limit, then it's considered high.
     SmallVector<unsigned, 8> RegLimit;
 
+    struct RegPressureInfo {
----------------
shiltian wrote:

Great point!

https://github.com/llvm/llvm-project/pull/242431
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to