[llvm-bugs] [Bug 50747] New: using -Xopenmp-target -march=armv8.2-a+sve to build fatbinay showed __clang_arm_builtin_alias error

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 17 01:45:35 PDT 2021


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

            Bug ID: 50747
           Summary: using -Xopenmp-target -march=armv8.2-a+sve to build
                    fatbinay  showed __clang_arm_builtin_alias error
           Product: clang
           Version: 11.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: OpenMP
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lqxsswork at 163.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 24961
  --> https://bugs.llvm.org/attachment.cgi?id=24961&action=edit
code for sme test

Bug reproduce:

clang -o test  -march=armv8.2-a+sve -fopenmp
-fopenmp-targets=aarch64-unknown-linux-gnu -Xopenmp-target -march=armv8.2-a+sve
 sme_test.c

Error Info:

error: '__clang_arm_builtin_alias' attribute can only be applied to an ARM
builtin
__aio __attribute__((__clang_arm_builtin_alias(__builtin_sve_svabd_n_s16_x)))

fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

Some analysis:

-- 
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/20210617/dce72fdb/attachment.html>


More information about the llvm-bugs mailing list