[InstCombine] Signed saturation patterns
[llvm-core.git] / test / CodeGen / Generic / 2007-12-31-UnusedSelector.ll
blob59a7b64e0dfa4f16e0516c1433d7486296752771
1 ; RUN: llc < %s
2 ; PR1833
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]
8 define void @_Z7ex_testv() personality i32 (...)* @__gxx_personality_v0 {
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
13 bb14:           ; preds = %lpad
14         unreachable
16 lpad:           ; preds = %entry
17         %lpad1 = landingpad { i8*, i32 }
18                   catch i8* null
19         invoke void @__cxa_end_catch( )
20                         to label %bb14 unwind label %lpad17
22 lpad17:         ; preds = %lpad
23         %lpad2 = landingpad { i8*, i32 }
24                   catch i8* null
25         unreachable
27 UnifiedUnreachableBlock:                ; preds = %entry
28         unreachable
31 declare void @__cxa_throw(i8*, i8*, void (i8*)*) noreturn 
33 declare void @__cxa_end_catch()
35 declare i32 @__gxx_personality_v0(...)