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

Justin Bogner mail at justinbogner.com
Mon Dec 9 15:31:59 PST 2013

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Transforms-Don-t-create-bad-branch-weights-when-fold.patch
Type: text/x-patch
Size: 2859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131209/8b9c5225/attachment.bin>

More information about the llvm-commits mailing list