[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 17:39:26 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-win-x-aarch64` running on `as-builder-2` while building `llvm` at step 9 "test-check-llvm".

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

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

```
Step 9 (test-check-llvm) failure: Test just built components: check-llvm completed (failure)
******************** TEST 'LLVM :: Transforms/GlobalOpt/X86/apx.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe -mtriple=x86_64 -S -passes=globalopt -o - < C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\Transforms\GlobalOpt\X86\apx.ll | c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\Transforms\GlobalOpt\X86\apx.ll
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe' -mtriple=x86_64 -S -passes=globalopt -o -
# .---command stderr------------
# | c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe: warning: failed to infer data layout: unable to get target for 'x86_64', see --version and --triple.
# | c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe: WARNING: failed to create target machine for 'x86_64': unable to get target for 'x86_64', see --version and --triple.
# `-----------------------------
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe' 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\Transforms\GlobalOpt\X86\apx.ll'
# .---command stderr------------
# | C:\buildbot\as-builder-2\x-aarch64\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: C:\buildbot\as-builder-2\x-aarch64\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: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     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            11:  ret void 
# | label:14'0     ~~~~~~~~~~
...

```

</details>

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


More information about the llvm-commits mailing list