After D129288, callbr is safe to clone without special handling. This permits optimizations like loop unroll and loop unswitch on loops containing callbrs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D129993
[LoopInfo] Allow cloning of callbr ClosedPublic Authored by nikic on Jul 18 2022, 2:46 AM.
Details Summary After D129288, callbr is safe to clone without special handling. This permits optimizations like loop unroll and loop unswitch on loops containing callbrs.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 18 2022, 10:33 AM This revision was landed with ongoing or failed builds.Jul 19 2022, 12:57 AM Closed by commit rG534b9246a204: [LoopInfo] Allow cloning of callbr (authored by nikic). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 445717 llvm/lib/Analysis/LoopInfo.cpp
llvm/test/Transforms/LoopUnroll/callbr.ll
llvm/test/Transforms/SimpleLoopUnswitch/callbr.ll
|