[clang] [llvm] AMDGPU: Touch up gfx1250-strict definition details (PR #218866)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 03:18:42 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 181302 tests passed
* 3741 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.Misc/target-invalid-cpu-note/amdgcn.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 5
not /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/24/include -nostdsysteminc -triple amdgcn--- -target-cpu not-a-cpu -fsyntax-only /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/amdgcn.c 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/amdgcn.c
# executed command: not /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/24/include -nostdsysteminc -triple amdgcn--- -target-cpu not-a-cpu -fsyntax-only /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/amdgcn.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/amdgcn.c
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/amdgcn.c:58:16: error: CHECK-SAME: expected string not found in input
# | // CHECK-SAME: {{^}}, gfx1251
# |                ^
# | <stdin>:2:460: note: scanning from here
# | note: valid target CPU values are: gfx600, gfx601, gfx602, gfx700, gfx701, gfx702, gfx703, gfx704, gfx705, gfx801, gfx802, gfx803, gfx805, gfx810, gfx900, gfx902, gfx904, gfx906, gfx908, gfx909, gfx90a, gfx90c, gfx942, gfx950, gfx1010, gfx1011, gfx1012, gfx1013, gfx1030, gfx1031, gfx1032, gfx1033, gfx1034, gfx1035, gfx1036, gfx1100, gfx1101, gfx1102, gfx1103, gfx1150, gfx1151, gfx1152, gfx1153, gfx1154, gfx1170, gfx1171, gfx1172, gfx1200, gfx1201, gfx1250-strict, gfx1250, gfx1251, gfx1310, gfx9-generic, gfx9-4-generic, gfx10-1-generic, gfx10-3-generic, gfx11-generic, gfx11-7-generic, gfx12-generic, gfx12-5-generic, gfx13-generic, tahiti, pitcairn, verde, hainan, oland, kaveri, hawaii, kabini, mullins, bonaire, carrizo, iceland, tonga, fiji, polaris10, polaris11, tongapro, stoney
# |                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
# | <stdin>:2:475: note: possible intended match here
# | note: valid target CPU values are: gfx600, gfx601, gfx602, gfx700, gfx701, gfx702, gfx703, gfx704, gfx705, gfx801, gfx802, gfx803, gfx805, gfx810, gfx900, gfx902, gfx904, gfx906, gfx908, gfx909, gfx90a, gfx90c, gfx942, gfx950, gfx1010, gfx1011, gfx1012, gfx1013, gfx1030, gfx1031, gfx1032, gfx1033, gfx1034, gfx1035, gfx1036, gfx1100, gfx1101, gfx1102, gfx1103, gfx1150, gfx1151, gfx1152, gfx1153, gfx1154, gfx1170, gfx1171, gfx1172, gfx1200, gfx1201, gfx1250-strict, gfx1250, gfx1251, gfx1310, gfx9-generic, gfx9-4-generic, gfx10-1-generic, gfx10-3-generic, gfx11-generic, gfx11-7-generic, gfx12-generic, gfx12-5-generic, gfx13-generic, tahiti, pitcairn, verde, hainan, oland, kaveri, hawaii, kabini, mullins, bonaire, carrizo, iceland, tonga, fiji, polaris10, polaris11, tongapro, stoney
# |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/amdgcn.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: error: unknown target CPU 'not-a-cpu' 
# |            2: note: valid target CPU values are: gfx600, gfx601, gfx602, gfx700, gfx701, gfx702, gfx703, gfx704, gfx705, gfx801, gfx802, gfx803, gfx805, gfx810, gfx900, gfx902, gfx904, gfx906, gfx908, gfx909, gfx90a, gfx90c, gfx942, gfx950, gfx1010, gfx1011, gfx1012, gfx1013, gfx1030, gfx1031, gfx1032, gfx1033, gfx1034, gfx1035, gfx1036, gfx1100, gfx1101, gfx1102, gfx1103, gfx1150, gfx1151, gfx1152, gfx1153, gfx1154, gfx1170, gfx1171, gfx1172, gfx1200, gfx1201, gfx1250-strict, gfx1250, gfx1251, gfx1310, gfx9-generic, gfx9-4-generic, gfx10-1-generic, gfx10-3-generic, gfx11-generic, gfx11-7-generic, gfx12-generic, gfx12-5-generic, gfx13-generic, tahiti, pitcairn, verde, hainan, oland, kaveri, hawaii, kabini, mullins, bonaire, carrizo, iceland, tonga, fiji, polaris10, polaris11, tongapro, stoney 
# | same:58'0                                                                                                                                                                                                                                                                                                                                                                                                                                                                               {                                                                                                                                                                                                                                                                                                                                           } search range (exclusive bounds)
# | same:58'1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             error: no match found in search range
# | same:58'2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ?                                                                                                                                                                                                                                                                                                                             possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.Misc/target-invalid-cpu-note/nvptx.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 5
not /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/24/include -nostdsysteminc -triple nvptx--- -target-cpu not-a-cpu -fsyntax-only /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/nvptx.c 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/nvptx.c --implicit-check-not={{[a-zA-Z0-9]}}
# executed command: not /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/24/include -nostdsysteminc -triple nvptx--- -target-cpu not-a-cpu -fsyntax-only /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/nvptx.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/nvptx.c '--implicit-check-not={{[a-zA-Z0-9]}}'
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/nvptx.c:101:16: error: CHECK-SAME: expected string not found in input
# | // CHECK-SAME: {{^}}, gfx1251
# |                ^
# | <stdin>:2:797: note: scanning from here
# | note: valid target CPU values are: sm_20, sm_21, sm_30, sm_32, sm_35, sm_37, sm_50, sm_52, sm_53, sm_60, sm_61, sm_62, sm_70, sm_72, sm_75, sm_80, sm_86, sm_87, sm_88, sm_89, sm_90, sm_90a, sm_100, sm_100a, sm_100f, sm_101, sm_101a, sm_101f, sm_103, sm_103a, sm_103f, sm_107, sm_107a, sm_107f, sm_110, sm_110a, sm_110f, sm_120, sm_120a, sm_120f, sm_121, sm_121a, sm_121f, gfx600, gfx601, gfx602, gfx700, gfx701, gfx702, gfx703, gfx704, gfx705, gfx801, gfx802, gfx803, gfx805, gfx810, gfx900, gfx902, gfx904, gfx906, gfx908, gfx909, gfx90a, gfx90c, gfx942, gfx950, gfx1010, gfx1011, gfx1012, gfx1013, gfx1030, gfx1031, gfx1032, gfx1033, gfx1034, gfx1035, gfx1036, gfx1100, gfx1101, gfx1102, gfx1103, gfx1150, gfx1151, gfx1152, gfx1153, gfx1154, gfx1170, gfx1171, gfx1172, gfx1200, gfx1201, gfx1250-strict, gfx1250, gfx1251, gfx1310, gfx9-generic, gfx9-4-generic, gfx10-1-generic, gfx10-3-generic, gfx11-generic, gfx11-7-generic, gfx12-generic, gfx12-5-generic, gfx13-generic, tahiti, pitcairn, verde, hainan, oland, kaveri, hawaii, kabini, mullins, bonaire, carrizo, iceland, tonga, fiji, polaris10, polaris11, tongapro, stoney
# |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
# | <stdin>:2:812: note: possible intended match here
# | note: valid target CPU values are: sm_20, sm_21, sm_30, sm_32, sm_35, sm_37, sm_50, sm_52, sm_53, sm_60, sm_61, sm_62, sm_70, sm_72, sm_75, sm_80, sm_86, sm_87, sm_88, sm_89, sm_90, sm_90a, sm_100, sm_100a, sm_100f, sm_101, sm_101a, sm_101f, sm_103, sm_103a, sm_103f, sm_107, sm_107a, sm_107f, sm_110, sm_110a, sm_110f, sm_120, sm_120a, sm_120f, sm_121, sm_121a, sm_121f, gfx600, gfx601, gfx602, gfx700, gfx701, gfx702, gfx703, gfx704, gfx705, gfx801, gfx802, gfx803, gfx805, gfx810, gfx900, gfx902, gfx904, gfx906, gfx908, gfx909, gfx90a, gfx90c, gfx942, gfx950, gfx1010, gfx1011, gfx1012, gfx1013, gfx1030, gfx1031, gfx1032, gfx1033, gfx1034, gfx1035, gfx1036, gfx1100, gfx1101, gfx1102, gfx1103, gfx1150, gfx1151, gfx1152, gfx1153, gfx1154, gfx1170, gfx1171, gfx1172, gfx1200, gfx1201, gfx1250-strict, gfx1250, gfx1251, gfx1310, gfx9-generic, gfx9-4-generic, gfx10-1-generic, gfx10-3-generic, gfx11-generic, gfx11-7-generic, gfx12-generic, gfx12-5-generic, gfx13-generic, tahiti, pitcairn, verde, hainan, oland, kaveri, hawaii, kabini, mullins, bonaire, carrizo, iceland, tonga, fiji, polaris10, polaris11, tongapro, stoney
# |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/nvptx.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: error: unknown target CPU 'not-a-cpu' 
# |             2: note: valid target CPU values are: sm_20, sm_21, sm_30, sm_32, sm_35, sm_37, sm_50, sm_52, sm_53, sm_60, sm_61, sm_62, sm_70, sm_72, sm_75, sm_80, sm_86, sm_87, sm_88, sm_89, sm_90, sm_90a, sm_100, sm_100a, sm_100f, sm_101, sm_101a, sm_101f, sm_103, sm_103a, sm_103f, sm_107, sm_107a, sm_107f, sm_110, sm_110a, sm_110f, sm_120, sm_120a, sm_120f, sm_121, sm_121a, sm_121f, gfx600, gfx601, gfx602, gfx700, gfx701, gfx702, gfx703, gfx704, gfx705, gfx801, gfx802, gfx803, gfx805, gfx810, gfx900, gfx902, gfx904, gfx906, gfx908, gfx909, gfx90a, gfx90c, gfx942, gfx950, gfx1010, gfx1011, gfx1012, gfx1013, gfx1030, gfx1031, gfx1032, gfx1033, gfx1034, gfx1035, gfx1036, gfx1100, gfx1101, gfx1102, gfx1103, gfx1150, gfx1151, gfx1152, gfx1153, gfx1154, gfx1170, gfx1171, gfx1172, gfx1200, gfx1201, gfx1250-strict, gfx1250, gfx1251, gfx1310, gfx9-generic, gfx9-4-generic, gfx10-1-generic, gfx10-3-generic, gfx11-generic, gfx11-7-generic, gfx12-generic, gfx12-5-generic, gfx13-generic, tahiti, pitcairn, verde, hainan, oland, kaveri, hawaii, kabini, mullins, bonaire, carrizo, iceland, tonga, fiji, polaris10, polaris11, tongapro, stoney 
# | same:101'0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                {                                                                                                                                                                                                                                                                                                                                           } search range (exclusive bounds)
# | same:101'1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              error: no match found in search range
# | same:101'2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ?                                                                                                                                                                                                                                                                                                                             possible intended match
# | >>>>>>
# `-----------------------------
# 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/218866


More information about the llvm-commits mailing list