[llvm] [FMV][GlobalOpt] Statically resolve calls to versioned functions. (PR #87939)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 02:58:55 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<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/resolve-fmv-ifunc.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt --passes=globalopt -o - -S < /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/GlobalOpt/resolve-fmv-ifunc.ll | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/GlobalOpt/resolve-fmv-ifunc.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt --passes=globalopt -o - -S
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/GlobalOpt/resolve-fmv-ifunc.ll
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt: WARNING: failed to create target machine for 'aarch64-unknown-linux-gnu': unable to get target for 'aarch64-unknown-linux-gnu', see --version and --triple.
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/GlobalOpt/resolve-fmv-ifunc.ll:46:10: error: CHECK: expected string not found in input
; CHECK: [[CALL:%.*]] = tail call i32 @test_single_bb_resolver._Msve()
         ^
<stdin>:48:52: note: scanning from here
define i32 @caller1._Msve() local_unnamed_addr #1 {
                                                   ^
<stdin>:50:2: note: possible intended match here
 %call = tail call i32 @test_single_bb_resolver()
 ^
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/GlobalOpt/resolve-fmv-ifunc.ll:56:10: error: CHECK: expected string not found in input
; CHECK: [[CALL:%.*]] = tail call i32 @test_single_bb_resolver._Msve2()
         ^
<stdin>:54:53: note: scanning from here
define i32 @caller1._Msve2() local_unnamed_addr #2 {
                                                    ^
<stdin>:56:2: note: possible intended match here
 %call = tail call i32 @test_single_bb_resolver()
 ^
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/GlobalOpt/resolve-fmv-ifunc.ll:66:10: error: CHECK: expected string not found in input
; CHECK: [[CALL:%.*]] = tail call i32 @test_single_bb_resolver.default()
         ^
<stdin>:60:54: note: scanning from here
define i32 @caller1.default() local_unnamed_addr #0 {
                                                     ^
<stdin>:62:2: note: possible intended match here
 %call = tail call i32 @test_single_bb_resolver()
 ^
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/GlobalOpt/resolve-fmv-ifunc.ll:106:10: error: CHECK: expected string not found in input
; CHECK: [[CALL:%.*]] = tail call i32 @test_multi_bb_resolver._Mmops()
         ^
<stdin>:98:58: note: scanning from here
define i32 @caller2._MmopsMsve2() local_unnamed_addr #4 {
                                                         ^
<stdin>:100:2: note: possible intended match here
 %call = tail call i32 @test_multi_bb_resolver()
 ^
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/GlobalOpt/resolve-fmv-ifunc.ll:116:10: error: CHECK: expected string not found in input
; CHECK: [[CALL:%.*]] = tail call i32 @test_multi_bb_resolver._Mmops()
         ^
<stdin>:104:53: note: scanning from here
define i32 @caller2._Mmops() local_unnamed_addr #3 {
...

```

</details>

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


More information about the llvm-commits mailing list