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 0, so we expect no data will put in sbss and sdata.
8 !llvm.module.flags = !{!0}
9 !0 = !{i32 1, !"SmallDataLimit", i32 0}
11 ; RV32-NOT: .section .sbss
12 ; RV32-NOT: .section .sdata
13 ; RV64-NOT: .section .sbss
14 ; RV64-NOT: .section .sdata