From b990fbcb0fd1b9402d53f4d9767e9f4dd193a812 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Mon, 30 Jun 2014 01:34:09 +0000 Subject: [PATCH] Remove some incorrect test suppressions These don't actually require any registered backend to run. This commit tests the water with a handful of fixes for what is a more widespread problem. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212008 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/altivec.c | 1 - test/CodeGen/arm-metadata.c | 1 - test/CodeGen/powerpc_types.c | 1 - test/CodeGen/ppc64-complex-parms.c | 1 - test/CodeGenCXX/aarch64-mangle-neon-vectors.cpp | 1 - test/CodeGenCXX/aarch64-neon.cpp | 2 +- test/CodeGenCXX/copy-assign-synthesis-1.cpp | 1 - test/CodeGenCXX/int64_uint64.cpp | 2 -- 8 files changed, 1 insertion(+), 9 deletions(-) diff --git a/test/CodeGen/altivec.c b/test/CodeGen/altivec.c index c25d9f4445..29823031b5 100644 --- a/test/CodeGen/altivec.c +++ b/test/CodeGen/altivec.c @@ -1,4 +1,3 @@ -// REQUIRES: powerpc-registered-target // RUN: %clang_cc1 -faltivec -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s // Check initialization diff --git a/test/CodeGen/arm-metadata.c b/test/CodeGen/arm-metadata.c index fd957a10e8..1cd9880f1b 100644 --- a/test/CodeGen/arm-metadata.c +++ b/test/CodeGen/arm-metadata.c @@ -1,4 +1,3 @@ -// REQUIRES: arm-registered-target // RUN: %clang_cc1 -triple armv7a-linux-gnueabi -emit-llvm -o - %s | FileCheck -check-prefix=DEFAULT %s // RUN: %clang_cc1 -triple armv7a-linux-gnueabi -emit-llvm -o - %s -fshort-enums | FileCheck -check-prefix=SHORT-ENUM %s // RUN: %clang_cc1 -triple armv7a-linux-gnueabi -emit-llvm -o - %s -fshort-wchar | FileCheck -check-prefix=SHORT-WCHAR %s diff --git a/test/CodeGen/powerpc_types.c b/test/CodeGen/powerpc_types.c index 8b2b156042..b7d0f5de49 100644 --- a/test/CodeGen/powerpc_types.c +++ b/test/CodeGen/powerpc_types.c @@ -1,4 +1,3 @@ -// REQUIRES: powerpc-registered-target // RUN: %clang_cc1 -triple powerpc-unknown-freebsd -emit-llvm -o - %s| FileCheck -check-prefix=SVR4-CHECK %s #include diff --git a/test/CodeGen/ppc64-complex-parms.c b/test/CodeGen/ppc64-complex-parms.c index ec56f9f093..fe3025a711 100644 --- a/test/CodeGen/ppc64-complex-parms.c +++ b/test/CodeGen/ppc64-complex-parms.c @@ -1,4 +1,3 @@ -// REQUIRES: powerpc-registered-target // RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s float crealf(_Complex float); diff --git a/test/CodeGenCXX/aarch64-mangle-neon-vectors.cpp b/test/CodeGenCXX/aarch64-mangle-neon-vectors.cpp index 1e662a02b9..3b4a309327 100644 --- a/test/CodeGenCXX/aarch64-mangle-neon-vectors.cpp +++ b/test/CodeGenCXX/aarch64-mangle-neon-vectors.cpp @@ -1,4 +1,3 @@ -// REQUIRES: aarch64-registered-target // RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon %s -emit-llvm -o - | FileCheck %s typedef unsigned char uint8_t; diff --git a/test/CodeGenCXX/aarch64-neon.cpp b/test/CodeGenCXX/aarch64-neon.cpp index 8929c17043..d6f6b0e894 100644 --- a/test/CodeGenCXX/aarch64-neon.cpp +++ b/test/CodeGenCXX/aarch64-neon.cpp @@ -2,7 +2,7 @@ // RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon \ // RUN: -ffp-contract=fast -S -O3 -o - %s | FileCheck %s -// Test whether arm_neon.h can be used in .cpp file. +// Test whether arm_neon.h works as expected in C++. #include "arm_neon.h" diff --git a/test/CodeGenCXX/copy-assign-synthesis-1.cpp b/test/CodeGenCXX/copy-assign-synthesis-1.cpp index 6e940f2d0d..3f0833b473 100644 --- a/test/CodeGenCXX/copy-assign-synthesis-1.cpp +++ b/test/CodeGenCXX/copy-assign-synthesis-1.cpp @@ -1,4 +1,3 @@ -// REQUIRES: x86-registered-target // RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o - | \ // RUN: FileCheck %s // RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -emit-llvm %s -o - | \ diff --git a/test/CodeGenCXX/int64_uint64.cpp b/test/CodeGenCXX/int64_uint64.cpp index f09a5e6f1a..aad6ea0b74 100644 --- a/test/CodeGenCXX/int64_uint64.cpp +++ b/test/CodeGenCXX/int64_uint64.cpp @@ -1,9 +1,7 @@ -// REQUIRES: arm-registered-target // RUN: %clang_cc1 -triple arm-linux-guneabi \ // RUN: -target-cpu cortex-a8 \ // RUN: -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-ARM %s -// REQUIRES: aarch64-registered-target // RUN: %clang_cc1 -triple arm64-linux-gnueabi \ // RUN: -target-feature +neon \ // RUN: -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-AARCH64 %s -- 2.40.0