[llvm] [RISCV] Fix VRGATHER_V*_VL operands docs. NFC (PR #178124)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 26 22:54:03 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-risc-v
Author: Luke Lau (lukel97)
<details>
<summary>Changes</summary>
The passthru is third operand and the mask is the fourth
---
Full diff: https://github.com/llvm/llvm-project/pull/178124.diff
1 Files Affected:
- (modified) llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td (+1-1)
``````````diff
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>,
``````````
</details>
https://github.com/llvm/llvm-project/pull/178124
More information about the llvm-commits
mailing list