aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgloop.c
diff options
context:
space:
mode:
authorJ"orn Rennecke <joern.rennecke@st.com>2009-06-04 17:48:38 +0000
committerJ"orn Rennecke <joern.rennecke@st.com>2009-06-04 17:48:38 +0000
commita3842acd872541a0f94709bb0673d64b81d525f9 (patch)
treeaf9ac765e78883a0af71490a5b493efabf17f870 /gcc/cfgloop.c
parent2a9ff8bf117b1d9cdbefb32acaafa46223de7850 (diff)
* tree-parloops.c (parallelize_loops): Don't check for vector phiarc-milepost-branch
nodes when processing a loop that should be executed on a different target than CFUN. * tree-vectorizer.c (vectorize_loops): Also analyze and vectorize loops for different targets than CFUN. * tree-vect-transform.c (vect_transform_loop): If the loop is for a different target than CFUN, don't do alignment peeling. Switch to loop target during transformation and back afterwards. * cfgloop.c (alloc_loop): Initialize target_arch member from CFUN. * tree-ssa-loop.c (pass_vectorize): Add TODO_rebuild_alias to todo_flags_finish. * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): New parameter ptr_alias_set. Changed all callers. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/arc-milepost-branch@148179 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloop.c')
-rw-r--r--gcc/cfgloop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c
index e74284e8988..c1d096420cc 100644
--- a/gcc/cfgloop.c
+++ b/gcc/cfgloop.c
@@ -338,6 +338,7 @@ alloc_loop (void)
loop->exits = GGC_CNEW (struct loop_exit);
loop->exits->next = loop->exits->prev = loop->exits;
+ loop->target_arch = cfun->target_arch;
return loop;
}