[llvm-bugs] [Bug 50271] New: [AArch32] vld1q_u8_x2 / vst1q_u8_x2 in loop can cause crash in 'ARM Instruction Selection'

via llvm-bugs llvm-bugs at lists.llvm.org
Sat May 8 03:15:31 PDT 2021


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

            Bug ID: 50271
           Summary: [AArch32] vld1q_u8_x2 / vst1q_u8_x2 in loop can cause
                    crash in 'ARM Instruction Selection'
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: zingaburga+llvm at hotmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Using the ARM NEON intrinsic vld1q_u8_x2 or vst1q_u8_x2 inside a loop, with
optimization enabled, can cause the compiler to crash.  (I think this also
affects x3 and x4 variants)

Seems to affect Clang 9, 10 and 11, but not 8.  Probably affects Clang 12 and
trunk.

Unsure what exactly causes it, but here's an example:
https://godbolt.org/z/3dPqsnWev

-- 
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/20210508/e0997034/attachment.html>


More information about the llvm-bugs mailing list