Author: echristo
Date: Thu Oct 15 15:04:42 2015
New Revision: 250449

URL: http://llvm.org/viewvc/llvm-project?rev=250449&view=rev
Log:
The target-feature command line option doesn't take a comma delimited
string, so split them into multiple options.

Modified:
    cfe/trunk/test/CodeGen/x86_32-xsave.c
    cfe/trunk/test/CodeGen/x86_64-xsave.c

Modified: cfe/trunk/test/CodeGen/x86_32-xsave.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/x86_32-xsave.c?rev=250449&r1=250448&r2=250449&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/x86_32-xsave.c (original)
+++ cfe/trunk/test/CodeGen/x86_32-xsave.c Thu Oct 15 15:04:42 2015
@@ -1,14 +1,14 @@
 // RUN: %clang_cc1 %s -DTEST_XSAVE -O0 -triple=i686-unknown-unknown 
-target-feature +xsave -emit-llvm -o - -Werror | FileCheck %s 
--check-prefix=XSAVE
 // RUN: %clang_cc1 %s -DTEST_XSAVE -O0 -triple=i686-unknown-unknown 
-target-feature +xsave -fno-signed-char -emit-llvm -o - -Werror | FileCheck %s 
--check-prefix=XSAVE
 
-// RUN: %clang_cc1 %s -DTEST_XSAVEOPT -O0 -triple=i686-unknown-unknown 
-target-feature +xsave,+xsaveopt -emit-llvm -o - -Werror | FileCheck %s 
--check-prefix=XSAVEOPT
-// RUN: %clang_cc1 %s -DTEST_XSAVEOPT -O0 -triple=i686-unknown-unknown 
-target-feature +xsave,+xsaveopt -fno-signed-char -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVEOPT
+// RUN: %clang_cc1 %s -DTEST_XSAVEOPT -O0 -triple=i686-unknown-unknown 
-target-feature +xsave -target-feature +xsaveopt -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVEOPT
+// RUN: %clang_cc1 %s -DTEST_XSAVEOPT -O0 -triple=i686-unknown-unknown 
-target-feature +xsave -target-feature +xsaveopt -fno-signed-char -emit-llvm -o 
- -Werror | FileCheck %s --check-prefix=XSAVEOPT
 
-// RUN: %clang_cc1 %s -DTEST_XSAVEC -O0 -triple=i686-unknown-unknown 
-target-feature +xsave,+xsavec -emit-llvm -o - -Werror | FileCheck %s 
--check-prefix=XSAVEC
-// RUN: %clang_cc1 %s -DTEST_XSAVEC -O0 -triple=i686-unknown-unknown 
-target-feature +xsave,+xsavec -fno-signed-char -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVEC
+// RUN: %clang_cc1 %s -DTEST_XSAVEC -O0 -triple=i686-unknown-unknown 
-target-feature +xsave -target-feature +xsavec -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVEC
+// RUN: %clang_cc1 %s -DTEST_XSAVEC -O0 -triple=i686-unknown-unknown 
-target-feature +xsave -target-feature +xsavec -fno-signed-char -emit-llvm -o - 
-Werror | FileCheck %s --check-prefix=XSAVEC
 
-// RUN: %clang_cc1 %s -DTEST_XSAVES -O0 -triple=i686-unknown-unknown 
-target-feature +xsave,+xsaves -emit-llvm -o - -Werror | FileCheck %s 
--check-prefix=XSAVES
-// RUN: %clang_cc1 %s -DTEST_XSAVES -O0 -triple=i686-unknown-unknown 
-target-feature +xsave,+xsaves -fno-signed-char -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVES
+// RUN: %clang_cc1 %s -DTEST_XSAVES -O0 -triple=i686-unknown-unknown 
-target-feature +xsave -target-feature +xsaves -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVES
+// RUN: %clang_cc1 %s -DTEST_XSAVES -O0 -triple=i686-unknown-unknown 
-target-feature +xsave -target-feature +xsaves -fno-signed-char -emit-llvm -o - 
-Werror | FileCheck %s --check-prefix=XSAVES
 
 void test() {
   unsigned long long tmp_ULLi;

Modified: cfe/trunk/test/CodeGen/x86_64-xsave.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/x86_64-xsave.c?rev=250449&r1=250448&r2=250449&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/x86_64-xsave.c (original)
+++ cfe/trunk/test/CodeGen/x86_64-xsave.c Thu Oct 15 15:04:42 2015
@@ -1,14 +1,14 @@
 // RUN: %clang_cc1 %s -DTEST_XSAVE -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave -emit-llvm -o - -Werror | FileCheck %s 
--check-prefix=XSAVE
 // RUN: %clang_cc1 %s -DTEST_XSAVE -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave -fno-signed-char -emit-llvm -o - -Werror | FileCheck %s 
--check-prefix=XSAVE
 
-// RUN: %clang_cc1 %s -DTEST_XSAVEOPT -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave,+xsaveopt -emit-llvm -o - -Werror | FileCheck %s 
--check-prefix=XSAVEOPT
-// RUN: %clang_cc1 %s -DTEST_XSAVEOPT -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave,+xsaveopt -fno-signed-char -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVEOPT
+// RUN: %clang_cc1 %s -DTEST_XSAVEOPT -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave -target-feature +xsaveopt -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVEOPT
+// RUN: %clang_cc1 %s -DTEST_XSAVEOPT -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave -target-feature +xsaveopt -fno-signed-char -emit-llvm -o 
- -Werror | FileCheck %s --check-prefix=XSAVEOPT
 
-// RUN: %clang_cc1 %s -DTEST_XSAVEC -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave,+xsavec -emit-llvm -o - -Werror | FileCheck %s 
--check-prefix=XSAVEC
-// RUN: %clang_cc1 %s -DTEST_XSAVEC -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave,+xsavec -fno-signed-char -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVEC
+// RUN: %clang_cc1 %s -DTEST_XSAVEC -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave -target-feature +xsavec -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVEC
+// RUN: %clang_cc1 %s -DTEST_XSAVEC -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave -target-feature +xsavec -fno-signed-char -emit-llvm -o - 
-Werror | FileCheck %s --check-prefix=XSAVEC
 
-// RUN: %clang_cc1 %s -DTEST_XSAVES -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave,+xsaves -emit-llvm -o - -Werror | FileCheck %s 
--check-prefix=XSAVES
-// RUN: %clang_cc1 %s -DTEST_XSAVES -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave,+xsaves -fno-signed-char -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVES
+// RUN: %clang_cc1 %s -DTEST_XSAVES -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave -target-feature +xsaves -emit-llvm -o - -Werror | 
FileCheck %s --check-prefix=XSAVES
+// RUN: %clang_cc1 %s -DTEST_XSAVES -O0 -triple=x86_64-unknown-unknown 
-target-feature +xsave -target-feature +xsaves -fno-signed-char -emit-llvm -o - 
-Werror | FileCheck %s --check-prefix=XSAVES
 
 void test() {
   unsigned long long tmp_ULLi;


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to