summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-06-15 05:46:47 +0000
committerAndrew Trick <atrick@apple.com>2013-06-15 05:46:47 +0000
commit8e8415f5ab255b051f15d24b60f80d83ffef6753 (patch)
treecf16167cb208d37ec160803d6bac32fc72ca6228 /llvm/lib
parentf78e7fa140a3ca9760db269f029ff1d71e00457a (diff)
downloadbcm5719-llvm-8e8415f5ab255b051f15d24b60f80d83ffef6753.tar.gz
bcm5719-llvm-8e8415f5ab255b051f15d24b60f80d83ffef6753.zip
Missing NDEBUGs.
llvm-svn: 184039
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/MachineScheduler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index 3f68caf2284..aa3cc8fc387 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/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,
OpenPOWER on IntegriCloud