Fix typo in peeling for gap compute of get_group_load_store_type
When fixing a maybe-uninit diagnostic in r15-1309-ge575b5c56137b1 by re-computing remain I failed to add braces, effectively now computing garbage. * tree-vect-stmts.cc (get_group_load_store_type): Add missing braces.
This commit is contained in:
parent
01413da3b0
commit
faf594ce21
1 changed files with 1 additions and 1 deletions
|
@ -2195,7 +2195,7 @@ get_group_load_store_type (vec_info *vinfo, stmt_vec_info stmt_info,
|
|||
unsigned HOST_WIDE_INT cnunits, cvf, cremain, cpart_size;
|
||||
if (!nunits.is_constant (&cnunits)
|
||||
|| !LOOP_VINFO_VECT_FACTOR (loop_vinfo).is_constant (&cvf)
|
||||
|| (((cremain = group_size * cvf - gap % cnunits), true)
|
||||
|| (((cremain = (group_size * cvf - gap) % cnunits), true)
|
||||
&& ((cpart_size = (1 << ceil_log2 (cremain))) != cnunits)
|
||||
&& (cremain + group_size < cpart_size
|
||||
|| vector_vector_composition_type
|
||||
|
|
Loading…
Add table
Reference in a new issue