summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-01-03 14:25:32 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2013-01-03 14:25:32 +0000
commit595c267987e963936fff82dbac96d5af28949c8c (patch)
tree33a92f8ba62507e426dc2d2a34af352aa722f2ec /gcc/tree-vect-loop.c
parentf3d420006ce5c39de2df39ff5faa3173d635c806 (diff)
downloadgcc-595c267987e963936fff82dbac96d5af28949c8c.tar.gz
tree-vect-loop.c (vect_analyze_loop_form): Clarify reason for not vectorizing.
2013-01-03 Richard Biener <rguenther@suse.de> * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason for not vectorizing. * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do not build INDIRECT_REFs, call get_name once only. (vect_create_data_ref_ptr): Likewise. Dump base object kind based on DR_BASE_OBJECT, not DR_BASE_ADDRESS. From-SVN: r194853
Diffstat (limited to 'gcc/tree-vect-loop.c')
-rw-r--r--gcc/tree-vect-loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c
index f091604e492..4499dac7a6c 100644
--- a/gcc/tree-vect-loop.c
+++ b/gcc/tree-vect-loop.c
@@ -1167,11 +1167,11 @@ vect_analyze_loop_form (struct loop *loop)
before the loop if needed), where the loop header contains all the
executable statements, and the latch is empty. */
if (!empty_block_p (loop->latch)
- || !gimple_seq_empty_p (phi_nodes (loop->latch)))
+ || !gimple_seq_empty_p (phi_nodes (loop->latch)))
{
if (dump_enabled_p ())
dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
- "not vectorized: unexpected loop form.");
+ "not vectorized: latch block not empty.");
if (inner_loop_vinfo)
destroy_loop_vec_info (inner_loop_vinfo, true);
return NULL;