[llvm-bugs] [Bug 42553] New: Gibberish code generated at -O3

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 9 06:59:50 PDT 2019


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

            Bug ID: 42553
           Summary: Gibberish code generated at -O3
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: slw at zxy.spb.ru
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 22216
  --> https://bugs.llvm.org/attachment.cgi?id=22216&action=edit
t.clang.inc.c -- source code

Very simple code cause generate gibberish vectorized assembler at -O3 level.
I am found this in fio source.

t.clang.inc.c -- is exctracted function for demonstrated purpose, after
preprocessor run.

t.clang.O3.s generated assembler, -O3, gibberish

t.clang.O1.s generated assembler, -O1, more clean, compact and speed.

-- 
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/20190709/731c72b4/attachment.html>


More information about the llvm-bugs mailing list