[PATCH] D129993: [LoopInfo] Allow cloning of callbr
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 18 02:46:40 PDT 2022
nikic created this revision.
nikic added reviewers: nickdesaulniers, nathanchance, efriedma, jyknight.
Herald added subscribers: zzheng, hiraditya.
Herald added a project: All.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
After D129288 <https://reviews.llvm.org/D129288>, callbr is safe to clone without special handling. This permits optimizations like loop unroll and loop unswitch on loops containing callbrs.
https://reviews.llvm.org/D129993
Files:
llvm/lib/Analysis/LoopInfo.cpp
llvm/test/Transforms/LoopUnroll/callbr.ll
llvm/test/Transforms/SimpleLoopUnswitch/callbr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129993.445436.patch
Type: text/x-patch
Size: 4904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220718/50119688/attachment.bin>
More information about the llvm-commits
mailing list