1 ; Checks that comdat with nodeduplicate kind is lowered to a zero-flag ELF
3 ; RUN: llc < %s -mtriple=x86_64-unknown-linux | FileCheck %s
5 ; CHECK: .section .text.f1,"axG",@progbits,f1{{$}}
6 ; CHECK: .section .text.f2,"axG",@progbits,f1{{$}}
7 ; CHECK: .section .bss.g1,"aGw",@nobits,f1{{$}}
9 $f1 = comdat nodeduplicate
11 define void @f1() comdat {
15 define hidden void @f2() comdat($f1) {
19 @g1 = global i32 0, comdat($f1)