[llvm-bugs] [Bug 43341] New: ARM NEON intrinsic header <arm_neon.h> requires lax vector conversions

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 17 13:34:23 PDT 2019


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

            Bug ID: 43341
           Summary: ARM NEON intrinsic header <arm_neon.h> requires lax
                    vector conversions
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Headers
          Assignee: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

#include <arm_neon.h> fails to compile with -fno-lax-vector-conversions /
-flax-vector-conversions=integer, due to reliance on implicit (bitcast)
conversions between vectors of floating point types and vectors of integer
types in code in the generated header.

I intend to soon switch Clang's default from -flax-vector-conversions=all to
-flax-vector-conversions=integer, which would break all code including that
header. (For that reason, I intend to leave the default alone when targeting
ARM NEON for now, but this would not be a reasonable state in the longer term.)

-- 
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/20190917/efa34ea9/attachment.html>


More information about the llvm-bugs mailing list