[llvm-bugs] [Bug 28402] wrong code (generated code hangs) at -O3 on x86_64-linux-gnu in 32-bit and 64-bit modes

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 2 22:09:31 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28402

David Majnemer <david.majnemer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |david.majnemer at gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #1 from David Majnemer <david.majnemer at gmail.com> ---
Bisection points to r272267:
Author: Haicheng Wu <haicheng at codeaurora.org>
Date:   Thu Jun 9 15:24:29 2016 +0000

    Reapply "[MBP] Reduce code size by running tail merging in MBP.""

    This reapplies commit r271930, r271915, r271923.  They hit a bug in
    Thumb which is fixed in r272258 now.

    The original message:

    The code layout that TailMerging (inside BranchFolding) works on is not the
    final layout optimized based on the branch probability. Generally, after
    BlockPlacement, many new merging opportunities emerge.

    This patch calls Tail Merging after MBP and calls MBP again if Tail Merging
    merges anything.

Likely the same bug as PR28307.

*** This bug has been marked as a duplicate of bug 28307 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160703/7db238ce/attachment.html>


More information about the llvm-bugs mailing list