Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | AMDGPU: Remove remnants of old address space mapping | Matt Arsenault | 2018-08-31 | 1 | -2/+2 |
| | | | | llvm-svn: 341165 | ||||
* | [AMDGPU] Change constant addr space to 4 | Yaxun Liu | 2018-02-13 | 1 | -5/+5 |
| | | | | | | Differential Revision: https://reviews.llvm.org/D43170 llvm-svn: 325030 | ||||
* | [AMDGPU] Update test nullptr.ll to use amdgiz environment | Yaxun Liu | 2017-11-27 | 1 | -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 lowering | Matt Arsenault | 2017-03-13 | 1 | -2/+2 |
| | | | | llvm-svn: 297658 | ||||
* | [AMDGPU] Lower null pointers in static variable initializer | Yaxun Liu | 2017-02-07 | 1 | -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 |