diff options
author | Andrew Trick <atrick@apple.com> | 2014-06-27 05:09:36 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2014-06-27 05:09:36 +0000 |
commit | 040c0da57830c5bb0a99be4eb1c2a97d38c78be0 (patch) | |
tree | b5111616187b2483146562608e82c511003d9d32 | |
parent | 4b68a05f3d29036a3bfe778255cffcd983349a13 (diff) | |
download | bcm5719-llvm-040c0da57830c5bb0a99be4eb1c2a97d38c78be0.tar.gz bcm5719-llvm-040c0da57830c5bb0a99be4eb1c2a97d38c78be0.zip |
Left out the NDEBUG in the previous checkin.
llvm-svn: 211867
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index b37f689689f..836533056cb 100644 --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/lib/CodeGen/MachineScheduler.cpp @@ -1689,7 +1689,9 @@ bool SchedBoundary::checkHazard(SUnit *SU) { PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { unsigned NRCycle = getNextResourceCycle(PI->ProcResourceIdx, PI->Cycles); if (NRCycle > CurrCycle) { +#ifndef NDEBUG MaxObservedStall = std::max(NRCycle - CurrCycle, MaxObservedStall); +#endif DEBUG(dbgs() << " SU(" << SU->NodeNum << ") " << SchedModel->getResourceName(PI->ProcResourceIdx) << "=" << NRCycle << "c\n"); |