<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:pekka.jaaskelainen@tut.fi" title="Pekka Jääskeläinen <pekka.jaaskelainen@tut.fi>"> <span class="fn">Pekka Jääskeläinen</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - illegal results with a vector select case"
href="http://llvm.org/bugs/show_bug.cgi?id=15977">bug 15977</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - illegal results with a vector select case"
href="http://llvm.org/bugs/show_bug.cgi?id=15977#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - illegal results with a vector select case"
href="http://llvm.org/bugs/show_bug.cgi?id=15977">bug 15977</a>
from <span class="vcard"><a class="email" href="mailto:pekka.jaaskelainen@tut.fi" title="Pekka Jääskeläinen <pekka.jaaskelainen@tut.fi>"> <span class="fn">Pekka Jääskeläinen</span></a>
</span></b>
<pre>This fixed it for uint vectors, thanks. Unfortunately, seemingly similar issue
remains with longs (<a href="https://bugs.launchpad.net/pocl/+bug/1179208">https://bugs.launchpad.net/pocl/+bug/1179208</a>).
As it's so similar to this one, I reopen this bug report and just attach a new
test case to reproduce it.
clang parallel2.cl -o par && ./par
max(a,b)[0] want=ffffffff got=0
min(a,b)[0] want=0 got=ffffffff
clang parallel2.cl -emit-llvm -c -o parallel.bc && llc parallel.bc -o
parallel.s && clang parallel.s -o par && ./par</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>