Skip to content

Commit edc8c35

Browse files
authored
[ConstraintElimination] Fix comment (#125375)
Remove unused header and fix a comment.
1 parent f1b075d commit edc8c35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Scalar/ConstraintElimination.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#include "llvm/Transforms/Utils/Cloning.h"
4141
#include "llvm/Transforms/Utils/ValueMapper.h"
4242

43-
#include <cmath>
4443
#include <optional>
4544
#include <string>
4645

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

657-
// Try to convert Pred to one of ULE/SLT/SLE/SLT.
656+
// Try to convert Pred to one of ULE/ULT/SLE/SLT.
658657
switch (Pred) {
659658
case CmpInst::ICMP_UGT:
660659
case CmpInst::ICMP_UGE:

0 commit comments

Comments
 (0)