[PATCH] D32105: [IVUsers] don't bail out of normalizing non-affine add recs

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 13:00:32 PDT 2017


davide added inline comments.


================
Comment at: test/Analysis/IVUsers/quadradic-exit-value.ll:33-61
-; PR15470: LSR miscompile. The test2 function should return '1'.
-;
-; SCEV does not know how to denormalize chained recurrences, so make
-; sure they aren't marked as post-inc users.
-;
-; CHECK-LABEL: IV Users for loop %test2.loop
-; CHECK-NO-LCSSA: %sext.us = {0,+,(16777216 + (-16777216 * %sub.us))<nuw><nsw>,+,33554432}<%test2.loop> in %f = ashr i32 %sext.us, 24
----------------
Can you keep the test?


https://reviews.llvm.org/D32105





More information about the llvm-commits mailing list