[PATCH] D23032: Rewrite the use optimizer to be less memory intensive and 50% faster.Fixes PR28670

George Burgess IV via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 18:40:01 PDT 2016


george.burgess.iv accepted this revision.
george.burgess.iv added a comment.
This revision is now accepted and ready to land.

LGTM; thanks again.


================
Comment at: lib/Transforms/Utils/MemorySSA.cpp:1226
@@ +1225,3 @@
+  // Pop everything that doesn't dominate the current block off the stack,
+  // increment the PopEpoch to account for this.
+  while (!VersionStack.empty()) {
----------------
Yay for fast domtree ops!


https://reviews.llvm.org/D23032





More information about the llvm-commits mailing list