Mercurial > hg > CbC > CbC_llvm
diff 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 |
line wrap: on
line diff
--- a/test/CodeGen/X86/2010-06-25-CoalescerSubRegDefDead.ll Wed Feb 18 14:56:07 2015 +0900 +++ b/test/CodeGen/X86/2010-06-25-CoalescerSubRegDefDead.ll Tue Oct 13 17:48:58 2015 +0900 @@ -6,10 +6,10 @@ define i32 @func(%struct.type* %s) nounwind optsize ssp { entry: - %tmp1 = getelementptr inbounds %struct.type* %s, i32 0, i32 1 - %tmp2 = load i32* %tmp1, align 8 + %tmp1 = getelementptr inbounds %struct.type, %struct.type* %s, i32 0, i32 1 + %tmp2 = load i32, i32* %tmp1, align 8 %tmp3 = icmp eq i32 %tmp2, 10 - %tmp4 = getelementptr inbounds %struct.type* %s, i32 0, i32 40 + %tmp4 = getelementptr inbounds %struct.type, %struct.type* %s, i32 0, i32 40 br i1 %tmp3, label %bb, label %entry.bb1_crit_edge entry.bb1_crit_edge: @@ -27,7 +27,7 @@ %tmp5 = bitcast i32* %tmp4 to i8* call void @llvm.memset.p0i8.i64(i8* %tmp5, i8 0, i64 84, i32 4, i1 false) - %tmp6 = getelementptr inbounds %struct.type* %s, i32 0, i32 62 + %tmp6 = getelementptr inbounds %struct.type, %struct.type* %s, i32 0, i32 62 store i32* null, i32** %tmp6, align 8 br label %bb1