Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [NVPTX] Handle addrspacecast constant expressions in aggregate initializers | Justin Holewinski | 2015-04-28 | 1 | -0/+2 |
| | | | | | | | | | | | We need to track if an AddrSpaceCast expression was seen when generating an MCExpr for a ConstantExpr. This change introduces a custom lowerConstant method to the NVPTX asm printer that will create NVPTXGenericMCSymbolRefExpr nodes at the appropriate places to encode the information that a given symbol needs to be casted to a generic address. llvm-svn: 236000 | ||||
* | [NVPTX] Emits "generic()" depending on the original address space | Jingyue Wu | 2015-04-24 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | Summary: Fixes a bug in the NVPTX codegen. The code used to miss necessary "generic()" on aggregates of addrspacecasts. Test Plan: addrspacecast-gvar.ll Reviewers: eliben, jholewinski Reviewed By: jholewinski Subscribers: jholewinski, llvm-commits Differential Revision: http://reviews.llvm.org/D9130 llvm-svn: 235689 | ||||
* | [NVPTX] Add support for addrspacecast in global variable initializers, ↵ | Justin Holewinski | 2014-04-09 | 1 | -0/+9 |
including emitting generic() when casting to address space 0. llvm-svn: 205906 |