summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
Commit message (Collapse)AuthorAgeFilesLines
* AMDGPU: Handle "uniform-work-group-size" attribute (fix for RADV)Aakanksha Patil2019-03-071-24/+26
| | | | | | | | | | A previous patch for "uniform-work-group-size" attribute was found to break some RADV and possibly radeon SI tests and had to be retracted. This patch fixes that. Differential Revision: http://reviews.llvm.org/D58993 llvm-svn: 355574
* Revert r348971: [AMDGPU] Support for "uniform-work-group-size" attributeAakanksha Patil2018-12-131-26/+24
| | | | | | This patch breaks RADV (and probably RadeonSI as well) llvm-svn: 349084
* [AMDGPU] Support for "uniform-work-group-size" attributeAakanksha Patil2018-12-121-24/+26
| | | | | | | | Updated the annotate-kernel-features pass to support the propagation of uniform-work-group attribute from the kernel to the called functions. Once this pass is run, all kernels, even the ones which initially did not have the attribute, will be able to indicate weather or not they have uniform work group size depending on the value of the attribute. Differential Revision: https://reviews.llvm.org/D50200 llvm-svn: 348971
* AMDGPU: Fix tests using old number for constant address spaceMatt Arsenault2018-09-101-6/+6
| | | | llvm-svn: 341770
* [AMDGPU] Change constant addr space to 4Yaxun Liu2018-02-131-20/+20
| | | | | | Differential Revision: https://reviews.llvm.org/D43170 llvm-svn: 325030
* AMDGPU: Annotate implicitarg.ptr usageMatt Arsenault2017-07-281-11/+19
| | | | | | | | | | | We need to pass something to functions for this to work. It isn't derivable just from the kernarg segment pointer because the implicit arguments are placed after the kernel arguments. Also fixes missing test for the intrinsic. llvm-svn: 309398
* AMDGPU: Annotate necessity of flat-scratch-initMatt Arsenault2017-07-181-0/+41
| | | | | | | | As an approximation of the existing handling to avoid regressions. Fixes using too many registers with calls on subtargets with the SGPR allocation bug. llvm-svn: 308326
* AMDGPU: Annotate features from x work item/group IDs.Matt Arsenault2017-07-171-42/+84
| | | | | | | | This wasn't necessary before since they are always enabled for kernels, but this is necessary if they need to be forwarded to a callable function. llvm-svn: 308226
* AMDGPU: Detect kernarg segment pointerMatt Arsenault2017-07-141-0/+29
| | | | | | | | This is necessary to pass the kernarg segment pointer to callee functions. Also don't unconditionally enable for kernels. llvm-svn: 307978
* AMDGPU: Annotate call graph with used featuresMatt Arsenault2017-07-131-0/+200
Previously this wouldn't detect used features indirectly used in callee functions. llvm-svn: 307967
OpenPOWER on IntegriCloud