[AArch64,ELF] Restrict MOVZ/MOVK to non-PIC large code model (#70178)
[llvm-project.git] / llvm / test / CodeGen / X86 / elf-group.ll
blob3aaef0fa49da13e397b1a3743b35c922eba06ff2
1 ; Checks that comdat with nodeduplicate kind is lowered to a zero-flag ELF
2 ; section group.
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 {
12   unreachable
15 define hidden void @f2() comdat($f1) {
16   unreachable
19 @g1 = global i32 0, comdat($f1)