[Webkit-unassigned] [Bug 138523] [JSC] Lower switch statements at LLVM IR level when using FastISel.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 7 16:01:35 PST 2014


--- Comment #4 from Juergen Ributzka <juergen at apple.com> ---
(In reply to comment #2)
> Comment on attachment 241210 [details]
> Patch
> r=me
> Is there any downside to lowering early? Does this prevent
> lookup-table-based switch?

Yes, it prevents lookup-table-based switches, but FastISel isn't supporting them anyways. I haven't seen a performance regression yet, but we can revisit this if it should become a problem. The important thing here is that you don't want to fall-back to SelectionDAG, which would increase compile time.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141108/e8c07907/attachment-0002.html>

More information about the webkit-unassigned mailing list