diff --git a/test/CodeGen/const-arithmetic.c b/test/CodeGen/const-arithmetic.c index 92c02f0b3d..a28f73f004 100644 --- a/test/CodeGen/const-arithmetic.c +++ b/test/CodeGen/const-arithmetic.c @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s -// CHECK: @g1 = global [2 x i8*] [i8* getelementptr (i8* getelementptr inbounds ([0 x %struct.anon]* @g0, i32 0, i32 0, i32 0), i64 -2), i8* getelementptr (i8* getelementptr inbounds ([0 x %struct.anon]* @g0, i32 0, i32 0, i32 0), i64 -46)], align 16 ; <[2 x i8*]*> [#uses=0] -// CHECK: @g2 = global [2 x i8*] [i8* getelementptr (i8* getelementptr inbounds ([0 x %struct.anon]* @g0, i32 0, i32 0, i32 0), i64 -2), i8* getelementptr (i8* getelementptr inbounds ([0 x %struct.anon]* @g0, i32 0, i32 0, i32 0), i64 -46)], align 16 ; <[2 x i8*]*> [#uses=0] +// CHECK: @g1 = global [2 x i8*] [i8* getelementptr (i8* getelementptr inbounds ([0 x %struct.anon]* @g0, i32 0, i32 0, i32 0), i64 -2), i8* getelementptr (i8* getelementptr inbounds ([0 x %struct.anon]* @g0, i32 0, i32 0, i32 0), i64 -46)], align 16 +// CHECK: @g2 = global [2 x i8*] [i8* getelementptr (i8* getelementptr inbounds ([0 x %struct.anon]* @g0, i32 0, i32 0, i32 0), i64 -2), i8* getelementptr (i8* getelementptr inbounds ([0 x %struct.anon]* @g0, i32 0, i32 0, i32 0), i64 -46)], align 16 extern struct { unsigned char a, b; } g0[]; void *g1[] = {g0 + -1, g0 + -23 }; diff --git a/test/CodeGen/struct-passing.c b/test/CodeGen/struct-passing.c index ce1fee41a2..cbc14d5b78 100644 --- a/test/CodeGen/struct-passing.c +++ b/test/CodeGen/struct-passing.c @@ -1,10 +1,10 @@ // RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o %t %s -// RUN: grep 'declare i32 @f0() readnone ;' %t -// RUN: grep 'declare i32 @f1() readonly ;' %t -// RUN: grep 'declare void @f2(.* sret) ;' %t -// RUN: grep 'declare void @f3(.* sret) ;' %t -// RUN: grep 'declare void @f4(.* byval) ;' %t -// RUN: grep 'declare void @f5(.* byval) ;' %t +// RUN: grep 'declare i32 @f0() readnone' %t +// RUN: grep 'declare i32 @f1() readonly' %t +// RUN: grep 'declare void @f2(.* sret)' %t +// RUN: grep 'declare void @f3(.* sret)' %t +// RUN: grep 'declare void @f4(.* byval)' %t +// RUN: grep 'declare void @f5(.* byval)' %t // PR3835 typedef int T0; diff --git a/test/CodeGenCXX/dyncast.cpp b/test/CodeGenCXX/dyncast.cpp index 906d44b3c5..723e12b15f 100644 --- a/test/CodeGenCXX/dyncast.cpp +++ b/test/CodeGenCXX/dyncast.cpp @@ -86,15 +86,12 @@ void test1() { // CHECK-LL-NEXT: [[tmp:%.*]] = load %class.test1_A** [[bp]] // CHECK-LL-NEXT: [[v4:%.*]] = icmp ne %class.test1_A* [[tmp]], null // CHECK-LL-NEXT: br i1 [[v4]], label %[[v5:.*]], label %[[v9:.*]] -// CHECK-LL: ;