[LLVMbugs] [Bug 15977] illegal results with a vector select case

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 22 00:45:56 PDT 2013


Pekka Jääskeläinen <pekka.jaaskelainen at tut.fi> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #9 from Pekka Jääskeläinen <pekka.jaaskelainen at tut.fi> ---
This fixed it for uint vectors, thanks. Unfortunately, seemingly similar issue
remains with longs (https://bugs.launchpad.net/pocl/+bug/1179208). 

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

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130522/6993155c/attachment.html>

More information about the llvm-bugs mailing list