This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, At the moment, inv_vars are recognized during finding iv_uses. It's also possible that inv_vars are used when expressing iv_use with specific cand. Unfortunately, such inv_vars are neither recognized nor considered in reg pressure estimation. This patch modifies find_inv_vars_cb so that such invariant variables are also recognized and recorded. The patch also moves dump information later so that all invariant variables can be dumped. Is it OK? Thanks bin 2017-04-11 Bin Cheng <bin.cheng@arm.com> * tree-ssa-loop-ivopts.c (find_interesting_uses): Move inv vars dump to ... (determine_group_iv_costs): ... here. (find_inv_vars_cb): Record inv var if it's not recorded before.
Attachment:
0026-record-newly-used-inv_var-20170224.txt
Description: 0026-record-newly-used-inv_var-20170224.txt
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |