Changeset View
Changeset View
Standalone View
Standalone View
clang/test/Misc/target-invalid-cpu-note.c
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | |||||
// R600: note: valid target CPU values are: r600, rv630, rv635, r630, rs780, | // R600: note: valid target CPU values are: r600, rv630, rv635, r630, rs780, | ||||
// R600-SAME: rs880, rv610, rv620, rv670, rv710, rv730, rv740, rv770, cedar, | // R600-SAME: rs880, rv610, rv620, rv670, rv710, rv730, rv740, rv770, cedar, | ||||
// R600-SAME: palm, cypress, hemlock, juniper, redwood, sumo, sumo2, barts, | // R600-SAME: palm, cypress, hemlock, juniper, redwood, sumo, sumo2, barts, | ||||
// R600-SAME: caicos, aruba, cayman, turks | // R600-SAME: caicos, aruba, cayman, turks | ||||
// RUN: not %clang_cc1 -triple amdgcn--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix AMDGCN | // RUN: not %clang_cc1 -triple amdgcn--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix AMDGCN | ||||
// AMDGCN: error: unknown target CPU 'not-a-cpu' | // AMDGCN: error: unknown target CPU 'not-a-cpu' | ||||
// AMDGCN: note: valid target CPU values are: gfx600, tahiti, gfx601, hainan, | // AMDGCN: note: valid target CPU values are: gfx600, tahiti, gfx601, pitcairn, verde, | ||||
// AMDGCN-SAME: oland, pitcairn, verde, gfx700, kaveri, gfx701, hawaii, gfx702, | // AMDGCN-SAME: gfx602, hainan, oland, gfx700, kaveri, gfx701, hawaii, gfx702, | ||||
// AMDGCN-SAME: gfx703, kabini, mullins, gfx704, bonaire, gfx801, carrizo, | // AMDGCN-SAME: gfx703, kabini, mullins, gfx704, bonaire, gfx705, gfx801, carrizo, | ||||
// AMDGCN-SAME: gfx802, iceland, tonga, gfx803, fiji, polaris10, polaris11, | // AMDGCN-SAME: gfx802, iceland, tonga, gfx803, fiji, polaris10, polaris11, | ||||
// AMDGCN-SAME: gfx810, stoney, gfx900, gfx902 | // AMDGCN-SAME: gfx805, tongapro, gfx810, stoney, gfx900, gfx902 | ||||
// RUN: not %clang_cc1 -triple wasm64--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix WEBASM | // RUN: not %clang_cc1 -triple wasm64--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix WEBASM | ||||
// WEBASM: error: unknown target CPU 'not-a-cpu' | // WEBASM: error: unknown target CPU 'not-a-cpu' | ||||
// WEBASM: note: valid target CPU values are: mvp, bleeding-edge, generic | // WEBASM: note: valid target CPU values are: mvp, bleeding-edge, generic | ||||
// RUN: not %clang_cc1 -triple systemz--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix SYSTEMZ | // RUN: not %clang_cc1 -triple systemz--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix SYSTEMZ | ||||
// SYSTEMZ: error: unknown target CPU 'not-a-cpu' | // SYSTEMZ: error: unknown target CPU 'not-a-cpu' | ||||
// SYSTEMZ: note: valid target CPU values are: arch8, z10, arch9, z196, arch10, | // SYSTEMZ: note: valid target CPU values are: arch8, z10, arch9, z196, arch10, | ||||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |