[PATCH] D48774: [polly-acc] change cl_get_* return types to 32/64bit

Alain Denzler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 08:33:50 PDT 2018


alaindenzler created this revision.
alaindenzler added reviewers: grosser, philip.pfaffe.
Herald added subscribers: llvm-commits, kbarton, nemanjai.
Herald added a reviewer: bollu.

This patch changes the return types for ocl_get_* functions during SPIR code generation. Because these functions return size_t types, the return type needs to be changed to the actual size of size_t on the device.

Based on work by Michal Babej and Pekka Jääskeläinen


Repository:
  rPLO Polly

https://reviews.llvm.org/D48774

Files:
  lib/CodeGen/PPCGCodeGeneration.cpp
  test/GPGPU/spir-typesize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48774.153499.patch
Type: text/x-patch
Size: 7417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180629/bdef7e1c/attachment.bin>


More information about the llvm-commits mailing list