[InstCombine] move abs transform to helper function; NFC
The swap of the operands can affect later transforms that are expecting a constant as operand 1. I don't think we can trigger a bug with the current code, but I hit that problem while drafting a new transform for min/max intrinsics.
Loading
Please sign in to comment