OSDN Git Service

Eliminate zext over (iv | const) or (signed iv),
authorDale Johannesen <dalej@apple.com>
Wed, 15 Apr 2009 23:31:51 +0000 (23:31 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 15 Apr 2009 23:31:51 +0000 (23:31 +0000)
commitc671d892ab1d3d8fed18a61f66f3f3a86e73ebd9
tree4b4cad596e4fbe38643eb39792525c0ba87faab1
parenta0ed8ca233e6099d434e9c80d9681057369db78f
Eliminate zext over (iv | const) or (signed iv),
and sext over (iv | const), if a longer iv is
available.  Allow expressions to have more than
one zext/sext parent.  All from OpenSSL.

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