mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-02 00:42:52 +01:00
44a0a0c8ee
llvm-svn: 49810
15 lines
497 B
LLVM
15 lines
497 B
LLVM
; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin
|
|
; Avoid reading memory that's already freed.
|
|
|
|
@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32 (i64)* @_Z13GetSectorSizey to i8*) ], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0]
|
|
|
|
define i32 @_Z13GetSectorSizey(i64 %Base) nounwind {
|
|
entry:
|
|
br i1 false, label %bb, label %UnifiedReturnBlock
|
|
bb: ; preds = %entry
|
|
%tmp10 = and i64 0, %Base ; <i64> [#uses=0]
|
|
ret i32 0
|
|
UnifiedReturnBlock: ; preds = %entry
|
|
ret i32 131072
|
|
}
|