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

Andrew Trick via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 21:24:47 PDT 2017


atrick added a comment.

Can you collect spill code stats and benchmark scores from the test suite?
Can you get someone to run benchmarks on arm64 as well?



================
Comment at: lib/CodeGen/LiveRangeShrink.cpp:162
+          // than one use.
+          if (DefMO || !MRI.hasOneNonDBGUse(MO.getReg())) {
+            Insert = nullptr;
----------------
Why do you care how many instructions are using the register being defined here?


https://reviews.llvm.org/D32563





More information about the llvm-commits mailing list