LICM does get dead instructions input to it. Instead of sinking them
authorChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 18:22:25 +0000 (18:22 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 18:22:25 +0000 (18:22 +0000)
commit0de5cad74d8d2987b92b8d76af3f1eab988b3c7b
treeeb94a7c72f1cad30c16c868f9f6dde5213279dfc
parentd9a5daeb7719c83136c0dc43d6ef732402d1a1b5
LICM does get dead instructions input to it. Instead of sinking them
out of loops, just delete them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112451 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LICM.cpp
test/Transforms/LICM/sinking.ll