Skip to content

Commit a25e89f

Browse files
author
Aleksei Romanov
committed
[RISCV][AsmParser] Pre-commit test on unsupported vset{i}vli instruction
omitting LMUL (NFC)
1 parent 1469d82 commit a25e89f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/test/MC/RISCV/rvv/invalid.s

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# RUN: not llvm-mc -triple=riscv64 --mattr=+v --mattr=+f %s 2>&1 \
22
# RUN: | FileCheck %s --check-prefix=CHECK-ERROR
33

4+
vsetvli a2, a0, e8, ta, ma
5+
# CHECK-ERROR: operand must be e[8|16|32|64],m[1|2|4|8|f2|f4|f8],[ta|tu],[ma|mu]
6+
47
vsetivli a2, 32, e8,m1
58
# CHECK-ERROR: operand must be e[8|16|32|64],m[1|2|4|8|f2|f4|f8],[ta|tu],[ma|mu]
69

0 commit comments

Comments
 (0)