Commit e9f247b5 authored by Ted Themistokleous's avatar Ted Themistokleous
Browse files

fixup! Initial algebraic simplification for x*1

parent bb6c647d
......@@ -866,13 +866,7 @@ struct find_unit_mult_const
auto c_in = r.instructions["x"];
auto res = args.front();
if(args.front() != c_in)
{
res = args.back();
}
m.replace_instruction(ins, res);
m.replace_instruction(ins, c_in);
}
};
......
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