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: unassignedclangb...@nondot.org
          Reporter: m...@hanicka.net
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to