[llvm-commits] [llvm] r140643 - /llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp

Cameron Zwarich zwarich at apple.com
Tue Sep 27 14:59:16 PDT 2011


Author: zwarich
Date: Tue Sep 27 16:59:16 2011
New Revision: 140643

URL: http://llvm.org/viewvc/llvm-project?rev=140643&view=rev
Log:
Remove an invalid assert that is really just asserting when the scheduler emits
a suboptimal schedule.

Modified:
    llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp

Modified: llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp?rev=140643&r1=140642&r2=140643&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp (original)
+++ llvm/trunk/lib/CodeGen/ScoreboardHazardRecognizer.cpp Tue Sep 27 16:59:16 2011
@@ -213,7 +213,6 @@
         freeUnits = freeUnit & (freeUnit - 1);
       } while (freeUnits);
 
-      assert(freeUnit && "No function unit available!");
       if (IS->getReservationKind() == InstrStage::Required)
         RequiredScoreboard[cycle + i] |= freeUnit;
       else





More information about the llvm-commits mailing list