brintos

brintos / llvm-project-archived public Read only

0
0
Text · 537 B · f4c0f54 Raw
18 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s2; Avoid reading memory that's already freed.3 4@llvm.used = appending global [1 x ptr] [ ptr @_Z13GetSectorSizey ], section "llvm.metadata"		; <ptr> [#uses=0]5 6; CHECK: @_Z13GetSectorSizey7; CHECK: blr8 9define i32 @_Z13GetSectorSizey(i64 %Base) nounwind  {10entry:11	br i1 false, label %bb, label %UnifiedReturnBlock12bb:		; preds = %entry13	%tmp10 = and i64 0, %Base		; <i64> [#uses=0]14	ret i32 015UnifiedReturnBlock:		; preds = %entry16	ret i32 13107217}18