Skip to content

Commit e1b8ebf

Browse files
committed
Additional review feedback
1 parent de07390 commit e1b8ebf

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# REQUIRES: aarch64-registered-target
2-
# RUN: rm -rf %t.json
3-
# RUN: llvm-mc -arch aarch64 -disassemble -o /dev/null %s -num-benchmark-runs=1000 -time-trace -time-trace-file=%t.json
4-
# RUN: FileCheck --input-file %t.json %s
5-
6-
# Note: Test input taken from llvm/test/MC/Disassembler/AArch64/udf.txt
7-
8-
# CHECK: "name":"Total getInstruction"
9-
# CHECK: "args":{"count":3,"avg ms":{{.*}}}
10-
[0x00,0x00,0x00,0x00]
11-
[0x01,0x02,0x00,0x00]
12-
[0xff,0xff,0x00,0x00]
1+
# REQUIRES: aarch64-registered-target
2+
# RUN: rm -rf %t.json
3+
# RUN: llvm-mc -triple=aarch64 -disassemble -o /dev/null %s -runs=1000 -time-trace -time-trace-file=%t.json
4+
# RUN: FileCheck --input-file %t.json %s
5+
6+
# Note: Test input taken from llvm/test/MC/Disassembler/AArch64/udf.txt
7+
8+
# CHECK: "name":"Total getInstruction"
9+
# CHECK: "args":{"count":3,"avg ms":{{.*}}}
10+
[0x00,0x00,0x00,0x00]
11+
[0x01,0x02,0x00,0x00]
12+
[0xff,0xff,0x00,0x00]

llvm/tools/llvm-mc/llvm-mc.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,7 @@ static cl::opt<ActionType> Action(
243243
cl::cat(MCCategory));
244244

245245
static cl::opt<unsigned>
246-
NumBenchmarkRuns("num-benchmark-runs",
247-
cl::desc("Number of runs for decoder benchmarking"),
246+
NumBenchmarkRuns("runs", cl::desc("Number of runs for benchmarking"),
248247
cl::cat(MCCategory));
249248

250249
static cl::opt<bool> TimeTrace("time-trace", cl::desc("Record time trace"));

0 commit comments

Comments
 (0)