Skip to content

Commit 2b36d85

Browse files
committed
[RISCV] Update comment for AVL operand in pseudo instructions. NFC
1 parent 478d093 commit 2b36d85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ def riscv_vmv_x_s : SDNode<"RISCVISD::VMV_X_S",
8181
def riscv_read_vlenb : SDNode<"RISCVISD::READ_VLENB",
8282
SDTypeProfile<1, 0, [SDTCisVT<0, XLenVT>]>>;
8383

84-
// Operand that is allowed to be a register or a 5 bit immediate.
85-
// This allows us to pick between VSETIVLI and VSETVLI opcodes using the same
86-
// pseudo instructions.
84+
// Operand that is allowed to be a register other than X0, a 5 bit unsigned
85+
// immediate, or -1. -1 means VLMAX. This allows us to pick between VSETIVLI and
86+
// VSETVLI opcodes using the same pseudo instructions.
8787
def AVL : RegisterOperand<GPRNoX0> {
8888
let OperandNamespace = "RISCVOp";
8989
let OperandType = "OPERAND_AVL";

0 commit comments

Comments
 (0)