[all-commits] [llvm/llvm-project] 4103f4: [MSSA][NewPM] Handle tests with -print-memoryssa

aeubanks via All-commits all-commits at lists.llvm.org
Wed Aug 5 16:02:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4103f4a936ae6eb060d84d007b1d64c17ddf1a91
      https://github.com/llvm/llvm-project/commit/4103f4a936ae6eb060d84d007b1d64c17ddf1a91
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M llvm/test/Analysis/MemorySSA/assume.ll
    M llvm/test/Analysis/MemorySSA/atomic-clobber.ll
    M llvm/test/Analysis/MemorySSA/basicaa-memcpy.ll
    M llvm/test/Analysis/MemorySSA/constant-memory.ll
    M llvm/test/Analysis/MemorySSA/cyclicphi.ll
    M llvm/test/Analysis/MemorySSA/debugvalue2.ll
    M llvm/test/Analysis/MemorySSA/function-clobber.ll
    M llvm/test/Analysis/MemorySSA/function-mem-attrs.ll
    M llvm/test/Analysis/MemorySSA/invariant-groups.ll
    M llvm/test/Analysis/MemorySSA/lifetime-simple.ll
    M llvm/test/Analysis/MemorySSA/load-invariant.ll
    M llvm/test/Analysis/MemorySSA/loop-rotate-disablebasicaa.ll
    M llvm/test/Analysis/MemorySSA/loop_rotate_remove_trivial_phis.ll
    M llvm/test/Analysis/MemorySSA/many-dom-backedge.ll
    M llvm/test/Analysis/MemorySSA/many-doms.ll
    M llvm/test/Analysis/MemorySSA/multi-edges.ll
    M llvm/test/Analysis/MemorySSA/multiple-backedges-hal.ll
    M llvm/test/Analysis/MemorySSA/multiple-locations.ll
    M llvm/test/Analysis/MemorySSA/no-disconnected.ll
    M llvm/test/Analysis/MemorySSA/optimize-use.ll
    M llvm/test/Analysis/MemorySSA/phi-translation.ll
    M llvm/test/Analysis/MemorySSA/pr28880.ll
    M llvm/test/Analysis/MemorySSA/pr36883.ll
    M llvm/test/Analysis/MemorySSA/pr41640.ll
    M llvm/test/Analysis/MemorySSA/pr43317.ll
    M llvm/test/Analysis/MemorySSA/pr43427.ll
    M llvm/test/Analysis/MemorySSA/pr43438.ll
    M llvm/test/Analysis/MemorySSA/ptr-const-mem.ll
    M llvm/test/Analysis/MemorySSA/scalable-vec.ll
    M llvm/test/Analysis/MemorySSA/update_unroll.ll
    M llvm/test/Analysis/MemorySSA/volatile-clobber.ll

  Log Message:
  -----------
  [MSSA][NewPM] Handle tests with -print-memoryssa

-print-memoryssa in legacy PM is print<memoryssa> in NPM.
Pin tests with -print-memoryssa to legacy PM.
Add corresponding tests for NPM where missing.
This fixes "unknown pass name 'print-memoryssa'".

Some tests still fail in Analysis/MemorySSA due to other passes that
haven't been ported.

pr43427.ll and pr43438.ll required adding -aa-pipeline=basic-aa,
-loop-simplify (since it doesn't run on legacy PM by default), and
decrementing some of the MemoryPhi numbers.

Reviewed By: asbirlea

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




More information about the All-commits mailing list