avoid stmt-info allocation for debug stmts
authorRichard Biener <rguenther@suse.de>
Wed, 10 Jun 2020 16:07:37 +0000 (18:07 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 10 Jun 2020 16:08:29 +0000 (18:08 +0200)
commit371cc683371bedb0e53ebcee0c0e89604a1e74b1
tree6d6e1ce414c714c78681b4245f2fe6c437fe0573
parent36e95a9e539a08275a0a6ef542a7fae5baa5710f
avoid stmt-info allocation for debug stmts

The following avoids allocating stmt info structs for debug stmts.

2020-06-10  Richard Biener  <rguenther@suse.de>

* tree-vect-loop.c (vect_determine_vectorization_factor):
Skip debug stmts.
(_loop_vec_info::_loop_vec_info): Likewise.
(vect_update_vf_for_slp): Likewise.
(vect_analyze_loop_operations): Likewise.
(update_epilogue_loop_vinfo): Likewise.
* tree-vect-patterns.c (vect_determine_precisions): Likewise.
(vect_pattern_recog): Likewise.
* tree-vect-slp.c (vect_detect_hybrid_slp): Likewise.
(_bb_vec_info::_bb_vec_info): Likewise.
* tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized):
Likewise.
gcc/tree-vect-loop.c
gcc/tree-vect-patterns.c
gcc/tree-vect-slp.c
gcc/tree-vect-stmts.c