Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy committed Jul 13, 2020
1 parent 065b4f6 commit 2fb1e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arith/rewrite_simplify.cc
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ PrimExpr RewriteSimplifier::Impl::VisitExpr_(const MulNode* op) {
TVM_TRY_REWRITE(ramp(b1, s1, lanes) * broadcast(x, lanes), ramp(b1 * x, s1 * x, lanes));
TVM_TRY_REWRITE(broadcast(x, lanes) * ramp(b1, s1, lanes), ramp(b1 * x, s1 * x, lanes));
TVM_TRY_REWRITE_IF(broadcast(c3, lanes) * x, broadcast(c3, lanes),
BaseValueEqual()(c3.Eval()->value, 0.0f));
BaseValueEqual()(c3.Eval()->value, 0.0f));
}

if (IsIndexType(op->dtype)) {
Expand Down

0 comments on commit 2fb1e5a

Please sign in to comment.