This change allows the LoopBounds to correctly identify the StepValue when the loop is decrementing and the stepinst is a subtract operation.
Diff Detail
Diff Detail
Paths
| Differential D153558
Allow LoopBounds to detect the StepValue for a decrementing loop with a subtract StepInst Needs ReviewPublic Authored by aejjehint on Jun 22 2023, 8:14 AM.
Revision Contents
Diff 533612 llvm/lib/Analysis/LoopInfo.cpp
llvm/unittests/Analysis/LoopInfoTest.cpp
|