[llvm] [RISCV][Verifier] Check operands and result type of RISC-V vsetvli/vsetvlimax (PR #218594)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 23:48:09 PDT 2026


================
@@ -0,0 +1,29 @@
+; RUN: not opt -passes=verify -S < %s 2>&1 | FileCheck %s
+
+declare i16 @llvm.riscv.vsetvlimax.i16(i16, i16)
+declare i64 @llvm.riscv.vsetvlimax.i64(i64, i64)
+declare i64 @llvm.riscv.vsetvli.i64(i64, i64, i64)
----------------
lukel97 wrote:

Don't need to declare these (I think?)

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


More information about the llvm-commits mailing list