[clang] clang/AMDGPU: Restore O3 checks in default-attributes.hip (PR #115238)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 7 19:16:13 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/9077
<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 'Clang :: CodeGenHIP/default-attributes.hip' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=OPTNONE /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=OPTNONE /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
RUN: at line 5: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -O3 -triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=OPT /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -O3 -triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefix=OPT /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip:63:9: [0m[0;1;31merror: [0m[1mOPT: expected string not found in input
[0m// OPT: attributes #[[ATTR0]] = { convergent mustprogress nounwind "amdgpu-waves-per-eu"="4,10" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "uniform-work-group-size"="false" }
[0;1;32m ^
[0m[1m<stdin>:24:10: [0m[0;1;30mnote: [0m[1mscanning from here
[0m ret void
[0;1;32m ^
[0m[1m<stdin>:24:10: [0m[0;1;30mnote: [0m[1mwith "ATTR0" equal to "0"
[0m ret void
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip' [0m
[0;1;30m 2: [0m[1m[0;1;46msource_filename = "/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip" [0m
[0;1;30m 3: [0m[1m[0;1;46mtarget datalayout = "e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:256:256:32-p8:128:128-p9:192:256:256:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-G1-ni:7:8:9" [0m
[0;1;30m 4: [0m[1m[0;1;46mtarget triple = "amdgcn-amd-amdhsa" [0m
[0;1;30m 5: [0m[1m[0;1;46m [0m
[0;1;30m 6: [0m[1m[0;1;46m[0m at __hip_cuid_ = addrspace(1) global i8 0[0;1;46m [0m
[0;1;32mcheck:16 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 7: [0m[1m[0;1;46m[0m at __oclc_ABI_version = weak_odr hidden local_unnamed_addr addrspace(4) constant i32 500[0;1;46m [0m
[0;1;32mcheck:17 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 8: [0m[1m[0;1;46m[0m at llvm.compiler.used = appending addrspace(1) global [1 x ptr] [ptr addrspacecast (ptr addrspace(1) @__hip_cuid_ to ptr)], section "llvm.metadata"[0;1;46m [0m
[0;1;32mcheck:18 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 9: [0m[1m[0;1;46m [0m
[0;1;30m 10: [0m[1m[0;1;46m; [0mFunction Attrs: convergent mustprogress nounwind[0;1;46m [0m
[0;1;32mcheck:29 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 11: [0m[1m[0;1;46m[0mdefine dso_local void @_Z4funcv() local_unnamed_addr #0 {[0;1;46m [0m
[0;1;32mlabel:30'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mlabel:30'1 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32msame:31'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32msame:31'1 ^ captured var "ATTR0"
[0m[0;1;30m 12: [0m[1m[0;1;46m[0mentry:[0;1;46m [0m
[0;1;32mnext:32 ^~~~~~
[0m[0;1;30m 13: [0m[1m[0;1;46m [0mtail call void @_Z11extern_funcv() #3[0;1;46m [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/115238
More information about the cfe-commits
mailing list