diff options
author | Florian Hahn <florian.hahn@arm.com> | 2017-07-31 16:44:28 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2017-07-31 16:44:28 +0000 |
commit | a3ad61d874b0cf122437265d4af9e0c6ee521a48 (patch) | |
tree | dd8e29a4574342567021b523feb4d9c8dd13367d /llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp | |
parent | 3e66070a0421cb288db8f1f7cb86b370399bc525 (diff) | |
download | bcm5719-llvm-a3ad61d874b0cf122437265d4af9e0c6ee521a48.tar.gz bcm5719-llvm-a3ad61d874b0cf122437265d4af9e0c6ee521a48.zip |
Exclude more unused functions from release build.
llvm-svn: 309576
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp b/llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp index 2c03538d7e6..f9873903e8a 100644 --- a/llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp +++ b/llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp @@ -170,10 +170,12 @@ namespace { bool convertToProperty(); }; +#ifndef NDEBUG raw_ostream &operator<< (raw_ostream &os, const LatticeCell &L) { L.print(os); return os; } +#endif class MachineConstEvaluator; @@ -463,6 +465,7 @@ bool LatticeCell::convertToProperty() { return true; } +#ifndef NDEBUG void LatticeCell::print(raw_ostream &os) const { if (isProperty()) { os << "{ "; @@ -500,6 +503,7 @@ void LatticeCell::print(raw_ostream &os) const { } os << " }"; } +#endif // "Meet" operation on two cells. This is the key of the propagation // algorithm. |