[llvm-bugs] [Bug 36079] New: Miscompilation in code which LLVM partially vectorizes

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 24 09:38:49 PST 2018


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

            Bug ID: 36079
           Summary: Miscompilation in code which LLVM partially vectorizes
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: momchil.velikov at arm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19741
  --> https://bugs.llvm.org/attachment.cgi?id=19741&action=edit
minimal testcase

The attached test program is miscompiled by LLVM, when targeting Arm
architecture, which includes NEON instructions, at optimisation levels -02,
-O3, -Os and -Oz. All the elements of the array `c` are expected to be set to
1, however the last one (`c[3]`) stays 3.

-- 
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/20180124/1f9d0003/attachment.html>


More information about the llvm-bugs mailing list