[clang] [CIR] Add norecurse to main and GPU/shader functions (PR #228508)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 5 17:02:29 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 64293 tests passed
* 841 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CIR/CodeGenSYCL/sycl-external.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp.cir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp.cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -check-prefix=CIR
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp.cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -check-prefix=CIR
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp --check-prefixes=LLVM,LLVM-CIR
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp --check-prefixes=LLVM,LLVM-CIR
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp:74:18: error: LLVM-CIR-DAG: expected string not found in input
# | // LLVM-CIR-DAG: attributes #[[KERNEL]] = { {{.*}}"sycl-module-id"="{{.*}}sycl-external.cpp" }
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll:82:193: note: scanning from here
# | attributes #0 = { convergent mustprogress noinline norecurse nounwind "sycl-module-id"="/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp" }
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll:82:193: note: with "KERNEL" equal to "0"
# | attributes #0 = { convergent mustprogress noinline norecurse nounwind "sycl-module-id"="/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp" }
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll:83:1: note: possible intended match here
# | attributes #1 = { convergent nounwind }
# | ^
# |
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 77: store ptr addrspace(4) %0, ptr %2, align 8
# | 78: %3 = load ptr addrspace(4), ptr %2, align 8
# | 79: ret void
# | 80: }
# | 81:
# | 82: attributes #0 = { convergent mustprogress noinline norecurse nounwind "sycl-module-id"="/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp" }
# | dag:74'0 { search range start (exclusive)
# | dag:74'1 error: no match found in search range
# | dag:74'2 with "KERNEL" equal to "0"
# | 83: attributes #1 = { convergent nounwind }
# | dag:74'3 ? possible intended match
# | 84: attributes #2 = { convergent mustprogress noinline norecurse nounwind }
# | 85:
# | 86: !llvm.module.flags = !{!0}
# | 87:
# | 88: !0 = !{i32 2, !"Debug Info Version", i32 3}
# | dag:74'4 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/sycl-external.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp.cir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp.cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -check-prefix=CIR
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp.cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -check-prefix=CIR
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp --check-prefixes=LLVM,LLVM-CIR
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp --check-prefixes=LLVM,LLVM-CIR
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp:74:18: error: LLVM-CIR-DAG: expected string not found in input
# | // LLVM-CIR-DAG: attributes #[[KERNEL]] = { {{.*}}"sycl-module-id"="{{.*}}sycl-external.cpp" }
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll:82:193: note: scanning from here
# | attributes #0 = { convergent mustprogress noinline norecurse nounwind "sycl-module-id"="/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp" }
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll:82:193: note: with "KERNEL" equal to "0"
# | attributes #0 = { convergent mustprogress noinline norecurse nounwind "sycl-module-id"="/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp" }
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll:83:1: note: possible intended match here
# | attributes #1 = { convergent nounwind }
# | ^
# |
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenSYCL/Output/sycl-external.cpp.tmp-cir.ll
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 77: store ptr addrspace(4) %0, ptr %2, align 8
# | 78: %3 = load ptr addrspace(4), ptr %2, align 8
# | 79: ret void
# | 80: }
# | 81:
# | 82: attributes #0 = { convergent mustprogress noinline norecurse nounwind "sycl-module-id"="/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenSYCL/sycl-external.cpp" }
# | dag:74'0 { search range start (exclusive)
# | dag:74'1 error: no match found in search range
# | dag:74'2 with "KERNEL" equal to "0"
# | 83: attributes #1 = { convergent nounwind }
# | dag:74'3 ? possible intended match
# | 84: attributes #2 = { convergent mustprogress noinline norecurse nounwind }
# | 85:
# | 86: !llvm.module.flags = !{!0}
# | 87:
# | 88: !0 = !{i32 2, !"Debug Info Version", i32 3}
# | dag:74'4 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/228508
More information about the cfe-commits
mailing list