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.
Differential D109682
[LoopBoundSplit] Check the condition of the first iteration in pre-loop using isLoopEntryGuardedByCond jaykang10 on Sep 13 2021, 4:24 AM. Authored by
Details 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
Unit Tests Event Timeline
Comment Actions https://reviews.llvm.org/D110060 The patch is split into two patches. As one of them, this patch is merged. |
!isa<SCEVAddRecExpr>(AddRecSCEV) is impossible