diff options
author | Andrew Trick <atrick@apple.com> | 2013-06-15 05:46:47 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-06-15 05:46:47 +0000 |
commit | aaaae516470f20a76950f434695b64c40a44e5de (patch) | |
tree | 76d4e8a83cd18e3f50a35d6a1d2b3d27062c40f5 | |
parent | fa989e7d432d170b3f92cbd87e2610b03babaea7 (diff) | |
download | llvm-aaaae516470f20a76950f434695b64c40a44e5de.tar.gz llvm-aaaae516470f20a76950f434695b64c40a44e5de.tar.bz2 llvm-aaaae516470f20a76950f434695b64c40a44e5de.tar.xz |
Missing NDEBUGs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184039 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/MachineScheduler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp index 3f68caf228..aa3cc8fc38 100644 --- a/lib/CodeGen/MachineScheduler.cpp +++ b/lib/CodeGen/MachineScheduler.cpp @@ -1309,11 +1309,13 @@ public: return Available.getID() == ConvergingScheduler::TopQID; } +#ifndef NDEBUG const char *getResourceName(unsigned PIdx) { if (!PIdx) return "MOps"; return SchedModel->getProcResource(PIdx)->Name; } +#endif /// Get the number of latency cycles "covered" by the scheduled /// instructions. This is the larger of the critical path within the zone @@ -1370,7 +1372,9 @@ public: SUnit *pickOnlyChoice(); +#ifndef NDEBUG void dumpScheduledState(); +#endif }; private: @@ -1936,6 +1940,7 @@ SUnit *ConvergingScheduler::SchedBoundary::pickOnlyChoice() { return NULL; } +#ifndef NDEBUG // This is useful information to dump after bumpNode. // Note that the Queue contents are more useful before pickNodeFromQueue. void ConvergingScheduler::SchedBoundary::dumpScheduledState() { @@ -1959,6 +1964,7 @@ void ConvergingScheduler::SchedBoundary::dumpScheduledState() { << (IsResourceLimited ? " - Resource" : " - Latency") << " limited.\n"; } +#endif void ConvergingScheduler::SchedCandidate:: initResourceDelta(const ScheduleDAGMI *DAG, |