[clang] [llvm] [CoroSplit] Erase trivially dead allocas after spilling (PR #189295)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 29 20:46:04 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/39487
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGenCXX/type-aware-coroutines.cpp' FAILED ********************
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/lib/clang/23/include -nostdsysteminc -triple arm64-apple-macosx /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp -std=c++23 -fcoroutines -fexceptions -emit-llvm -Wno-coro-type-aware-allocation-function -o - | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/lib/clang/23/include -nostdsysteminc -triple arm64-apple-macosx /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp -std=c++23 -fcoroutines -fexceptions -emit-llvm -Wno-coro-type-aware-allocation-function -o -
# .---command stderr------------
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp:21:11: warning: type aware allocators are a Clang extension [-Wext-cxx-type-aware-allocators]
# | 21 | void *operator new(std::type_identity<promise_type>, std::size_t sz, std::align_val_t, int);
# | | ^
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp:22:11: warning: type aware allocators are a Clang extension [-Wext-cxx-type-aware-allocators]
# | 22 | void *operator new(std::type_identity<promise_type>, std::size_t sz, std::align_val_t, float);
# | | ^
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp:23:10: warning: type aware allocators are a Clang extension [-Wext-cxx-type-aware-allocators]
# | 23 | void operator delete(std::type_identity<promise_type>, void *, std::size_t sz, std::align_val_t);
# | | ^
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp:24:32: warning: type aware allocators are a Clang extension [-Wext-cxx-type-aware-allocators]
# | 24 | template <typename T> void operator delete(std::type_identity<T>, void *, std::size_t sz, std::align_val_t) = delete;
# | | ^
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp:40:39: warning: type aware allocators are a Clang extension [-Wext-cxx-type-aware-allocators]
# | 40 | template <typename... Args> void *operator new(std::type_identity<promise_type>, std::size_t sz, std::align_val_t, Args...);
# | | ^
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp:41:10: warning: type aware allocators are a Clang extension [-Wext-cxx-type-aware-allocators]
# | 41 | void operator delete(std::type_identity<promise_type>, void *, std::size_t sz, std::align_val_t);
# | | ^
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp:103:29: warning: type aware allocators are a Clang extension [-Wext-cxx-type-aware-allocators]
# | 103 | template <typename T> void *operator new(std::type_identity<T>, std::size_t sz, std::align_val_t);
# | | ^
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp:104:47: warning: type aware allocators are a Clang extension [-Wext-cxx-type-aware-allocators]
# | 104 | template <typename T, typename... Args> void *operator new(std::type_identity<T>, std::size_t sz, std::align_val_t, Args...);
# | | ^
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp:105:28: warning: type aware allocators are a Clang extension [-Wext-cxx-type-aware-allocators]
# | 105 | template <typename T> void operator delete(std::type_identity<T>, void *, std::size_t sz, std::align_val_t);
# | | ^
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp:106:46: warning: type aware allocators are a Clang extension [-Wext-cxx-type-aware-allocators]
# | 106 | template <typename T, typename... Args> void operator delete(std::type_identity<T>, void *, std::size_t sz, std::align_val_t, Args...);
# | | ^
# | Assertion failed: (hasUseList()), function materialized_use_begin, file Value.h, line 358.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/lib/clang/23/include -nostdsysteminc -triple arm64-apple-macosx /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp -std=c++23 -fcoroutines -fexceptions -emit-llvm -Wno-coro-type-aware-allocation-function -o -
# | 1. <eof> parser at end of file
# | 2. Optimizer
# | 3. Running pass "coro-cond(coro-early,cgscc(coro-split),coro-cleanup,globaldce)" on module "/Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp"
# | 4. Running pass "cgscc(coro-split)" on module "/Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCXX/type-aware-coroutines.cpp"
# | 5. While splitting coroutine @f1
# | #0 0x00000001024b9894 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang-23+0x1017f5894)
# | #1 0x00000001024b6ee4 llvm::sys::RunSignalHandlers() (/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang-23+0x1017f2ee4)
...
```
</details>
https://github.com/llvm/llvm-project/pull/189295
More information about the cfe-commits
mailing list