libclc: Make all built-ins overloadableThe SPIR spec states that all OpenCL built-in functions should beoverloadable and mangled, to ensure consistency.Add the overload attribute to functions wh
libclc: Make all built-ins overloadableThe SPIR spec states that all OpenCL built-in functions should beoverloadable and mangled, to ensure consistency.Add the overload attribute to functions which were missing them:work dimensions, memory barriers and fences, and events.Reviewed By: tstellar, jenataliDifferential Revision: https://reviews.llvm.org/D82078
show more ...
r600: Convert barrier to clcSigned-off-by: Jan Vesely <[email protected]>Reviewer: Aaron Watryllvm-svn: 346078
r600: Update datalayout after LLVM r328656Signed-off-by: Jan Vesely <[email protected]>Reviewed-by: Aaron Watry <[email protected]>llvm-svn: 329291
r600: Fix datalayout after clang r324101r324101 switched around AS numberingAcked-by: Aaron Watry <[email protected]>Signed-off-by: Jan Vesely <[email protected]>llvm-svn: 325864
r600: Add missing datalayout to .ll filesSigned-off-by: Jan Vesely <[email protected]>Acked-by: Aaron Watry <[email protected]>llvm-svn: 316238
r600: Cleanup barrier implementation.We don't have memory fences for r600 so just call group barrier directlyMake sure that barrier is called even with 0 flagsSigned-off-by: Jan Vesely <jan.vese
r600: Cleanup barrier implementation.We don't have memory fences for r600 so just call group barrier directlyMake sure that barrier is called even with 0 flagsSigned-off-by: Jan Vesely <[email protected]>Reviewed-by: Aaron Watry <[email protected]>llvm-svn: 312492
R600: Use new barrier intrinsicllvm-svn: 275874
Split sources for amdgcn and r600Most files remain in a common amdgpu directory.Also switches barriers to to use convergent,and use llvm.amdgcn.s.barrier.This now requires 3.9/trunk to build a
Split sources for amdgcn and r600Most files remain in a common amdgpu directory.Also switches barriers to to use convergent,and use llvm.amdgcn.s.barrier.This now requires 3.9/trunk to build amdgcn.llvm-svn: 260777
R600: Set the noduplicate attribute on barrier() intrinsicsThis will prevent LLVM optimization passes from creating illegal usesof the barrier() intrinsic (e.g. calling barrier() from a conditiona
R600: Set the noduplicate attribute on barrier() intrinsicsThis will prevent LLVM optimization passes from creating illegal usesof the barrier() intrinsic (e.g. calling barrier() from a conditionalthat is not executed by all threads).llvm-svn: 193753
Implement barrier() builtinReviewed and Tested-by: Aaron Watry <[email protected]>llvm-svn: 185837