[PATCH] D108075: [MemorySSA] Remove -enable-mssa-loop-dependency option

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 14 13:16:37 PDT 2021


nikic created this revision.
nikic added a reviewer: asbirlea.
Herald added subscribers: george.burgess.iv, hiraditya, nemanjai.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This option has been enabled by default for quite a while now. The practical impact of removing the option is that MSSA use cannot be disabled in default pipelines (both LPM and NPM) and in manual LPM invocations. NPM can still choose to enable/disable MSSA using `loop` vs `loop-mssa`.

The next step will be to require MSSA for LICM and drop the AST-based implementation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108075

Files:
  llvm/include/llvm/Analysis/MemorySSA.h
  llvm/lib/Analysis/MemorySSA.cpp
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/lib/Transforms/Scalar/LoopInstSimplify.cpp
  llvm/lib/Transforms/Scalar/LoopRotation.cpp
  llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
  llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  llvm/lib/Transforms/Utils/LoopSimplify.cpp
  llvm/test/Analysis/BasicAA/store-promote.ll
  llvm/test/Analysis/MemorySSA/pr42294.ll
  llvm/test/CodeGen/PowerPC/pr35688.ll
  llvm/test/Transforms/LICM/argmemonly-call.ll
  llvm/test/Transforms/LICM/atomics.ll
  llvm/test/Transforms/LICM/guards.ll
  llvm/test/Transforms/LICM/pr38513.ll
  llvm/test/Transforms/LICM/promote-order.ll
  llvm/test/Transforms/LICM/read-only-calls.ll
  llvm/test/Transforms/LICM/store-hoisting.ll
  llvm/unittests/Transforms/Scalar/LoopPassManagerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108075.366447.patch
Type: text/x-patch
Size: 25255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210814/def518be/attachment-0001.bin>


More information about the llvm-commits mailing list