[llvm] [AMDGPU][LTO] Assume closed world after linking (PR #105845)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 25 12:01:18 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-cmake-x86_64-avx512-win` running on `avx512-intel64-win` while building `llvm` at step 6 "ninja check 1".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
d:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\bin\opt.exe -O3 -debug-only=amdgpu-attributor -S -o - D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\test\LTO\AMDGPU\gpu-rdc-amdgpu-attrs.ll 2>&1 | d:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\bin\filecheck.exe D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\test\LTO\AMDGPU\gpu-rdc-amdgpu-attrs.ll --check-prefix=PRE-LINK
# executed command: 'd:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\bin\opt.exe' -O3 -debug-only=amdgpu-attributor -S -o - 'D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\test\LTO\AMDGPU\gpu-rdc-amdgpu-attrs.ll'
# executed command: 'd:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\bin\filecheck.exe' 'D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\test\LTO\AMDGPU\gpu-rdc-amdgpu-attrs.ll' --check-prefix=PRE-LINK
# .---command stderr------------
# | D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\test\LTO\AMDGPU\gpu-rdc-amdgpu-attrs.ll:6:13: error: PRE-LINK: expected string not found in input
# | ; PRE-LINK: Module {{.*}} is not assumed to be a closed world.
# |             ^
# | <stdin>:1:1: note: scanning from here
# | d:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\bin\opt.exe: warning: failed to infer data layout: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
# | ^
# | <stdin>:1:91: note: possible intended match here
# | d:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\bin\opt.exe: warning: failed to infer data layout: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
# |                                                                                           ^
# | 
# | Input file: <stdin>
# | Check file: D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\test\LTO\AMDGPU\gpu-rdc-amdgpu-attrs.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: d:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\bin\opt.exe: warning: failed to infer data layout: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple. 
# | check:6'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:6'1                                                                                               ?                                                                                                possible intended match
# |            2: d:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\stage1\bin\opt.exe: WARNING: failed to create target machine for 'amdgcn-amd-amdhsa': unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple. 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3: ; ModuleID = 'D:\buildbot\llvm-worker\clang-cmake-x86_64-avx512-win\llvm\llvm\test\LTO\AMDGPU\gpu-rdc-amdgpu-attrs.ll' 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            4: source_filename = "D:\\buildbot\\llvm-worker\\clang-cmake-x86_64-avx512-win\\llvm\\llvm\\test\\LTO\\AMDGPU\\gpu-rdc-amdgpu-attrs.ll" 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            5: target triple = "amdgcn-amd-amdhsa" 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            6:  
# | check:6'0     ~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

********************


```
</details>

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


More information about the llvm-commits mailing list