Switch lowering: Fix broken 'Figure out which block is next' code
authorHans Wennborg <hans@hanshq.net>
Sat, 29 Nov 2014 21:17:05 +0000 (21:17 +0000)
committerHans Wennborg <hans@hanshq.net>
Sat, 29 Nov 2014 21:17:05 +0000 (21:17 +0000)
commit5c6c5e23bd4282928c83d17aca95b5d31e7c2d0b
treee016ab59e712aad1e092b30262f6910a859b32d8
parent1c86b63b9b1893a8f04d724b94824da154c4cd47
Switch lowering: Fix broken 'Figure out which block is next' code

This doesn't seem to have worked in a long time, but other optimizations
would clean it up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222961 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/X86/switch-default-only.ll [new file with mode: 0644]
test/DebugInfo/unconditional-branch.ll