Do not speculatively execute an instruction by hoisting it to its predecessor BB...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 12 Jun 2008 21:15:59 +0000 (21:15 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 12 Jun 2008 21:15:59 +0000 (21:15 +0000)
commit502a4f5162498ec420e3cb22f667808d726dd7da
tree897e6220cf1c130bfc59180658d77e05fedff2e5
parent0d0ca8572f3847f38af8dec4ad4328ec7a170ec9
Do not speculatively execute an instruction by hoisting it to its predecessor BB if any of its operands are defined but not used in BB. The transformation will prevent the operand from being sunk into the use block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52244 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Value.h
lib/Transforms/Utils/SimplifyCFG.cpp
lib/VMCore/Value.cpp