[llvm] [RISCV] Fix VRGATHER_V*_VL operands docs. NFC (PR #178124)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 26 22:53:32 PST 2026
https://github.com/lukel97 created https://github.com/llvm/llvm-project/pull/178124
The passthru is third operand and the mask is the fourth
>From 4e0a2ec7c2013bbbea9d2685f9f1b0bfa0219340 Mon Sep 17 00:00:00 2001
From: Luke Lau <luke at igalia.com>
Date: Tue, 27 Jan 2026 14:51:53 +0800
Subject: [PATCH] [RISCV] Fix VRGATHER_V*_VL operands docs. NFC
The passthru is third operand and the mask is the fourth
---
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td b/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
index 7f4bba099cf5e..db23b7f04f630 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
@@ -429,7 +429,7 @@ def any_riscv_fsetccs_vl : PatFrags<(ops node:$lhs, node:$rhs, node:$cc, node:$p
let HasMaskOp = true in {
// Matches the semantics of vrgather.vx and vrgather.vv with extra operands
// for passthru and VL, except that out of bound indices result in a poison
- // result not zero. Operands are (src, index, mask, passthru, vl).
+ // result not zero. Operands are (src, index, passthru, mask, vl).
def riscv_vrgather_vx_vl : RVSDNode<"VRGATHER_VX_VL",
SDTypeProfile<1, 5, [SDTCisVec<0>,
SDTCisSameAs<0, 1>,
More information about the llvm-commits
mailing list