OSDN Git Service

Revert two SCEV changes that caused test failures in clang.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 25 Sep 2015 21:16:50 +0000 (21:16 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 25 Sep 2015 21:16:50 +0000 (21:16 +0000)
commit34fd05d8b58f3d4b20793a5656db8557bab3ecc2
treeeb5511684fcd41bb7faf4394a9039f51f84ab901
parentec5f6e86e3d967c68dc921e2ba4ec802baa1f378
Revert two SCEV changes that caused test failures in clang.

r248606: "[SCEV] Exploit A < B => (A+K) < (B+K) when possible"
r248608: "[SCEV] Teach isLoopBackedgeGuardedByCond to exploit trip counts."

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248614 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/zext-wrap.ll
test/Transforms/IndVarSimplify/eliminate-comparison.ll