[llvm-branch-commits] [clang] [llvm] AMDGPU: Use module flags to control xnack and sramecc (PR #204595)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jun 18 07:16:00 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 136003 tests passed
* 4281 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGenCXX/dynamic-cast-address-space.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -IC:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp -triple amdgcn-amd-amdhsa -emit-llvm -fcxx-exceptions -fexceptions -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc '-IC:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp' -triple amdgcn-amd-amdhsa -emit-llvm -fcxx-exceptions -fexceptions -o -
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp:96:5: warning: expression result unused [-Wunused-value]
# | 96 | dynamic_cast<const B&>(*a);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1 warning generated.
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -IC:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp -triple spirv64-amd-amdhsa -emit-llvm -fcxx-exceptions -fexceptions -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp --check-prefix=WITH-NONZERO-DEFAULT-AS
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc '-IC:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp' -triple spirv64-amd-amdhsa -emit-llvm -fcxx-exceptions -fexceptions -o -
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp:96:5: warning: expression result unused [-Wunused-value]
# | 96 | dynamic_cast<const B&>(*a);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1 warning generated.
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp' --check-prefix=WITH-NONZERO-DEFAULT-AS
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp:110:29: error: WITH-NONZERO-DEFAULT-AS: expected string not found in input
# | // WITH-NONZERO-DEFAULT-AS: attributes #[[ATTR0]] = { mustprogress noinline optnone "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+16-bit-insts,+add-min-max-insts,+ashr-pk-insts,+atomic-buffer-global-pk-add-f16-insts,+atomic-buffer-pk-add-bf16-inst,+atomic-ds-pk-add-16-insts,+atomic-fadd-rtn-insts,+atomic-flat-pk-add-16-insts,+atomic-fmin-fmax-global-f32,+atomic-fmin-fmax-global-f64,+atomic-global-pk-add-bf16-inst,+bf16-cvt-insts,+bf16-pk-insts,+bf16-trans-insts,+bf8-cvt-scale-insts,+bitop3-insts,+ci-insts,+clusters,+cube-insts,+cvt-pknorm-vop2-insts,+dl-insts,+dot1-insts,+dot10-insts,+dot11-insts,+dot12-insts,+dot13-insts,+dot2-insts,+dot3-insts,+dot4-insts,+dot5-insts,+dot6-insts,+dot7-insts,+dot8-insts,+dot9-insts,+dpp,+f16bf16-to-fp6bf6-cvt-scale-insts,+f32-to-f16bf16-cvt-sr-insts,+flat-global-insts,+fp4-cvt-scale-insts,+fp6bf6-cvt-scale-insts,+fp8-conversion-insts,+fp8-cvt-scale-insts,+fp8-insts,+fp8e5m3-insts,+gfx10-3-insts,+gfx10-insts,+gfx11-insts,+gfx12-insts,+gfx1250-insts,+gfx1251-gemm-insts,+gfx8-insts,+gfx9-insts,+gfx90a-insts,+gfx940-insts,+gfx950-insts,+gws,+image-insts,+lerp-inst,+mai-insts,+mcast-load-insts,+mqsad-insts,+mqsad-pk-insts,+msad-insts,+permlane16-swap,+permlane32-swap,+pk-add-min-max-insts,+prng-inst,+qsad-insts,+s-memrealtime,+s-memtime-inst,+s-wakeup-barrier-inst,+sad-insts,+setprio-inc-wg-inst,+swmmac-gfx1200-insts,+swmmac-gfx1250-insts,+tanh-insts,+tensor-cvt-lut-insts,+transpose-load-f4f6-insts,+vmem-pref-insts,+vmem-to-lds-load-insts,+wavefrontsize32,+wavefrontsize64,+wmma-128b-insts,+wmma-256b-insts,+xf32-insts,+xnack-any-only" }
# | ^
# | <stdin>:58:81: note: scanning from here
# | ret ptr addrspace(4) addrspacecast (ptr addrspace(1) @fail to ptr addrspace(4))
# | ^
# | <stdin>:58:81: note: with "ATTR0" equal to "0"
# | ret ptr addrspace(4) addrspacecast (ptr addrspace(1) @fail to ptr addrspace(4))
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\dynamic-cast-address-space.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 53: %6 = call spir_func addrspace(4) ptr addrspace(4) @__cxa_begin_catch(ptr addrspace(4) %exn) #3
# | 54: call spir_func addrspace(4) void @__cxa_end_catch()
# | 55: br label %try.cont
# | 56:
# | 57: try.cont: ; preds = %catch, %dynamic_cast.end
# | 58: ret ptr addrspace(4) addrspacecast (ptr addrspace(1) @fail to ptr addrspace(4))
# | check:110'0 X error: no match found
# | check:110'1 with "ATTR0" equal to "0"
# | 59: }
# | check:110'0 ~~
# | 60:
# | check:110'0 ~
# | 61: ; Function Attrs: nounwind willreturn memory(read)
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 62: declare spir_func ptr addrspace(4) @__dynamic_cast(ptr addrspace(4), ptr addrspace(1), ptr addrspace(1), i64) addrspace(4) #1
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 63:
# | check:110'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/204595
More information about the llvm-branch-commits
mailing list