[PATCH] D12815: RegisterPressure: Move MaxSetPressure from RegisterPressure to PressureTracker

Andrew Trick via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 23:47:53 PDT 2015


atrick requested changes to this revision.
atrick added a comment.
This revision now requires changes to proceed.

LGTM except for one thing...


================
Comment at: lib/CodeGen/RegisterPressure.cpp:163
@@ -169,2 +162,3 @@
     static_cast<RegionPressure&>(P).reset();
+  MaxSetPressure.clear();
   LiveInRegs.clear();
----------------
You don't need to clear it twice.


Repository:
  rL LLVM

http://reviews.llvm.org/D12815





More information about the llvm-commits mailing list