[PATCH] D22058: [MemorySSA] Reinstate the legacy printer and verifier.

Geoff Berry via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 11:43:20 PDT 2016


gberry added inline comments.

================
Comment at: lib/Transforms/Utils/MemorySSA.cpp:919
@@ +918,3 @@
+
+void MemorySSAPrinterLegacyPass::print(raw_ostream &OS, const Module *M) const {
+  MSSA->print(OS);
----------------
You could get rid of this function and just have runOnFunction call MSSA->print() before verification.
Then you could remove the MSSA private member variable as well.


http://reviews.llvm.org/D22058





More information about the llvm-commits mailing list