[PATCH] D87734: [UnifyLoopExits][NewPM] Port unify-loop-exits to NPM

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 18:33:39 PDT 2020


aeubanks created this revision.
aeubanks added reviewers: ychen, asbirlea.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
aeubanks requested review of this revision.

The legacy pass had a dependency on lowerswitch. However, a pass cannot
depend on another (non-analysis) pass in the NPM, so explicitly add
-lowerswitch to switch.ll.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87734

Files:
  llvm/include/llvm/Transforms/Utils/UnifyLoopExits.h
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Utils/UnifyLoopExits.cpp
  llvm/test/Transforms/UnifyLoopExits/basic.ll
  llvm/test/Transforms/UnifyLoopExits/switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87734.292070.patch
Type: text/x-patch
Size: 4932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200916/f17072f3/attachment-0001.bin>


More information about the llvm-commits mailing list