Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / Mips / mips-shf-gprel.s
blob51a513a77859f0332620b4a2a9d102a15eac5f6f
1 # Check that .sdata and .sbss sections have SHF_MIPS_GPREL flags
2 # and proper section types.
4 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o - \
5 # RUN: | llvm-readobj -S - | FileCheck %s
7 .sdata
8 .word 0
10 .sbss
11 .zero 4
13 # CHECK: Name: .sdata
14 # CHECK-NEXT: Type: SHT_PROGBITS
15 # CHECK-NEXT: Flags [ (0x10000003)
16 # CHECK-NEXT: SHF_ALLOC
17 # CHECK-NEXT: SHF_MIPS_GPREL
18 # CHECK-NEXT: SHF_WRITE
19 # CHECK-NEXT: ]
21 # CHECK: Name: .sbss
22 # CHECK-NEXT: Type: SHT_NOBITS
23 # CHECK-NEXT: Flags [ (0x10000003)
24 # CHECK-NEXT: SHF_ALLOC
25 # CHECK-NEXT: SHF_MIPS_GPREL
26 # CHECK-NEXT: SHF_WRITE
27 # CHECK-NEXT: ]