"ts/webui/vscode:/vscode.git/clone" did not exist on "7978c25a3f9ebc94a979ccec47b4fdc46099a5be"
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) ...@@ -105,15 +105,7 @@ static void remove_contiguous(const std::string& op_name, module& m, F f)
} }
else if(prev->can_eval()) else if(prev->can_eval())
{ {
replace(new_args, arg, prev); const_instructions.push_back(arg);
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);
}
} }
} }
} }
......
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