OSDN Git Service

Don't emit a redundant BitCastInst if the value to be defined in the
authorDan Gohman <gohman@apple.com>
Wed, 24 Jun 2009 00:28:59 +0000 (00:28 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 24 Jun 2009 00:28:59 +0000 (00:28 +0000)
commitea080be98625d86dc0a574f71d7df69e2351734c
tree2688f1a7def163981a4096929dc4b6fbbc06fed0
parent6b96f6cfeb41576b62190483f8d87d3da1572486
Don't emit a redundant BitCastInst if the value to be defined in the
preheader is already an instruction.

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