[PATCH] D36920: [GPGPU] Collect parameter dimension used in MemoryAccesses

Tobias Grosser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 19 04:08:14 PDT 2017


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

When using -polly-ignore-integer-wrapping and -polly-acc-codegen-managed-memory
we add parameter dimensions lazily to the domains, which results in PPCG not
including parameter dimensions that are only used in memory accesses in the
kernel space. To make sure these parameters are still passed to the kernel, we
collect these parameter dimensions and align the kernel's parameter space
before code-generating it.


https://reviews.llvm.org/D36920

Files:
  include/polly/CodeGen/IslNodeBuilder.h
  lib/CodeGen/IslNodeBuilder.cpp
  lib/CodeGen/PPCGCodeGeneration.cpp
  test/GPGPU/memory-only-referenced-from-access.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36920.111813.patch
Type: text/x-patch
Size: 9431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170819/acb8005e/attachment.bin>


More information about the llvm-commits mailing list