Skip to content

Commit

Permalink
add and
Browse files Browse the repository at this point in the history
  • Loading branch information
k-ye committed Jan 16, 2020
1 parent df077c2 commit e9a8b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taichi/transforms/simplify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ class BasicBlockSimplify : public IRVisitor {
clause[i]->is<LocalStoreStmt>() || !has_side_effects) {
// This stmt can be kept.
} else if (clause[i]->is<AtomicOpStmt>()) {
plain_clause = !is_atomic_value_used(clause, i);
plain_clause = plain_clause && !is_atomic_value_used(clause, i);
} else {
plain_clause = false;
}
Expand Down

0 comments on commit e9a8b9e

Please sign in to comment.