[PATCH] Sema: Accept pointers to any address space for builtin functions
Tom Stellard
thomas.stellard at amd.com
Tue Mar 17 20:35:18 PDT 2015
Here is an updated patch with an entirely different approach. Instead of inserting addressspace casts, this patch rewrites the function declaration to match the address space of the call arguments.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8082
Files:
include/clang/Basic/Builtins.def
lib/Sema/SemaExpr.cpp
test/CodeGenOpenCL/memcpy.cl
test/Sema/builtins.cl
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8082.22154.patch
Type: text/x-patch
Size: 6523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150318/b6b5a332/attachment.bin>
More information about the cfe-commits
mailing list