aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ConstraintSystem.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-12-05 12:55:27 +0000
committerFlorian Hahn <flo@fhahn.com>2020-12-05 13:14:53 +0000
commit4e5c0c2a63e2dff804a32b22d7d815a35a47c8d7 (patch)
tree97742eaa95a812aebb51a613c6e0dcd0fd0de400 /llvm/lib/Analysis/ConstraintSystem.cpp
parent4ceecc820b7197c2f302aa235875eb6619a397c3 (diff)
downloadllvm-4e5c0c2a63e2dff804a32b22d7d815a35a47c8d7.zip
llvm-4e5c0c2a63e2dff804a32b22d7d815a35a47c8d7.tar.gz
llvm-4e5c0c2a63e2dff804a32b22d7d815a35a47c8d7.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/Analysis/ConstraintSystem.cpp')
-rw-r--r--llvm/lib/Analysis/ConstraintSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ConstraintSystem.cpp b/llvm/lib/Analysis/ConstraintSystem.cpp
index 3df1184..f3a2834 100644
--- a/llvm/lib/Analysis/ConstraintSystem.cpp
+++ b/llvm/lib/Analysis/ConstraintSystem.cpp
@@ -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;