[Mesa-dev] [PATCH 00/24] RadeonSI moving away from legacy intrinsics & more

Marek Olšák maraeo at gmail.com
Sat Feb 25 23:57:58 UTC 2017


Hi,

This series depends on the patch adding attributes at call sites:
https://patchwork.freedesktop.org/series/20100/

The only legacy intrinsics still in use are:
- llvm.SI.load.const
- llvm.SI.tbuffer.store (when ADD_TID = 1)
- llvm.AMDGPU.kill
- llvm.AMDGPU.kilp

A lot of the code that builds LLVM intrinsics is moved from radeonsi
to ac_llvm_build.c.

This series also makes use of callsite attributes. It uses readnone for
loads from read-only memory, and inaccessiblememonly for stores to
write-only memory, taking into account the GLSL restrict modifier, and
when read-only memory is implied by the lack of stores in a shader, and
when write-only memory is implied by the lack of loads. It also sets
noalias on descriptor arrays. There is not much difference in shader-db
from these changes.

Lastly, TC L2 is enabled for tessellation offchip stores. It should have
been enabled from the beginning, but it wasn't.

Please review.

Marek


More information about the mesa-dev mailing list