The following fixes a comment and adds a function level comment.
Noticed when reviewing this code.
* tree-vect-loop.cc (vect_get_datarefs_in_loop): Add function
level comment.
(vect_analyze_loop_2): Fix comment.
return 1;
}
+/* Gather data references in LOOP with body BBS and store them into
+ *DATAREFS. */
+
static opt_result
vect_get_datarefs_in_loop (loop_p loop, basic_block *bbs,
vec<data_reference_p> *datarefs)
loop_p loop = LOOP_VINFO_LOOP (loop_vinfo);
- /* Gather the data references and count stmts in the loop. */
+ /* Gather the data references. */
if (!LOOP_VINFO_DATAREFS (loop_vinfo).exists ())
{
opt_result res