blob: 839098ef5c2f6ee3caa013a2187571b55e74dbb5 [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -mtriple=powerpc-apple-darwin
Evan Chengc4d00812008-04-16 20:24:25 +00002; 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
6define i32 @_Z13GetSectorSizey(i64 %Base) nounwind {
7entry:
8 br i1 false, label %bb, label %UnifiedReturnBlock
9bb: ; preds = %entry
10 %tmp10 = and i64 0, %Base ; <i64> [#uses=0]
11 ret i32 0
12UnifiedReturnBlock: ; preds = %entry
13 ret i32 131072
14}