GPGPU: Handle scalar array references
authorTobias Grosser <tobias@grosser.es>
Thu, 4 Aug 2016 06:55:59 +0000 (06:55 +0000)
committerTobias Grosser <tobias@grosser.es>
Thu, 4 Aug 2016 06:55:59 +0000 (06:55 +0000)
commit00bb5a99f58c9b64d10aa3f204e44d2d3b000b16
tree0cbe0700a0fc2e9d00a5e0bf74f639e6269e3149
parent3216f8546c96a6613253901e79b056aede79f04e
GPGPU: Handle scalar array references

Pass the content of scalar array references to the alloca on the kernel side
and do not pass them additional as normal LLVM scalar value.

llvm-svn: 277699
polly/include/polly/CodeGen/IslNodeBuilder.h
polly/lib/CodeGen/IslNodeBuilder.cpp
polly/lib/CodeGen/PPCGCodeGeneration.cpp
polly/test/GPGPU/scalar-parameter.ll