Skip to content

Commit

Permalink
[NFC] Fix typo in ConstraintElimination assertion. (llvm#75151)
Browse files Browse the repository at this point in the history
unsinged => unsigned

Co-authored-by: Thomas Symalla <[email protected]>
  • Loading branch information
tsymalla and Thomas Symalla authored Dec 12, 2023
1 parent 50c174f commit b010747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b010747

Please sign in to comment.