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

Manman Ren manman.ren at gmail.com
Mon Dec 9 16:00:00 PST 2013



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131209/285e0d4a/attachment.html>

More information about the llvm-commits mailing list