[clang] [llvm] [GlobalOpt] Add TTI interface useFastCCForInternalCall for FASTCC (PR #164768)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 23 16:58:45 PST 2025


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/31506

<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 'LLVM :: Transforms/GlobalOpt/X86/apx.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt -mtriple=x86_64 -S -passes=globalopt -o - < /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/GlobalOpt/X86/apx.ll | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/GlobalOpt/X86/apx.ll
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt -mtriple=x86_64 -S -passes=globalopt -o -
# .---command stderr------------
# | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt: warning: failed to infer data layout: unable to get target for 'x86_64', see --version and --triple.
# | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt: WARNING: failed to create target machine for 'x86_64': unable to get target for 'x86_64', see --version and --triple.
# `-----------------------------
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/GlobalOpt/X86/apx.ll
# .---command stderr------------
# | /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/GlobalOpt/X86/apx.ll:14:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: define internal void @callee1(
# |                ^
# | <stdin>:5:44: note: scanning from here
# | define void @caller1() local_unnamed_addr {
# |                                            ^
# | <stdin>:6:5: note: possible intended match here
# |  call fastcc void @callee1()
# |     ^
# | 
# | Input file: <stdin>
# | Check file: /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/GlobalOpt/X86/apx.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# |             2: source_filename = "<stdin>" 
# |             3: target triple = "x86_64" 
# |             4:  
# |             5: define void @caller1() local_unnamed_addr { 
# | label:5'0      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:5'1      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:14'0                                                X error: no match found
# |             6:  call fastcc void @callee1() 
# | label:14'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:14'1         ?                         possible intended match
# |             7:  ret void 
# | label:14'0     ~~~~~~~~~~
# |             8: } 
# | label:14'0     ~~
# |             9:  
# | label:14'0     ~
# |            10: define internal fastcc void @callee1() unnamed_addr #0 { 
# | label:14'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

```

</details>

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


More information about the llvm-commits mailing list