brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.9 KiB · b00840a Raw
39 lines · plain
1; ModuleID = 'bugpoint-reduced-instructions.bc'2; RUN: llc -O2 -o - %s -verify-machineinstrs | FileCheck %s3source_filename = "bugpoint-output-9ad75f8.bc"4target datalayout = "e-m:e-i64:64-n32:64"5target triple = "powerpc64le-unknown-linux-gnu"6 7; Function Attrs: nounwind uwtable8define hidden void @_ZN11__sanitizer25MaybeStartBackgroudThreadEv() local_unnamed_addr #0 {9entry:10  br i1 undef, label %land.lhs.true, label %if.end11 12; CHECK: # %land.lhs.true13; Test updated due D63152 where any load/store prevents shrink-wrapping14; CHECK-NEXT: bc15; CHECK-NEXT: # %if.end416land.lhs.true:                                    ; preds = %entry17  br i1 undef, label %return, label %if.end418 19if.end:                                           ; preds = %entry20  %cmp = icmp ne ptr @_ZN11__sanitizer19real_pthread_createEPvS0_PFS0_S0_ES0_, null21  br i1 %cmp, label %if.end4, label %return22 23if.end4:                                          ; preds = %if.end, %land.lhs.true24  %call5 = tail call ptr @_ZN11__sanitizer21internal_start_threadEPFvPvES0_(ptr nonnull @_ZN11__sanitizer16BackgroundThreadEPv, ptr null) #725  unreachable26 27return:                                           ; preds = %if.end, %land.lhs.true28  ret void29}30 31declare extern_weak signext i32 @_ZN11__sanitizer19real_pthread_createEPvS0_PFS0_S0_ES0_(ptr, ptr, ptr, ptr) #232 33declare ptr @_ZN11__sanitizer21internal_start_threadEPFvPvES0_(ptr, ptr) local_unnamed_addr #234 35declare hidden void @_ZN11__sanitizer16BackgroundThreadEPv(ptr nocapture readnone) #536 37attributes #0 = { nounwind uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="ppc64le" "target-features"="+altivec,+bpermd,+crypto,+direct-move,+extdiv,+power8-vector,+vsx" "use-soft-float"="false" }38attributes #7 = { nobuiltin nounwind }39