[cfe-commits] r89069 - in /cfe/trunk/test: CodeGen/builtins-ffs_parity_popcount.c CodeGen/builtins-powi.c Misc/diag-checker.c
Daniel Dunbar
daniel at zuster.org
Tue Nov 17 00:57:07 PST 2009
Author: ddunbar
Date: Tue Nov 17 02:57:06 2009
New Revision: 89069
URL: http://llvm.org/viewvc/llvm-project?rev=89069&view=rev
Log:
Remove some redundant tests.
Removed:
cfe/trunk/test/CodeGen/builtins-ffs_parity_popcount.c
cfe/trunk/test/CodeGen/builtins-powi.c
cfe/trunk/test/Misc/diag-checker.c
Removed: cfe/trunk/test/CodeGen/builtins-ffs_parity_popcount.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-ffs_parity_popcount.c?rev=89068&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-ffs_parity_popcount.c (original)
+++ cfe/trunk/test/CodeGen/builtins-ffs_parity_popcount.c (removed)
@@ -1,15 +0,0 @@
-// RUN: clang-cc -emit-llvm -o - %s > %t
-// RUN: not grep "__builtin" %t
-
-#include <stdio.h>
-
-void test(int M, long long N) {
- printf("%d %lld: %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d\n",
- M, N,
- __builtin_ffs(M), __builtin_ffsl(M), __builtin_ffsll(M),
- __builtin_parity(M), __builtin_parityl(M), __builtin_parityll(M),
- __builtin_popcount(M), __builtin_popcountl(M), __builtin_popcountll(M),
- __builtin_ffs(N), __builtin_ffsl(N), __builtin_ffsll(N),
- __builtin_parity(N), __builtin_parityl(N), __builtin_parityll(N),
- __builtin_popcount(N), __builtin_popcountl(N), __builtin_popcountll(N));
-}
Removed: cfe/trunk/test/CodeGen/builtins-powi.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-powi.c?rev=89068&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-powi.c (original)
+++ cfe/trunk/test/CodeGen/builtins-powi.c (removed)
@@ -1,28 +0,0 @@
-// RUN: clang-cc -emit-llvm -o - %s > %t
-// RUN: not grep "__builtin" %t
-
-#include <stdio.h>
-#include <stdlib.h>
-
-void test(long double a, int b) {
- printf("%Lf**%d: %08x %08x %016Lx\n",
- a, b,
- __builtin_powi(a, b),
- __builtin_powif(a, b),
- __builtin_powil(a, b)
- );
-}
-
-int main() {
- int i;
-
- test(-1,-1LL);
- test(0,0);
- test(1,1);
-
- for (i=0; i<3; i++) {
- test(random(), i);
- }
-
- return 0;
-}
Removed: cfe/trunk/test/Misc/diag-checker.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/diag-checker.c?rev=89068&view=auto
==============================================================================
--- cfe/trunk/test/Misc/diag-checker.c (original)
+++ cfe/trunk/test/Misc/diag-checker.c (removed)
@@ -1,5 +0,0 @@
-// RUN: clang-cc -fsyntax-only -verify %s
-
-#include <stdio.h>
-
-void foo(FILE *FP) {}
More information about the cfe-commits
mailing list