LGTM, will push it latter. Thanks.
On Wed, Jan 15, 2014 at 04:31:06PM +0800, Yang Rong wrote: > We found clang wound emit llvm.memcpy when assign a stuct to another, > if sizeof(struct) > 64. Add a assignment to produce llvm.memcpy. > > Signed-off-by: Yang Rong <rong.r.y...@intel.com> > --- > kernels/compiler_function_argument3.cl | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/kernels/compiler_function_argument3.cl > b/kernels/compiler_function_argument3.cl > index 4df2816..9395cd7 100644 > --- a/kernels/compiler_function_argument3.cl > +++ b/kernels/compiler_function_argument3.cl > @@ -66,4 +66,6 @@ struct sfloat8 f, __global struct sfloat8 *result) > result[5].f = 12.0f; > result[5].g = 12.0f; > result[5].h = f.a + f.h; > + > + result[6] = result[0]; > } > -- > 1.8.3.2 > > _______________________________________________ > Beignet mailing list > Beignet@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/beignet