[PATCH] D36869: [GPGPU] Simplify PPCGSCop to reduce compile time [NFC]

Tobias Grosser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 18 03:50:05 PDT 2017


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

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.


https://reviews.llvm.org/D36869

Files:
  lib/CodeGen/PPCGCodeGeneration.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36869.111651.patch
Type: text/x-patch
Size: 3813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170818/346b34dd/attachment.bin>


More information about the llvm-commits mailing list