[llvm] [NFC] Fix typo in ConstraintElimination assertion. (PR #75151)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 12 00:36:03 PST 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Thomas Symalla (tsymalla)
<details>
<summary>Changes</summary>
unsinged => unsigned
---
Full diff: https://github.com/llvm/llvm-project/pull/75151.diff
1 Files Affected:
- (modified) llvm/lib/Transforms/Scalar/ConstraintElimination.cpp (+1-1)
``````````diff
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)
``````````
</details>
https://github.com/llvm/llvm-project/pull/75151
More information about the llvm-commits
mailing list