[PATCH] D23992: [OpenCL] Augment pipe built-ins with pipe packet size and alignment.
Alexey Bader via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 6 02:41:36 PDT 2016
bader updated this revision to Diff 70366.
bader added a comment.
Applied code review comment from Anastasia.
Use getTypeSizeInChars instead of getTypeSize to get type size in bytes. Assume that char size is always one byte.
https://reviews.llvm.org/D23992
Files:
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CGOpenCLRuntime.cpp
lib/CodeGen/CGOpenCLRuntime.h
test/CodeGenOpenCL/pipe_builtin.cl
test/CodeGenOpenCL/pipe_types.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23992.70366.patch
Type: text/x-patch
Size: 13903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160906/521875e7/attachment-0001.bin>
More information about the cfe-commits
mailing list