Skip to content

Commit 23c41bf

Browse files
committed
[Exegesis][RISCV] Allow rvv/filter.test to retry
Sometimes it'll fail to generate any snippet because it's unable to assign unique def and use registers. Mark this test as ALLOW_RETRIES. Also, lower the minimum number of instructions per snippet in the hope to increase the chance of assigning unique registers for every instructions.
1 parent 11b9466 commit 23c41bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/test/tools/llvm-exegesis/RISCV/rvv/filter.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=inverse_throughput --opcode-name=PseudoVNCLIPU_WX_M1_MASK \
2-
# RUN: --riscv-filter-config='vtype = {VXRM: rod, AVL: VLMAX, SEW: e(8|16), Policy: ta/mu}' --max-configs-per-opcode=1000 --min-instructions=100 | FileCheck %s
2+
# RUN: --riscv-filter-config='vtype = {VXRM: rod, AVL: VLMAX, SEW: e(8|16), Policy: ta/mu}' --max-configs-per-opcode=1000 --min-instructions=10 | FileCheck %s
3+
# Sometimes it'll fail to generate any snippet because it's unable to assign unique def and use registers.
4+
# ALLOW_RETRIES: 2
35

46
# CHECK: config: 'vtype = {VXRM: rod, AVL: VLMAX, SEW: e8, Policy: ta/mu}'
57
# CHECK: config: 'vtype = {VXRM: rod, AVL: VLMAX, SEW: e16, Policy: ta/mu}'

0 commit comments

Comments
 (0)