Eliminate zext over (iv & const) or ((iv+const)&const)
authorDale Johannesen <dalej@apple.com>
Wed, 15 Apr 2009 20:41:02 +0000 (20:41 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 15 Apr 2009 20:41:02 +0000 (20:41 +0000)
commitd3325d289736dec93c37f24bffd63cb91b643b87
tree53c9d33d5e68d11551ad1405c7243de0963591d4
parent9371c33611d42e15ef722e443f0d250f4b84e910
Eliminate zext over (iv & const) or ((iv+const)&const)
if a longer iv is available.  These subscript forms are
not common; they're a bottleneck in OpenSSL.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69215 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp