brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · bf5b004 Raw
39 lines · plain
1; RUN: llc < %s -mtriple=x86_64-pc-linux -function-sections -basic-block-sections=all -unique-basic-block-section-names | FileCheck %s -check-prefix=LINUX-SECTIONS2; RUN: llc < %s -mtriple=i386-unknown-linux-gnu  -function-sections -basic-block-sections=all -unique-basic-block-section-names | FileCheck %s -check-prefix=LINUX-SECTIONS3 4define void @_Z3bazb(i1 zeroext) {5  %2 = alloca i8, align 16  %3 = zext i1 %0 to i87  store i8 %3, ptr %2, align 18  %4 = load i8, ptr %2, align 19  %5 = trunc i8 %4 to i110  br i1 %5, label %6, label %911 126:                                                ; preds = %113  %7 = call i32 @_Z3barv()14  %8 = trunc i32 %7 to i115  br i1 %8, label %11, label %916 179:                                                ; preds = %118  %10 = call i32 @_Z3foov()19  br label %1120 2111:                                               ; preds = %9, %622  ret void23}24 25declare i32 @_Z3barv() #126 27declare i32 @_Z3foov() #128 29 30; LINUX-SECTIONS: .section        .text._Z3bazb,"ax",@progbits31; LINUX-SECTIONS: _Z3bazb:32; LINUX-SECTIONS: jmp _Z3bazb.__part.133; LINUX-SECTIONS: .section        .text._Z3bazb._Z3bazb.__part.1,"ax",@progbits34; LINUX-SECTIONS: _Z3bazb.__part.1:35; LINUX-SECTIONS: jmp _Z3bazb.__part.236; LINUX-SECTIONS: .section        .text._Z3bazb._Z3bazb.__part.2,"ax",@progbits37; LINUX-SECTIONS: _Z3bazb.__part.2:38; LINUX-SECTIONS: jmp _Z3bazb.__part.339