[llvm] [test] Fix `coro-split-dbg-labels.ll` for non-x86 (PR #147087)

Rainer Orth via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 6 07:18:11 PDT 2025


rorth wrote:

You should have selected reviewers to get attention for this PR.

No idea why the CI Checks failed: seems like an internal error unrelated to the patch to me.

However, when I tested the patch locally on both `sparcv9-sun-solaris2.11` and `amd64-pc-solaris2.11`, it `FAIL`ed in both cases:
```
/var/llvm/local-sparcv9-release-stage2-A-flang-openmp/tools/clang/stage2-bins/bin/opt < /vol/llvm/src/llvm-project/local/llvm/test/Transforms/Coroutines/coro-split-dbg-labels.ll -passes='cgscc(coro-split)' -S | /var/llvm/local-sparcv9-release-stage2-A-flang-openmp/tools/clang/stage2-bins/bin/FileCheck /vol/llvm/src/llvm-project/local/llvm/test/Transforms/Coroutines/coro-split-dbg-labels.ll # RUN: at line 4
+ /var/llvm/local-sparcv9-release-stage2-A-flang-openmp/tools/clang/stage2-bins/bin/opt '-passes=cgscc(coro-split)' -S
+ /var/llvm/local-sparcv9-release-stage2-A-flang-openmp/tools/clang/stage2-bins/bin/FileCheck /vol/llvm/src/llvm-project/local/llvm/test/Transforms/Coroutines/coro-split-dbg-labels.ll
/var/llvm/local-sparcv9-release-stage2-A-flang-openmp/tools/clang/stage2-bins/bin/opt: <stdin>:111:1: error: attribute group has no attributes
attributes #2 = {}
^
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /var/llvm/local-sparcv9-release-stage2-A-flang-openmp/tools/clang/stage2-bins/bin/FileCheck /vol/llvm/src/llvm-project/local/llvm/test/Transforms/Coroutines/coro-split-dbg-labels.ll
```
Something is still amiss here.

https://github.com/llvm/llvm-project/pull/147087


More information about the llvm-commits mailing list