[Beignet] [OCL20 PATCH V2] GBE:Add LLVM3.8 support

Yang, Rong R rong.r.yang at intel.com
Thu Nov 19 23:17:31 PST 2015


Pushed.

> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Song, Ruiling
> Sent: Friday, November 20, 2015 13:59
> To: Pan, Xiuli; beignet at lists.freedesktop.org
> Cc: Pan, Xiuli
> Subject: Re: [Beignet] [OCL20 PATCH V2] GBE:Add LLVM3.8 support
> 
> 
> 
> > -----Original Message-----
> > From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf
> > Of Pan Xiuli
> > Sent: Wednesday, November 18, 2015 5:28 PM
> > To: beignet at lists.freedesktop.org
> > Cc: Pan, Xiuli <xiuli.pan at intel.com>
> > Subject: [Beignet] [OCL20 PATCH V2] GBE:Add LLVM3.8 support
> >
> > LLVM3.8 does not support iterator implicit cast to pointer, so add
> > change type for these uses. And due to the refine of ScalarEvolution,
> > the using namespace llvm::legacy is not enough to tell comilper which
> > PassManager to use, refine the PassManager declaration.
> > Now CallInst::hasStructRetAttr() will assert if there is no argments,
> > don't know if it is a llvm bug or our fault, just workaround it now.
> It looks like llvm bug. The workaround is OK for me.
> And the patch LG.
> 
> Thanks!
> Ruiling
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list