Fix Transforms/IndVarsSimplify/2006-03-31-NegativeStride.ll and
authorChris Lattner <sabre@nondot.org>
Sat, 1 Apr 2006 04:48:52 +0000 (04:48 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 1 Apr 2006 04:48:52 +0000 (04:48 +0000)
commit60a05cc118763c680834a61280f48530482a1f86
tree0bf657b3b9be34f509eff95d5e219ef78c566b68
parentb076783e7d14ab592c4ef2fcb08fea402e2d6986
Fix Transforms/IndVarsSimplify/2006-03-31-NegativeStride.ll and
PR726 by performing consistent signed division, not consistent unsigned
division when evaluating scev's.  Do not touch udivs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27326 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolutionExpander.h
include/llvm/Analysis/ScalarEvolutionExpressions.h
lib/Analysis/ScalarEvolution.cpp