source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 1.0 KB
Line 
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
8define void @_Z7ex_testv() personality i32 (...)* @__gxx_personality_v0 {
9entry:
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
13bb14:           ; preds = %lpad
14        unreachable
15
16lpad:           ; preds = %entry
17        %lpad1 = landingpad { i8*, i32 }
18                  catch i8* null
19        invoke void @__cxa_end_catch( )
20                        to label %bb14 unwind label %lpad17
21
22lpad17:         ; preds = %lpad
23        %lpad2 = landingpad { i8*, i32 }
24                  catch i8* null
25        unreachable
26
27UnifiedUnreachableBlock:                ; preds = %entry
28        unreachable
29}
30
31declare void @__cxa_throw(i8*, i8*, void (i8*)*) noreturn
32
33declare void @__cxa_end_catch()
34
35declare i32 @__gxx_personality_v0(...)
Note: See TracBrowser for help on using the repository browser.