[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:41:43 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 `llvm` at step 6 "test-build-unified-tree-check-all".

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

<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 :: CodeGenCoroutines/coro-elide.cpp' FAILED ********************
Exit Code: 1

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 x86_64-unknown-linux-gnu -std=c++20 -O2 -emit-llvm /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCoroutines/coro-elide.cpp -o - | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCoroutines/coro-elide.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 x86_64-unknown-linux-gnu -std=c++20 -O2 -emit-llvm /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCoroutines/coro-elide.cpp -o -
# note: command had no output on stdout or stderr
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCoroutines/coro-elide.cpp
# .---command stderr------------
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCoroutines/coro-elide.cpp:28:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: ret void
# |                ^
# | <stdin>:36:2: note: 'next' match was here
# |  ret void
# |  ^
# | <stdin>:25:7: note: previous match ended here
# | entry:
# |       ^
# | <stdin>:26:1: note: non-matching line after previous match is here
# |  %0 = alloca [32 x i8], align 8
# | ^
# | 
# | Input file: <stdin>
# | Check file: /Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCoroutines/coro-elide.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '/Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCoroutines/coro-elide.cpp' 
# |             2: source_filename = "/Users/buildbot/buildbot-root/llvm-project/clang/test/CodeGenCoroutines/coro-elide.cpp" 
# |             3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
# |             4: target triple = "x86_64-unknown-linux-gnu" 
# |             5:  
# |             6: %NoopCoro.Frame = type { ptr, ptr } 
# |             7: %struct.Task = type { %"struct.std::coroutine_handle.0" } 
# |             8: %"struct.std::coroutine_handle.0" = type { %"struct.std::coroutine_handle" } 
# |             9: %"struct.std::coroutine_handle" = type { ptr } 
# |            10:  
# |            11: $_ZNSt14suspend_always13await_suspendESt16coroutine_handleIvE = comdat any 
# |            12:  
# |            13: $_ZNSt16coroutine_handleIN4Task12promise_typeEE12from_addressEPv = comdat any 
# |            14:  
# |            15: $_ZN4Task12promise_type12FinalAwaiter13await_suspendIS0_EESt16coroutine_handleIvES3_IT_E = comdat any 
# |            16:  
# |            17: $_ZNKSt16coroutine_handleIvE7addressEv = comdat any 
# |            18:  
# |            19: $_ZN4Task7Awaiter13await_suspendESt16coroutine_handleIvE = comdat any 
...

```

</details>

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


More information about the llvm-commits mailing list