Infer types based on lb and ub.
2011-07-21 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/47654 PR middle-end/49649 * graphite-clast-to-gimple.c (type_for_clast_term): Pass v1 and v2 in parameter. Initialize v1 and v2 based on the values returned by clast_name_to_lb_ub. (type_for_clast_red): Pass v1 and v2 in parameter, and set their values. (type_for_clast_bin): Same. (type_for_clast_expr): Same. (type_for_clast_eq): Update calls to type_for_clast_expr. (type_for_clast_for): Same. (build_iv_mapping): Same. * graphite-ppl.h (value_min): New. * gcc.dg/graphite/run-id-pr47654.c: New. From-SVN: r176605
Showing
- gcc/ChangeLog 16 additions, 0 deletionsgcc/ChangeLog
- gcc/graphite-clast-to-gimple.c 147 additions, 37 deletionsgcc/graphite-clast-to-gimple.c
- gcc/graphite-ppl.h 11 additions, 0 deletionsgcc/graphite-ppl.h
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/graphite/run-id-pr47654.c 24 additions, 0 deletionsgcc/testsuite/gcc.dg/graphite/run-id-pr47654.c
Loading
Please register or sign in to comment