[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:35:05 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-darwin` running on `doug-worker-3` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/23/builds/2343
<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 :: LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt -O3 -debug-only=amdgpu-attributor -S -o - /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll 2>&1 | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll --check-prefix=PRE-LINK
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt -O3 -debug-only=amdgpu-attributor -S -o - /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll --check-prefix=PRE-LINK
[1m/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll:6:13: [0m[0;1;31merror: [0m[1mPRE-LINK: expected string not found in input
[0m; PRE-LINK: Module {{.*}} is not assumed to be a closed world.
[0;1;32m ^
[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0m/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt: warning: failed to infer data layout: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
[0;1;32m^
[0m[1m<stdin>:1:77: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt: warning: failed to infer data layout: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt: warning: failed to infer data layout: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple. [0m
[0;1;31mcheck:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
[0m[0;1;35mcheck:6'1 ? possible intended match
[0m[0;1;30m 2: [0m[1m[0;1;46m/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt: WARNING: failed to create target machine for 'amdgcn-amd-amdhsa': unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple. [0m
[0;1;31mcheck:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 3: [0m[1m[0;1;46m; ModuleID = '/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll' [0m
[0;1;31mcheck:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 4: [0m[1m[0;1;46msource_filename = "/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll" [0m
[0;1;31mcheck:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 5: [0m[1m[0;1;46mtarget triple = "amdgcn-amd-amdhsa" [0m
[0;1;31mcheck:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 6: [0m[1m[0;1;46m [0m
[0;1;31mcheck:6'0 ~
[0m[0;1;30m 7: [0m[1m[0;1;46m; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) [0m
[0;1;31mcheck:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 8: [0m[1m[0;1;46mdefine hidden noundef i32 @_Z3foov() local_unnamed_addr #0 { [0m
[0;1;31mcheck:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 9: [0m[1m[0;1;46m ret i32 1 [0m
[0;1;31mcheck:6'0 ~~~~~~~~~~~
[0m[0;1;30m 10: [0m[1m[0;1;46m} [0m
[0;1;31mcheck:6'0 ~~
[0m[0;1;30m 11: [0m[1m[0;1;46m [0m
[0;1;31mcheck:6'0 ~
[0m[0;1;30m 12: [0m[1m[0;1;46mattributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) } [0m
[0;1;31mcheck:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/105845
More information about the llvm-commits
mailing list