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

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 20:54:47 PST 2025


https://github.com/justinfargnoli created https://github.com/llvm/llvm-project/pull/125333

None

>From f21991f7eeafd27b10e750b0d3b7fc8f4c11d788 Mon Sep 17 00:00:00 2001
From: Justin Fargnoli <justinfargnoli at gmail.com>
Date: Fri, 31 Jan 2025 20:52:45 -0800
Subject: [PATCH] [NVPTX] Fix type (NFC)

---
 llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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