Commit b7e6976b by Hua Committed by Tianqi Chen

[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.
parent 78a0f47b
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment