[PATCH] D127547: Add FuncPass Implementation for non-trivial LoopUnswitching

Ruobing Han via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 10 15:52:56 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.

Implement non-trivial LoopUnswitching with FunctionPass. Since non-trivial LoopUnswitching may rely on Function Analysis, it's better be implemented based on FuncPass.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127547

Files:
  llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-cost.ll
  llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-freeze.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127547.436066.patch
Type: text/x-patch
Size: 6946 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220610/c71464db/attachment.bin>


More information about the llvm-commits mailing list