[LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)
[llvm-project.git] / llvm / test / CodeGen / X86 / basic-block-sections-labels-empty-function.ll
blob42d09212e66916cfba8d4339172e3359217b21e4
1 ;; Verify that the BB address map is not emitted for empty functions.
2 ; RUN: llc < %s -mtriple=x86_64 -basic-block-sections=labels | FileCheck %s --check-prefixes=CHECK,BASIC
3 ; RUN: llc < %s -mtriple=x86_64 -basic-block-sections=labels -pgo-analysis-map=func-entry-count,bb-freq | FileCheck %s --check-prefixes=CHECK,PGO
5 define void @empty_func() {
6 entry:
7   unreachable
9 ; CHECK:                {{^ *}}.text{{$}}
10 ; CHECK:        empty_func:
11 ; CHECK:        .Lfunc_begin0:
12 ; CHECK-NOT:    .section        .llvm_bb_addr_map
14 define void @func() {
15 entry:
16   ret void
19 ; CHECK:        func:
20 ; CHECK:        .Lfunc_begin1:
21 ; CHECK:                .section        .llvm_bb_addr_map,"o",@llvm_bb_addr_map,.text{{$}}
22 ; CHECK-NEXT:           .byte 2                 # version
23 ; BASIC-NEXT:           .byte 0                 # feature
24 ; PGO-NEXT:             .byte 3                 # feature
25 ; CHECK-NEXT:           .quad   .Lfunc_begin1   # function address