Skip to content

Commit

Permalink
[ConstraintElimination] Fix comment (llvm#125375)
Browse files Browse the repository at this point in the history
Remove unused header and fix a comment.
  • Loading branch information
leewei05 authored Feb 3, 2025
1 parent f1b075d commit edc8c35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Transforms/Utils/ValueMapper.h"

#include <cmath>
#include <optional>
#include <string>

Expand Down Expand Up @@ -654,7 +653,7 @@ ConstraintInfo::getConstraint(CmpInst::Predicate Pred, Value *Op0, Value *Op1,
bool IsEq = false;
bool IsNe = false;

// Try to convert Pred to one of ULE/SLT/SLE/SLT.
// Try to convert Pred to one of ULE/ULT/SLE/SLT.
switch (Pred) {
case CmpInst::ICMP_UGT:
case CmpInst::ICMP_UGE:
Expand Down

0 comments on commit edc8c35

Please sign in to comment.