[llvm] 7017efa - Fix typo "widended"

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 05:50:33 PST 2024


Author: Jay Foad
Date: 2024-01-19T13:50:26Z
New Revision: 7017efa1a1780e1bb0c2a49a14ac45818ea43338

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

LOG: Fix typo "widended"

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    llvm/test/Transforms/LoopVectorize/optimal-epilog-vectorization.ll

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index 315604498a82fe..929b5d004782d3 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -14386,8 +14386,8 @@ SDValue SITargetLowering::PerformDAGCombine(SDNode *N,
   case ISD::FP_ROUND:
     return performFPRoundCombine(N, DCI);
   case ISD::LOAD: {
-    if (SDValue Widended = widenLoad(cast<LoadSDNode>(N), DCI))
-      return Widended;
+    if (SDValue Widened = widenLoad(cast<LoadSDNode>(N), DCI))
+      return Widened;
     [[fallthrough]];
   }
   default: {

diff  --git a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
index 42e7c4006b427d..0ed3324a27b6c9 100644
--- a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
+++ b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
@@ -1753,7 +1753,7 @@ Instruction *WidenIV::widenIVUse(WidenIV::NarrowIVDefUse DU, SCEVExpander &Rewri
   }
 
   // This narrow use can be widened by a sext if it's non-negative or its narrow
-  // def was widended by a sext. Same for zext.
+  // def was widened by a sext. Same for zext.
   auto canWidenBySExt = [&]() {
     return DU.NeverNegative || getExtendKind(DU.NarrowDef) == ExtendKind::Sign;
   };

diff  --git a/llvm/test/Transforms/LoopVectorize/optimal-epilog-vectorization.ll b/llvm/test/Transforms/LoopVectorize/optimal-epilog-vectorization.ll
index 5410d5d2f6471e..8888bf529909e0 100644
--- a/llvm/test/Transforms/LoopVectorize/optimal-epilog-vectorization.ll
+++ b/llvm/test/Transforms/LoopVectorize/optimal-epilog-vectorization.ll
@@ -662,7 +662,7 @@ outer.latch:
   br label %outer.header
 }
 
-; Check handling of widended/truncated inductions.
+; Check handling of widened/truncated inductions.
 define void @f4(ptr noalias %A, i32 signext %n) {
 ; CHECK-LABEL: @f4(
 ; CHECK-NEXT:  iter.check:


        


More information about the llvm-commits mailing list