[InstCombine] add helper function for sub-of-min/max folds; NFC
The test diffs are cosmetic -- but improvements -- because we let instcombine handle replacement. Instead of dropping the old value name, it propagates to the new instruction.
Loading
Please sign in to comment