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
281532ab
"vscode:/vscode.git/clone" did not exist on "0a11ce605a92b558a720c81fae04ed2e2c0aafbb"
Commit
281532ab
authored
Mar 13, 2019
by
Khalique
Browse files
formatting
parent
71d4f4c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/eliminate_identity.cpp
src/eliminate_identity.cpp
+1
-2
No files found.
src/eliminate_identity.cpp
View file @
281532ab
...
...
@@ -10,7 +10,6 @@
namespace
migraphx
{
inline
namespace
MIGRAPHX_INLINE_NS
{
void
eliminate_identity
::
apply
(
program
&
p
)
const
{
for
(
auto
ins
:
iterator_for
(
p
))
...
...
@@ -22,7 +21,7 @@ void eliminate_identity::apply(program& p) const
instruction_ref
identity_input
{
ins
->
inputs
().
at
(
0
)};
auto
next_ins
=
std
::
next
(
ins
);
std
::
vector
<
instruction_ref
>
next_ins_inputs
{
next_ins
->
inputs
()};
for
(
auto
&
input
:
next_ins_inputs
)
for
(
auto
&
input
:
next_ins_inputs
)
{
if
(
input
==
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