summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/invariant.group-for-vptrs.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-12-13 20:40:39 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-12-13 20:40:39 +0000
commit2849c4e841ccd421b8b0ba7486cfc66db9a47632 (patch)
tree8b9bb19cea24f90ff4cba2faa466407ab8ebf242 /clang/test/CodeGenCXX/invariant.group-for-vptrs.cpp
parent3d23d4a2343a59cfa6977d8dc12c626b7b97e20e (diff)
downloadbcm5719-llvm-2849c4e841ccd421b8b0ba7486cfc66db9a47632.tar.gz
bcm5719-llvm-2849c4e841ccd421b8b0ba7486cfc66db9a47632.zip
CodeGen: New vtable group representation: struct of vtable arrays.
In a future change, this representation will allow us to use the new inrange annotation on getelementptr to allow the optimizer to split vtable groups. Differential Revision: https://reviews.llvm.org/D22296 llvm-svn: 289584
Diffstat (limited to 'clang/test/CodeGenCXX/invariant.group-for-vptrs.cpp')
-rw-r--r--clang/test/CodeGenCXX/invariant.group-for-vptrs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/invariant.group-for-vptrs.cpp b/clang/test/CodeGenCXX/invariant.group-for-vptrs.cpp
index ca737ee23fb..ccad2d1c640 100644
--- a/clang/test/CodeGenCXX/invariant.group-for-vptrs.cpp
+++ b/clang/test/CodeGenCXX/invariant.group-for-vptrs.cpp
@@ -23,7 +23,7 @@ void testExternallyVisible() {
// CHECK: load {{.*}} !invariant.group ![[A_MD]]
a2->foo();
}
-// CHECK-LABEL: }
+// CHECK-LABEL: {{^}}}
namespace {
@@ -52,7 +52,7 @@ void testInternallyVisible(bool p) {
// Checking A::A()
// CHECK-LABEL: define linkonce_odr void @_ZN1AC2Ev(
// CHECK: store {{.*}}, !invariant.group ![[A_MD]]
-// CHECK-LABEL: }
+// CHECK-LABEL: {{^}}}
// Checking D::D()
// CHECK-LABEL: define linkonce_odr void @_ZN1DC2Ev(
OpenPOWER on IntegriCloud