Re: [Mesa-dev] [PATCH] gallivm: don't use pavg.b intrinsic on llvm >= 6.0

2018-12-21 Thread Michel Dänzer
On 2018-12-21 1:25 a.m., srol...@vmware.com wrote: > From: Roland Scheidegger > > This intrinsic disppeared with llvm 6.0, using it ends up in segfaults > (due to llvm issuing call to NULL address in the jited shaders). > Add code doing the same thing as the autoupgrade code in llvm so it > can b

Re: [Mesa-dev] [PATCH] gallivm: don't use pavg.b intrinsic on llvm >= 6.0

2018-12-20 Thread Jose Fonseca
On 21/12/2018 00:25, srol...@vmware.com wrote: From: Roland Scheidegger This intrinsic disppeared with llvm 6.0, using it ends up in segfaults (due to llvm issuing call to NULL address in the jited shaders). Add code doing the same thing as the autoupgrade code in llvm so it can be matched and

[Mesa-dev] [PATCH] gallivm: don't use pavg.b intrinsic on llvm >= 6.0

2018-12-20 Thread sroland
From: Roland Scheidegger This intrinsic disppeared with llvm 6.0, using it ends up in segfaults (due to llvm issuing call to NULL address in the jited shaders). Add code doing the same thing as the autoupgrade code in llvm so it can be matched and replaced back with a pavgb. While here, also imp