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

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 1 02:57:46 PDT 2020


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

Ranjeet Singh <ranjeet.singh at arm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |ranjeet.singh at arm.com
         Resolution|---                         |FIXED

--- Comment #7 from Ranjeet Singh <ranjeet.singh at arm.com> ---
It was mentioned in https://reviews.llvm.org/D61717 that there were still bugs
in arm_neon.h when compiling with -flax-vector-conversions=none/integer for a
certain target string 'arm64-linux-gnu':

to reproduce the errors run:

echo '#include <arm_neon.h>' | clang -target arm64-linux-gnu -arch +neon
-fsyntax-only -x c - -fno-lax-vector-conversions


however this was only happening because clang was looking for headers on the
users path in /usr if you add the option -ffreestanding to make it use
clang/llvm's library headers then the issue goes away. Also Richard noticed
that the target was missing from the arm-neon-header.c testcase so I've added
it https://reviews.llvm.org/D61717.

I don't think there are anymore issues around this area with compiling
arm_neon.h with -flax-vector-conversions turned off so resolving this issue as
fixed.

-- 
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/20201001/c5658b5f/attachment.html>


More information about the llvm-bugs mailing list