Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-exegesis / AArch64 / latency-by-opcode-name.s
blob653f544e36ce26fef70e795e5ea454f966a3d34e
1 # RUN: llvm-exegesis -mode=latency -opcode-name=ADDXrr | FileCheck %s
2 # REQUIRES: exegesis-can-execute-aarch64, exegesis-can-measure-latency
4 CHECK: ---
5 CHECK-NEXT: mode: latency
6 CHECK-NEXT: key:
7 CHECK-NEXT: instructions:
8 CHECK-NEXT: ADDXrr [[REG1:X[0-9]+|LR]] [[REG2:X[0-9]+|LR]] [[REG3:X[0-9]+|LR]]
9 CHECK-NEXT: config: ''
10 CHECK-NEXT: register_initial_values:
11 CHECK-DAG: - '[[REG2]]=0x0'
12 # We don't check REG3 because in the case that REG2=REG3 the check would fail
13 CHECK-LAST: ...