[all-commits] [llvm/llvm-project] 45d459: Introduce -dot-cfg-mssa option which creates dot-c...

jamieschmeiser via All-commits all-commits at lists.llvm.org
Thu Nov 12 07:41:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 45d459e7522ddc512ac70c4c822d58d335099672
      https://github.com/llvm/llvm-project/commit/45d459e7522ddc512ac70c4c822d58d335099672
  Author: Jamie Schmeiser <schmeise at ca.ibm.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/CFGPrinter.h
    M llvm/lib/Analysis/MemorySSA.cpp
    A llvm/test/Analysis/MemorySSA/print-dot-cfg-mssa.ll

  Log Message:
  -----------
  Introduce -dot-cfg-mssa option which creates dot-cfg style file with mssa comments included in source

Summary:
Expand the print-memoryssa and print<memoryssa> passes with a new hidden
option -cfg-dot-mssa that names a file. When set, a dot-cfg style file
will be generated into the named file with the memoryssa comments retained
and those blocks containing them shown in light pink. The option does
nothing in isolation.

Author: Jamie Schmeiser <schmeise at ca.ibm.com>

Reviewed By: asbirlea (Alina Sbirlea), dblaikie (David Blaikie)

Differential Revision: https://reviews.llvm.org/D90638




More information about the All-commits mailing list