[PATCH] D127698: add non-trivial LoopUnswitch FuncPass

Ruobing Han via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 14:29:49 PDT 2022


drcut created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
drcut requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Since non-trivial LoopUnswitch may need FunctionAnalysis, we plan to migrate the current LoopPass implementation to FunctionPass


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127698

Files:
  llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested.ll
  llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch.ll
  llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch2.ll
  llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-cost.ll
  llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-freeze.ll
  llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll
  llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-redundant-switch.ll
  llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-trivial-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127698.436567.patch
Type: text/x-patch
Size: 15917 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220613/d201167e/attachment.bin>


More information about the llvm-commits mailing list