[PATCH] D17257: New utility class ReachingPhysDefs for post-ra analysis.

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 9 15:27:36 PST 2016


dberlin added a subscriber: dberlin.

================
Comment at: lib/CodeGen/ReachingPhysDefs.cpp:301
@@ +300,3 @@
+void ReachingPhysDefs::reachingDefAlgorithm() {
+  bool HasChanged;
+  do {
----------------
You should iterate this in the right order to converge faster.

Look at LiveDebugValues.cpp::ExtendRanges

You should be able to copy and reuse the relevant worklist code there.



http://reviews.llvm.org/D17257





More information about the llvm-commits mailing list