xref: /llvm-project/llvm/test/tools/llvm-exegesis/AArch64/all-opcodes.test (revision 742fa941f21d35b266db9ba12b59a06175b0fb97)
1# Test that we can just use --opcode-index=-1 to generate snippets for
2# all supported opcodes and gracefully handle unsupported ones.
3
4# RUN: llvm-exegesis --mtriple=aarch64-linux-gnu --mcpu=cortex-a55 --benchmark-phase=prepare-and-assemble-snippet \
5# RUN:               --mode=latency --opcode-index=-1 | FileCheck %s
6# RUN: llvm-exegesis --mtriple=aarch64-linux-gnu --mcpu=cortex-a55 --benchmark-phase=prepare-and-assemble-snippet \
7# RUN:               --mode=uops --opcode-index=-1 | FileCheck %s
8
9# 100 means "quite a lot"
10# CHECK-COUNT-100: assembled_snippet: {{.*}}
11