[BugFix][VTA] Fix bug in vta runtime DepPop function. (#3208)
Issue: One of existing illegal dependency check's condition always true, the correct logic actually should be such check for store and load. Solution: Fix the said logic issue.
This commit is contained in:
Родитель
78a0f47b7e
Коммит
b7e6976b17
|
@ -514,7 +514,7 @@ class InsnQueue : public BaseQueue {
|
|||
}
|
||||
// Impossible condition
|
||||
CHECK(from != kLoadStage || to != kStoreStage);
|
||||
CHECK(to != kLoadStage || to != kComputeStage);
|
||||
CHECK(from != kStoreStage || to != kLoadStage);
|
||||
}
|
||||
// Insert dependency push of load
|
||||
void DepPush(int from, int to) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче