diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-09-13 02:20:00 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-09-13 02:20:00 +0000 |
commit | 49c4e58b75ecec8dce75dd13c61aaeb30e14b531 (patch) | |
tree | e3f6c7ecea4c744d4f12b1c1fabf4edcf2eace7e /clang/test/CodeGen/builtins-systemz-vector.c | |
parent | 51ead00bf81cd92a868bdd1551a06ec5efdb563b (diff) | |
download | bcm5719-llvm-49c4e58b75ecec8dce75dd13c61aaeb30e14b531.tar.gz bcm5719-llvm-49c4e58b75ecec8dce75dd13c61aaeb30e14b531.zip |
For PR17164: split -fno-lax-vector-conversion into three different
levels:
-- none: no lax vector conversions [new GCC default]
-- integer: only conversions between integer vectors [old GCC default]
-- all: all conversions between same-size vectors [Clang default]
For now, Clang still defaults to "all" mode, but per my proposal on
cfe-dev (2019-04-10) the default will be changed to "integer" as soon as
that doesn't break lots of testcases. (Eventually I'd like to change the
default to "none" to match GCC and general sanity.)
Following GCC's behavior, the driver flag -flax-vector-conversions is
translated to -flax-vector-conversions=integer.
llvm-svn: 371805
Diffstat (limited to 'clang/test/CodeGen/builtins-systemz-vector.c')
-rw-r--r-- | clang/test/CodeGen/builtins-systemz-vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/builtins-systemz-vector.c b/clang/test/CodeGen/builtins-systemz-vector.c index 6d94cfae9a7..85cdc30aa54 100644 --- a/clang/test/CodeGen/builtins-systemz-vector.c +++ b/clang/test/CodeGen/builtins-systemz-vector.c @@ -1,5 +1,5 @@ // REQUIRES: systemz-registered-target -// RUN: %clang_cc1 -target-cpu z13 -triple s390x-ibm-linux -fno-lax-vector-conversions \ +// RUN: %clang_cc1 -target-cpu z13 -triple s390x-ibm-linux -flax-vector-conversions=none \ // RUN: -Wall -Wno-unused -Werror -emit-llvm %s -o - | FileCheck %s typedef __attribute__((vector_size(16))) signed char vec_schar; |