summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/exceptions-seh-finally.c
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-02-25 10:07:14 +0000
committerDaniel Jasper <djasper@google.com>2015-02-25 10:07:14 +0000
commitcd94c40b10573ce45604ac013241639d3d4c65b5 (patch)
tree99f46ed38533e3f2e379133298c6993b5d401e73 /clang/test/CodeGen/exceptions-seh-finally.c
parent56eadcf5ce7bb1cc5d3a4d25f40d73c882ef9087 (diff)
downloadbcm5719-llvm-cd94c40b10573ce45604ac013241639d3d4c65b5.tar.gz
bcm5719-llvm-cd94c40b10573ce45604ac013241639d3d4c65b5.zip
Revert "Produce less broken basic block sequences for __finally blocks."
The test is broken on buildbots: http://lab.llvm.org:8080/green/job/clang-stage2-configure-Rlto_check/2279/ This reverts commit adda738b6dc533c42db5f5f5b31344098a3aba7d. llvm-svn: 230472
Diffstat (limited to 'clang/test/CodeGen/exceptions-seh-finally.c')
-rw-r--r--clang/test/CodeGen/exceptions-seh-finally.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/clang/test/CodeGen/exceptions-seh-finally.c b/clang/test/CodeGen/exceptions-seh-finally.c
index ccabc408e04..4cd82d0972e 100644
--- a/clang/test/CodeGen/exceptions-seh-finally.c
+++ b/clang/test/CodeGen/exceptions-seh-finally.c
@@ -160,45 +160,3 @@ void noreturn_finally() {
// CHECK-NEXT: cleanup
// CHECK: store i8 1, i8* %
// CHECK: br label %[[finally]]
-
-int finally_with_return() {
- __try {
- return 42;
- } __finally {
- }
-}
-// CHECK-LABEL: define i32 @finally_with_return()
-// CHECK: store i8 0, i8* %
-// CHECK-NEXT: br label %[[finally:[^ ]*]]
-//
-// CHECK: [[finally]]
-// CHECK-NEXT: br label %[[finallycont:[^ ]*]]
-//
-// CHECK: [[finallycont]]
-// CHECK-NEXT: ret i32 42
-
-int nested___finally___finally() {
- __try {
- __try {
- } __finally {
- return 1;
- }
- } __finally {
- // Intentionally no return here.
- }
- return 0;
-}
-// CHECK-LABEL: define i32 @nested___finally___finally
-// CHECK: store i8 0, i8* %
-// CHECK-NEXT: br label %[[finally:[^ ]*]]
-//
-// CHECK: [[finally]]
-// CHECK-NEXT: store i32 1, i32* %cleanup.dest.slot
-// CHECK-NEXT: store i8 0, i8* %abnormal.termination.slot
-// CHECK-NEXT: br label %[[outerfinally:[^ ]*]]
-//
-// CHECK: [[outerfinally]]
-// CHECK-NEXT: br label %[[finallycont:[^ ]*]]
-//
-// CHECK: [[finallycont]]
-// CHECK-NEXT: ret i32 1
OpenPOWER on IntegriCloud