[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 11:15:15 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `llvm` at step 4 "annotate".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
...
[646/647] Running the LLVM regression tests
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]
An error occurred retrieving the git revision: Command '['git', '-C', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm', 'rev-parse', 'HEAD']' returned non-zero exit status 129.
-- Testing: 54980 tests, 48 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50
FAIL: LLVM :: LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll (30069 of 54980)
******************** TEST 'LLVM :: LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt -O3 -debug-only=amdgpu-attributor -S -o - /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll 2>&1 | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll --check-prefix=PRE-LINK
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll --check-prefix=PRE-LINK
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt -O3 -debug-only=amdgpu-attributor -S -o - /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/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
opt: Unknown command line argument '-debug-only=amdgpu-attributor'. Try: '/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt --help'
^
<stdin>:2:20: note: possible intended match here
opt: Did you mean '--debug-pass=amdgpu-attributor'?
                   ^

Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: opt: Unknown command line argument '-debug-only=amdgpu-attributor'. Try: '/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt --help' 
check:6'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           2: opt: Did you mean '--debug-pass=amdgpu-attributor'? 
check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:6'1                        ?                                 possible intended match
>>>>>>

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
Step 8 (check-llvm) failure: check-llvm (failure)
...
[646/647] Running the LLVM regression tests
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]
An error occurred retrieving the git revision: Command '['git', '-C', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm', 'rev-parse', 'HEAD']' returned non-zero exit status 129.
-- Testing: 54980 tests, 48 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50
FAIL: LLVM :: LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll (30069 of 54980)
******************** TEST 'LLVM :: LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt -O3 -debug-only=amdgpu-attributor -S -o - /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll 2>&1 | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll --check-prefix=PRE-LINK
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll --check-prefix=PRE-LINK
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt -O3 -debug-only=amdgpu-attributor -S -o - /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/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
opt: Unknown command line argument '-debug-only=amdgpu-attributor'. Try: '/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt --help'
^
<stdin>:2:20: note: possible intended match here
opt: Did you mean '--debug-pass=amdgpu-attributor'?
                   ^

Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: opt: Unknown command line argument '-debug-only=amdgpu-attributor'. Try: '/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt --help' 
check:6'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           2: opt: Did you mean '--debug-pass=amdgpu-attributor'? 
check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:6'1                        ?                                 possible intended match
>>>>>>

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):

```
</details>

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


More information about the llvm-commits mailing list