[all-commits] [llvm/llvm-project] 518ec0: [LoopExtract][NewPM] Port -loop-extract to NPM

aeubanks via All-commits all-commits at lists.llvm.org
Tue Oct 13 22:56:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 518ec05a104a237b6ccae20e1e84c2b462fc3ca1
      https://github.com/llvm/llvm-project/commit/518ec05a104a237b6ccae20e1e84c2b462fc3ca1
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-10-13 (Tue, 13 Oct 2020)

  Changed paths:
    M llvm/include/llvm/InitializePasses.h
    A llvm/include/llvm/Transforms/IPO/LoopExtractor.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/IPO/IPO.cpp
    M llvm/lib/Transforms/IPO/LoopExtractor.cpp
    M llvm/test/Transforms/CodeExtractor/2004-03-13-LoopExtractorCrash.ll
    M llvm/test/Transforms/CodeExtractor/2004-03-14-DominanceProblem.ll
    M llvm/test/Transforms/CodeExtractor/2004-03-14-NoSwitchSupport.ll
    M llvm/test/Transforms/CodeExtractor/2004-03-17-MissedLiveIns.ll
    M llvm/test/Transforms/CodeExtractor/2004-03-17-UpdatePHIsOutsideRegion.ll
    M llvm/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll
    M llvm/test/Transforms/CodeExtractor/BlockAddressReference.ll
    M llvm/test/Transforms/CodeExtractor/BlockAddressSelfReference.ll
    M llvm/test/Transforms/CodeExtractor/LoopExtractor.ll
    M llvm/test/Transforms/CodeExtractor/LoopExtractor_alloca.ll
    M llvm/test/Transforms/CodeExtractor/LoopExtractor_crash.ll
    M llvm/test/Transforms/CodeExtractor/LoopExtractor_min_wrapper.ll

  Log Message:
  -----------
  [LoopExtract][NewPM] Port -loop-extract to NPM

-loop-extract-single is just -loop-extract on one loop.

-loop-extract depended on -break-crit-edges and -loop-simplify in the
legacy PM, but the NPM doesn't allow specifying pass dependencies like
that, so manually add those passes to the RUN lines where necessary.

Reviewed By: asbirlea

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




More information about the All-commits mailing list