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.
Loading
Please sign in to comment