Ulrich Weigand 80267f8148
Support z17 processor name and scheduler description (#135254)
The recently announced IBM z17 processor implements the architecture
already supported as "arch15" in LLVM. This patch adds support for "z17"
as an alternate architecture name for arch15.

This patch also add the scheduler description for the z17 processor,
provided by Jonas Paulsson.
2025-04-11 00:20:58 +02:00

25 lines
880 B
C

// This test uses '<prefix>-SAME: {{^}}' to start matching immediately where the
// previous check finished matching (specifically, caret is not treated as
// matching a start of line when used like this in FileCheck).
// RUN: not %clang_cc1 -triple systemz--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s
// CHECK: error: unknown target CPU 'not-a-cpu'
// CHECK-NEXT: note: valid target CPU values are:
// CHECK-SAME: {{^}} arch8
// CHECK-SAME: {{^}}, z10
// CHECK-SAME: {{^}}, arch9
// CHECK-SAME: {{^}}, z196
// CHECK-SAME: {{^}}, arch10
// CHECK-SAME: {{^}}, zEC12
// CHECK-SAME: {{^}}, arch11
// CHECK-SAME: {{^}}, z13
// CHECK-SAME: {{^}}, arch12
// CHECK-SAME: {{^}}, z14
// CHECK-SAME: {{^}}, arch13
// CHECK-SAME: {{^}}, z15
// CHECK-SAME: {{^}}, arch14
// CHECK-SAME: {{^}}, z16
// CHECK-SAME: {{^}}, arch15
// CHECK-SAME: {{^}}, z17
// CHECK-SAME: {{$}}