From: Cameron Zwarich Date: Tue, 27 Sep 2011 21:59:16 +0000 (+0000) Subject: Remove an invalid assert that is really just asserting when the scheduler emits X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d6d9dd647f6194be8da274420aba3fd5014f994f;p=oota-llvm.git Remove an invalid assert that is really just asserting when the scheduler emits a suboptimal schedule. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140643 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/ScoreboardHazardRecognizer.cpp b/lib/CodeGen/ScoreboardHazardRecognizer.cpp index 0e005d35189..b80c01ed58b 100644 --- a/lib/CodeGen/ScoreboardHazardRecognizer.cpp +++ b/lib/CodeGen/ScoreboardHazardRecognizer.cpp @@ -213,7 +213,6 @@ void ScoreboardHazardRecognizer::EmitInstruction(SUnit *SU) { freeUnits = freeUnit & (freeUnit - 1); } while (freeUnits); - assert(freeUnit && "No function unit available!"); if (IS->getReservationKind() == InstrStage::Required) RequiredScoreboard[cycle + i] |= freeUnit; else