summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/stack-reuse-exceptions.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2019-06-17 07:47:28 +0000
committerHans Wennborg <hans@hanshq.net>2019-06-17 07:47:28 +0000
commit12146204955d1323c8612d63949530d5028ca717 (patch)
tree20ec27759b908b62501bd01cae4f03db4f1374bb /test/CodeGenCXX/stack-reuse-exceptions.cpp
parent6449db76c1fd5201ef59bb64fccf4dab2a18bebe (diff)
downloadclang-12146204955d1323c8612d63949530d5028ca717.tar.gz
Re-commit r357452 (take 3): "SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)"
Third time's the charm. This was reverted in r363220 due to being suspected of an internal benchmark regression and a test failure, none of which turned out to be caused by this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/stack-reuse-exceptions.cpp')
-rw-r--r--test/CodeGenCXX/stack-reuse-exceptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/stack-reuse-exceptions.cpp b/test/CodeGenCXX/stack-reuse-exceptions.cpp
index de870c5305..2d968db3fd 100644
--- a/test/CodeGenCXX/stack-reuse-exceptions.cpp
+++ b/test/CodeGenCXX/stack-reuse-exceptions.cpp
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu %s -o - -emit-llvm -O1 \
-// RUN: -fexceptions -fcxx-exceptions | FileCheck %s
+// RUN: -fexceptions -fcxx-exceptions -mllvm -simplifycfg-sink-common=false | FileCheck %s
//
// We should emit lifetime.ends for these temporaries in both the 'exception'
// and 'normal' paths in functions.