------- Comment #9 from spop at gcc dot gnu dot org  2010-04-06 21:01 -------
Subject: Bug 43519

Author: spop
Date: Tue Apr  6 21:01:16 2010
New Revision: 158026

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158026
Log:
Compute min and max bounds for IVs and infer types.

2010-04-04  Sebastian Pop  <sebastian....@amd.com>

        PR middle-end/43519
        * Makefile.in (graphite-clast-to-gimple.o): Depends on langhooks.h.
        * graphite-clast-to-gimple.c: Include langhooks.h.
        (max_signed_precision_type): New.
        (max_precision_type): Takes two types as arguments.
        (precision_for_value): New.
        (precision_for_interval): New.
        (gcc_type_for_interval): New.
        (gcc_type_for_value): New.
        (gcc_type_for_clast_term): New.
        (gcc_type_for_clast_red): New.
        (gcc_type_for_clast_bin): New.
        (gcc_type_for_clast_expr): Split up into several functions.
        (gcc_type_for_clast_eq): Rewritten.
        (compute_bounds_for_level): New.
        (compute_type_for_level_1): New.
        (compute_type_for_level): New.
        (gcc_type_for_cloog_iv): Removed.
        (gcc_type_for_iv_of_clast_loop): Rewritten.
        (graphite_create_new_loop): Compute the lower and upper bound types
        with gcc_type_for_clast_expr.
        (graphite_create_new_loop_guard): Same.
        (find_cloog_iv_in_expr): Removed.
        (compute_cloog_iv_types_1): Removed.
        (compute_cloog_iv_types): Removed.
        (gloog): Do not call compute_cloog_iv_types.
        * graphite-sese-to-poly.c (new_gimple_bb): Do not initialize
        GBB_CLOOG_IV_TYPES.
        (free_data_refs_aux): Do not free GBB_CLOOG_IV_TYPES.
        * sese.h (struct gimple_bb): Removed field cloog_iv_types.
        (GBB_CLOOG_IV_TYPES): Removed.

        * gcc.dg/graphite/run-id-pr42644.c: Call abort.

Modified:
    trunk/gcc/ChangeLog.graphite
    trunk/gcc/Makefile.in
    trunk/gcc/graphite-clast-to-gimple.c
    trunk/gcc/graphite-sese-to-poly.c
    trunk/gcc/sese.h
    trunk/gcc/testsuite/gcc.dg/graphite/run-id-pr42644.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43519

Reply via email to