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

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jun 26 14:57:01 PDT 2016


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

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

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

--- Comment #2 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/20160626/f503691b/attachment.html>


More information about the llvm-bugs mailing list