[PATCH] D110922: [LoopPeel] Peel loops with deoptimizing exits

Dmitry Makogon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 4 04:19:35 PDT 2021


dmakogon updated this revision to Diff 376858.
dmakogon added a comment.

Rewritten `IsBlockDeoptimizing` in a simpler way with the use of SmallPtrSet.  
Added an option to limit the maximum traversed block chain depth.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110922/new/

https://reviews.llvm.org/D110922

Files:
  llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
  llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
  llvm/lib/Transforms/Utils/LoopPeel.cpp
  llvm/test/Transforms/LoopUnroll/peel-multiple-unreachable-exits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110922.376858.patch
Type: text/x-patch
Size: 10440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211004/e9fe1bd7/attachment.bin>


More information about the llvm-commits mailing list