[PATCH] D74640: [LoopRotate] Add explicit flag to require MSSA.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 14 13:16:20 PST 2020


asbirlea created this revision.
asbirlea added reviewers: dmgreen, fedor.sergeev, nikic, fhahn.
Herald added subscribers: george.burgess.iv, hiraditya, Prazek.
Herald added a project: LLVM.

Add an explicit flag to require MSSA when LoopRotate is known to join a
loop pass pipeline with other passes that will require the anlysis.
This undoes the pipeline split from D74574 <https://reviews.llvm.org/D74574>, but keep the analysis from
being run when LoopRotate is run alone in the loop pipeline.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74640

Files:
  llvm/include/llvm/Transforms/Scalar.h
  llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
  llvm/lib/Transforms/Scalar/LoopRotation.cpp
  llvm/test/Other/opt-O2-pipeline.ll
  llvm/test/Other/opt-O3-pipeline.ll
  llvm/test/Other/opt-Os-pipeline.ll
  llvm/test/Other/pass-pipelines.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74640.244745.patch
Type: text/x-patch
Size: 7129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200214/30ece8a4/attachment.bin>


More information about the llvm-commits mailing list