forked from OSchip/llvm-project
Update a number of CodeGen tests to not create .ll files in the test
directory. - Removed .ll from the svn:ignore lists to try and prevent this. - Added svn:ignore on test/Misc/Output llvm-svn: 55104
This commit is contained in:
parent
10a230ded9
commit
19d84c3c51
clang/test/CodeGen
2007-11-29-ArraySizeFromInitializer.c2008-02-07-bitfield-bug.c2008-02-08-bitfield-bug.cOpaqueStruct.carray.cbitfield-init.cbool-bitfield.cboolassign.ccast.ccfstring.cconditional-gnu-ext.cconditional.cextern-block-var.cglobal-with-initialiser.cglobalinit.cint-to-pointer.cmandel.cmerge-attrs.cocu-vector.copaque-pointer.cpointer-arithmetic.cshared-string-literals.cstatic-forward-decl-fun.cstring-literal.cstruct-comma.cstruct-init.cstruct.ctrunc-array-initializer.ctypedef.cunion.cvector.cwhilestmt.cwritable-strings.c
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
int array[] = {1, 2, 3, 4, 5};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
// PR1990
|
||||
|
||||
struct test {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
|
||||
struct test {
|
||||
unsigned a:1;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
typedef struct a b;
|
||||
|
||||
b* x;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
int f() {
|
||||
int a[2];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
typedef struct { unsigned int i: 1; } c;
|
||||
const c d = { 1 };
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
// From GCC PR19331
|
||||
struct SysParams
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
|
||||
int testBoolAssign(void) {
|
||||
int ss;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
|
||||
extern void go(const void *p);
|
||||
float v[2] = { 0.0, 1.0 };
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
#define CFSTR __builtin___CFStringMakeConstantString
|
||||
|
||||
void f() {
|
||||
CFSTR("Hello, World!");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
// PR1824
|
||||
|
||||
int foo(int x, short y) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
float test1(int cond, float a, float b)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
|
||||
int f() {
|
||||
extern int a;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
const int globalInt = 1;
|
||||
int globalIntWithFloat = 1.5f;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
int A[10] = { 1,2,3,4,5 };
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
void *test(int i)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
/* Sparc is not C99-compliant */
|
||||
#if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
|
||||
void *malloc(int size) __attribute__ ((__nothrow__));
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
typedef __attribute__(( ext_vector_type(4) )) float float4;
|
||||
typedef __attribute__(( ext_vector_type(2) )) float float2;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
struct test;
|
||||
|
||||
typedef void (*my_func) (struct test *);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
typedef int Int;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
char *globalString = "abc";
|
||||
char *globalStringArray[5] = { "123", "abc" };
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
|
||||
static int staticfun(void);
|
||||
int (*staticuse1)(void) = staticfun;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
int main() {
|
||||
char a[10] = "abc";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
|
||||
struct S {int a, b;} x;
|
||||
void a(struct S* b) {*b = (r(), x);}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
|
||||
typedef struct _zend_ini_entry zend_ini_entry;
|
||||
struct _zend_ini_entry {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
|
||||
struct {
|
||||
int x;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
int ary[2] = { 1, 2, 3 };
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
|
||||
typedef struct { int i; } Value;
|
||||
typedef Value *PValue;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
|
||||
union u_tag {
|
||||
int a;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm %s
|
||||
// RUN: clang -emit-llvm %s -o %t
|
||||
typedef short __v4hi __attribute__ ((__vector_size__ (8)));
|
||||
|
||||
void f()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -emit-llvm
|
||||
// RUN: clang %s -emit-llvm -o %t
|
||||
|
||||
int bar();
|
||||
int foo() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -emit-llvm -fwritable-strings %s
|
||||
// RUN: clang -emit-llvm -o %t -fwritable-strings %s
|
||||
|
||||
int main() {
|
||||
char *str = "abc";
|
||||
|
|
Loading…
Reference in New Issue