[RISCV] Add shrinkwrap test cases showing gaps in current impl
[llvm-project.git] / llvm / test / CodeGen / X86 / elf-comdat.ll
blob10770dd07409d0e710611dd03b09b02102cdbb9e
1 ; RUN: llc -mtriple x86_64-pc-linux-gnu < %s | FileCheck %s
3 $f = comdat any
4 @v = global i32 0, comdat($f)
5 define void @f() comdat($f) {
6   ret void
8 ; CHECK: .section        .text.f,"axG",@progbits,f,comdat
9 ; CHECK: .globl  f
10 ; CHECK: .section        .bss.v,"awG",@nobits,f,comdat
11 ; CHECK: .globl  v