1 ; RUN: llc < %s 2 ; PR1833 3 4 %struct.__class_type_info_pseudo = type { %struct.__type_info_pseudo } 5 %struct.__type_info_pseudo = type { i8*, i8* } 6 @_ZTI2e1 = external constant %struct.__class_type_info_pseudo ; <%struct.__class_type_info_pseudo*> [#uses=1] 7 8 define void @_Z7ex_testv() { 9 entry: 10 invoke void @__cxa_throw( i8* null, i8* bitcast (%struct.__class_type_info_pseudo* @_ZTI2e1 to i8*), void (i8*)* null ) noreturn 11 to label %UnifiedUnreachableBlock unwind label %lpad 12 13 bb14: ; preds = %lpad 14 unreachable 15 16 lpad: ; preds = %entry 17 %lpad1 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0 18 catch i8* null 19 invoke void @__cxa_end_catch( ) 20 to label %bb14 unwind label %lpad17 21 22 lpad17: ; preds = %lpad 23 %lpad2 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0 24 catch i8* null 25 unreachable 26 27 UnifiedUnreachableBlock: ; preds = %entry 28 unreachable 29 } 30 31 declare void @__cxa_throw(i8*, i8*, void (i8*)*) noreturn 32 33 declare void @__cxa_end_catch() 34 35 declare i32 @__gxx_personality_v0(...) 36