Mercurial > hg > CbC > CbC_llvm
annotate test/CodeGen/PowerPC/2008-04-16-CoalescerBug.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 1172e4bd9c6f |
rev | line source |
---|---|
0 | 1 ; RUN: llc < %s -mtriple=powerpc-apple-darwin |
2 ; Avoid reading memory that's already freed. | |
3 | |
4 @llvm.used = appending global [1 x i8*] [ i8* bitcast (i32 (i64)* @_Z13GetSectorSizey to i8*) ], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0] | |
5 | |
6 define i32 @_Z13GetSectorSizey(i64 %Base) nounwind { | |
7 entry: | |
8 br i1 false, label %bb, label %UnifiedReturnBlock | |
9 bb: ; preds = %entry | |
10 %tmp10 = and i64 0, %Base ; <i64> [#uses=0] | |
11 ret i32 0 | |
12 UnifiedReturnBlock: ; preds = %entry | |
13 ret i32 131072 | |
14 } |