Fixup PHIs in LowerSwitch when a Leaf node is not emitted.
authorMarcello Maggioni <hayarms@gmail.com>
Fri, 11 Jul 2014 10:34:36 +0000 (10:34 +0000)
committerMarcello Maggioni <hayarms@gmail.com>
Fri, 11 Jul 2014 10:34:36 +0000 (10:34 +0000)
commita533de6f598394c1f1fb7faf689374e2d7560c81
treec7b3ffffd7354d73dfdce27cc056410a1a802721
parent11c9a50611fb83bdc71d6f25f3cbb372317a2cdc
Fixup PHIs in LowerSwitch when a Leaf node is not emitted.

This commit fixes bug http://llvm.org/bugs/show_bug.cgi?id=20103.

Thanks to Qwertyuiop for the report and the proposed fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212802 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LowerSwitch.cpp