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