Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / icf5.s
blob068ed7f08102ea3d7f2ced39c64f6cd8d4d7d953
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4 # RUN: ld.lld %t -o /dev/null --icf=all --print-icf-sections | count 0
6 .globl _start, f1, f2
7 _start:
8 ret
10 .section .text.f1, "ax"
11 f1:
12 mov $0, %rax
14 .section .text.f2, "awx"
15 f2:
16 mov $0, %rax