[PATCH] Improving LowerSwitch behavior for contiguous ranges

Joerg Sonnenberger joerg at britannica.bec.de
Wed Jun 11 10:37:51 PDT 2014


On Wed, Jun 11, 2014 at 05:28:05PM +0100, Marcello Maggioni wrote:
> Yeah, it is suboptimal, it doesn't take into consideration the fact that
> the default is unreachable.
> 
> I'll a look at it later to see if it is easy to also take into
> consideration this case and add it to the patch + test for the condition.

Thanks. Please don't take this as hold up for pushing the original
patch, it can just as well be a follow-up commit.

Joerg



More information about the llvm-commits mailing list