"test/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "4b7a267aae560905508fe6d50c1fff3e5a91bfc4"
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 ...@@ -857,12 +857,8 @@ struct find_zero_div_const
void apply [[noreturn]] (const module& m, const match::matcher_result& r) const void apply [[noreturn]] (const module& m, const match::matcher_result& r) const
{ {
// if(enabled(MIGRAPHX_TRACE_MATCHES{})) (void)m;
//{ (void)r;
// m.debug_print();
// std::cout << "ERROR:DIV_BY_ZERO: ";
// m.debug_print(r.result);
//}
MIGRAPHX_THROW("ERROR: Matched division by zero in pass"); 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