diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2014-09-27 11:02:39 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2014-09-27 11:02:39 +0000 |
commit | 9143d67abaf08028b52e65387a1d96076a58004a (patch) | |
tree | def8d7654361d7e97cec7b9c718c896d6f823859 /llvm/lib/Support/MathExtras.cpp | |
parent | f4b9e6b9d91084b069f603d8e4c52cc48692bd6f (diff) | |
download | bcm5719-llvm-9143d67abaf08028b52e65387a1d96076a58004a.tar.gz bcm5719-llvm-9143d67abaf08028b52e65387a1d96076a58004a.zip |
[RTC] Bail if too many parameters are involved in a RTC access.
If too many parameters are involved in accesses used to create RTCs
we might end up with enormous compile times and RTC expressions.
The reason is that the lexmin/lexmax is dependent on all these
parameters and isl might need to create a case for every "ordering"
of them (e.g., p0 <= p1 <= p2, p1 <= p0 <= p2, ...).
The exact number of parameters allowed in accesses is defined by the
command line option -polly-rtc-max-parameters=XXX and set by default
to 8.
Differential Revision: http://reviews.llvm.org/D5500
llvm-svn: 218566
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions