Remove some logic I thoughtlessly copied over
authorDuncan Sands <baldrick@free.fr>
Fri, 23 Nov 2007 09:10:17 +0000 (09:10 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 23 Nov 2007 09:10:17 +0000 (09:10 +0000)
commitbb65098d2c8c08e1c45d5567c07f492e2a770aff
tree8d741b3808c8d2b03b3f3928322bcb08a25f2e3e
parent42b5e08e7123aefbc6e93b547f44e3ed7604526f
Remove some logic I thoughtlessly copied over
from the old ADCE implementation (there it was
correct because the transform was being done
for read-only functions).

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