This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [graphite] Reduce the number of params in a scop to 3
- From: Aditya Kumar <hiraditya at msn dot com>
- To: gcc-patches at gcc dot gnu dot org, hiraditya at msn dot com
- Cc: sebpop at gmail dot com
- Date: Wed, 29 Jul 2015 16:14:30 -0500
- Subject: [PATCH] [graphite] Reduce the number of params in a scop to 3
- Authentication-results: sourceware.org; auth=none
More than 3 params consumes too much memory while bootstrapping gcc
with graphite enabled.
BOOT_CFLAGS="-g -O2 -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine"
---
gcc/params.def | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/params.def b/gcc/params.def
index 0ca3451..1f6e40e 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -850,7 +850,7 @@ DEFPARAM (PARAM_LOOP_UNROLL_JAM_DEPTH,
DEFPARAM (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS,
"graphite-max-nb-scop-params",
"maximum number of parameters in a SCoP",
- 10, 0, 0)
+ 3, 0, 0)
/* Maximal number of basic blocks in the functions analyzed by Graphite. */
--
2.1.0.243.g30d45f7