[PATCH] D36929: [GPGPU] Correctly initialize array order and fixed_element information

Tobias Grosser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 19 12:06:20 PDT 2017


grosser created this revision.
grosser added a project: Polly.
Herald added subscribers: kbarton, nemanjai.

This information is necessary for PPCG to perform correct life range reordering.
With these changes applied we can live-range reorder some of the important
kernels in COSMO.

We also update and rename one test case, which previously could not be optimized
and now is optimized thanks to live-range reordering.


https://reviews.llvm.org/D36929

Files:
  lib/CodeGen/PPCGCodeGeneration.cpp
  lib/External/ppcg/gpu.c
  lib/External/ppcg/gpu.h
  test/GPGPU/invariant-load-hoisting-with-failing-scop.ll
  test/GPGPU/live-range-reordering-with-privatization.ll
  test/GPGPU/non-read-only-scalars.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36929.111849.patch
Type: text/x-patch
Size: 6619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170819/32385dee/attachment.bin>


More information about the llvm-commits mailing list