Hi,

On Tue, Jul 10, 2012 at 2:06 AM, Tanya Lattner <[email protected]> wrote:
> Author: tbrethou
> Date: Mon Jul  9 17:06:01 2012
> New Revision: 159965
>
> URL: http://llvm.org/viewvc/llvm-project?rev=159965&view=rev
> Log:
> Patch by Anton Lokhmotov to add OpenCL work group size attributes.
>
> Added:
>     cfe/trunk/test/CodeGenOpenCL/kernel-attributes.cl
> ...

Unfortunately this test case failed on MIPS platform because
mips-specific part of clang's codegen expands "kernel2(float4 a)"
into:
[[
  @kernel2(i32 %a.coerce0, i32 %a.coerce1, i32 %a.coerce2, i32 %a.coerce3)
]]
not into:
[[
  @kernel2(<4 x float> %a)
]]

The attached patch fixes this problem and the test works correctly on
all platforms. Could you please review the patch?

Thanks.

--
Simon

Attachment: kernel-attr-test.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to