Skip to content

Commit b2c8092

Browse files
boomanaiden154kcloudy0717
authored andcommitted
[llvm-exegesis] Make rvv/filter.test deterministic
This should prevent the flaky failures that have been plaguing the buildbots since the test was introduced and allow for offline investigation without disrupting CI. Reviewers: topperc, mshockwave Reviewed By: mshockwave Pull Request: llvm#170014
1 parent 0c71b6a commit b2c8092

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
# TODO(mshockwave): We use a fixed seed for this test because sometimes it
2+
# will fail to generate any snippet because it is unable to assign unique
3+
# def and use registers.
14
# 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=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
5+
# RUN: --riscv-filter-config='vtype = {VXRM: rod, AVL: VLMAX, SEW: e(8|16), Policy: ta/mu}' --max-configs-per-opcode=1000 --min-instructions=10 \
6+
# RUN: -random-generator-seed=5 | FileCheck %s
57

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

0 commit comments

Comments
 (0)