<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/84088>84088</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[flang] COMPLEX(16) parameters/returns are not supported for aarch64
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang,
flang:codegen
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
vzakhari
</td>
</tr>
</table>
<pre>
`test-suite::gfortran-regression-compile-regression__pr36006-2_f90.test` started failing after https://github.com/llvm/llvm-project/pull/83874
It used to report `not yet implemented: no math runtime available for 'EXP(COMPLEX(KIND=16))'`, but this was not considered as failure. Now it fails with
```
not yet implemented: complex for this precision for return type
LLVM ERROR: aborting
```
COMPLEX(16) ABI support is needed in https://github.com/llvm/llvm-project/blob/e77a473601314cc7e7aa912579982a38326d334c/flang/lib/Optimizer/CodeGen/Target.cpp#L730
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU8Fu4zYQ_RrqMrBBD2VROujgjaMiaHazCIpibwEljiW2lCiQo6TZry8ku92iaA8BCAocYN68N0_PpOT6iagWx0_ieM7MwkOI9et38_tgosvaYN9rUUimxLu0OCahTkKd-kuIHM20i9RHSsmFadeFcXae_lF6eZmjKqQsdvhyqeR-RRGFhMQmMlm4GOfd1IO5MEUYmOe0wmMjsOkdD0u778IosPH-9a_Pbo7hN-pYYDMv3gtsSlXqXMizkKfr_cCwJLLAASLNITKIQk6B4Z0Y3Dh7GmliskKdYAowGh4gLhO7kcC8GudN6wkuIYJAff_tq8Dy7unz18f7bwLLnx--nIU6HwqB1Xa0KKTAO2gXBh5cgjeTYJ3WhSk5S5EsmLRpXSLtAb6EN3C8FRK8OR5u3At5O9vzf_iuS_b0x8ZumzZH6ty67K0UiZc4Ab_PdIV5fPz1M9w_Pz89r92mDZHd1P_nxOv9Q-kmEU6fHiAt87ZGl2AismTBTR-3q_WhFdiQ1ibXqpAHdci7TpM2pjrgUVdViUaVCgurVN4JbC7eTP0K5NbGp5nd6L5TFNjcBUs_0SSw-cXEnnjfzbNA9aiVzGytbKUqk1F90LIqdCUlZkN9rGSpc02HqrWFtLasEC-6LLQ8HFqbt5mrUWIulTwiHqXEvdFGkzVFqVSlZKtELmk0zu9XZfsQ-8yltFBd5rIsM29a8mlLEuKNOgq8-_ulTl2w1K-0cQ1brLcNtUufRC69S5x-ILNjv8Xy2ns8w7-dmU00IzHFJLC5Gp_ARNp-vptla8hCBGNiNxR5tkRff9i3TeM6Y5P5ZwAAAP__xh9SwQ">