[LLVMdev] RFC: Recursive inlining
Chandler Carruth
chandlerc at google.com
Wed Feb 18 13:01:09 PST 2015
On Wed, Feb 18, 2015 at 12:57 PM, Pablo Barrio <Pablo.Barrio at arm.com> wrote:
> Also, virtually all processors beyond a certain level of sophistication
> (let's say, meant to run an OS) feature a return-stack prediction
> mechanism. This results in highly-efficient branch prediction for
> calls+returns. Since we are transforming the "call jumps" into "switch
> jumps", we are probably misusing that piece of hardware.
Yes, it will be critical to use a branching pattern that similarly fits
modern predictors. I don't think this will be hard though. Again, I'm
continuing to work on a prototype actual pass.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150218/178c891e/attachment.html>
More information about the llvm-dev
mailing list