[PATCH] D36372: [GPGPU] Make sure managed arrays are prepared at the beginning of the scop

Tobias Grosser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 6 03:06:28 PDT 2017


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

This resolves some "instruction does not dominate use" errors, as we used to
prepare the arrays at the location of the first kernel, which not necessarily
dominated all other kernel calls.


https://reviews.llvm.org/D36372

Files:
  lib/CodeGen/PPCGCodeGeneration.cpp
  test/GPGPU/cuda-managed-memory-simple.ll
  test/GPGPU/managed-pointers-preparation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36372.109912.patch
Type: text/x-patch
Size: 10388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170806/a61cc108/attachment.bin>


More information about the llvm-commits mailing list