[llvm] 2ec7dba - [RISCV] Update comment on vslide*_vl that it has a sixth policy operand. NFC

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 09:52:58 PDT 2023


Author: Luke Lau
Date: 2023-09-13T17:52:36+01:00
New Revision: 2ec7dbaff7428b96df8b56a7743d6cfef1249d65

URL: https://github.com/llvm/llvm-project/commit/2ec7dbaff7428b96df8b56a7743d6cfef1249d65
DIFF: https://github.com/llvm/llvm-project/commit/2ec7dbaff7428b96df8b56a7743d6cfef1249d65.diff

LOG: [RISCV] Update comment on vslide*_vl that it has a sixth policy operand. NFC

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVISelLowering.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVISelLowering.h b/llvm/lib/Target/RISCV/RISCVISelLowering.h
index 271391826e35f9e..e4481a0f6752fa3 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.h
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.h
@@ -172,9 +172,9 @@ enum NodeType : unsigned {
   // mask and VL operand.
   TRUNCATE_VECTOR_VL,
   // Matches the semantics of vslideup/vslidedown. The first operand is the
-  // pass-thru operand, the second is the source vector, the third is the
-  // XLenVT index (either constant or non-constant), the fourth is the mask
-  // and the fifth the VL.
+  // pass-thru operand, the second is the source vector, the third is the XLenVT
+  // index (either constant or non-constant), the fourth is the mask, the fifth
+  // is the VL and the sixth is the policy.
   VSLIDEUP_VL,
   VSLIDEDOWN_VL,
   // Matches the semantics of vslide1up/slide1down. The first operand is


        


More information about the llvm-commits mailing list