aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2014-10-15 19:25:28 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2014-10-15 19:25:28 +0000
commit90c2f1455ae1e88aa31e68f4e7cdcdf955c945ed (patch)
treeadd8f3ca67de38efd5a3ee5741212f281e41f196 /clang/lib/Frontend/CompilerInvocation.cpp
parent74cd020fcaa1e5abd31fcbad1c0be0319a3bf790 (diff)
downloadllvm-90c2f1455ae1e88aa31e68f4e7cdcdf955c945ed.zip
llvm-90c2f1455ae1e88aa31e68f4e7cdcdf955c945ed.tar.gz
llvm-90c2f1455ae1e88aa31e68f4e7cdcdf955c945ed.tar.bz2
Teach ScalarEvolution to sharpen range information.
If x is known to have the range [a, b) in a loop predicated by (icmp ne x, a), its range can be sharpened to [a + 1, b). Get ScalarEvolution and hence IndVars to exploit this fact. This change triggers an optimization to widen-loop-comp.ll, so it had to be edited to get it to pass. phabricator: http://reviews.llvm.org/D5639 llvm-svn: 219834
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions