[PATCH] D113185: Add NoOpLoopNestPass and LOOPNEST_PASS macro

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 4 06:19:39 PDT 2021


Whitney created this revision.
Whitney added reviewers: etiotto, eopXD, uint256_t, TaWeiTu, asbirlea, fhahn, ychen.
Whitney added a project: LLVM.
Herald added subscribers: ormris, hiraditya.
Whitney requested review of this revision.
Herald added a subscriber: llvm-commits.

Having a NoOpLoopNestPass can ensure that only outermost loop is invoked for a LoopNestPass with a lit test.

There are some existing passes that are implemented as LoopNestPass, but they are still using LOOP_PASS macro. 
It would be easier to identify LoopNestPasses with a LOOPNEST_PASS macro.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113185

Files:
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/test/Other/loopnest-pass-ordering.ll
  llvm/test/Other/print-passes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113185.384726.patch
Type: text/x-patch
Size: 9799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211104/31215010/attachment.bin>


More information about the llvm-commits mailing list