summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/global-array-destruction.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-11-08 03:06:45 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-11-08 03:06:45 +0000
commitf0388e77f7c02e72cca221b2becfe2b9ea29a70b (patch)
tree0271f3cfc80184b5052f010b083c68f19f6838f7 /clang/test/CodeGenCXX/global-array-destruction.cpp
parent9f2ed47133fa21d251739a743562302dec2db3b0 (diff)
downloadbcm5719-llvm-f0388e77f7c02e72cca221b2becfe2b9ea29a70b.tar.gz
bcm5719-llvm-f0388e77f7c02e72cca221b2becfe2b9ea29a70b.zip
Fix tests effected by r194221
GEP expressions were folded differently from before, change the tests to reflect this. llvm-svn: 194243
Diffstat (limited to 'clang/test/CodeGenCXX/global-array-destruction.cpp')
-rw-r--r--clang/test/CodeGenCXX/global-array-destruction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/global-array-destruction.cpp b/clang/test/CodeGenCXX/global-array-destruction.cpp
index 087d655f0a2..6ebc13953f6 100644
--- a/clang/test/CodeGenCXX/global-array-destruction.cpp
+++ b/clang/test/CodeGenCXX/global-array-destruction.cpp
@@ -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 {{.*}}
OpenPOWER on IntegriCloud