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

Song, Ruiling ruiling.song at intel.com
Thu Nov 19 21:59:04 PST 2015



> -----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



More information about the Beignet mailing list