[PATCH] D32215: Updated PPCG Code Generation for OpenCL compatibility

Philipp Schaad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 22 03:58:24 PDT 2017


PhilippSchaad updated this revision to Diff 96276.
PhilippSchaad added a comment.

Updated tests to fit address space changes and correct NVPTX data layout.

Each GPGPU test case now carries the correct NVPTX data-layout requested for 64-bit execution. Additionally, all parameters have been adapted to be global pointers. Consequently, each occurrence of said pointers in the following kernel, now carries the correct address space annotation as well.


Repository:
  rL LLVM

https://reviews.llvm.org/D32215

Files:
  lib/CodeGen/PPCGCodeGeneration.cpp
  test/GPGPU/cuda-annotations.ll
  test/GPGPU/double-parallel-loop.ll
  test/GPGPU/host-control-flow.ll
  test/GPGPU/host-statement.ll
  test/GPGPU/invalid-kernel.ll
  test/GPGPU/kernel-params-only-some-arrays.ll
  test/GPGPU/kernel-params-scop-parameter.ll
  test/GPGPU/mostly-sequential.ll
  test/GPGPU/non-read-only-scalars.ll
  test/GPGPU/non-zero-array-offset.ll
  test/GPGPU/only-part-of-array-modified.ll
  test/GPGPU/parametric-loop-bound.ll
  test/GPGPU/phi-nodes-in-kernel.ll
  test/GPGPU/private-memory.ll
  test/GPGPU/region-stmt.ll
  test/GPGPU/remove-dead-instructions-in-stmt-2.ll
  test/GPGPU/remove-dead-instructions-in-stmt.ll
  test/GPGPU/run-time-check.ll
  test/GPGPU/scalar-param-and-value-32-bit.ll
  test/GPGPU/scalar-param-and-value-use.ll
  test/GPGPU/scalar-parameter-fp128.ll
  test/GPGPU/scalar-parameter-half.ll
  test/GPGPU/scalar-parameter-i120.ll
  test/GPGPU/scalar-parameter-i128.ll
  test/GPGPU/scalar-parameter-i3000.ll
  test/GPGPU/scalar-parameter-i80.ll
  test/GPGPU/scalar-parameter-ppc_fp128.ll
  test/GPGPU/scalar-parameter-x86_fp80.ll
  test/GPGPU/scalar-parameter.ll
  test/GPGPU/scheduler-timeout.ll
  test/GPGPU/shared-memory-scalar.ll
  test/GPGPU/shared-memory-two-dimensional.ll
  test/GPGPU/shared-memory.ll
  test/GPGPU/size-cast.ll
  test/GPGPU/untouched-arrays.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32215.96276.patch
Type: text/x-patch
Size: 36446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170422/d4c9900f/attachment.bin>


More information about the llvm-commits mailing list