summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/volatile.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-02-27 19:18:17 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-02-27 19:18:17 +0000
commit218b78319277e27d8f283c85369f968ab580015b (patch)
treefd4eb814ec9c7539f83e75e68cfa3368b062be4b /clang/test/CodeGenCXX/volatile.cpp
parentd99b8f3ba8d114ccc8e64f948a90cb867b893a39 (diff)
downloadbcm5719-llvm-218b78319277e27d8f283c85369f968ab580015b.tar.gz
bcm5719-llvm-218b78319277e27d8f283c85369f968ab580015b.zip
Update Clang tests to handle explicitly typed gep changes in LLVM.
llvm-svn: 230783
Diffstat (limited to 'clang/test/CodeGenCXX/volatile.cpp')
-rw-r--r--clang/test/CodeGenCXX/volatile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/volatile.cpp b/clang/test/CodeGenCXX/volatile.cpp
index f6ae0c525ab..ff1cb97b163 100644
--- a/clang/test/CodeGenCXX/volatile.cpp
+++ b/clang/test/CodeGenCXX/volatile.cpp
@@ -14,7 +14,7 @@ namespace test0 {
// CHECK-LABEL: define void @_ZN5test04testENS_1AE(
void test(A t) {
// CHECK: [[ARR:%.*]] = load [[A:%.*]]** @_ZN5test05arrayE, align 8
- // CHECK-NEXT: [[IDX:%.*]] = getelementptr inbounds [[A]]* [[ARR]], i64 0
+ // CHECK-NEXT: [[IDX:%.*]] = getelementptr inbounds [[A]], [[A]]* [[ARR]], i64 0
// CHECK-NEXT: [[TMP:%.*]] = call dereferenceable({{[0-9]+}}) [[A]]* @_ZNV5test01AaSERVKS0_([[A]]* [[IDX]], [[A]]* dereferenceable({{[0-9]+}}) [[T:%.*]])
// CHECK-NEXT: ret void
array[0] = t;
OpenPOWER on IntegriCloud