[PATCH] Enhance loop rotation with existence of profile data in MachineBlockPlacement pass.

Xinliang David Li xinliangli at gmail.com
Mon Jul 6 09:57:30 PDT 2015


Does the cost analysis work well for loop nest? After the inner loop chain
is formed and rotated, it will be later be merged into the parent loop
chain. The cost analysis for the parent loop may need to be adjusted to
consider the inner loops that are already rotated.

David

On Tue, Jun 30, 2015 at 2:29 PM, Cong Hou <congh at google.com> wrote:

> Update the patch by adding two opt parameters that define the cost of
> misfetch and jump instruction, and use them when rotating loops.
>
>
> http://reviews.llvm.org/D10717
>
> Files:
>   lib/CodeGen/MachineBlockPlacement.cpp
>   test/CodeGen/X86/code_placement_loop_rotation.ll
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
> _______________________________________________
> 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/20150706/8e571c12/attachment.html>


More information about the llvm-commits mailing list