Revert D89381 "[SCEV] Recommit "Use nw flag and symbolic iteration count to sharpen...
authorFangrui Song <i@maskray.me>
Wed, 21 Oct 2020 04:03:58 +0000 (21:03 -0700)
committerFangrui Song <i@maskray.me>
Wed, 21 Oct 2020 04:03:58 +0000 (21:03 -0700)
commitd9f91a3d14526fbc1d8cc9b98dbd8a093acf37d0
treecdfed55803e79eaa19fb7592a07d06a576b1d107
parent5e731625f3d641296d972c30da4018a9be78f3fe
Revert D89381 "[SCEV] Recommit "Use nw flag and symbolic iteration count to sharpen ranges of AddRecs", attempt 2"

This reverts commit a10a64e7e334dc878d281aba9a46f751fe606567.

It broke polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_3.ll
The difference suggests that this may be a serious issue.
llvm/include/llvm/Analysis/ScalarEvolution.h
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/test/Analysis/ScalarEvolution/no-wrap-symbolic-becount.ll
llvm/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll
llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll