[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:
Florian Hahn 2020-12-05 12:55:27 +00:00
parent 4ceecc820b
commit 4e5c0c2a63
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ void ConstraintSystem::dump() const {
}
bool ConstraintSystem::mayHaveSolution() {
dump();
LLVM_DEBUG(dump());
bool HasSolution = mayHaveSolutionImpl();
LLVM_DEBUG(dbgs() << (HasSolution ? "sat" : "unsat") << "\n");
return HasSolution;