<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Assertion failed: (!Res && "Call operand has unhandled type"), function LowerFormalArguments, file llvm/lib/Target/AArch64/AArch64ISelLowering.cpp, line 4841."
href="https://bugs.llvm.org/show_bug.cgi?id=50407">50407</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failed: (!Res && "Call operand has unhandled type"), function LowerFormalArguments, file llvm/lib/Target/AArch64/AArch64ISelLowering.cpp, line 4841.
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>12.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: AArch64
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nikita.shulga@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>arnaud.degrandmaison@arm.com, llvm-bugs@lists.llvm.org, smithp352@googlemail.com, Ties.Stuij@arm.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=24875" name="attach_24875" title="bugpoint simplified repro .bc">attachment 24875</a> <a href="attachment.cgi?id=24875&action=edit" title="bugpoint simplified repro .bc">[details]</a></span>
bugpoint simplified repro .bc
Noticed that clang-1205.0.22.9 crashes while compiling following snippet
(reduced repro from sleefsimdsp.c):
```
#include <arm_sve.h>
svint32_t vreinterpret_vi2_vf(svfloat32_t vf) {
return __builtin_sve_reinterpret_s32_f32(vf);
}
```
Crash also reproduces in trunk and using bugpoint can be reduced to (attached):
```
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "bar.cpp"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
target triple = "arm64-apple-macosx11.0.0"
define <vscale x 4 x i32> @_Z19vreinterpret_vi2_vfu13__SVFloat32_t(<vscale x 4
x float> %vf) #0 {
entry:
ret <vscale x 4 x i32> zeroinitializer
}
attributes #0 = { "target-features"="+neon,+sve,+zcm,+zcz" }
!llvm.ident = !{!0}
!0 = !{!"clang version 13.0.0 (<a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>
29a50c5864ddab283c1ff38694fb5926ce37b39a)"}
```</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>