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:
4ceecc8
)
[ConstraintElimination] Wrap dump() call in LLVM_DEBUG (NFC).
author
Florian Hahn
<flo@fhahn.com>
Sat, 5 Dec 2020 12:55:27 +0000
(12:55 +0000)
committer
Florian Hahn
<flo@fhahn.com>
Sat, 5 Dec 2020 13:14:53 +0000
(13:14 +0000)
ConstraintSystem::dump only generates output with -debug, but there's no
need to call it without -debug.
llvm/lib/Analysis/ConstraintSystem.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Analysis/ConstraintSystem.cpp
b/llvm/lib/Analysis/ConstraintSystem.cpp
index
3df1184
..
f3a2834
100644
(file)
--- 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;