aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-11-23 13:51:10 +0100
committerRichard Biener <rguenther@suse.de>2021-11-24 09:03:05 +0100
commit52554dde7bf625c66192504cef01890bacc79694 (patch)
tree77d7b3f0a60ff83f9aac010747c2f496d5551c2c /gcc/gimple-range.cc
parent755c2e7d71cbab89b2bd1d787db46428a604efb2 (diff)
downloadgcc-52554dde7bf625c66192504cef01890bacc79694.zip
gcc-52554dde7bf625c66192504cef01890bacc79694.tar.gz
gcc-52554dde7bf625c66192504cef01890bacc79694.tar.bz2
Avoid redundant get_loop_body calls in IVOPTs
This removes redundant get_loop_body calls in IVOPTs by passing around the body we're gathering early. 2021-11-23 Richard Biener <rguenther@suse.de> * tree-ssa-loop-ivopts.c (find_givs): Take loop body as argument instead of re-computing it. (find_interesting_uses): Likewise. (find_induction_variables): Pass through loop body. (tree_ssa_iv_optimize_loop): Pass down loop body.
Diffstat (limited to 'gcc/gimple-range.cc')
0 files changed, 0 insertions, 0 deletions