<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64205>64205</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[arm] Do not know how to soften llvm.{min,max}imum.{f32,f64} result
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Urgau
</td>
</tr>
</table>
<pre>
It seems that none of these intrinsics are currently working on arm (but DO WORK on armv7 and aarch64):
- llvm.minimum.f32
- llvm.minimum.f64
- llvm.maximum.f32
- llvm.maximum.f64
Error output [\[godbolt\]](https://godbolt.org/z/vj1qcdccr):
```
LLVM ERROR: Do not know how to soften the result of this operator!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /opt/compiler-explorer/clang-trunk/bin/llc -o /app/output.s -x86-asm-syntax=intel <source>
1. Running pass 'Function Pass Manager' on module '<source>'.
2. Running pass 'ARM Instruction Selection' on function '@_ZN1a4test17hb60f9f6975710eeaE'
```
Similar to https://github.com/llvm/llvm-project/issues/53353 which was for x86_64
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykVMtu6zYTfhp6M7AhUTdroUUSW8DBn_wJHLQFujmgKEriMS_qkIydPn1BWWmRIuiiBQhKHMx8882VOSdHI0RDintSHDYs-Mli8xOOLGw627833zw4IbQDPzEPxhoBdgA_CSdAGo_SOMkdMBTAA6IwXr3DxeJZmhGsAYYaCN13wcPhGX55Pv1vlb5VwEwPjCGfypzQmmR3JDmQZL23oNSb3mlppA56N2T0a3mZf5az69f6H_IP_dt9RLQINvg5eFiS8ECK-9H2nVV-eRziofvJ-9lFirQltF0VdhZHQtvfCW3ffqS_8Z5z_BRJmaxneT4-_vwEx9Pp-USyOzhYMNbD2dgLTPYC3oKzgxcmZhdQuKD8LdfSgZ0FMm-R0PSG9fJ4vHs9ggudlh4YdGEEFLNFH4H-xlb6KXQ7bjWhbczG-tnOaH8I7gltpXNBOELbpSjScBV6sRDhyNwEHeNnj4yL3c39q2f8DH3Q85_BJjuS1C9oR2QaGI5BC-MjCSC0tXP0wq2epRK4FddZWRQYZYqZcesxmDOhbSfNQo7D1kY7Ns_ReqnPzsH2ui-3zOmtezeeXUl2kMYLBSR7cDYgFyQ73tikkc0pGBP7cGbOAaFVGwz30hp4iYInZtgYOVSxJbXtgxJR6xMYrdaI6VeAd6cn-Gacx3DDfRVKLH8r6PDhMMLmyfdf_5-y3Avn02rqymSoh7KuiipNhGDR15dts2ZcaqkY_rfqFllWZHCZJJ_gwhwMFuG6L7-X-aZvsr7OarYRTVrWSVGW-b7YTE2VZiKvOy5o0fd5IZgY8ozXXZJyltT7eiMbmtAsqeg-rfJ9UuwGVlYDz7J9nVdFlWQkT4RmUu2WQbQ4bhY-TZnTpNgo1gnlPhYQNgv1LoyO5ImSzru_zLz0allVDDUpDv8wQYsJqe51bKcHza6kOizjT6r7uBnoQ9wD1WEds01A1fz7rC6B_BEAAP__Bperlg">