commit | a165040e11e340f6b397104f23717ef398408e67 | [log] [tgz] |
---|---|---|
author | Trevor Saunders <tbsaunde@tbsaunde.org> | Sun Jun 06 20:13:38 2021 -0400 |
committer | Trevor Saunders <tbsaunde@tbsaunde.org> | Thu Jun 17 04:43:27 2021 -0400 |
tree | 06fc140b824f43bd1413ecc5d7cd175e056fa9b7 | |
parent | 265af872a1f8d7ffda2c4056d1d80a3ec4fc8650 [diff] |
return auto_vec from get_loop_hot_path This ensures callers take ownership of the returned vector. Signed-off-by: Trevor Saunders <tbsaunde@tbsaunde.org> gcc/ChangeLog: * cfgloop.h (get_loop_hot_path): Return auto_vec<basic_block>. * cfgloopanal.c (get_loop_hot_path): Likewise. * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Likewise.