[GPGPU] Do not create copy statements when targetting managed memory
commit9b5e3504018b0159d61f723d2f707ab30b696131
authorTobias Grosser <tobias@grosser.es>
Fri, 18 Aug 2017 13:11:05 +0000 (18 13:11 +0000)
committerTobias Grosser <tobias@grosser.es>
Fri, 18 Aug 2017 13:11:05 +0000 (18 13:11 +0000)
tree8340d4167e9887d343a484bb1496ddb2de40a61e
parentc146af852e88bded5a1829c717776f52f20c6aa8
[GPGPU] Do not create copy statements when targetting managed memory

Summary:
They are not used and consequently do not even need to be computed. This reduces
the overall compile time for our kernel from 1m33s to 17s.

Reviewers: Meinersbur, bollu, singam-sanjay

Reviewed By: bollu

Subscribers: nemanjai, pollydev, llvm-commits, kbarton

Tags: #polly

Differential Revision: https://reviews.llvm.org/D36868

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@311157 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PPCGCodeGeneration.cpp
lib/External/ppcg/gpu.c
lib/External/ppcg/gpu.h