698584f89b
The default for min is changed to 1. The behaviour of -mvscale-{min,max} in Clang is also changed such that 16 is the max vscale when targeting SVE and no max is specified. Reviewed By: sdesmalen, paulwalker-arm Differential Revision: https://reviews.llvm.org/D113294
11 lines
512 B
C
11 lines
512 B
C
// -----------------------------------------------------------------------------
|
|
// Tests for the -mvscale-min flag
|
|
// -----------------------------------------------------------------------------
|
|
|
|
// Error out if value is unbounded.
|
|
// -----------------------------------------------------------------------------
|
|
// RUN: not %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve \
|
|
// RUN: -mvscale-min=0 2>&1 | FileCheck %s
|
|
|
|
// CHECK: error: minimum vscale must be an unsigned integer greater than 0
|