https://llvm.org/bugs/show_bug.cgi?id=21673

Pekka Jääskeläinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #1 from Pekka Jääskeläinen <[email protected]> ---
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to