brintos

brintos / llvm-project-archived public Read only

0
0
Text · 535 B · e2336be Raw
17 lines · plain
1; RUN: llc -mtriple=riscv32 < %s | FileCheck -check-prefix=RV32 %s2; RUN: llc -mtriple=riscv64 < %s | FileCheck -check-prefix=RV64 %s3 4@v = internal global i32 0, align 45@r = internal global i64 7, align 86 7; @v and @r are local symbols.8; SmallDataLimit set to 8, so we expect @v will be put in sbss9; and @r will be put in sdata.10!llvm.module.flags = !{!0}11!0 = !{i32 8, !"SmallDataLimit", i32 8}12 13; RV32:    .section        .sbss14; RV32:    .section        .sdata15; RV64:    .section        .sbss16; RV64:    .section        .sdata17