If a target uses branches to implement i1 and/or ops, then the order of the and/or operands determines the branch order. Before this change, the reassociate pass would change the operand order according to its ranking algorithm, which does not take into account branch predictability or original user order.
Details
Details
Diff Detail
Diff Detail