summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/flat-error-unsupported-gpu-hsa.ll
Commit message (Collapse)AuthorAgeFilesLines
* Fix flat-error-unsupported-gpu-hsa testAlexandre Ganea2019-03-181-1/+1
| | | | | | Differential Revision: https://reviews.llvm.org/D59505 llvm-svn: 356400
* AMDGPU: Partially fix default device for HSAMatt Arsenault2019-03-171-0/+15
There are a few different issues, mostly stemming from using generation based checks for anything instead of subtarget features. Stop adding flat-address-space as a feature for HSA, as it should only be a device property. This was incorrectly allowing flat instructions to select for SI. Increase the default generation for HSA to avoid the encoding error when emitting objects. This has some other side effects from various checks which probably should be separate subtarget features (in the cost model and for dealing with the DS offset folding issue). Partial fix for bug 41070. It should probably be an error to try using amdhsa without flat support. llvm-svn: 356347
OpenPOWER on IntegriCloud