<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 shl and srl for v2i64"
href="https://bugs.llvm.org/show_bug.cgi?id=34855">34855</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot select shl and srl for v2i64
</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>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: X86
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>babokin@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>clang trunk rev314936, x86_64.
<span class="quote">> cat f1.cpp</span >
typedef int a __attribute__((ext_vector_type(2)));
a b, c, d, e = b << (c & 0) * 3 * (d * (4294950912 ^ 6));
<span class="quote">> clang++ -w -O0 -c f1.cpp</span >
fatal error: error in backend: Cannot select: t79: v2i64 = shl t115, t94
<...>
<span class="quote">> cat f2.cpp</span >
typedef int a __attribute__((ext_vector_type(2)));
a b, c, d = b >> 3 * (4294959106 * (0 * c));
<span class="quote">> clang++ -w -O0 -c f2.cpp</span >
fatal error: error in backend: Cannot select: t121: v2i64 = srl t120, t90
<...></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>