<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64940>64940</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Missing `fminimum/fmaximum` vp reduction intrinsics
</td>
</tr>
<tr>
<th>Labels</th>
<td>
bug,
vectorization
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dcaballe
</td>
</tr>
</table>
<pre>
[‘llvm.vector.reduce.fminimum.*’](https://llvm.org/docs/LangRef.html#id2093) and [‘llvm.vector.reduce.fmaximum.*’](https://llvm.org/docs/LangRef.html#id2092) have been recently added to the IR. However, there is no masked variant for them. It would be great if they could be added.
(Nit: there is also certain inconsistency with the naming of the scalar and vector reduction non-NaN propagating intrinsics. [‘llvm.minnum.*’](https://llvm.org/docs/LangRef.html#llvm-minnum-intrinsic) and [‘llvm.maxnum.*’](https://llvm.org/docs/LangRef.html#llvm-maxnum-intrinsic) are used for the scalar ones and `fmin`/`fmax` suffixed are used for both the predicated and non-predicated vector reduction versions. We should consider renaming them all to `minnum`/`maxnum` or `fmin`/`fmax`.)
CC: @simoll, @rofirrim, @topperc, @unterumarmung
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVE1z4zYM_TXUBRMNTVmKddAhTerpzrQ57KVniIQktPzwkJST9Nd3KNubbHd2esnFHoIgHvDeEzAlnj3RINpfRPtU4ZqXEAejcURrqRqDedvuflXiIEV_sPbs6jPpHGIdyaya6smxZ7e6WqiHW14v2iehDkvOpySaB6GOQh23tyHOQh1N0Emo4-_o56801Ut2VqiGjZJ9I1QP6A38Lyy-fiKsKrALnglGIg-RNPls3wCNIQM5QF4Ivnyt4bfwQmeKQj2WUCTgBD6Aw_Q3GThjZPQZphDLtavhS4aXsFoDI8EcCTPwVK7eQN_CG0Yt5JOQD9dfdXjmLJqHdwy0KYCmmJE9sNfBJ06ZvH6DF87L1p9Hx36GsAFA0mgxblxeqIONuszBgw_-7hmf4RTDCWfM5Rn7HNkn1qn-kXzH3n8G2SXh7lLs7hvgTyV3-PqJqFux_6BGgjWRuQl2Iy14SpeWOlkMLjpZoMoBX0UnIa3TxK9kvq8whqsSp0iGNeaS4M1G94fQD3KcKSYOPtXwJ0FaNmNsChsqaVddi6EArS12FJ28sPits8t4pbcQf9Z2LVT_0WePj8VjYi8Tu2BtMbXYyxgmjpHd9ZjD6URRX0-rzxRXh9GtfobKDI3pmx4rGnZdrw7qvm1ktQz9eI_jrtkdDt10L2XXKpK6bcdJjnLa77DiQUnVyINq1K5VO1ljr5Wk_ShJY9f0KPaSHLKtb-pWnNJKQ7fv97KyOJJN225SalxnoZRQj0KpC7f8DxZiS7R9quKwGWBc5yT20nLK6b1q5mxp-INTKhxfiSubRajjbckUVs-nD4K9fyvVGu3wvR1nzss61jq4qzevf3enGP4inYU6bqMUo27T_BsAAP__pT_ITw">