[InstCombine] fold clamp to 2 values from min/max intrinsics
The "select" versions of these folds is also missing and can cause infinite loops as shown in: https://llvm.org/PR48900 ...but it seems easier to match these as max/min as a first fix. https://alive2.llvm.org/ce/z/wv-_dT
Loading
Please sign in to comment