[llvm] 3f67996 - [LoopUnrollPass] Fix spelling mistake in `computeUnrollCount` description (NFC) (#178816)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 30 10:16:11 PST 2026


Author: Justin Fargnoli
Date: 2026-01-30T10:16:06-08:00
New Revision: 3f679962017e376f967105f14dfb3d2f72b5ad6f

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

LOG: [LoopUnrollPass] Fix spelling mistake in `computeUnrollCount` description (NFC) (#178816)

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp b/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
index 6845bc860ed9f..e0c357d439be3 100644
--- a/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
@@ -915,7 +915,7 @@ shouldPartialUnroll(const unsigned LoopSize, const unsigned TripCount,
 // Returns true if unroll count was set explicitly.
 // Calculates unroll count and writes it to UP.Count.
 // Unless IgnoreUser is true, will also use metadata and command-line options
-// that are specific to to the LoopUnroll pass (which, for instance, are
+// that are specific to the LoopUnroll pass (which, for instance, are
 // irrelevant for the LoopUnrollAndJam pass).
 // FIXME: This function is used by LoopUnroll and LoopUnrollAndJam, but consumes
 // many LoopUnroll-specific options. The shared functionality should be


        


More information about the llvm-commits mailing list