Skip to content
Commit 90d825be authored by Nikita Popov's avatar Nikita Popov
Browse files

Reapply [ConstantFold] Avoid creation of undesirable binop

This was reverted together with another commit due to a test
conflict. Reapply without functional changes.

-----

When commuting the operands, don't create a constant expression
for undesirable binops. Only invoke the constant folding function
in that case.
parent 47ba908a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment