[LLVMdev] Lowering switch statements with PGO
Chandler Carruth
chandlerc at google.com
Thu Dec 18 04:18:42 PST 2014
(this is a total side-note)
On Mon, Dec 15, 2014 at 10:18 PM, Bob Wilson <bob.wilson at apple.com> wrote:
> I don’t remember any static heuristics for switches.
We should probably bias slightly toward a single case for switches where
one dominates the value range space of the input, and that one doesn't have
some other heuristic (such as we provide for an unreachable-terminated
block) applied to it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141218/ee2bab2b/attachment.html>
More information about the llvm-dev
mailing list