[llvm] b010747 - [NFC] Fix typo in ConstraintElimination assertion. (#75151)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 01:24:15 PST 2023


Author: Thomas Symalla
Date: 2023-12-12T10:24:11+01:00
New Revision: b010747a4f481d4f2119ffa52f5da75e8cc8c6da

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

LOG: [NFC] Fix typo in ConstraintElimination assertion. (#75151)

unsinged => unsigned

Co-authored-by: Thomas Symalla <tsymalla at amd.com>

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp b/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
index 43d9883fcfd486..fafbe17583f5da 100644
--- a/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+++ b/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
@@ -431,7 +431,7 @@ static Decomposition decomposeGEP(GEPOperator &GEP,
     return &GEP;
 
   assert(!IsSigned && "The logic below only supports decomposition for "
-                      "unsinged predicates at the moment.");
+                      "unsigned predicates at the moment.");
   const auto &[BasePtr, ConstantOffset, VariableOffsets, AllInbounds] =
       collectOffsets(GEP, DL);
   if (!BasePtr || !AllInbounds)


        


More information about the llvm-commits mailing list