[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:
Hua 2019-05-20 10:01:49 -07:00 коммит произвёл Tianqi Chen
Родитель 78a0f47b7e
Коммит b7e6976b17
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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) {