[llvm-bugs] [Bug 42885] New: optimization bug with -march=haswell/skylake

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 5 00:50:43 PDT 2019


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

            Bug ID: 42885
           Summary: optimization bug with -march=haswell/skylake
           Product: clang
           Version: trunk
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mail at hanicka.net
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Created attachment 22337
  --> https://bugs.llvm.org/attachment.cgi?id=22337&action=edit
Problematic example

Optimizer for attached code generate suboptimal assembly when
`-march=haswell/skylake` (maybe others too) provided.

Example: https://compiler-explorer.com/z/hILOvf

But for another example the assembly is ok:
https://compiler-explorer.com/z/bdOObm

Thanks, Hana

-- 
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/20190805/4e18e7e9/attachment-0001.html>


More information about the llvm-bugs mailing list