summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/nullptr.ll
Commit message (Collapse)AuthorAgeFilesLines
* AMDGPU: Remove remnants of old address space mappingMatt Arsenault2018-08-311-2/+2
| | | | llvm-svn: 341165
* [AMDGPU] Change constant addr space to 4Yaxun Liu2018-02-131-5/+5
| | | | | | Differential Revision: https://reviews.llvm.org/D43170 llvm-svn: 325030
* [AMDGPU] Update test nullptr.ll to use amdgiz environmentYaxun Liu2017-11-271-57/+63
| | | | | | | | | | This test needs to be manually updated since it is difficult to do it with script. Addr space 6 to 23 are only used by r600, therefore only check them for r600. Differential Revision: https://reviews.llvm.org/D40117 llvm-svn: 319092
* AMDGPU: Treat 0 as private null pointer in addrspacecast loweringMatt Arsenault2017-03-131-2/+2
| | | | llvm-svn: 297658
* [AMDGPU] Lower null pointers in static variable initializerYaxun Liu2017-02-071-0/+113
For amdgcn target Clang generates addrspacecast to represent null pointers in private and local address spaces. In LLVM codegen, the static variable initializer is lowered by virtual function AsmPrinter::lowerConstant which is target generic. Since addrspacecast is target specific, AsmPrinter::lowerConst This patch overrides AsmPrinter::lowerConstant with AMDGPUAsmPrinter::lowerConstant, which is able to lower the target-specific addrspacecast in the null pointer representation so that -1 is co Differential Revision: https://reviews.llvm.org/D29284 llvm-svn: 294265
OpenPOWER on IntegriCloud