[llvm] 017552e - [ConstraintElimination] Remove stray comment (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 3 10:21:36 PDT 2022
Author: Florian Hahn
Date: 2022-10-03T18:20:48+01:00
New Revision: 017552e8b8b31342064f3c00a92870fbf0e32040
URL: https://github.com/llvm/llvm-project/commit/017552e8b8b31342064f3c00a92870fbf0e32040
DIFF: https://github.com/llvm/llvm-project/commit/017552e8b8b31342064f3c00a92870fbf0e32040.diff
LOG: [ConstraintElimination] Remove stray comment (NFC).
The comment doens't apply in the current context, remove it.
Added:
Modified:
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp b/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
index c46ff433173c..efb142dad6e8 100644
--- a/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+++ b/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
@@ -871,8 +871,6 @@ static bool eliminateConstraints(Function &F, DominatorTree &DT) {
ICmpInst::Predicate Pred;
Value *A, *B;
if (match(CB.Condition, m_ICmp(Pred, m_Value(A), m_Value(B)))) {
- // Otherwise, add the condition to the system and stack, if we can
- // transform it into a constraint.
Info.addFact(Pred, A, B, CB.NumIn, CB.NumOut, DFSInStack);
Info.transferToOtherSystem(Pred, A, B, CB.NumIn, CB.NumOut, DFSInStack);
}
More information about the llvm-commits
mailing list