Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
4b7210e1
Commit
4b7210e1
authored
Jun 30, 2022
by
Ted Themistokleous
Browse files
fixup! fixup! Simplify algebra for 0*x, x*0 and 0/x operations
parent
d6764b7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
src/simplify_algebra.cpp
src/simplify_algebra.cpp
+2
-6
No files found.
src/simplify_algebra.cpp
View file @
4b7210e1
...
@@ -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"
);
}
}
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment