[cfe-commits] r120014 - /cfe/trunk/test/CodeGen/ms-anonymous-struct.c
John McCall
rjmccall at apple.com
Tue Nov 23 02:15:48 PST 2010
Author: rjmccall
Date: Tue Nov 23 04:15:48 2010
New Revision: 120014
URL: http://llvm.org/viewvc/llvm-project?rev=120014&view=rev
Log:
This test does not need to test the alignment of pointers. Make it pass
on 64-bit systems.
Modified:
cfe/trunk/test/CodeGen/ms-anonymous-struct.c
Modified: cfe/trunk/test/CodeGen/ms-anonymous-struct.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ms-anonymous-struct.c?rev=120014&r1=120013&r2=120014&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ms-anonymous-struct.c (original)
+++ cfe/trunk/test/CodeGen/ms-anonymous-struct.c Tue Nov 23 04:15:48 2010
@@ -59,40 +59,40 @@
void foo2(struct test* var)
{
- // CHECK: alloca %struct.test*, align 4
- // CHECK-NEXT: store %struct.test* %var, %struct.test** %{{.*}}, align 4
- // CHECK-NEXT: load %struct.test** %{{.*}}, align 4
+ // CHECK: alloca %struct.test*, align
+ // CHECK-NEXT: store %struct.test* %var, %struct.test** %{{.*}}, align
+ // CHECK-NEXT: load %struct.test** %{{.*}}, align
// CHECK-NEXT: getelementptr inbounds %struct.test* %{{.*}}, i32 0, i32 1
// CHECK-NEXT: getelementptr inbounds %struct.nested2* %{{.*}}, i32 0, i32 0
// CHECK-NEXT: load i32* %{{.*}}, align 4
var->a;
- // CHECK-NEXT: load %struct.test** %{{.*}}, align 4
+ // CHECK-NEXT: load %struct.test** %{{.*}}, align
// CHECK-NEXT: getelementptr inbounds %struct.test* %{{.*}}, i32 0, i32 1
// CHECK-NEXT: getelementptr inbounds %struct.nested2* %{{.*}}, i32 0, i32 2
// CHECK-NEXT: load i32* %{{.*}}, align 4
var->b;
- // CHECK-NEXT: load %struct.test** %{{.*}}, align 4
+ // CHECK-NEXT: load %struct.test** %{{.*}}, align
// CHECK-NEXT: getelementptr inbounds %struct.test* %{{.*}}, i32 0, i32 1
// CHECK-NEXT: getelementptr inbounds %struct.nested2* %{{.*}}, i32 0, i32 1
// CHECK-NEXT: getelementptr inbounds %struct.nested1* %{{.*}}, i32 0, i32 0
// CHECK-NEXT: load i32* %{{.*}}, align 4
var->a1;
- // CHECK-NEXT: load %struct.test** %{{.*}}, align 4
+ // CHECK-NEXT: load %struct.test** %{{.*}}, align
// CHECK-NEXT: getelementptr inbounds %struct.test* %{{.*}}, i32 0, i32 1
// CHECK-NEXT: getelementptr inbounds %struct.nested2* %{{.*}}, i32 0, i32 1
// CHECK-NEXT: getelementptr inbounds %struct.nested1* %{{.*}}, i32 0, i32 1
// CHECK-NEXT: load i32* %{{.*}}, align 4
var->b1;
- // CHECK-NEXT: load %struct.test** %{{.*}}, align 4
+ // CHECK-NEXT: load %struct.test** %{{.*}}, align
// CHECK-NEXT: getelementptr inbounds %struct.test* %{{.*}}, i32 0, i32 0
// CHECK-NEXT: load i32* %{{.*}}, align 4
var->x;
- // CHECK-NEXT: load %struct.test** %{{.*}}, align 4
+ // CHECK-NEXT: load %struct.test** %{{.*}}, align
// CHECK-NEXT: getelementptr inbounds %struct.test* %{{.*}}, i32 0, i32 2
// CHECK-NEXT: load i32* %{{.*}}, align 4
var->y;
More information about the cfe-commits
mailing list