1 ; RUN: llc < %s | FileCheck %s
3 declare i32 @__gxx_personality_v0(...) addrspace(0)
4 declare void @__cxa_call_unexpected(ptr)
5 declare void @llvm.donothing() readnone
8 define void @f1() nounwind uwtable ssp personality ptr @__gxx_personality_v0 {
10 ; CHECK-NOT: donothing
11 invoke void @llvm.donothing()
12 to label %invoke.cont unwind label %lpad
18 %0 = landingpad { ptr, i32 }
19 filter [0 x ptr] zeroinitializer
20 %1 = extractvalue { ptr, i32 } %0, 0
21 tail call void @__cxa_call_unexpected(ptr %1) noreturn nounwind
26 define void @f2() nounwind {
28 ; CHECK-NOT: donothing
29 call void @llvm.donothing()