[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------------
# | [1m/Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/GlobalOpt/X86/apx.ll:14:16: [0m[0;1;31merror: [0m[1mCHECK-LABEL: expected string not found in input
[0m# | [1m[0m; CHECK-LABEL: define internal void @callee1(
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:5:44: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mdefine void @caller1() local_unnamed_addr {
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:6:5: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m call fastcc void @callee1()
# | [0;1;32m ^
[0m# | [0;1;32m[0m
# | 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:
# | <<<<<<
# | [1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '<stdin>' [0m
# | [0;1;30m 2: [0m[1m[0;1;46msource_filename = "<stdin>" [0m
# | [0;1;30m 3: [0m[1m[0;1;46mtarget triple = "x86_64" [0m
# | [0;1;30m 4: [0m[1m[0;1;46m [0m
# | [0;1;30m 5: [0m[1m[0;1;46m[0mdefine void @caller1() local_unnamed_addr {[0;1;46m [0m
# | [0;1;32mlabel:5'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mlabel:5'1 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;31mlabel:14'0 X error: no match found
[0m# | [0;1;31m[0m[0;1;30m 6: [0m[1m[0;1;46m call fastcc void @callee1() [0m
# | [0;1;31mlabel:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;35mlabel:14'1 ? possible intended match
[0m# | [0;1;35m[0m[0;1;30m 7: [0m[1m[0;1;46m ret void [0m
# | [0;1;31mlabel:14'0 ~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;30m 8: [0m[1m[0;1;46m} [0m
# | [0;1;31mlabel:14'0 ~~
[0m# | [0;1;31m[0m[0;1;30m 9: [0m[1m[0;1;46m [0m
# | [0;1;31mlabel:14'0 ~
[0m# | [0;1;31m[0m[0;1;30m 10: [0m[1m[0;1;46mdefine internal fastcc void @callee1() unnamed_addr #0 { [0m
# | [0;1;31mlabel:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/164768
More information about the llvm-commits
mailing list