[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git] / test / CodeGen / PowerPC / ifcvt-forked-bug-2016-08-08.ll
blob474be7a2ae338fc2a5bcb5012c463a6533dd7173
1 ; ModuleID = 'bugpoint-reduced-instructions.bc'
2 ; RUN: llc -O2 -o - %s -verify-machineinstrs | FileCheck %s
3 source_filename = "bugpoint-output-9ad75f8.bc"
4 target datalayout = "e-m:e-i64:64-n32:64"
5 target triple = "powerpc64le-unknown-linux-gnu"
7 ; Function Attrs: nounwind uwtable
8 define hidden void @_ZN11__sanitizer25MaybeStartBackgroudThreadEv() local_unnamed_addr #0 {
9 entry:
10   br i1 undef, label %land.lhs.true, label %if.end
12 ; CHECK: # %land.lhs.true
13 ; Test updated due D63152 where any load/store prevents shrink-wrapping
14 ; CHECK-NEXT: bc
15 ; CHECK-NEXT: # %if.end4
16 land.lhs.true:                                    ; preds = %entry
17   br i1 undef, label %return, label %if.end4
19 if.end:                                           ; preds = %entry
20   br i1 icmp ne (i32 (i8*, i8*, i8* (i8*)*, i8*)* @_ZN11__sanitizer19real_pthread_createEPvS0_PFS0_S0_ES0_, i32 (i8*, i8*, i8* (i8*)*, i8*)* null), label %if.end4, label %return
22 if.end4:                                          ; preds = %if.end, %land.lhs.true
23   %call5 = tail call i8* @_ZN11__sanitizer21internal_start_threadEPFvPvES0_(void (i8*)* nonnull @_ZN11__sanitizer16BackgroundThreadEPv, i8* null) #7
24   unreachable
26 return:                                           ; preds = %if.end, %land.lhs.true
27   ret void
30 declare extern_weak signext i32 @_ZN11__sanitizer19real_pthread_createEPvS0_PFS0_S0_ES0_(i8*, i8*, i8* (i8*)*, i8*) #2
32 declare i8* @_ZN11__sanitizer21internal_start_threadEPFvPvES0_(void (i8*)*, i8*) local_unnamed_addr #2
34 declare hidden void @_ZN11__sanitizer16BackgroundThreadEPv(i8* nocapture readnone) #5
36 attributes #0 = { nounwind uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "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,-qpx" "unsafe-fp-math"="false" "use-soft-float"="false" }
37 attributes #7 = { nobuiltin nounwind }