[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #98624)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 22 04:15:24 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `clang` at step 7 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/2030
Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Sema/aarch64-neon-without-target-feature.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -cc1 -internal-isystem Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\19\include -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod -target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm -target-feature +bf16 -verify -emit-llvm -o - Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -cc1 -internal-isystem 'Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\19\include' -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod -target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm -target-feature +bf16 -verify -emit-llvm -o - 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp'
# .---command stderr------------
# | error: 'expected-error' diagnostics expected but not seen:
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 9: always_inline function 'vdot_u32' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 10: always_inline function 'vdot_u32' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 10: '__builtin_neon_splat_laneq_v' needs target feature neon
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 12: always_inline function 'vceqz_f16' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 13: always_inline function 'vrnd_f16' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 14: always_inline function 'vmaxnm_f16' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 15: always_inline function 'vrndi_f16' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 17: always_inline function 'vfmlal_low_f16' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 19: always_inline function 'vmmlaq_s32' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 20: always_inline function 'vusdot_s32' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 20: '__builtin_neon_splat_laneq_v' needs target feature neon
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 22: always_inline function 'vbfdot_f32' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 24: '__builtin_neon_splat_lane_bf16' needs target feature bf16,neon
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 25: always_inline function 'vdup_n_bf16' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 26: '__builtin_neon_vld1_bf16' needs target feature bf16,neon
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 27: always_inline function 'vcvt_f32_bf16' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 28: always_inline function 'vcvt_bf16_f32' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 29: always_inline function 'vmull_p64' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 30: always_inline function 'vmull_high_p64' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 31: always_inline function 'vtrn1_s8' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 32: always_inline function 'vqabsq_s16' requires target feature 'neon'
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 33: always_inline function 'vbslq_s16' requires target feature 'neon'
# | error: 'expected-error' diagnostics seen but not expected:
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp Line 5: 'arm_neon.h' file not found
# | 23 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
********************
```
https://github.com/llvm/llvm-project/pull/98624
More information about the cfe-commits
mailing list