[PATCH] LowerSwitch: replace unreachable default with popular case destination

Hans Wennborg hans at chromium.org
Mon Jan 26 12:47:27 PST 2015


On Fri, Jan 23, 2015 at 9:49 AM, Marcello Maggioni <hayarms at gmail.com> wrote:
> Hi Hans!
> Sorry for the delay. Your patch is very good. Thank you!

Thanks for bearing with me :)

I just landed the change to SimplifyCFG so it no longer remove
unreachable defaults (r227125), and I assume LowerSwitch will start
seeing more of these kinds of switches now.

 - Hans



More information about the llvm-commits mailing list