[llvm-branch-commits] [llvm] release/22.x: [CoroSplit] Never collect allocas used by catchpad into frame (#186728) (PR #193917)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Apr 24 02:03:17 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 168062 tests passed
* 2989 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.Transforms/Coroutines/coro-alloca-10.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Coroutines/coro-alloca-10.ll -passes='coro-split,simplifycfg,early-cse' -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Coroutines/coro-alloca-10.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=coro-split,simplifycfg,early-cse -S
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Coroutines/coro-alloca-10.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Coroutines/coro-alloca-10.ll:13:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[DESTROY_ADDR:%.*]] = getelementptr inbounds i8, ptr [[HDL]], i64 8
# | ^
# | <stdin>:14:41: note: scanning from here
# | store ptr @fn.resume, ptr %hdl, align 8
# | ^
# | <stdin>:14:41: note: with "HDL" equal to "%hdl"
# | store ptr @fn.resume, ptr %hdl, align 8
# | ^
# | <stdin>:15:10: note: possible intended match here
# | %destroy.addr = getelementptr inbounds nuw %fn.Frame, ptr %hdl, i32 0, i32 1
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Coroutines/coro-alloca-10.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 9: entry:
# | 10: %exception.obj = alloca ptr, align 8
# | 11: %id = call token @llvm.coro.id(i32 16, ptr null, ptr null, ptr @fn.resumers)
# | 12: %mem = call noalias nonnull ptr @malloc(i64 24)
# | 13: %hdl = call noalias nonnull ptr @llvm.coro.begin(token %id, ptr %mem)
# | 14: store ptr @fn.resume, ptr %hdl, align 8
# | next:13'0 X error: no match found
# | next:13'1 with "HDL" equal to "%hdl"
# | 15: %destroy.addr = getelementptr inbounds nuw %fn.Frame, ptr %hdl, i32 0, i32 1
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:13'2 ? possible intended match
# | 16: store ptr @fn.destroy, ptr %destroy.addr, align 8
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: store ptr null, ptr %exception.obj, align 8
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 18: %index.addr4 = getelementptr inbounds nuw %fn.Frame, ptr %hdl, i32 0, i32 2
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 19: store i1 false, ptr %index.addr4, align 1
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 20: ret void
# | next:13'0 ~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/193917
More information about the llvm-branch-commits
mailing list