summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/init-invariant.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-02-11 00:14:04 +0000
committerReid Kleckner <rnk@google.com>2016-02-11 00:14:04 +0000
commitdeed1fbe640518b592e975d7de68c5f63c52f890 (patch)
tree4b88d329c0fb42acaffc9e52b4639cd66faf714d /clang/test/CodeGenCXX/init-invariant.cpp
parent7a0c65cbcc196c98253517d738867fce78fc0216 (diff)
downloadbcm5719-llvm-deed1fbe640518b592e975d7de68c5f63c52f890.tar.gz
bcm5719-llvm-deed1fbe640518b592e975d7de68c5f63c52f890.zip
Fix two tests relying on LLVM -O1 behavior
Something changed the inference of nonnull. llvm-svn: 260472
Diffstat (limited to 'clang/test/CodeGenCXX/init-invariant.cpp')
-rw-r--r--clang/test/CodeGenCXX/init-invariant.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/init-invariant.cpp b/clang/test/CodeGenCXX/init-invariant.cpp
index 7f348257f26..71eb7dd7349 100644
--- a/clang/test/CodeGenCXX/init-invariant.cpp
+++ b/clang/test/CodeGenCXX/init-invariant.cpp
@@ -56,5 +56,5 @@ void e() {
// CHECK-LABEL: define void @_Z1ev(
// CHECK: call void @_ZN1AC1Ev(%struct.A* nonnull @_ZZ1evE1a)
-// CHECK: call {{.*}}@llvm.invariant.start(i64 4, i8* nonnull bitcast ({{.*}} @_ZZ1evE1a to i8*))
+// CHECK: call {{.*}}@llvm.invariant.start(i64 4, i8* {{.*}}bitcast ({{.*}} @_ZZ1evE1a to i8*))
// CHECK-NOT: llvm.invariant.end
OpenPOWER on IntegriCloud