Jan Vesely
faa1ff16c1
amdgcn: Use __constant AS for amdgcn builtins.
...
Fixes build after clang r338707.
Reviewer: Matthew.Arsenault@amd.com
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 338898
2018-08-03 15:14:08 +00:00
Jan Vesely
1ad6a94676
amdgcn: Fix build after GDS/const AS swap in r325030
...
Acked-by: Aaron Watry <awatry@gmail.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 325866
2018-02-23 07:37:01 +00:00
Jeroen Ketema
fe9fa89854
Let get_work_dim take exactly 0 arguments
...
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 314634
2017-10-01 20:11:46 +00:00
Jan Vesely
74f02db922
AMDGPU: Use clang intrinsics for workitem builtins
...
v2: split into 2 patches
use clang builtins for other intrinsics as well
v3: Fix warnings
Switch r600 to use implictarg.ptr
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 276442
2016-07-22 17:24:20 +00:00