Revert "[SCEV] Strengthen StrengthenNoWrapFlags (reapply r334428)."
authorTim Shen <timshen91@gmail.com>
Fri, 6 Jul 2018 23:20:35 +0000 (23:20 +0000)
committerTim Shen <timshen91@gmail.com>
Fri, 6 Jul 2018 23:20:35 +0000 (23:20 +0000)
commit2ed501d6567180be986159fad6e5fd6431e8268d
tree8496c3f18c35782706eff0565c54e76fb9467a07
parentf89f62a68094355bd37c74456aeef6ecab3898fe
Revert "[SCEV] Strengthen StrengthenNoWrapFlags (reapply r334428)."

This reverts commit r336140. Our tests shows that LSR assert fails with it.

llvm-svn: 336473
18 files changed:
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/test/Analysis/Delinearization/a.ll
llvm/test/Analysis/Delinearization/iv_times_constant_in_subscript.ll
llvm/test/Analysis/IVUsers/quadradic-exit-value.ll
llvm/test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll
llvm/test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll
llvm/test/Analysis/ScalarEvolution/different-loops-recs.ll
llvm/test/Analysis/ScalarEvolution/extract-highbits-sameconstmask.ll
llvm/test/Analysis/ScalarEvolution/lshr-shl-differentconstmask.ll
llvm/test/Analysis/ScalarEvolution/nsw-offset-assume.ll
llvm/test/Analysis/ScalarEvolution/nsw-offset.ll
llvm/test/Analysis/ScalarEvolution/nsw.ll
llvm/test/Analysis/ScalarEvolution/predicated-trip-count.ll
llvm/test/Analysis/ScalarEvolution/sext-mul.ll
llvm/test/Analysis/ScalarEvolution/shl-lshr-differentconstmask.ll
llvm/test/Analysis/ScalarEvolution/trip-count-pow2.ll
llvm/test/Analysis/ScalarEvolution/zext-mul.ll
llvm/test/Transforms/LoopVersioning/incorrect-phi.ll