Commit 4ddaf83e authored by Paul's avatar Paul
Browse files

Fix copy-paste

parent 8e832756
......@@ -105,15 +105,7 @@ static void remove_contiguous(const std::string& op_name, module& m, F f)
}
else if(prev->can_eval())
{
replace(new_args, arg, prev);
if(try_compute_shape(ins, new_args, mod_args))
{
instruction::replace_argument(ins, arg, prev);
}
else if(prev->can_eval())
{
const_instructions.push_back(arg);
}
const_instructions.push_back(arg);
}
}
}
......
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