[PATCH] Add a flag to experiment with outlining optional branches.

Xinliang David Li xinliangli at gmail.com
Tue Mar 3 23:03:59 PST 2015


If I read the change correctly,  'B' block in the following case can not be
outlined. Is it intended?

David

if (cond1) {
    A
    if (cond2) {

         B
     }
    C
    ...
}
else {
   D
}

On Tue, Mar 3, 2015 at 10:46 PM, Daniel Jasper <djasper at google.com> wrote:

> Re-add the test.
>
>
> http://reviews.llvm.org/D7719
>
> Files:
>   lib/CodeGen/MachineBlockPlacement.cpp
>   test/CodeGen/X86/code_placement_outline_optional_branches.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/20150303/244b3e2e/attachment.html>


More information about the llvm-commits mailing list