Remove dead code from LoopUnswitch
authorHal Finkel <hfinkel@anl.gov>
Fri, 8 Nov 2013 19:58:21 +0000 (19:58 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 8 Nov 2013 19:58:21 +0000 (19:58 +0000)
commitab09d1e0ead4ede09f22ef3645bbcf0785d667f8
tree2a696e55f510c898455c319d5af5fa1940700369
parentd241fa7a61682a15b753c52afee07dfbf1b3bd1f
Remove dead code from LoopUnswitch

LoopUnswitch's code simplification routine has logic to convert conditional
branches into unconditional branches, after unswitching makes the condition
constant, and then remove any blocks that renders dead. Unfortunately, this
code is dead, currently broken, and furthermore, has never been alive (at least
as far back at 2006).

No functionality change intended.

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