[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:26:40 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/9263
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Headers/gpuintrin_lang.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/../../lib/Headers/cuda_wrappers -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/../../lib/Headers/ -fcuda-is-device -triple nvptx64 -emit-llvm /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/gpuintrin_lang.c -o - | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=CUDA
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/../../lib/Headers/cuda_wrappers -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/../../lib/Headers/ -fcuda-is-device -triple nvptx64 -emit-llvm /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/gpuintrin_lang.c -o -
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=CUDA
[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/gpuintrin_lang.c:39:15: [0m[0;1;31merror: [0m[1mCUDA-NEXT: expected string not found in input
[0m// CUDA-NEXT: [[TMP0:%.*]] = call range(i32 0, 1024) i32 @llvm.nvvm.read.ptx.sreg.tid.x()
[0;1;32m ^
[0m[1m<stdin>:8:7: [0m[0;1;30mnote: [0m[1mscanning from here
[0mentry:
[0;1;32m ^
[0m[1m<stdin>:9:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m %0 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x()
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/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 = '/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Headers/gpuintrin_lang.c' [0m
[0;1;30m 2: [0m[1m[0;1;46msource_filename = "/Users/buildbot/buildbot-root/aarch64-darwin/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;32mlabel:36'1 ^~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32msame:37'0 ^~~~~~
[0m[0;1;32msame:37'1 ^ captured var "ATTR0"
[0m[0;1;30m 8: [0m[1m[0;1;46m[0mentry:[0;1;46m [0m
[0;1;32mnext:38'0 ^~~~~~
[0m[0;1;32mnext:38'1 ^~~~~~ captured var "ENTRY"
[0m[0;1;31mnext:39'0 X error: no match found
[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;35mnext:39'1 ? possible intended match
[0m[0;1;30m 10: [0m[1m[0;1;46m ret i32 %0 [0m
[0;1;31mnext:39'0 ~~~~~~~~~~~~
[0m[0;1;30m 11: [0m[1m[0;1;46m} [0m
[0;1;31mnext:39'0 ~~
[0m[0;1;30m 12: [0m[1m[0;1;46m [0m
[0;1;31mnext:39'0 ~
[0m[0;1;30m 13: [0m[1m[0;1;46m; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/110179
More information about the cfe-commits
mailing list