[PATCH] Don't create bad branch weights when folding a switch

Justin Bogner mail at justinbogner.com
Mon Dec 9 16:20:44 PST 2013


r196845.

Manman Ren <manman.ren at gmail.com> writes:
> LGTM
>
> Thanks,
> Manman
>
> On Mon, Dec 9, 2013 at 3:31 PM, Justin Bogner <mail at justinbogner.com> wrote:
>
>     This avoids creating branch weight metadata of length one when we fold
>     cases into the default of a switch instruction, which was triggering
>     an assert.
>
>     _______________________________________________
>     llvm-commits mailing list
>     llvm-commits at cs.uiuc.edu
>     http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list