[GPGPU] Only collect the access that belong to an array [NFC]
commita5a02f0c89014a6c6d4ff7f8866ba2212e4ebeff
authorTobias Grosser <tobias@grosser.es>
Thu, 17 Aug 2017 22:04:53 +0000 (17 22:04 +0000)
committerTobias Grosser <tobias@grosser.es>
Thu, 17 Aug 2017 22:04:53 +0000 (17 22:04 +0000)
treeaf2bcbe11de3720c5c0527eddd0362731f2d63df
parent2fe4f23d5dcc910e32c7950383a92fc37c714897
[GPGPU] Only collect the access that belong to an array [NFC]

This avoid the construction of very large sets and in many cases also keeps the
number of parameters low. As a result, we see a compile time reduction from 5
minutes to only slightly above 1 minute for one of our larger test cases.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@311127 91177308-0d34-0410-b5e6-96231b3b80d8
include/polly/ScopInfo.h
lib/Analysis/ScopInfo.cpp
lib/CodeGen/PPCGCodeGeneration.cpp