[LLVMbugs] [Bug 21673] OpenCL vector ternary selection triggers internal error (invalid LLVM IR?)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jul 1 07:04:30 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=21673
Pekka Jääskeläinen <pekka.jaaskelainen at tut.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |pekka.jaaskelainen at tut.fi
Resolution|--- |FIXED
--- Comment #1 from Pekka Jääskeläinen <pekka.jaaskelainen at tut.fi> ---
With LLVM 3.6:
clang -O3 -c foo.cl
foo.cl:5:14: error: vector condition type 'short4' (vector of 4 'short' values)
and result type 'int4' (vector of 4 'int' values) do not have elements of the
same size
return a ? b : c;
^
1 error generated.
--
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/20150701/f0a5cbcd/attachment.html>
More information about the llvm-bugs
mailing list