[PATCH] D32563: Add LiveRangeShrink pass to shrink live range within BB.

Andrea Di Biagio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 05:55:47 PDT 2017


andreadb added inline comments.


================
Comment at: lib/CodeGen/InlineSpiller.cpp:43-50
+int NumPPP = 0;
+
+struct PPP {
+~PPP() {
+printf ("SSSSS: %d\n", NumPPP);
+}
+} ppppp;
----------------
I think that you have uploaded a wrong patch.
This code shouldn't be there :-).


================
Comment at: lib/CodeGen/InlineSpiller.cpp:1031-1032
 void InlineSpiller::spill(LiveRangeEdit &edit) {
+  ++NumPPP;
+//  printf ("ppppppppppppp\n");
   ++NumSpilledRanges;
----------------
Same.


https://reviews.llvm.org/D32563





More information about the llvm-commits mailing list