1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

[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 efea313a11
commit 757dad386a

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;