Commit 5e60e66b authored by Khalique's avatar Khalique
Browse files

formatting

parent d47fdea4
......@@ -19,11 +19,12 @@ void eliminate_identity::apply(program& p) const
// replace with the input of the respective identity
for(instruction_ref& input : new_ins_inputs)
{
if (input->name() == "identity"){
if(input->name() == "identity")
{
input = input->inputs().at(0);
}
}
if (new_ins_inputs != ins->inputs())
if(new_ins_inputs != ins->inputs())
p.replace_instruction(ins, ins->get_operator(), new_ins_inputs);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment