<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - ACLE intrinics get compile error after r203229 commit"
href="http://llvm.org/bugs/show_bug.cgi?id=19094">19094</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ACLE intrinics get compile error after r203229 commit
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kevinqindev@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>For below C code,
#include <arm_neon.h>
uint16x8_t test1(uint16x8_t a, uint16x8_t b, uint32_t c) {
return vmlaq_n_u16(a, b, vqrshrns_n_u32(c, 11));
}
Clang generates below error message:
LLVM ERROR: Cannot select: 0x33deb60: v8i16 = AArch64ISD::NEON_VDUP 0x33dd840
[ORD=4] [ID=7]
0x33dd840: i64 = TargetConstant<127> [ID=3]
In function: test1
For another case below,
#include <arm_neon.h>
uint16x8_t test2(uint16x8_t a, uint16x8_t b, uint32_t c) {
return vsubl_high_u16(a, vmlaq_n_u16(a, b, vqrshrns_n_u32(c, 11)));
}
Clang would hit an assert:
/include/llvm/CodeGen/SelectionDAGNodes.h:559: const llvm::SDValue&
llvm::SDNode::getOperand(unsigned int) const: Assertion `Num < NumOperands &&
"Invalid child # of SDNode!"' failed.
If r203229 is reverted, all of them can pass.</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>