[llvm] [Coroutines] Add verifier checks for llvm.coro.begin and llvm.coro.id (PR #192887)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 19 20:32:36 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 173007 tests passed
* 3214 tests skipped
* 8 tests failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.Target/LLVMIR/Import/intrinsic.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -import-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/intrinsic.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/intrinsic.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -import-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/intrinsic.ll
# .---command stderr------------
# | align argument only accepts constants
# | align argument only accepts constants
# | align argument only accepts constants
# | align argument only accepts constants
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/intrinsic.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/Import/intrinsic.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>MLIR.Target/LLVMIR/llvmir-intrinsics.mlir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
# .---command stderr------------
# | align argument only accepts constants
# | align argument only accepts constants
# | align argument only accepts constants
# | align argument only accepts constants
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
### LLVM
<details>
<summary>LLVM.Other/time-passes.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Other/time-passes.ll -disable-output -passes='default<O2>' -time-passes 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Other/time-passes.ll --check-prefix=TIME
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -disable-output '-passes=default<O2>' -time-passes
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# 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/Other/time-passes.ll --check-prefix=TIME
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Other/time-passes.ll:17:9: error: TIME: expected string not found in input
# | ; TIME: Analysis execution timing report
# | ^
# | <stdin>:1:1: note: scanning from here
# | id argument of llvm.coro.begin must refer to coro.id
# | ^
# | <stdin>:6:3: note: possible intended match here
# | Total Execution Time: 0.0002 seconds (0.0002 wall clock)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Other/time-passes.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: id argument of llvm.coro.begin must refer to coro.id
# | check:17'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: -: error: input module is broken!
# | check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: ===-------------------------------------------------------------------------===
# | check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: LLVM IR Parsing
# | check:17'0 ~~~~~~~~~~~~~~~~~
# | 5: ===-------------------------------------------------------------------------===
# | check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: Total Execution Time: 0.0002 seconds (0.0002 wall clock)
# | check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:17'1 ? possible intended match
# | 7:
# | check:17'0 ~
# | 8: ---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
# | check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 9: 0.0001 (100.0%) 0.0001 (100.0%) 0.0002 (100.0%) 0.0002 (100.0%) Parse IR
# | check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 10: 0.0001 (100.0%) 0.0001 (100.0%) 0.0002 (100.0%) 0.0002 (100.0%) Total
# | check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11:
# | check:17'0 ~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/PGOProfile/chr_coro.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/chr_coro.ll -passes='require<profile-summary>,function(chr,instcombine,simplifycfg)' -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/PGOProfile/chr_coro.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt '-passes=require<profile-summary>,function(chr,instcombine,simplifycfg)' -S
# .---command stderr------------
# | cannot run CoroSplit before CoroEarly
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: -: error: input module is broken!
# `-----------------------------
# error: command failed with exit status: 1
# 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/PGOProfile/chr_coro.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PGOProfile/chr_coro.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Transforms/SampleProfile/pseudo-probe-coro-debug-fix.ll</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/SampleProfile/pseudo-probe-coro-debug-fix.ll -passes='pseudo-probe,cgscc(coro-split),coro-cleanup,always-inline' -mtriple=x86_64 -pass-remarks=inline -S -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/SampleProfile/Output/pseudo-probe-coro-debug-fix.ll.tmp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt '-passes=pseudo-probe,cgscc(coro-split),coro-cleanup,always-inline' -mtriple=x86_64 -pass-remarks=inline -S -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/SampleProfile/Output/pseudo-probe-coro-debug-fix.ll.tmp.ll
# .---command stderr------------
# | cannot run CoroSplit before CoroEarly
# | LLVM ERROR: Broken function
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=pseudo-probe,cgscc(coro-split),coro-cleanup,always-inline -mtriple=x86_64 -pass-remarks=inline -S -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/Transforms/SampleProfile/Output/pseudo-probe-coro-debug-fix.ll.tmp.ll
# | 1. Running pass "cgscc(coro-split)" on module "<stdin>"
# | #0 0x0000000005174678 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x00000000051714d1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000051757c1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007b7a3abb9330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007b7a3ac12b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007b7a3abb927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007b7a3ab9c8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x0000000005139925 llvm::report_fatal_error(llvm::Twine const&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/ErrorHandling.cpp:137:5
# | #8 0x0000000005139766 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt+0x5139766)
# | #9 0x0000000006724678 getManager /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Analysis/CGSCCPassManager.h:389:7
# | #10 0x0000000006724678 llvm::CoroSplitPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Coroutines/CoroSplit.cpp:2218:62
# | #11 0x0000000005dafa73 llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:97:12
# | #12 0x0000000005db112e llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:284:18
# | #13 0x0000000005394a17 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8
# | #14 0x000000000663b7e2 ~SmallPtrSetImplBase /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:89:9
# | #15 0x000000000663b7e2 ~PreservedAnalyses /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Analysis.h:112:7
# | #16 0x000000000663b7e2 llvm::runPassPipeline(llvm::StringRef, llvm::Module&, llvm::TargetMachine*, llvm::TargetLibraryInfoImpl*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::StringRef, llvm::ArrayRef<llvm::PassPlugin>, llvm::ArrayRef<std::function<void (llvm::PassBuilder&)>>, llvm::opt_tool::OutputKind, llvm::opt_tool::VerifierKind, bool, bool, bool, bool, bool, bool, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/opt/NewPMDriver.cpp:574:3
# | #17 0x0000000005113558 optMain /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/opt/optdriver.cpp:0:10
# | #18 0x00007b7a3ab9e1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #19 0x00007b7a3ab9e28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #20 0x000000000510d025 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt+0x510d025)
# `-----------------------------
# error: command failed with exit status: -6
--
```
</details>
### LLVM-Unit
<details>
<summary>LLVM-Unit.Transforms/Coroutines/_/CoroTests/0/3</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests-LLVM-Unit-1213263-0-3.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=3 GTEST_SHARD_INDEX=0 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests
--
Note: This is test shard 1 of 3.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from ExtraRematTest
[ RUN ] ExtraRematTest.TestCoroRematDefault
cannot run CoroSplit before CoroEarly
LLVM ERROR: Broken function
#0 0x0000000000c12958 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
#1 0x0000000000c0fca5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x0000000000c13761 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
#3 0x000078a8ec26d330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x000078a8ec2c6b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x000078a8ec26d27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x000078a8ec2508ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x0000000000bc0005 llvm::report_fatal_error(llvm::Twine const&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/ErrorHandling.cpp:137:5
#8 0x0000000000bbfe46 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests+0xbbfe46)
#9 0x0000000000aa9638 getManager /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Analysis/CGSCCPassManager.h:389:7
#10 0x0000000000aa9638 llvm::CoroSplitPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Coroutines/CoroSplit.cpp:2218:62
#11 0x000000000068d213 llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:97:12
#12 0x000000000068e8ce llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:284:18
#13 0x0000000000a21b37 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8
#14 0x0000000000687e2e ~SmallPtrSetImplBase /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:89:9
#15 0x0000000000687e2e ~PreservedAnalyses /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Analysis.h:112:7
#16 0x0000000000687e2e (anonymous namespace)::ExtraRematTest_TestCoroRematDefault_Test::TestBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Coroutines/ExtraRematTest.cpp:145:3
#17 0x0000000000c7b020 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#18 0x0000000000c7b020 testing::Test::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#19 0x0000000000c7be00 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#20 0x0000000000c7be00 testing::TestInfo::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#21 0x0000000000c7ca13 testing::TestSuite::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#22 0x0000000000c8dc24 testing::internal::UnitTestImpl::RunAllTests() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#23 0x0000000000c8cfd9 testing::UnitTest::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#24 0x0000000000c6aafa main /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#25 0x000078a8ec2521ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#26 0x000078a8ec25228b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#27 0x0000000000687895 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests+0x687895)
--
exit: -6
--
shard JSON output does not exist: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests-LLVM-Unit-1213263-0-3.json
```
</details>
<details>
<summary>LLVM-Unit.Transforms/Coroutines/_/CoroTests/1/3</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests-LLVM-Unit-1213263-1-3.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=3 GTEST_SHARD_INDEX=1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests
--
Note: This is test shard 2 of 3.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from ExtraRematTest
[ RUN ] ExtraRematTest.TestCoroRematWithCallback
cannot run CoroSplit before CoroEarly
LLVM ERROR: Broken function
#0 0x0000000000c12958 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
#1 0x0000000000c0fca5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x0000000000c13761 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
#3 0x00007b7cdf965330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007b7cdf9beb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x00007b7cdf96527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007b7cdf9488ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x0000000000bc0005 llvm::report_fatal_error(llvm::Twine const&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/ErrorHandling.cpp:137:5
#8 0x0000000000bbfe46 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests+0xbbfe46)
#9 0x0000000000aa9638 getManager /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Analysis/CGSCCPassManager.h:389:7
#10 0x0000000000aa9638 llvm::CoroSplitPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Coroutines/CoroSplit.cpp:2218:62
#11 0x000000000068d213 llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:97:12
#12 0x000000000068e8ce llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:284:18
#13 0x0000000000a21b37 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8
#14 0x0000000000689df3 ~SmallPtrSetImplBase /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:89:9
#15 0x0000000000689df3 ~PreservedAnalyses /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Analysis.h:112:7
#16 0x0000000000689df3 (anonymous namespace)::ExtraRematTest_TestCoroRematWithCallback_Test::TestBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Coroutines/ExtraRematTest.cpp:170:3
#17 0x0000000000c7b020 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#18 0x0000000000c7b020 testing::Test::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#19 0x0000000000c7be00 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#20 0x0000000000c7be00 testing::TestInfo::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#21 0x0000000000c7ca13 testing::TestSuite::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#22 0x0000000000c8dc24 testing::internal::UnitTestImpl::RunAllTests() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#23 0x0000000000c8cfd9 testing::UnitTest::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#24 0x0000000000c6aafa main /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#25 0x00007b7cdf94a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#26 0x00007b7cdf94a28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#27 0x0000000000687895 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests+0x687895)
--
exit: -6
--
shard JSON output does not exist: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests-LLVM-Unit-1213263-1-3.json
```
</details>
<details>
<summary>LLVM-Unit.Transforms/Coroutines/_/CoroTests/2/3</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests-LLVM-Unit-1213263-2-3.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=3 GTEST_SHARD_INDEX=2 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests
--
Note: This is test shard 3 of 3.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from ExtraRematTest
[ RUN ] ExtraRematTest.TestCoroRematWithCustomABI
cannot run CoroSplit before CoroEarly
LLVM ERROR: Broken function
#0 0x0000000000c12958 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
#1 0x0000000000c0fca5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x0000000000c13761 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
#3 0x00007d6217447330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007d62174a0b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x00007d621744727e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007d621742a8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x0000000000bc0005 llvm::report_fatal_error(llvm::Twine const&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/ErrorHandling.cpp:137:5
#8 0x0000000000bbfe46 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests+0xbbfe46)
#9 0x0000000000aa9638 getManager /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Analysis/CGSCCPassManager.h:389:7
#10 0x0000000000aa9638 llvm::CoroSplitPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Coroutines/CoroSplit.cpp:2218:62
#11 0x000000000068d213 llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:97:12
#12 0x000000000068e8ce llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CGSCCPassManager.cpp:284:18
#13 0x0000000000a21b37 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8
#14 0x000000000068a82e ~SmallPtrSetImplBase /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:89:9
#15 0x000000000068a82e ~PreservedAnalyses /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Analysis.h:112:7
#16 0x000000000068a82e (anonymous namespace)::ExtraRematTest_TestCoroRematWithCustomABI_Test::TestBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Transforms/Coroutines/ExtraRematTest.cpp:256:3
#17 0x0000000000c7b020 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#18 0x0000000000c7b020 testing::Test::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#19 0x0000000000c7be00 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#20 0x0000000000c7be00 testing::TestInfo::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#21 0x0000000000c7ca13 testing::TestSuite::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#22 0x0000000000c8dc24 testing::internal::UnitTestImpl::RunAllTests() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#23 0x0000000000c8cfd9 testing::UnitTest::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#24 0x0000000000c6aafa main /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#25 0x00007d621742c1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#26 0x00007d621742c28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#27 0x0000000000687895 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests+0x687895)
--
exit: -6
--
shard JSON output does not exist: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Transforms/Coroutines/./CoroTests-LLVM-Unit-1213263-2-3.json
```
</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/192887
More information about the llvm-commits
mailing list