Skip to content

Commit 7beee56

Browse files
committed
[AMDGPU] Add missing targets to target-invalid-cpu-note.c
Differential Revision: https://reviews.llvm.org/D93018
1 parent 92ab6ed commit 7beee56

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

clang/test/Misc/target-invalid-cpu-note.c

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,21 @@
7373

7474
// RUN: not %clang_cc1 -triple r600--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix R600
7575
// R600: error: unknown target CPU 'not-a-cpu'
76-
// R600: note: valid target CPU values are: r600, rv630, rv635, r630, rs780,
77-
// R600-SAME: rs880, rv610, rv620, rv670, rv710, rv730, rv740, rv770, cedar,
78-
// R600-SAME: palm, cypress, hemlock, juniper, redwood, sumo, sumo2, barts,
76+
// R600: note: valid target CPU values are: r600, rv630, rv635, r630, rs780,
77+
// R600-SAME: rs880, rv610, rv620, rv670, rv710, rv730, rv740, rv770, cedar,
78+
// R600-SAME: palm, cypress, hemlock, juniper, redwood, sumo, sumo2, barts,
7979
// R600-SAME: caicos, aruba, cayman, turks
8080

8181

8282
// RUN: not %clang_cc1 -triple amdgcn--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix AMDGCN
8383
// AMDGCN: error: unknown target CPU 'not-a-cpu'
8484
// AMDGCN: note: valid target CPU values are: gfx600, tahiti, gfx601, pitcairn, verde,
8585
// AMDGCN-SAME: gfx602, hainan, oland, gfx700, kaveri, gfx701, hawaii, gfx702,
86-
// AMDGCN-SAME: gfx703, kabini, mullins, gfx704, bonaire, gfx705, gfx801, carrizo,
86+
// AMDGCN-SAME: gfx703, kabini, mullins, gfx704, bonaire, gfx705, gfx801, carrizo,
8787
// AMDGCN-SAME: gfx802, iceland, tonga, gfx803, fiji, polaris10, polaris11,
88-
// AMDGCN-SAME: gfx805, tongapro, gfx810, stoney, gfx900, gfx902
88+
// AMDGCN-SAME: gfx805, tongapro, gfx810, stoney, gfx900, gfx902, gfx904, gfx906,
89+
// AMDGCN-SAME: gfx908, gfx909, gfx90c, gfx1010, gfx1011, gfx1012, gfx1030, gfx1031,
90+
// AMDGCN-SAME: gfx1032, gfx1033
8991

9092
// RUN: not %clang_cc1 -triple wasm64--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix WEBASM
9193
// WEBASM: error: unknown target CPU 'not-a-cpu'

0 commit comments

Comments
 (0)