File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed
Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 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]
Original file line number Diff line number Diff line change @@ -243,8 +243,7 @@ static cl::opt<ActionType> Action(
243243 cl::cat(MCCategory));
244244
245245static 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
250249static cl::opt<bool > TimeTrace (" time-trace" , cl::desc(" Record time trace" ));
You can’t perform that action at this time.
0 commit comments