Unverified Commit 00a84813 by Pratik Fegade Committed by GitHub

[TE] Minor bugfix in message_passing.cc (#5254)

parent 00b23049
......@@ -425,9 +425,9 @@ void PassUpBitMaskOr(const Stage& stage,
continue;
}
int res = 0;
if (!state.count(s->parent)) res |= state[s->parent];
if (!state.count(s->inner)) res |= state[s->inner];
if (!state.count(s->outer)) res |= state[s->outer];
if (state.count(s->parent)) res |= state[s->parent];
if (state.count(s->inner)) res |= state[s->inner];
if (state.count(s->outer)) res |= state[s->outer];
state[s->parent] = res;
} else if (const FuseNode* s = rel.as<FuseNode>()) {
if (!state.count(s->fused)) {
......
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