1
; RUN: opt < %s -simplifycfg -S | FileCheck %s
5
; This testcase checks to see if the simplifycfg pass is converting invoke
6
; instructions to call instructions if the handler just rethrows the exception.
9
; CHECK-NEXT: call void @bar()
10
; CHECK-NEXT: ret i32 0
12
to label %1 unwind label %Rethrow
15
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
17
resume { i8*, i32 } %exn
20
declare i32 @__gxx_personality_v0(...)