ac/nir: set the noalias attribute on input pointers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 24 Jan 2018 22:26:18 +0000 (23:26 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 26 Jan 2018 11:14:28 +0000 (12:14 +0100)
commitb453f38a47d12fb5600472367f0bde2d6a403098
treef81610f1a9faaf0cb9eb3eacb86218932e75740d
parent310d17fcf17bdeb897f12b4577f8faf3abba9e77
ac/nir: set the noalias attribute on input pointers

This attribute is similar to the definition of restrict in
C99 and it might help LLVM.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c