Message ID | 1438204470-15164-1-git-send-email-hiraditya@msn.com |
---|---|
State | New |
Headers | show |
Aditya Kumar wrote: > More than 3 params consumes too much memory while bootstrapping gcc > with graphite enabled. Ok. I will commit the patch. Thanks for fixing bootstrap with graphite enabled. Sebastian
Sebastian Pop wrote: > Aditya Kumar wrote: > > More than 3 params consumes too much memory while bootstrapping gcc > > with graphite enabled. > > Ok. I will commit the patch. > Thanks for fixing bootstrap with graphite enabled. We will increase the max when we will use ISL's mechanism to count the number of polyhedral operations. Until then I think we'd better lower the max nb_params to avoid long compile times and reduce memory requirements to bootstrap with graphite.
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. */