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