Commit 4b7210e1 authored by Ted Themistokleous's avatar Ted Themistokleous
Browse files

fixup! fixup! Simplify algebra for 0*x, x*0 and 0/x operations

parent d6764b7d
......@@ -857,12 +857,8 @@ struct find_zero_div_const
void apply [[noreturn]] (const module& m, const match::matcher_result& r) const
{
// if(enabled(MIGRAPHX_TRACE_MATCHES{}))
//{
// m.debug_print();
// std::cout << "ERROR:DIV_BY_ZERO: ";
// m.debug_print(r.result);
//}
(void)m;
(void)r;
MIGRAPHX_THROW("ERROR: Matched division by zero in pass");
}
};
......
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