[clang] [clang][bytecode] Handle UETT_OpenMPRequiredSimdAlign (PR #111259)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 5 11:30:52 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux-bootstrap-hwasan` running on `sanitizer-buildbot12` while building `clang` at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/55/builds/2533

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 82638 tests, 48 workers --
Testing: 
FAIL: Clang :: AST/ByteCode/builtins.cpp (78 of 82638)
******************** TEST 'Clang :: AST/ByteCode/builtins.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/lib/clang/20/include -nostdsysteminc -fexperimental-new-constant-interpreter /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp -Wno-constant-evaluated -verify -fms-extensions
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/lib/clang/20/include -nostdsysteminc -fexperimental-new-constant-interpreter /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp -Wno-constant-evaluated -verify -fms-extensions
error: 'expected-error' diagnostics seen but not expected: 
  File /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp Line 40: static assertion failed due to requirement '__builtin_omp_required_simd_align(int) != 0'
error: 'expected-note' diagnostics seen but not expected: 
  File /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp Line 40: expression evaluates to '0 != 0'
2 errors generated.

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
94.99s: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
87.08s: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret-bfloat.c
77.33s: Clang :: CodeGen/X86/rot-intrinsics.c
74.61s: Clang :: CodeGen/X86/sse2-builtins.c
74.33s: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
70.80s: Clang :: Driver/fsanitize.c
57.70s: Clang :: CodeGen/X86/x86_64-xsave.c
55.04s: Clang :: Driver/arm-cortex-cpus-2.c
54.18s: Clang :: Driver/arm-cortex-cpus-1.c
52.77s: Clang :: CodeGen/X86/sse41-builtins.c
52.68s: Clang :: CodeGen/X86/sse42-builtins.c
52.61s: Clang :: Headers/arm-neon-header.c
51.91s: Clang :: CodeGen/X86/sse-builtins-constrained.c
46.87s: Clang :: CodeGen/PowerPC/ppc-smmintrin.c
44.55s: Clang :: Analysis/a_flaky_crash.cpp
42.53s: Clang :: CodeGen/X86/x86_32-xsave.c
41.97s: Clang :: CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_set_neonq.c
40.26s: Clang :: CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_get_neonq.c
40.01s: Clang :: CodeGen/PowerPC/ppc-xmmintrin.c
Step 10 (stage2/hwasan check) failure: stage2/hwasan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 82638 tests, 48 workers --
Testing: 
FAIL: Clang :: AST/ByteCode/builtins.cpp (78 of 82638)
******************** TEST 'Clang :: AST/ByteCode/builtins.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/lib/clang/20/include -nostdsysteminc -fexperimental-new-constant-interpreter /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp -Wno-constant-evaluated -verify -fms-extensions
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/lib/clang/20/include -nostdsysteminc -fexperimental-new-constant-interpreter /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp -Wno-constant-evaluated -verify -fms-extensions
error: 'expected-error' diagnostics seen but not expected: 
  File /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp Line 40: static assertion failed due to requirement '__builtin_omp_required_simd_align(int) != 0'
error: 'expected-note' diagnostics seen but not expected: 
  File /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp Line 40: expression evaluates to '0 != 0'
2 errors generated.

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
94.99s: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
87.08s: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret-bfloat.c
77.33s: Clang :: CodeGen/X86/rot-intrinsics.c
74.61s: Clang :: CodeGen/X86/sse2-builtins.c
74.33s: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
70.80s: Clang :: Driver/fsanitize.c
57.70s: Clang :: CodeGen/X86/x86_64-xsave.c
55.04s: Clang :: Driver/arm-cortex-cpus-2.c
54.18s: Clang :: Driver/arm-cortex-cpus-1.c
52.77s: Clang :: CodeGen/X86/sse41-builtins.c
52.68s: Clang :: CodeGen/X86/sse42-builtins.c
52.61s: Clang :: Headers/arm-neon-header.c
51.91s: Clang :: CodeGen/X86/sse-builtins-constrained.c
46.87s: Clang :: CodeGen/PowerPC/ppc-smmintrin.c
44.55s: Clang :: Analysis/a_flaky_crash.cpp
42.53s: Clang :: CodeGen/X86/x86_32-xsave.c
41.97s: Clang :: CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_set_neonq.c
40.26s: Clang :: CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_get_neonq.c
40.01s: Clang :: CodeGen/PowerPC/ppc-xmmintrin.c
Step 13 (stage3/hwasan check) failure: stage3/hwasan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 79960 tests, 48 workers --
Testing: 
FAIL: Clang :: AST/ByteCode/builtins.cpp (91 of 79960)
******************** TEST 'Clang :: AST/ByteCode/builtins.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/lib/clang/20/include -nostdsysteminc -fexperimental-new-constant-interpreter /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp -Wno-constant-evaluated -verify -fms-extensions
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/lib/clang/20/include -nostdsysteminc -fexperimental-new-constant-interpreter /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp -Wno-constant-evaluated -verify -fms-extensions
error: 'expected-error' diagnostics seen but not expected: 
  File /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp Line 40: static assertion failed due to requirement '__builtin_omp_required_simd_align(int) != 0'
error: 'expected-note' diagnostics seen but not expected: 
  File /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/AST/ByteCode/builtins.cpp Line 40: expression evaluates to '0 != 0'
2 errors generated.

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
23.71s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
16.26s: Clang :: Driver/fsanitize.c
15.85s: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
13.30s: Clang :: Headers/arm-neon-header.c
12.92s: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret-bfloat.c
12.80s: Clang :: Preprocessor/riscv-target-features.c
12.14s: Clang :: OpenMP/target_update_codegen.cpp
11.86s: Clang :: OpenMP/target_defaultmap_codegen_01.cpp
11.63s: Clang :: CodeGen/X86/rot-intrinsics.c
11.38s: Clang :: Driver/arm-cortex-cpus-2.c
11.36s: Clang :: Driver/arm-cortex-cpus-1.c
11.27s: Clang :: CodeGen/X86/sse2-builtins.c
10.37s: lit :: shtest-define.py
10.25s: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
10.01s: LLVM-Unit :: Support/./SupportTests/ProgramEnvTest/TestExecuteNoWaitDetached
9.78s: Clang :: Analysis/a_flaky_crash.cpp
9.28s: Clang :: Preprocessor/aarch64-target-features.c
9.19s: Clang :: Preprocessor/arm-target-features.c
9.15s: Clang :: OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp

```

</details>

https://github.com/llvm/llvm-project/pull/111259


More information about the cfe-commits mailing list