[PATCH] D143472: [clang] Cast the pointer to right type with different address space
Chunyang, Dai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 7 00:37:43 PST 2023
cdai2 created this revision.
Herald added subscribers: pengfei, arichardson, Anastasia.
Herald added a project: All.
cdai2 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
The source type has OpenCL general address space but dest type does
not have address space. Address space cast is needed for this scenario.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143472
Files:
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/X86/x86-builtins-intrinsic.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143472.495402.patch
Type: text/x-patch
Size: 5470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230207/d815abb3/attachment.bin>
More information about the cfe-commits
mailing list