forked from OSchip/llvm-project
[ConstraintElimination] Wrap dump() call in LLVM_DEBUG (NFC).
ConstraintSystem::dump only generates output with -debug, but there's no need to call it without -debug.
This commit is contained in:
parent
4ceecc820b
commit
4e5c0c2a63
|
@ -133,7 +133,7 @@ void ConstraintSystem::dump() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ConstraintSystem::mayHaveSolution() {
|
bool ConstraintSystem::mayHaveSolution() {
|
||||||
dump();
|
LLVM_DEBUG(dump());
|
||||||
bool HasSolution = mayHaveSolutionImpl();
|
bool HasSolution = mayHaveSolutionImpl();
|
||||||
LLVM_DEBUG(dbgs() << (HasSolution ? "sat" : "unsat") << "\n");
|
LLVM_DEBUG(dbgs() << (HasSolution ? "sat" : "unsat") << "\n");
|
||||||
return HasSolution;
|
return HasSolution;
|
||||||
|
|
Loading…
Reference in New Issue