[cfe-commits] r166541 - in /cfe/trunk/test: CodeGen/a15.c CodeGen/builtins-nvptx.c CodeGen/mips-clobber-reg.c CodeGen/nvptx-cc.c CodeGen/parameter-passing.c CodeGenObjC/bitfield-access.m CodeGenObjC/metadata_symbols.m Coverage/targets.c

NAKAMURA Takumi geek4civic at gmail.com
Tue Oct 23 19:57:58 PDT 2012


Author: chapuni
Date: Tue Oct 23 21:57:57 2012
New Revision: 166541

URL: http://llvm.org/viewvc/llvm-project?rev=166541&view=rev
Log:
clang/test: Add appropriate requirements as REQUIRES, corresponding to r166532.

Modified:
    cfe/trunk/test/CodeGen/a15.c
    cfe/trunk/test/CodeGen/builtins-nvptx.c
    cfe/trunk/test/CodeGen/mips-clobber-reg.c
    cfe/trunk/test/CodeGen/nvptx-cc.c
    cfe/trunk/test/CodeGen/parameter-passing.c
    cfe/trunk/test/CodeGenObjC/bitfield-access.m
    cfe/trunk/test/CodeGenObjC/metadata_symbols.m
    cfe/trunk/test/Coverage/targets.c

Modified: cfe/trunk/test/CodeGen/a15.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/a15.c?rev=166541&r1=166540&r2=166541&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/a15.c (original)
+++ cfe/trunk/test/CodeGen/a15.c Tue Oct 23 21:57:57 2012
@@ -1,4 +1,5 @@
 // RUN: %clang -ccc-host-triple armv7-none-linux-gnueabi -mcpu=cortex-a15 -emit-llvm -S %s  -o /dev/null
+// REQUIRES: arm-registered-target
 
 int main() {
   return 0;

Modified: cfe/trunk/test/CodeGen/builtins-nvptx.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-nvptx.c?rev=166541&r1=166540&r2=166541&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-nvptx.c (original)
+++ cfe/trunk/test/CodeGen/builtins-nvptx.c Tue Oct 23 21:57:57 2012
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -triple nvptx-unknown-unknown -emit-llvm -o %t %s
 // RUN: %clang_cc1 -triple nvptx64-unknown-unknown -emit-llvm -o %t %s
+// REQUIRES: nvptx-registered-target,nvptx64-registered-target
 
 int read_tid() {
 

Modified: cfe/trunk/test/CodeGen/mips-clobber-reg.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mips-clobber-reg.c?rev=166541&r1=166540&r2=166541&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/mips-clobber-reg.c (original)
+++ cfe/trunk/test/CodeGen/mips-clobber-reg.c Tue Oct 23 21:57:57 2012
@@ -1,4 +1,5 @@
 // RUN: %clang -target mipsel-unknown-linux -S -o - -emit-llvm %s 
+// REQUIRES: mips-registered-target
 
 /*
     This checks that the frontend will accept both

Modified: cfe/trunk/test/CodeGen/nvptx-cc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/nvptx-cc.c?rev=166541&r1=166540&r2=166541&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/nvptx-cc.c (original)
+++ cfe/trunk/test/CodeGen/nvptx-cc.c Tue Oct 23 21:57:57 2012
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -triple nvptx-unknown-unknown -O3 -S -o %t %s -emit-llvm
 // RUN: %clang_cc1 -triple nvptx64-unknown-unknown -O3 -S -o %t %s -emit-llvm
+// REQUIRES: nvptx-registered-target,nvptx64-registered-target
 
 // Just make sure Clang uses the proper calling convention for the NVPTX back-end.
 // If something is wrong, the back-end will fail.

Modified: cfe/trunk/test/CodeGen/parameter-passing.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/parameter-passing.c?rev=166541&r1=166540&r2=166541&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/parameter-passing.c (original)
+++ cfe/trunk/test/CodeGen/parameter-passing.c Tue Oct 23 21:57:57 2012
@@ -14,6 +14,8 @@
 // RUN: %clang_cc1 %s -triple powerpc-unknown-unknown -O3 -emit-llvm -o %t
 // RUN: not grep '@g0' %t
 
+// REQUIRES: ppc32-registered-target,x86-registered-target,x86-64-registered-target
+
 typedef _Bool BoolTy;
 typedef int ScalarTy;
 typedef _Complex int ComplexTy;

Modified: cfe/trunk/test/CodeGenObjC/bitfield-access.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/bitfield-access.m?rev=166541&r1=166540&r2=166541&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/bitfield-access.m (original)
+++ cfe/trunk/test/CodeGenObjC/bitfield-access.m Tue Oct 23 21:57:57 2012
@@ -4,6 +4,8 @@
 // RUN: %clang_cc1 -triple armv6-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -target-abi apcs-gnu -emit-llvm -o %t2 %s
 // RUN: FileCheck -check-prefix=CHECK-ARM < %t2 %s
 
+// REQUIRES: arm-registered-target,x86-registered-target
+
 @interface I0 { 
 @public
     unsigned x:15;

Modified: cfe/trunk/test/CodeGenObjC/metadata_symbols.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/metadata_symbols.m?rev=166541&r1=166540&r2=166541&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/metadata_symbols.m (original)
+++ cfe/trunk/test/CodeGenObjC/metadata_symbols.m Tue Oct 23 21:57:57 2012
@@ -36,6 +36,8 @@
 // CHECK-ARMV6: define internal void @"\01-[A im0]"
 // CHECK-ARMV6: define internal void @"\01-[A(Cat) im1]"
 
+// REQUIRES: arm-registered-target,x86-64-registered-target
+
 @interface A
 @end
 

Modified: cfe/trunk/test/Coverage/targets.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/targets.c?rev=166541&r1=166540&r2=166541&view=diff
==============================================================================
--- cfe/trunk/test/Coverage/targets.c (original)
+++ cfe/trunk/test/Coverage/targets.c Tue Oct 23 21:57:57 2012
@@ -18,3 +18,4 @@
 // <rdar://problem/7181838> clang 1.0 fails to compile Python 2.6
 // RUN: %clang -target x86_64-apple-darwin9 -### -S %s -mmacosx-version-min=10.4
 
+// REQUIRES: arm-registered-target,mips-registered-target,ppc32-registered-target,ppc64-registered-target,sparc-registered-target,x86-registered-target,x86-64-registered-target





More information about the cfe-commits mailing list