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: unassignedclangb...@nondot.org
          Reporter: lqxssw...@163.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to