[InstSimplify] Reduce code duplication in icmp of binop folds (NFC)
For folds where we check for the binop on both the LHS and RHS, extract a function that expects it on the LHS and call it with swapped order.
Loading
Please sign in to comment
For folds where we check for the binop on both the LHS and RHS, extract a function that expects it on the LHS and call it with swapped order.