[clang] [libc] [Clang] Implement resource directory headers for common GPU intrinsics (PR #110179)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 11 10:17:30 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `clang` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/12/builds/9354
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
...
[295/301] Linking CXX executable tools/clang/unittests/Driver/ClangDriverTests
[296/301] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[297/301] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[298/301] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[299/301] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
[300/301] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[300/301] Running the Clang regression tests
-- Testing: 21288 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing: 0.. 10.. 20.. 30.. 40.. 50.
FAIL: Clang :: Headers/gpuintrin_lang.c (12017 of 21288)
******************** TEST 'Clang :: Headers/gpuintrin_lang.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/../../lib/Headers/cuda_wrappers -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/../../lib/Headers/ -fcuda-is-device -triple nvptx64 -emit-llvm /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c -o - | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=CUDA
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/../../lib/Headers/cuda_wrappers -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/../../lib/Headers/ -fcuda-is-device -triple nvptx64 -emit-llvm /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c -o -
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=CUDA
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c:39:15: error: CUDA-NEXT: expected string not found in input
// CUDA-NEXT: [[TMP0:%.*]] = call range(i32 0, 1024) i32 @llvm.nvvm.read.ptx.sreg.tid.x()
^
<stdin>:8:7: note: scanning from here
entry:
^
<stdin>:9:2: note: possible intended match here
%0 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x()
^
Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ; ModuleID = '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c'
2: source_filename = "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c"
3: target datalayout = "e-i64:64-i128:128-v16:16-v32:32-n16:32:64"
4: target triple = "nvptx64"
5:
6: ; Function Attrs: convergent noinline nounwind optnone
7: define dso_local i32 @foo() #0 {
8: entry:
next:39'0 X error: no match found
9: %0 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x()
next:39'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:39'1 ? possible intended match
10: ret i32 %0
Step 8 (check-llvm) failure: check-llvm (failure)
...
[295/301] Linking CXX executable tools/clang/unittests/Driver/ClangDriverTests
[296/301] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[297/301] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[298/301] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[299/301] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
[300/301] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[300/301] Running the Clang regression tests
-- Testing: 21288 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing: 0.. 10.. 20.. 30.. 40.. 50.
FAIL: Clang :: Headers/gpuintrin_lang.c (12017 of 21288)
******************** TEST 'Clang :: Headers/gpuintrin_lang.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/../../lib/Headers/cuda_wrappers -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/../../lib/Headers/ -fcuda-is-device -triple nvptx64 -emit-llvm /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c -o - | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=CUDA
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/../../lib/Headers/cuda_wrappers -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/../../lib/Headers/ -fcuda-is-device -triple nvptx64 -emit-llvm /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c -o -
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=CUDA
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c:39:15: error: CUDA-NEXT: expected string not found in input
// CUDA-NEXT: [[TMP0:%.*]] = call range(i32 0, 1024) i32 @llvm.nvvm.read.ptx.sreg.tid.x()
^
<stdin>:8:7: note: scanning from here
entry:
^
<stdin>:9:2: note: possible intended match here
%0 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x()
^
Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ; ModuleID = '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c'
2: source_filename = "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Headers/gpuintrin_lang.c"
3: target datalayout = "e-i64:64-i128:128-v16:16-v32:32-n16:32:64"
4: target triple = "nvptx64"
5:
6: ; Function Attrs: convergent noinline nounwind optnone
7: define dso_local i32 @foo() #0 {
8: entry:
next:39'0 X error: no match found
9: %0 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x()
next:39'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:39'1 ? possible intended match
10: ret i32 %0
```
</details>
https://github.com/llvm/llvm-project/pull/110179
More information about the cfe-commits
mailing list