summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorDavid Tweed <david.tweed@arm.com>2013-09-13 12:04:22 +0000
committerDavid Tweed <david.tweed@arm.com>2013-09-13 12:04:22 +0000
commit1eef85246b411b55c493098266746d0d83c241ea (patch)
tree43aaeaec08f20e64636560b88fad43ed9223fab6 /lib/CodeGen/CGExprConstant.cpp
parent09098596c92e4d1c1d172988e48144d49a9705a0 (diff)
downloadclang-1eef85246b411b55c493098266746d0d83c241ea.tar.gz
clang-1eef85246b411b55c493098266746d0d83c241ea.tar.bz2
clang-1eef85246b411b55c493098266746d0d83c241ea.tar.xz
Certain multi-platform languages, such as OpenCL, have the concept of
address spaces which is both (1) a "semantic" concept and (2) possibly a hardware level restriction. It is desirable to be able to discard/merge the LLVM-level address spaces on arguments for which there is no difference to the current backend while keeping track of the semantic address spaces in a funciton prototype. To do this enable addition of the address space into the name-mangling process. Add some tests to document this behaviour against inadvertent changes. Patch by Michele Scandale! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions