projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a leak I noticed while reviewing the accelerator table changes. Passes
[oota-llvm.git]
/
lib
/
CodeGen
/
ScoreboardHazardRecognizer.cpp
diff --git
a/lib/CodeGen/ScoreboardHazardRecognizer.cpp
b/lib/CodeGen/ScoreboardHazardRecognizer.cpp
index 0e005d35189db0a08918ed7eb4d4c5c7545e6959..b80c01ed58b97dc297f3a4cf69ea7ee1ec7b67e1 100644
(file)
--- 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