[llvm] [RISCV] Make All VType Parts Optional (PR #144971)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 19 20:40:20 PDT 2025


================
@@ -1,12 +1,6 @@
 # RUN: not llvm-mc -triple=riscv64 --mattr=+v --mattr=+f %s 2>&1 \
 # RUN:        | FileCheck %s --check-prefix=CHECK-ERROR
 
-vsetivli a2, 32, e8,m1
-# CHECK-ERROR: operand must be e[8|16|32|64],m[1|2|4|8|f2|f4|f8],[ta|tu],[ma|mu]
-
-vsetivli a2, zero, e8,m1
-# CHECK-ERROR: operand must be e[8|16|32|64],m[1|2|4|8|f2|f4|f8],[ta|tu],[ma|mu]
-
 vsetivli a2, 5, (1 << 10)
 # CHECK-ERROR: operand must be e[8|16|32|64],m[1|2|4|8|f2|f4|f8],[ta|tu],[ma|mu]
----------------
wangpc-pp wrote:

We should change the error message just like in #115277?

https://github.com/llvm/llvm-project/pull/144971


More information about the llvm-commits mailing list