diff options
author | Bill Schmidt <wschmidt@linux.ibm.com> | 2012-06-12 13:38:16 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2012-06-12 13:38:16 +0000 |
commit | 372a6eb8d991ebb58b952e2ccad25406db896af4 (patch) | |
tree | 4844a9d49d0608a170eeaa9cc4a3f4c4e4621aa6 /libjava/no-threads.cc | |
parent | 02e4edeaf41e6a15fdd59c476ef7592275b568c6 (diff) | |
download | gcc-372a6eb8d991ebb58b952e2ccad25406db896af4.zip gcc-372a6eb8d991ebb58b952e2ccad25406db896af4.tar.gz gcc-372a6eb8d991ebb58b952e2ccad25406db896af4.tar.bz2 |
opts.c: Add -fhoist-adjacent-loads to -O2 and above.
2012-06-12 Bill Schmidt <wschmidt@linux.ibm.com>
* opts.c: Add -fhoist-adjacent-loads to -O2 and above.
* tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Add argument to forward
declaration.
(hoist_adjacent_loads, gate_hoist_loads): New forward declarations.
(tree_ssa_phiopt): Call gate_hoist_loads.
(tree_ssa_cs_elim): Add parm to tree_ssa_phiopt_worker call.
(tree_ssa_phiopt_worker): Add do_hoist_loads to formal arg list; call
hoist_adjacent_loads.
(local_mem_dependence): New function.
(hoist_adjacent_loads): Likewise.
(gate_hoist_loads): Likewise.
* common.opt (fhoist-adjacent-loads): New switch.
* Makefile.in (tree-ssa-phiopt.o): Added dependencies.
From-SVN: r188457
Diffstat (limited to 'libjava/no-threads.cc')
0 files changed, 0 insertions, 0 deletions