diff --git a/vta/src/runtime.cc b/vta/src/runtime.cc index 9c8de1aaae5e..7af0de1a8f8b 100644 --- a/vta/src/runtime.cc +++ b/vta/src/runtime.cc @@ -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) {