[llvm] [RISCV][NFC] Fix the mismatch in comment (PR #140511)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Mon May 19 00:50:17 PDT 2025


https://github.com/wangpc-pp created https://github.com/llvm/llvm-project/pull/140511

There should be only one `vector_in`.

And we remove the surrounding double quotes.


>From 1eedf159630218475f958223f6955fdcdb73158a Mon Sep 17 00:00:00 2001
From: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
Date: Mon, 19 May 2025 15:37:30 +0800
Subject: [PATCH] [RISCV][NFC] Fix the mismatch in comment

There should be only one `vector_in`.

And we remove the surrounding double quotes.
---
 llvm/include/llvm/IR/IntrinsicsRISCV.td | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/include/llvm/IR/IntrinsicsRISCV.td b/llvm/include/llvm/IR/IntrinsicsRISCV.td
index 622a96cafb128..3f9e3a7a35945 100644
--- a/llvm/include/llvm/IR/IntrinsicsRISCV.td
+++ b/llvm/include/llvm/IR/IntrinsicsRISCV.td
@@ -362,7 +362,7 @@ let TargetPrefix = "riscv" in {
                     [ImmArg<ArgIndex<3>>, ImmArg<ArgIndex<5>>, IntrNoMem]>, RISCVVIntrinsic {
     let VLOperand = 4;
   }
-  // Input: (passthru, vector_in, vector_in, mask, vl)
+  // Input: (passthru, vector_in, mask, vl)
   class RISCVCompress
         : DefaultAttrsIntrinsic<[llvm_anyvector_ty],
                     [LLVMMatchType<0>, LLVMMatchType<0>,
@@ -1570,7 +1570,7 @@ let TargetPrefix = "riscv" in {
   defm vrgather_vx : RISCVRGatherVX;
   defm vrgatherei16_vv : RISCVRGatherEI16VV;
 
-  def "int_riscv_vcompress" : RISCVCompress;
+  def int_riscv_vcompress : RISCVCompress;
 
   defm vaaddu : RISCVSaturatingBinaryAAXRoundingMode;
   defm vaadd : RISCVSaturatingBinaryAAXRoundingMode;



More information about the llvm-commits mailing list