summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/init-invariant.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-06-16 20:24:06 +0000
committerPhilip Reames <listmail@philipreames.com>2015-06-16 20:24:06 +0000
commitc758ca3c5c51e534e702c9bb90eeeaef0cb3f729 (patch)
treef63b91381625bea38146aaf0c8a7d8fdb6f25159 /clang/test/CodeGenCXX/init-invariant.cpp
parentbb385ed454ad4354497c69f531b96daaa06c73c2 (diff)
downloadbcm5719-llvm-c758ca3c5c51e534e702c9bb90eeeaef0cb3f729.tar.gz
bcm5719-llvm-c758ca3c5c51e534e702c9bb90eeeaef0cb3f729.zip
Adjust clang side tests effected by 239795 before reapplying said change
llvm-svn: 239848
Diffstat (limited to 'clang/test/CodeGenCXX/init-invariant.cpp')
-rw-r--r--clang/test/CodeGenCXX/init-invariant.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGenCXX/init-invariant.cpp b/clang/test/CodeGenCXX/init-invariant.cpp
index 45816b28fb6..8af4ae6fde4 100644
--- a/clang/test/CodeGenCXX/init-invariant.cpp
+++ b/clang/test/CodeGenCXX/init-invariant.cpp
@@ -41,13 +41,13 @@ void e() {
static const A a = A();
}
-// CHECK: call void @_ZN1AC1Ev({{.*}}* @a)
+// CHECK: call void @_ZN1AC1Ev({{.*}}* nonnull @a)
// CHECK: call {{.*}}@llvm.invariant.start(i64 4, i8* bitcast ({{.*}} @a to i8*))
-// CHECK: call void @_ZN1BC1Ev({{.*}}* @b)
+// CHECK: call void @_ZN1BC1Ev({{.*}}* nonnull @b)
// CHECK-NOT: call {{.*}}@llvm.invariant.start(i64 4, i8* bitcast ({{.*}} @b to i8*))
-// CHECK: call void @_ZN1CC1Ev({{.*}}* @c)
+// CHECK: call void @_ZN1CC1Ev({{.*}}* nonnull @c)
// CHECK-NOT: call {{.*}}@llvm.invariant.start(i64 4, i8* bitcast ({{.*}} @c to i8*))
// CHECK: call i32 @_Z1fv(
@@ -55,6 +55,6 @@ void e() {
// CHECK: call {{.*}}@llvm.invariant.start(i64 4, i8* bitcast ({{.*}} @d to i8*))
// CHECK-LABEL: define void @_Z1ev(
-// CHECK: call void @_ZN1AC1Ev(%struct.A* @_ZZ1evE1a)
+// CHECK: call void @_ZN1AC1Ev(%struct.A* nonnull @_ZZ1evE1a)
// CHECK: call {{.*}}@llvm.invariant.start(i64 4, i8* bitcast ({{.*}} @_ZZ1evE1a to i8*))
// CHECK-NOT: llvm.invariant.end
OpenPOWER on IntegriCloud