aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ASTMerge.cpp
diff options
context:
space:
mode:
authorJustin Holewinski <jholewinski@nvidia.com>2015-04-28 17:18:30 +0000
committerJustin Holewinski <jholewinski@nvidia.com>2015-04-28 17:18:30 +0000
commit3d2a976197ce4060e7576fa3ce67f87fa8cff126 (patch)
tree00ba2e0325bd58d4c89ebf30dab87b28f5ed71cd /clang/lib/Frontend/ASTMerge.cpp
parent5e1441bce437e09a0cf976e18ccc291dc43dec78 (diff)
downloadllvm-3d2a976197ce4060e7576fa3ce67f87fa8cff126.zip
llvm-3d2a976197ce4060e7576fa3ce67f87fa8cff126.tar.gz
llvm-3d2a976197ce4060e7576fa3ce67f87fa8cff126.tar.bz2
[NVPTX] Handle addrspacecast constant expressions in aggregate initializers
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
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions