Re: [Mesa-dev] [PATCH] swr: don't use AttributeSet with llvm >= 5

2017-05-15 Thread Cherniak, Bruce
Reviewed-by: Bruce Cherniak > On May 11, 2017, at 12:59 PM, Tim Rowley wrote: > > This change fixes the build break with llvm-svn. > > r301981 of llvm-svn made add/remove of function attributes > use AttrBuilder instead of AttributeList. > > Tested with llvm-3.9, llvm-4.0, llvm-svn. > --- >

[Mesa-dev] [PATCH] swr: don't use AttributeSet with llvm >= 5

2017-05-11 Thread Tim Rowley
This change fixes the build break with llvm-svn. r301981 of llvm-svn made add/remove of function attributes use AttrBuilder instead of AttributeList. Tested with llvm-3.9, llvm-4.0, llvm-svn. --- src/gallium/drivers/swr/swr_shader.cpp | 36 -- 1 file changed, 21 i