1 ; RUN: llc -mtriple=riscv32 < %s | FileCheck -check-prefix=RV32 %s
2 ; RUN: llc -mtriple=riscv64 < %s | FileCheck -check-prefix=RV64 %s
4 @v = internal global i32 0, align 4
5 @r = internal global i64 7, align 8
7 ; @v and @r are local symbols.
8 ; SmallDataLimit set to 8, so we expect @v will be put in sbss
9 ; and @r will be put in sdata.
10 !llvm.module.flags = !{!0}
11 !0 = !{i32 8, !"SmallDataLimit", i32 8}
13 ; RV32: .section .sbss
14 ; RV32: .section .sdata
15 ; RV64: .section .sbss
16 ; RV64: .section .sdata