Teach ScalarEvolution to make use of no-overflow flags when
authorDan Gohman <gohman@apple.com>
Sat, 25 Jul 2009 01:22:26 +0000 (01:22 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 25 Jul 2009 01:22:26 +0000 (01:22 +0000)
commiteb490a7aa34c873b1bc401eb2c45a4d71a62be37
tree1151acd2d70933aa50f4b5175d825560be23c040
parent6c1980b3357207c4d756255bc5e32323eac278dc
Teach ScalarEvolution to make use of no-overflow flags when
analyzing add recurrences.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77034 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/nsw.ll [new file with mode: 0644]