Re: [Mesa-dev] [PATCH 1/2] radeonsi: Use llvm.amdgcn.mbcnt.* intrinsics instead of llvm.SI.tid

2016-04-16 Thread Marek Olšák
Since llvm.SI.tid is used in several places, it would be better to add a helper function that returns tid. Also Mesa needs to support LLVM 3.6 too. Marek On Sat, Apr 16, 2016 at 4:39 AM, Tom Stellard wrote: > We're trying to move to more of the new style intrinsics

[Mesa-dev] [PATCH 1/2] radeonsi: Use llvm.amdgcn.mbcnt.* intrinsics instead of llvm.SI.tid

2016-04-15 Thread Tom Stellard
We're trying to move to more of the new style intrinsics with include the correct target name, and map directly to ISA instructions. --- src/gallium/drivers/radeonsi/si_shader.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git