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
e9f247b5
Commit
e9f247b5
authored
Jun 27, 2022
by
Ted Themistokleous
Browse files
fixup! Initial algebraic simplification for x*1
parent
bb6c647d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
src/simplify_algebra.cpp
src/simplify_algebra.cpp
+1
-7
No files found.
src/simplify_algebra.cpp
View file @
e9f247b5
...
...
@@ -866,13 +866,7 @@ struct find_unit_mult_const
auto
c_in
=
r
.
instructions
[
"x"
];
auto
res
=
args
.
front
();
if
(
args
.
front
()
!=
c_in
)
{
res
=
args
.
back
();
}
m
.
replace_instruction
(
ins
,
res
);
m
.
replace_instruction
(
ins
,
c_in
);
}
};
...
...
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