[clang] [llvm] [mlir] [Clang][Coroutines] Emit Switch-ABI coroutine intrinsics in target address spaces (PR #245325)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 29 17:46:01 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 150016 tests passed
* 2329 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGenCoroutines/coro-addrspace.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# shell parser error on RUN: at line 4: | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenCoroutines\coro-addrspace.cpp --check-prefix=SPIRV
--
```
</details>
<details>
<summary>Clang.CodeGenCoroutines/coro-cleanup.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -std=c++20 -triple=x86_64-unknown-linux-gnu -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGenCoroutines\coro-cleanup.cpp -fexceptions -fcxx-exceptions -disable-llvm-passes | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenCoroutines\coro-cleanup.cpp --check-prefixes=CHECK,THROWEND
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -std=c++20 -triple=x86_64-unknown-linux-gnu -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCoroutines\coro-cleanup.cpp' -fexceptions -fcxx-exceptions -disable-llvm-passes
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCoroutines\coro-cleanup.cpp' --check-prefixes=CHECK,THROWEND
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGenCoroutines\coro-cleanup.cpp:91:15: error: THROWEND: expected string not found in input
# | // THROWEND: %[[Mem:.+]] = call ptr @llvm.coro.free(
# | ^
# | <stdin>:181:11: note: scanning from here
# | ehcleanup: ; preds = %cleanup.cont15, %lpad
# | ^
# | <stdin>:181:11: note: pattern attempts to capture variables: "Mem"
# | ehcleanup: ; preds = %cleanup.cont15, %lpad
# | ^
# | <stdin>:183:2: note: possible intended match here
# | %23 = call ptr @llvm.coro.free.p0(token %0, ptr %4)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CodeGenCoroutines\coro-cleanup.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 176:
# | 177: cleanup.cont15: ; preds = %lpad7
# | 178: call void @_ZNSt16coroutine_traitsIJvEE12promise_typeD1Ev(ptr noundef nonnull align 1 dereferenceable(1) %__promise) #10
# | 179: br label %ehcleanup
# | 180:
# | 181: ehcleanup: ; preds = %cleanup.cont15, %lpad
# | check:91'0 { search range start (exclusive)
# | check:91'1 error: no match found in search range
# | check:91'2 pattern attempts to capture variables: "Mem"
# | 182: call void @llvm.lifetime.end.p0(ptr %__promise)
# | 183: %23 = call ptr @llvm.coro.free.p0(token %0, ptr %4)
# | check:91'3 ? possible intended match
# | 184: %24 = icmp ne ptr %23, null
# | 185: br i1 %24, label %coro.free17, label %after.coro.free18
# | 186:
# | 187: coro.free17: ; preds = %ehcleanup
# | 188: %25 = call i64 @llvm.coro.size.i64()
# | .
# | .
# | .
# | 326:
# | 327: ; Function Attrs: nounwind memory(none)
# | 328: declare void @llvm.coro.dead.p0(ptr) #2
# | 329:
# | 330: ; Function Attrs: mustprogress noinline optnone presplitcoroutine
# | 331: define dso_local void @_Z1gv() #0 personality ptr @__gxx_personality_v0 {
# | check:91'4 } search range end (exclusive)
# | 332: entry:
# | 333: %__promise = alloca %"struct.std::coroutine_traits<void>::promise_type", align 1
# | 334: %exn.slot = alloca ptr, align 8
# | 335: %ehselector.slot = alloca i32, align 4
# | 336: %ref.tmp = alloca %struct.suspend_always, align 1
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/245325
More information about the cfe-commits
mailing list