Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
bf5af8a4
Commit
bf5af8a4
authored
Jul 08, 2019
by
Paul
Browse files
Formatting
parent
18bc53f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/simplify_algebra.cpp
src/simplify_algebra.cpp
+2
-2
No files found.
src/simplify_algebra.cpp
View file @
bf5af8a4
...
...
@@ -71,8 +71,8 @@ struct find_mul_add
auto
x_ins
=
r
.
instructions
[
"x"
];
auto
y_ins
=
r
.
instructions
[
"y"
];
auto
xa_ins
=
p
.
insert_instruction
(
ins
,
op
::
mul
{},
x_ins
,
a_ins
);
auto
ya_ins
=
p
.
insert_instruction
(
ins
,
op
::
mul
{},
y_ins
,
a_ins
);
auto
xa_ins
=
p
.
insert_instruction
(
ins
,
op
::
mul
{},
x_ins
,
a_ins
);
auto
ya_ins
=
p
.
insert_instruction
(
ins
,
op
::
mul
{},
y_ins
,
a_ins
);
p
.
replace_instruction
(
ins
,
op
::
add
{},
xa_ins
,
ya_ins
);
}
};
...
...
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