aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-08-18 13:38:12 +0000
committerTobias Grosser <tobias@grosser.es>2017-08-18 13:38:12 +0000
commitec02acfb98399179be619bb35ddf611bbe760083 (patch)
tree4ca170ec6ebad6ac5c6de3273cd5402a510e7378 /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parent02c9a3dfc34a8c3c339a6c827a143ab85d71a732 (diff)
downloadllvm-ec02acfb98399179be619bb35ddf611bbe760083.zip
llvm-ec02acfb98399179be619bb35ddf611bbe760083.tar.gz
llvm-ec02acfb98399179be619bb35ddf611bbe760083.tar.bz2
[GPGPU] Simplify PPCGSCop to reduce compile time [NFC]
Summary: Drop unused parameter dimensions to reduce the size of the sets we are working with. Especially the computed dependences tend to accumulate a lot of parameters that are present in the input memory accesses, but often not necessary to express the actual dependences. As isl represents maps and sets with dense matrices, reducing the dimensionality of isl sets commonly reduces code generation performance. This reduces compile time from 17 to 11 seconds for our test case. While this is not impressive, this patch helped me to identify the previous two performance improvements and additionally also increases readability of the isl data structures we use. Reviewers: Meinersbur, bollu, singam-sanjay Reviewed By: bollu Subscribers: nemanjai, pollydev, llvm-commits, kbarton Tags: #polly Differential Revision: https://reviews.llvm.org/D36869 llvm-svn: 311161
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions