[llvm] d21e731 - [RISCV] Fix typos in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 13:02:39 PDT 2024


Author: Craig Topper
Date: 2024-09-04T13:02:33-07:00
New Revision: d21e731c42d6b967e29dbe2edc16c1b86885df0d

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

LOG: [RISCV] Fix typos 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 bc661c72e5ecca..2ea909b085a6d5 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -19631,7 +19631,7 @@ static SDValue unpackF64OnRV32DSoftABI(SelectionDAG &DAG, SDValue Chain,
 }
 
 // FastCC has less than 1% performance improvement for some particular
-// benchmark. But theoretically, it may has benenfit for some cases.
+// benchmark. But theoretically, it may have benefit for some cases.
 bool RISCV::CC_RISCV_FastCC(const DataLayout &DL, RISCVABI::ABI ABI,
                             unsigned ValNo, MVT ValVT, MVT LocVT,
                             CCValAssign::LocInfo LocInfo,


        


More information about the llvm-commits mailing list