1 ; RUN: llc < %s -mtriple=armv7-apple-ios | FileCheck %s
2 ; This testcase makes sure we can handle invoke @llvm.donothing without
4 ; rdar://problem/13228754
8 declare i32 @__gxx_personality_sj0(...)
13 to label %invoke.cont25 unwind label %lpad2
15 invoke void @llvm.donothing()
16 to label %invoke.cont27 unwind label %lpad15
20 to label %invoke.cont75 unwind label %lpad15
26 %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)
31 %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)
36 resume { i8*, i32 } zeroinitializer
40 declare void @llvm.donothing() nounwind readnone