forked from OSchip/llvm-project
Fix tests effected by r194221
GEP expressions were folded differently from before, change the tests to reflect this. llvm-svn: 194243
This commit is contained in:
parent
9f2ed47133
commit
f0388e77f7
|
@ -40,7 +40,7 @@ void for_array() {
|
|||
// CHECK-NOT: 5begin
|
||||
// CHECK-NOT: 3end
|
||||
// CHECK: getelementptr {{.*}}, i32 0
|
||||
// CHECK: getelementptr {{.*}}, i64 1, i64 0
|
||||
// CHECK: getelementptr {{.*}}, i64 5
|
||||
// CHECK: br label %[[COND:.*]]
|
||||
|
||||
// CHECK: [[COND]]:
|
||||
|
|
|
@ -56,7 +56,7 @@ using U = T[2][3];
|
|||
U &&u = U{ {{1.0, 2}, {3.0, 4}, {5.0, 6}}, {{7.0, 8}, {9.0, 10}, {11.0, 12}} };
|
||||
|
||||
// CHECK: call {{.*}} @__cxa_atexit
|
||||
// CHECK: getelementptr inbounds ([2 x [3 x {{.*}}]]* @_ZGR1u, i64 1, i64 0, i64 0)
|
||||
// CHECK: getelementptr inbounds ({{.*}}* getelementptr inbounds ([2 x [3 x {{.*}}]]* @_ZGR1u, i32 0, i32 0, i32 0), i64 6)
|
||||
// CHECK: call void @_ZN1TD1Ev
|
||||
// CHECK: icmp eq {{.*}} @_ZGR1u
|
||||
// CHECK: br i1 {{.*}}
|
||||
|
|
Loading…
Reference in New Issue