]> granicus.if.org Git - clang/commit
[OpenCL] Added underscores to the names of 'to_addr' OpenCL built-ins.
authorAlexey Bader <aleksey.bader@mail.ru>
Thu, 4 Aug 2016 18:06:27 +0000 (18:06 +0000)
committerAlexey Bader <aleksey.bader@mail.ru>
Thu, 4 Aug 2016 18:06:27 +0000 (18:06 +0000)
commitd19a95e94dc57c5a72fd25d64f26134aa7d25fa0
tree34896fcc66a056780c86de4bebe6fb27942fc362
parent27c637b628e34182517d3f97ec2b7dd398290c0e
[OpenCL] Added underscores to the names of 'to_addr' OpenCL built-ins.

Summary:
In order to re-define OpenCL built-in functions
'to_{private,local,global}' in OpenCL run-time library LLVM names must
be different from the clang built-in function names.

Reviewers: yaxunl, Anastasia

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D23120

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@277743 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
test/CodeGenOpenCL/to_addr_builtin.cl