Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-exegesis / X86 / latency / memory-annotations-livein.s
blob5d9171959b6afed8437d62413bdb30f6d1ae08cf
1 # REQUIRES: exegesis-can-measure-latency, x86_64-linux
3 # Test that we can use the subprocess executor mode with memory annotations
4 # while having live-ins still work as expected.
6 # RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -snippets-file=%s -execution-mode=subprocess | FileCheck %s
8 # CHECK: measurements:
9 # CHECK-NEXT: value: {{.*}}, per_snippet_value: {{.*}}
11 # TODO: Sometimes transiently fails on PTRACE_ATTACH
12 # ALLOW_RETRIES: 2
14 # LLVM-EXEGESIS-MEM-DEF test1 4096 2147483647
15 # LLVM-EXEGESIS-MEM-MAP test1 1048576
16 # LLVM-EXEGESIS-LIVEIN R14
18 movq $1048576, %rax
19 movq %r14, (%rax)