[PATCH] D28583: CodeGen: Allow small copyable blocks to "break" the CFG.

Kyle Butt via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 14:42:24 PST 2017


On Mon, Jan 23, 2017 at 8:44 PM, Xinliang David Li <davidxl at google.com>
wrote:

>
>
> I don't understand the reply. The early check I suggested is basically:
>
> if ( AdjustedSumProb - PProb > PProb)
>    return false;
>
>
The simple shortcut isn't correct. I made the loop look at the CFG-breaking
tail-duplication candidates in a separate loop afterword.

David
>
>>
>>
>> https://reviews.llvm.org/D28583
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170124/f4873859/attachment.html>


More information about the llvm-commits mailing list