[llvm] 32d7211 - [NVPTX] Fix typo in `NVPTXISelLowering.cpp` (NFC) (#125333)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 20:58:26 PST 2025


Author: Justin Fargnoli
Date: 2025-01-31T20:58:22-08:00
New Revision: 32d7211ae6d0c36d69d7d2793889fbbc9cf2d655

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

LOG: [NVPTX] Fix typo in `NVPTXISelLowering.cpp` (NFC) (#125333)

Added: 
    

Modified: 
    llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
index 773c97f7b4dc0f..9e7e1dbcea25d1 100644
--- a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
@@ -286,7 +286,7 @@ static void ComputePTXValueVTs(const TargetLowering &TLI, const DataLayout &DL,
     if (VT.isVector()) {
       unsigned NumElts = VT.getVectorNumElements();
       EVT EltVT = VT.getVectorElementType();
-      // We require power-of-2 sized vectors becuase
+      // We require power-of-2 sized vectors because
       // TargetLoweringBase::getVectorTypeBreakdown() which is invoked in
       // ComputePTXValueVTs() cannot currently break down non-power-of-2 sized
       // vectors.


        


More information about the llvm-commits mailing list