1# RUN: llvm-exegesis -mode=latency -opcode-name=LEA64_32r -repetition-mode=duplicate -max-configs-per-opcode=2 | FileCheck %s
2# RUN: llvm-exegesis -mode=latency -opcode-name=LEA64_32r -repetition-mode=loop -max-configs-per-opcode=2 | FileCheck %s
3
4CHECK:      ---
5CHECK-NEXT: mode: latency
6CHECK-NEXT: key:
7CHECK-NEXT:   instructions:
8CHECK-NEXT:     LEA64_32r
9CHECK-NEXT: config: '0(%[[REG1:[A-Z0-9]+]], %[[REG1]], 1)'
10
11CHECK:      ---
12CHECK-NEXT: mode: latency
13CHECK-NEXT: key:
14CHECK-NEXT:   instructions:
15CHECK-NEXT:     LEA64_32r
16CHECK-NEXT: config: '42(%[[REG2:[A-Z0-9]+]], %[[REG2]], 1)'
17