Skip to content

Commit

Permalink
[TE] Minor bugfix in message_passing.cc (apache#5254)
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikfegade authored and dpankratz committed Apr 24, 2020
1 parent f67af3a commit 3ec9b4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/te/schedule/message_passing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 3ec9b4e

Please sign in to comment.