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
8 lines
255 B
LLVM
8 lines
255 B
LLVM
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
; CHECK: 'vscale_range' minimum must be greater than 0
|
|
declare i8* @a(i32*) vscale_range(0, 1)
|
|
|
|
; CHECK: 'vscale_range' minimum cannot be greater than maximum
|
|
declare i8* @b(i32*) vscale_range(8, 1)
|