projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e202886
)
[ConstraintElimination] Remove stray comment (NFC).
author
Florian Hahn
<flo@fhahn.com>
Mon, 3 Oct 2022 17:20:48 +0000
(18:20 +0100)
committer
Florian Hahn
<flo@fhahn.com>
Mon, 3 Oct 2022 17:20:48 +0000
(18:20 +0100)
The comment doens't apply in the current context, remove it.
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
b/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
index
c46ff43
..
efb142d
100644
(file)
--- 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);
}