Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/2010-06-25-CoalescerSubRegDefDead.ll @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 95c75e76d11b |
children | 3a76565eade5 |
comparison
equal
deleted
inserted
replaced
84:f3e34b893a5f | 95:afa8332a0e37 |
---|---|
4 %struct.type = type { %struct.subtype*, i32, i8, i32, i8, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, [256 x i32], i32, [257 x i32], [257 x i32], i32*, i16*, i8*, i32, i32, i32, i32, i32, [256 x i8], [16 x i8], [256 x i8], [4096 x i8], [16 x i32], [18002 x i8], [18002 x i8], [6 x [258 x i8]], [6 x [258 x i32]], [6 x [258 x i32]], [6 x [258 x i32]], [6 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32*, i32*, i32* } | 4 %struct.type = type { %struct.subtype*, i32, i8, i32, i8, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, [256 x i32], i32, [257 x i32], [257 x i32], i32*, i16*, i8*, i32, i32, i32, i32, i32, [256 x i8], [16 x i8], [256 x i8], [4096 x i8], [16 x i32], [18002 x i8], [18002 x i8], [6 x [258 x i8]], [6 x [258 x i32]], [6 x [258 x i32]], [6 x [258 x i32]], [6 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32*, i32*, i32* } |
5 %struct.subtype = type { i8*, i32, i32, i32, i8*, i32, i32, i32, i8*, i8* (i8*, i32, i32)*, void (i8*, i8*)*, i8* } | 5 %struct.subtype = type { i8*, i32, i32, i32, i8*, i32, i32, i32, i8*, i8* (i8*, i32, i32)*, void (i8*, i8*)*, i8* } |
6 | 6 |
7 define i32 @func(%struct.type* %s) nounwind optsize ssp { | 7 define i32 @func(%struct.type* %s) nounwind optsize ssp { |
8 entry: | 8 entry: |
9 %tmp1 = getelementptr inbounds %struct.type* %s, i32 0, i32 1 | 9 %tmp1 = getelementptr inbounds %struct.type, %struct.type* %s, i32 0, i32 1 |
10 %tmp2 = load i32* %tmp1, align 8 | 10 %tmp2 = load i32, i32* %tmp1, align 8 |
11 %tmp3 = icmp eq i32 %tmp2, 10 | 11 %tmp3 = icmp eq i32 %tmp2, 10 |
12 %tmp4 = getelementptr inbounds %struct.type* %s, i32 0, i32 40 | 12 %tmp4 = getelementptr inbounds %struct.type, %struct.type* %s, i32 0, i32 40 |
13 br i1 %tmp3, label %bb, label %entry.bb1_crit_edge | 13 br i1 %tmp3, label %bb, label %entry.bb1_crit_edge |
14 | 14 |
15 entry.bb1_crit_edge: | 15 entry.bb1_crit_edge: |
16 br label %bb1 | 16 br label %bb1 |
17 | 17 |
25 ; CHECK: leaq 64036(%rdx), %rdi | 25 ; CHECK: leaq 64036(%rdx), %rdi |
26 ; CHECK: rep;stosl | 26 ; CHECK: rep;stosl |
27 | 27 |
28 %tmp5 = bitcast i32* %tmp4 to i8* | 28 %tmp5 = bitcast i32* %tmp4 to i8* |
29 call void @llvm.memset.p0i8.i64(i8* %tmp5, i8 0, i64 84, i32 4, i1 false) | 29 call void @llvm.memset.p0i8.i64(i8* %tmp5, i8 0, i64 84, i32 4, i1 false) |
30 %tmp6 = getelementptr inbounds %struct.type* %s, i32 0, i32 62 | 30 %tmp6 = getelementptr inbounds %struct.type, %struct.type* %s, i32 0, i32 62 |
31 store i32* null, i32** %tmp6, align 8 | 31 store i32* null, i32** %tmp6, align 8 |
32 br label %bb1 | 32 br label %bb1 |
33 | 33 |
34 bb1: | 34 bb1: |
35 store i32 10, i32* %tmp1, align 8 | 35 store i32 10, i32* %tmp1, align 8 |