LFTR improvement to avoid truncation.
authorAndrew Trick <atrick@apple.com>
Fri, 12 Jul 2013 22:08:48 +0000 (22:08 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 12 Jul 2013 22:08:48 +0000 (22:08 +0000)
commit16404cc817e8b8d3fbfbc9051394eb59d7c5ffb4
treec38db272b7095a3c70a84d9d8e5ca205b93c08e4
parent807e6c71a8d13531ec359006e3b6526ae70064a8
LFTR improvement to avoid truncation.

This is a reimplemntation of the patch originally in r186107.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186215 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp
test/Transforms/IndVarSimplify/lftr-extend-const.ll [new file with mode: 0644]