Back out the change in 64918 that used sign-extensions when promoting
authorDan Gohman <gohman@apple.com>
Mon, 23 Feb 2009 23:20:35 +0000 (23:20 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 23 Feb 2009 23:20:35 +0000 (23:20 +0000)
commit15cab2817b8f63fec0148609278bc2c1e05abb50
tree24003b8481aa66fad2ca12e1118566706fbf0cae
parente9865945ad8286a007d8b8465703c5b242f94caa
Back out the change in 64918 that used sign-extensions when promoting
trip counts that use signed comparisons. It's not obviously the best
approach for preserving trip count information, and at any rate there
isn't anything in the tree right now that makes use of that, so for
now always using zero-extensions is preferable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65347 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp
test/Transforms/IndVarSimplify/preserve-signed-wrap.ll
test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll
test/Transforms/IndVarSimplify/signed-trip-count.ll