================ @@ -1182,6 +1182,10 @@ SelectPatternResult matchDecomposedSelectPattern( /// minimum/maximum flavor. CmpInst::Predicate getMinMaxPred(SelectPatternFlavor SPF, bool Ordered = false); +/// Convert given `SPF` to equivalent min/max intrinsic. +/// Caller must ensure `SPF` is a min or max pattern. ---------------- dtcxzyw wrote:
```suggestion /// Caller must ensure `SPF` is an integer min or max pattern. ``` https://github.com/llvm/llvm-project/pull/116888 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits