The condition of the first iteration in pre-loop can be inferred by isLoopEntryGuardedByCond.
It is a following patch of https://reviews.llvm.org/D109354.
Paths
| Differential D109682
[LoopBoundSplit] Check the condition of the first iteration in pre-loop using isLoopEntryGuardedByCond AbandonedPublic Authored by jaykang10 on Sep 13 2021, 4:24 AM.
Details Summary The condition of the first iteration in pre-loop can be inferred by isLoopEntryGuardedByCond. It is a following patch of https://reviews.llvm.org/D109354.
Diff Detail Event Timeline
Comment Actions https://reviews.llvm.org/D110060 The patch is split into two patches. As one of them, this patch is merged. This revision was landed with ongoing or failed builds.Oct 4 2021, 2:18 AM
Revision Contents
Diff 372213 llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
|
!isa<SCEVAddRecExpr>(AddRecSCEV) is impossible