brintos

brintos / llvm-project-archived public Read only

0
0
Text · 465 B · a69ba49 Raw
20 lines · plain
1; Checks that comdat with nodeduplicate kind is lowered to a zero-flag ELF2; section group.3; RUN: llc < %s -mtriple=x86_64-unknown-linux | FileCheck %s4 5; CHECK: .section .text.f1,"axG",@progbits,f1{{$}}6; CHECK: .section .text.f2,"axG",@progbits,f1{{$}}7; CHECK: .section .bss.g1,"awG",@nobits,f1{{$}}8 9$f1 = comdat nodeduplicate10 11define void @f1() comdat {12  unreachable13}14 15define hidden void @f2() comdat($f1) {16  unreachable17}18 19@g1 = global i32 0, comdat($f1)20