[InstSimplify] Bail out early in simplifyICmpWithMinMax (NFC) (#234568)
All folds in simplifyICmpWithMinMax need at least one operand to be a
min/max. Bail out early to avoid wasting time on matching a number of
patterns.
stage1-O3: -0.05%
stage1-ReleaseThinLTO: -0.07%
stage1-ReleaseLTO-g: -0.04%
stage1-aarch64-O3: -0.05%
stage2-O3: -0.03%
stage2-clang: -0.04%
https://llvm-compile-time-tracker.com/compare.php?from=0668b6d3de48f173990d733f5a177fd88dc12b0d&to=035408799a27839f5341cd5a756f422b01bb15ff&stat=instructions:u
Aided by Opus 5.5
PR: https://github.com/llvm/llvm-project/pull/234568