[PATCH] D65418: [MemorySSA] Set LoopSimplify to preserve MemorySSA in the NPM, if analysis exists.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 16:28:06 PDT 2019


chandlerc added inline comments.
Herald added a subscriber: sanjoy.google.


================
Comment at: lib/Transforms/Utils/LoopSimplify.cpp:863
   PA.preserve<DependenceAnalysis>();
+  PA.preserve<MemorySSAAnalysis>();
   // BPI maps conditional terminators to probabilities, LoopSimplify can insert
----------------
If it doesn't cause too much churn in tests, I'd prefer to make this conditional as well.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65418/new/

https://reviews.llvm.org/D65418





More information about the llvm-commits mailing list