summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/catchret-empty-fallthrough.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/catchret-empty-fallthrough.ll')
-rw-r--r--llvm/test/CodeGen/X86/catchret-empty-fallthrough.ll9
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/catchret-empty-fallthrough.ll b/llvm/test/CodeGen/X86/catchret-empty-fallthrough.ll
index 3b3b3f5d091..585f7bc33e3 100644
--- a/llvm/test/CodeGen/X86/catchret-empty-fallthrough.ll
+++ b/llvm/test/CodeGen/X86/catchret-empty-fallthrough.ll
@@ -19,14 +19,11 @@ try: ; preds = %entry
to label %fallthrough unwind label %dispatch
dispatch: ; preds = %try
- %0 = catchpad [i8* null]
- to label %catch unwind label %catchendblock.i.i
+ %cs1 = catchswitch within none [label %catch] unwind to caller
catch: ; preds = %dispatch
- catchret %0 to label %return
-
-catchendblock.i.i: ; preds = %dispatch
- catchendpad unwind to caller
+ %0 = catchpad within %cs1 [i8* null]
+ catchret from %0 to label %return
fallthrough: ; preds = %try
unreachable
OpenPOWER on IntegriCloud