SCEV: Even if the latch terminator is foldable we can't deduce the result of an unrel...
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 27 Nov 2012 18:16:32 +0000 (18:16 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 27 Nov 2012 18:16:32 +0000 (18:16 +0000)
commitb2a818f83bebb5d77bf07dec50102a8d84e8b010
tree5dc158dff8c0b8939df9264f938566886cfa46a9
parentf365d3984e2934b182e866d545348988d3b681d5
SCEV: Even if the latch terminator is foldable we can't deduce the result of an unrelated condition with it.

Fixes PR14432.

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