diff options
| author | David Tweed <david.tweed@arm.com> | 2013-09-13 12:04:22 +0000 |
|---|---|---|
| committer | David Tweed <david.tweed@arm.com> | 2013-09-13 12:04:22 +0000 |
| commit | 1eef85246b411b55c493098266746d0d83c241ea (patch) | |
| tree | 43aaeaec08f20e64636560b88fad43ed9223fab6 /lib/CodeGen/CGExprConstant.cpp | |
| parent | 09098596c92e4d1c1d172988e48144d49a9705a0 (diff) | |
| download | clang-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
