summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/nrvo.cpp
diff options
context:
space:
mode:
authorDavid L. Jones <dlj@google.com>2019-04-04 02:27:57 +0000
committerDavid L. Jones <dlj@google.com>2019-04-04 02:27:57 +0000
commit8b8a02175a46dfb27f96b7710cfe897fe28a68da (patch)
tree305d6599b393a901471f2f1f76b6219c938e904c /clang/test/CodeGenCXX/nrvo.cpp
parent3afc733e41a6fd12eaaad6626fef6a021bf70de6 (diff)
downloadbcm5719-llvm-8b8a02175a46dfb27f96b7710cfe897fe28a68da.tar.gz
bcm5719-llvm-8b8a02175a46dfb27f96b7710cfe897fe28a68da.zip
Revert r357452 - 'SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)'
This revision causes tests to fail under ASAN. Since the cause of the failures is not clear (could be ASAN, could be a Clang bug, could be a bug in this revision), the safest course of action seems to be to revert while investigating. llvm-svn: 357667
Diffstat (limited to 'clang/test/CodeGenCXX/nrvo.cpp')
-rw-r--r--clang/test/CodeGenCXX/nrvo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/nrvo.cpp b/clang/test/CodeGenCXX/nrvo.cpp
index 22185740298..0f359b9c900 100644
--- a/clang/test/CodeGenCXX/nrvo.cpp
+++ b/clang/test/CodeGenCXX/nrvo.cpp
@@ -60,6 +60,7 @@ X test2(bool B) {
// CHECK-NEXT: call void @llvm.lifetime.start
// CHECK-NEXT: call {{.*}} @_ZN1XC1Ev
// CHECK: call {{.*}} @_ZN1XC1ERKS_
+ // CHECK: call {{.*}} @_ZN1XC1ERKS_
// CHECK: call {{.*}} @_ZN1XD1Ev
// CHECK-NEXT: call void @llvm.lifetime.end
// CHECK: call {{.*}} @_ZN1XD1Ev
OpenPOWER on IntegriCloud