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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to