Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-exegesis / X86 / latency / latency-LEA64r.s
blob7d72fd430481beedc75755a84e08c3cfdab86b78
1 # RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mode=latency --benchmark-phase=assemble-measured-code -opcode-name=LEA64r -repetition-mode=duplicate -max-configs-per-opcode=2 | FileCheck %s
2 # RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mode=latency --benchmark-phase=assemble-measured-code -opcode-name=LEA64r -repetition-mode=loop -max-configs-per-opcode=2 | FileCheck %s
4 CHECK: ---
5 CHECK-NEXT: mode: latency
6 CHECK-NEXT: key:
7 CHECK-NEXT: instructions:
8 CHECK-NEXT: LEA64r
9 CHECK-NEXT: config: '0(%[[REG1:[A-Z0-9]+]], %[[REG1]], 1)'
11 CHECK: ---
12 CHECK-NEXT: mode: latency
13 CHECK-NEXT: key:
14 CHECK-NEXT: instructions:
15 CHECK-NEXT: LEA64r
16 CHECK-NEXT: config: '42(%[[REG2:[A-Z0-9]+]], %[[REG2]], 1)'