If we look through a truncate in matchLinearIVUser, it's possible we find a sext/zext instruction that didn't come from widening. This will fail the MatchedItCount->getType() == InnerInductionPHI->getType() assertion. Fix this by checking that we did not look through a truncate already. Reviewed By: SjoerdMeijer Differential Revision: https://reviews.llvm.org/D127149 |
||
|---|---|---|
| .. | ||
| limit-not-invariant.ll | ||
| loop-flatten-negative.ll | ||
| loop-flatten-simplify-cfg.ll | ||
| loop-flatten.ll | ||
| pr40581.ll | ||
| pr49571.ll | ||
| widen-iv.ll | ||
| widen-iv2.ll | ||
| widen-iv3.ll | ||