[llvm] [InlineCost] Never inline functions with incompatible target features (PR #205113)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 00:45:32 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick` running on `linaro-clang-aarch64-quick` while building `llvm` at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/65/builds/36766

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang :: CodeGenCoroutines/coro-halo.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/23/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -std=c++20 -O2 -emit-llvm /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CodeGenCoroutines/coro-halo.cpp -o - | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CodeGenCoroutines/coro-halo.cpp
# executed command: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/23/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -std=c++20 -O2 -emit-llvm /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CodeGenCoroutines/coro-halo.cpp -o -
# executed command: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CodeGenCoroutines/coro-halo.cpp
# .---command stderr------------
# | /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CodeGenCoroutines/coro-halo.cpp:103:11: error: CHECK: expected string not found in input
# | // CHECK: ret i32 1190
# |           ^
# | <stdin>:15:36: note: scanning from here
# | define dso_local noundef i32 @main() local_unnamed_addr #0 {
# |                                    ^
# | <stdin>:64:3: note: possible intended match here
# |  store i32 110, ptr %adder.spill.addr.i, align 4
# |   ^
# | 
# | Input file: <stdin>
# | Check file: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CodeGenCoroutines/coro-halo.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |             10: $_ZNSt14suspend_always13await_suspendESt16coroutine_handleIvE = comdat any 
# |             11:  
# |             12: $_ZNSt16coroutine_handleIN9generatorIiE12promise_typeEE12from_addressEPv = comdat any 
# |             13:  
# |             14: ; Function Attrs: mustprogress norecurse nounwind 
# |             15: define dso_local noundef i32 @main() local_unnamed_addr #0 { 
# | check:103'0                                       {                            search range start (exclusive)
# | check:103'1                                                                    error: no match found in search range
# |             16: entry: 
# |             17:  %s = alloca %struct.generator, align 8 
# |             18:  %t = alloca %struct.generator, align 8 
# |             19:  %m = alloca %struct.generator, align 8 
# |             20:  %0 = alloca [48 x i8], align 8 
# |              .
# |              .
# |              .
# |             59:  store ptr @_Z3addIiE9generatorIT_ERS2_S1_.resume, ptr %0, align 8 
# |             60:  %destroy.addr.i14 = getelementptr inbounds nuw i8, ptr %0, i64 8 
# |             61:  store ptr @_Z3addIiE9generatorIT_ERS2_S1_.cleanup, ptr %destroy.addr.i14, align 8 
# |             62:  %ref.tmp.reload.addr.i15 = getelementptr inbounds nuw i8, ptr %0, i64 41 
...

```

</details>

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


More information about the llvm-commits mailing list