[PATCH] D109028: [MemorySSA] Add pass to print results of MemorySSA walker

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 1 15:14:34 PDT 2021


asbirlea accepted this revision.
asbirlea added a comment.
This revision is now accepted and ready to land.

The only nit as far as printing is that MA is printed before being optimized, and printing it afterwards (as part of the "clobbered by" section), will make it look different.
For example, in the added test, before: "3 = MemoryDef(2) " and after: "[...] clobbered by 3 = MemoryDef(2)->liveOnEntry".
Not a big deal since this is for informational/debugging purposes only, but if you want to bikeshed... =]


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109028



More information about the llvm-commits mailing list