[clang] [AMD-GPU] Fix smfmac builtin target (PR #193999)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 24 09:24:01 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 87641 tests passed
* 1489 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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple amdgcn-unknown-unknown -target-cpu gfx1200 -verify -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple amdgcn-unknown-unknown -target-cpu gfx1200 -verify -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl
# .---command stderr------------
# | error: 'expected-error' diagnostics expected but not seen:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 83: '__builtin_amdgcn_smfmac_f32_16x16x32_f16' needs target feature mai-insts
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 84: '__builtin_amdgcn_smfmac_f32_32x32x16_f16' needs target feature mai-insts
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 85: '__builtin_amdgcn_smfmac_f32_16x16x32_bf16' needs target feature mai-insts
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 86: '__builtin_amdgcn_smfmac_f32_32x32x16_bf16' needs target feature mai-insts
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 87: '__builtin_amdgcn_smfmac_i32_16x16x64_i8' needs target feature mai-insts
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 88: '__builtin_amdgcn_smfmac_i32_32x32x32_i8' needs target feature mai-insts
# | error: 'expected-error' diagnostics seen but not expected:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 83: '__builtin_amdgcn_smfmac_f32_16x16x32_f16' needs target feature gfx940-insts
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 84: '__builtin_amdgcn_smfmac_f32_32x32x16_f16' needs target feature gfx940-insts
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 85: '__builtin_amdgcn_smfmac_f32_16x16x32_bf16' needs target feature gfx940-insts
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 86: '__builtin_amdgcn_smfmac_f32_32x32x16_bf16' needs target feature gfx940-insts
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 87: '__builtin_amdgcn_smfmac_i32_16x16x64_i8' needs target feature gfx940-insts
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl Line 88: '__builtin_amdgcn_smfmac_i32_32x32x32_i8' needs target feature gfx940-insts
# | 12 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/193999
More information about the cfe-commits
mailing list