[clang] [llvm] [NFC][AMDGPU] Fix `gfx90a`+ MFMA builtins (PR #191537)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 10 15:12:24 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 53540 tests passed
* 1087 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl</summary>
```
Exit Code: 1
Command Output (stdout):
--
# 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 -triple amdgcn-unknown-unknown -target-cpu gfx1200 -verify -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl
# 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 -triple amdgcn-unknown-unknown -target-cpu gfx1200 -verify -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl'
# .---command stderr------------
# | error: 'expected-error' diagnostics expected but not seen:
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 64: '__builtin_amdgcn_mfma_f32_32x32x4bf16_1k' needs target feature mai-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 65: '__builtin_amdgcn_mfma_f32_16x16x4bf16_1k' needs target feature mai-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 66: '__builtin_amdgcn_mfma_f32_4x4x4bf16_1k' needs target feature mai-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 67: '__builtin_amdgcn_mfma_f32_32x32x8bf16_1k' needs target feature mai-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 68: '__builtin_amdgcn_mfma_f32_16x16x16bf16_1k' needs target feature mai-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 69: '__builtin_amdgcn_mfma_f64_16x16x4f64' needs target feature mai-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 70: '__builtin_amdgcn_mfma_f64_4x4x4f64' needs target feature mai-insts
# | error: 'expected-error' diagnostics seen but not expected:
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 64: '__builtin_amdgcn_mfma_f32_32x32x4bf16_1k' needs target feature gfx90a-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 65: '__builtin_amdgcn_mfma_f32_16x16x4bf16_1k' needs target feature gfx90a-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 66: '__builtin_amdgcn_mfma_f32_4x4x4bf16_1k' needs target feature gfx90a-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 67: '__builtin_amdgcn_mfma_f32_32x32x8bf16_1k' needs target feature gfx90a-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 68: '__builtin_amdgcn_mfma_f32_16x16x16bf16_1k' needs target feature gfx90a-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 69: '__builtin_amdgcn_mfma_f64_16x16x4f64' needs target feature gfx90a-insts
# | File C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12-err.cl Line 70: '__builtin_amdgcn_mfma_f64_4x4x4f64' needs target feature gfx90a-insts
# | 14 errors generated.
# `-----------------------------
# 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/191537
More information about the cfe-commits
mailing list