From b010747a4f481d4f2119ffa52f5da75e8cc8c6da Mon Sep 17 00:00:00 2001 From: Thomas Symalla <5754458+tsymalla@users.noreply.github.com> Date: Tue, 12 Dec 2023 10:24:11 +0100 Subject: [PATCH] [NFC] Fix typo in ConstraintElimination assertion. (#75151) unsinged => unsigned Co-authored-by: Thomas Symalla --- llvm/lib/Transforms/Scalar/ConstraintElimination.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)