llvm.org GIT mirror llvm / 47927b3
New test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37048 91177308-0d34-0410-b5e6-96231b3b80d8 Evan Cheng 12 years ago
1 changed file(s) with 27 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=x86-64
1
2 %struct.XDesc = type <{ i32, %struct.OpaqueXDataStorageType** }>
3 %struct.OpaqueXDataStorageType = type opaque
4
5 declare i16 @GetParamDesc(%struct.XDesc*, i32, i32, %struct.XDesc*) sext
6
7 declare void @r_raise(i64, i8*, ...)
8
9 define i64 @app_send_event(i64 %self, i64 %event_class, i64 %event_id, i64 %params, i64 %need_retval) {
10 entry:
11 br i1 false, label %cond_true109, label %bb83.preheader
12
13 bb83.preheader: ; preds = %entry
14 ret i64 0
15
16 cond_true109: ; preds = %entry
17 br i1 false, label %cond_next164, label %cond_true239
18
19 cond_next164: ; preds = %cond_true109
20 %tmp176 = call i16 @GetParamDesc( %struct.XDesc* null, i32 1701999219, i32 1413830740, %struct.XDesc* null ) sext ; [#uses=0]
21 call void (i64, i8*, ...)* @r_raise( i64 0, i8* null )
22 unreachable
23
24 cond_true239: ; preds = %cond_true109
25 ret i64 0
26 }