[RISCV] Fix typo in comment. NFC
authorCraig Topper <craig.topper@sifive.com>
Fri, 11 Mar 2022 05:56:57 +0000 (21:56 -0800)
committerCraig Topper <craig.topper@sifive.com>
Fri, 11 Mar 2022 06:00:18 +0000 (22:00 -0800)
llvm/lib/Target/RISCV/RISCVISelLowering.cpp

index 75dbd8f..7a3d973 100644 (file)
@@ -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();