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
469d0092
Commit
469d0092
authored
Mar 25, 2019
by
Khalique
Browse files
formatting
parent
9f434a2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/eliminate_identity.cpp
src/eliminate_identity.cpp
+1
-1
No files found.
src/eliminate_identity.cpp
View file @
469d0092
...
@@ -30,7 +30,7 @@ void eliminate_identity::apply(program& p) const
...
@@ -30,7 +30,7 @@ void eliminate_identity::apply(program& p) const
{
{
if
(
ins
->
name
()
==
"identity"
)
if
(
ins
->
name
()
==
"identity"
)
{
{
const
instruction_ref
&
identity_input
=
i
->
inputs
().
front
();
const
instruction_ref
&
identity_input
=
i
ns
->
inputs
().
front
();
if
(
identity_input
->
outputs
().
size
()
==
1
)
if
(
identity_input
->
outputs
().
size
()
==
1
)
{
{
p
.
move_instruction
(
identity_input
,
i
);
p
.
move_instruction
(
identity_input
,
i
);
...
...
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