[llvm] 337d49d - [RISCV] Fix typo in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 22:07:11 PST 2022


Author: Craig Topper
Date: 2022-03-10T22:00:18-08:00
New Revision: 337d49da84af89036162e3ad81ad3f917f6e0a55

URL: https://github.com/llvm/llvm-project/commit/337d49da84af89036162e3ad81ad3f917f6e0a55
DIFF: https://github.com/llvm/llvm-project/commit/337d49da84af89036162e3ad81ad3f917f6e0a55.diff

LOG: [RISCV] Fix typo in comment. NFC

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
index 75dbd8fb87015..7a3d973e08b01 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -4748,7 +4748,7 @@ SDValue RISCVTargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op,
   case Intrinsic::riscv_zip:
   case Intrinsic::riscv_unzip: {
     // Lower to the SHFLI encoding for zip or the UNSHFLI encoding for unzip.
-    // For i32 the immdiate is 15. For i64 the immediate is 31.
+    // For i32 the immediate is 15. For i64 the immediate is 31.
     unsigned Opc =
         IntNo == Intrinsic::riscv_zip ? RISCVISD::SHFL : RISCVISD::UNSHFL;
     unsigned BitWidth = Op.getValueSizeInBits();


        


More information about the llvm-commits mailing list