From d6d9dd647f6194be8da274420aba3fd5014f994f Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Tue, 27 Sep 2011 21:59:16 +0000 Subject: [PATCH] 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 --- lib/CodeGen/ScoreboardHazardRecognizer.cpp | 1 - 1 file changed, 1 deletion(-) 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