[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:29:26 PST 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/7704
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Headers/gpuintrin_lang.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
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\20\include -nostdsysteminc -internal-isystem Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers/Inputs/include -internal-isystem Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers/../../lib/Headers/cuda_wrappers -internal-isystem Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers/../../lib/Headers/ -fcuda-is-device -triple nvptx64 -emit-llvm Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers\gpuintrin_lang.c -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers\gpuintrin_lang.c --check-prefix=CUDA
# 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\20\include' -nostdsysteminc -internal-isystem 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers/Inputs/include' -internal-isystem 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers/../../lib/Headers/cuda_wrappers' -internal-isystem 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers/../../lib/Headers/' -fcuda-is-device -triple nvptx64 -emit-llvm 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers\gpuintrin_lang.c' -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers\gpuintrin_lang.c' --check-prefix=CUDA
# .---command stderr------------
# | [1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers\gpuintrin_lang.c:39:15: [0m[0;1;31merror: [0m[1mCUDA-NEXT: expected string not found in input
[0m# | [1m[0m// CUDA-NEXT: [[TMP0:%.*]] = call range(i32 0, 1024) i32 @llvm.nvvm.read.ptx.sreg.tid.x()
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:8:7: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mentry:
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:9:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %0 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x()
# | [0;1;32m ^
[0m# | [0;1;32m[0m
# | Input file: <stdin>
# | Check file: Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers\gpuintrin_lang.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | [1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Headers\gpuintrin_lang.c' [0m
# | [0;1;30m 2: [0m[1m[0;1;46msource_filename = "Z:\\b\\llvm-clang-x86_64-sie-win\\llvm-project\\clang\\test\\Headers\\gpuintrin_lang.c" [0m
# | [0;1;30m 3: [0m[1m[0;1;46mtarget datalayout = "e-i64:64-i128:128-v16:16-v32:32-n16:32:64" [0m
# | [0;1;30m 4: [0m[1m[0;1;46mtarget triple = "nvptx64" [0m
# | [0;1;30m 5: [0m[1m[0;1;46m [0m
# | [0;1;30m 6: [0m[1m[0;1;46m; Function Attrs: convergent noinline nounwind optnone [0m
# | [0;1;30m 7: [0m[1m[0;1;46m[0mdefine dso_local i32 @foo() #0 {[0;1;46m [0m
# | [0;1;32mlabel:36'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mlabel:36'1 ^~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32msame:37'0 ^~~~~~
[0m# | [0;1;32m[0m[0;1;32msame:37'1 ^ captured var "ATTR0"
[0m# | [0;1;32m[0m[0;1;30m 8: [0m[1m[0;1;46m[0mentry:[0;1;46m [0m
# | [0;1;32mnext:38'0 ^~~~~~
[0m# | [0;1;32m[0m[0;1;32mnext:38'1 ^~~~~~ captured var "ENTRY"
[0m# | [0;1;32m[0m[0;1;31mnext:39'0 X error: no match found
[0m# | [0;1;31m[0m[0;1;30m 9: [0m[1m[0;1;46m %0 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x() [0m
# | [0;1;31mnext:39'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;35mnext:39'1 ? possible intended match
[0m# | [0;1;35m[0m[0;1;30m 10: [0m[1m[0;1;46m ret i32 %0 [0m
# | [0;1;31mnext:39'0 ~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;30m 11: [0m[1m[0;1;46m} [0m
# | [0;1;31mnext:39'0 ~~
[0m# | [0;1;31m[0m[0;1;30m 12: [0m[1m[0;1;46m [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/110179
More information about the cfe-commits
mailing list