<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 - Cannot select: t10: i64 = AArch64ISD::VSHL t2, Constant:i32<2>"
href="https://bugs.llvm.org/show_bug.cgi?id=50057">50057</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot select: t10: i64 = AArch64ISD::VSHL t2, Constant:i32<2>
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>amanieu@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>$ cat test.ll
define i64 @foo(i64 %0) {
%2 = tail call i64 @llvm.aarch64.neon.ushl.i64(i64 %0, i64 2)
ret i64 %2
}
declare i64 @llvm.aarch64.neon.ushl.i64(i64, i64)
$ llc -march=aarch64 test.ll
LLVM ERROR: Cannot select: t10: i64 = AArch64ISD::VSHL t2, Constant:i32<2>
t2: i64,ch = CopyFromReg t0, Register:i64 %0
t1: i64 = Register %0
t9: i32 = Constant<2>
In function: foo
This IR is produced by calling the vshld_u64 NEON intrinsic from Clang. The
error only happens if the second argument (the shift) is a constant.</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>