aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.c
diff options
context:
space:
mode:
authorIra Rosen <ira.rosen@linaro.org>2011-09-25 09:21:42 +0000
committerIra Rosen <irar@gcc.gnu.org>2011-09-25 09:21:42 +0000
commit4e4452b65bec5b86a66ee9782b7fab345800da3b (patch)
treebb58bc6b6b42ce97f7de43d99177040a04c462ae /gcc/tree-loop-distribution.c
parent10b859c0d8b237a76470229dbb99e6c8ad86eb65 (diff)
downloadgcc-4e4452b65bec5b86a66ee9782b7fab345800da3b.zip
gcc-4e4452b65bec5b86a66ee9782b7fab345800da3b.tar.gz
gcc-4e4452b65bec5b86a66ee9782b7fab345800da3b.tar.bz2
tree-data-ref.c (dr_analyze_innermost): Add new argument.
* tree-data-ref.c (dr_analyze_innermost): Add new argument. Allow not simple iv if analyzing basic block. (create_data_ref): Update call to dr_analyze_innermost. (stmt_with_adjacent_zero_store_dr_p, ref_base_address): Likewise. * tree-loop-distribution.c (generate_memset_zero): Likewise. * tree-predcom.c (find_looparound_phi): Likewise. * tree-data-ref.h (dr_analyze_innermost): Add new argument. From-SVN: r179161
Diffstat (limited to 'gcc/tree-loop-distribution.c')
-rw-r--r--gcc/tree-loop-distribution.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-loop-distribution.c b/gcc/tree-loop-distribution.c
index f1db27a..fd633b4 100644
--- a/gcc/tree-loop-distribution.c
+++ b/gcc/tree-loop-distribution.c
@@ -268,7 +268,7 @@ generate_memset_zero (gimple stmt, tree op0, tree nb_iter,
DR_STMT (dr) = stmt;
DR_REF (dr) = op0;
- res = dr_analyze_innermost (dr);
+ res = dr_analyze_innermost (dr, loop_containing_stmt (stmt));
gcc_assert (res && stride_of_unit_type_p (DR_STEP (dr), TREE_TYPE (op0)));
nb_bytes = build_size_arg_loc (loc, nb_iter, op0, &stmt_list);