diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2015-02-17 21:25:56 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2015-02-17 13:25:56 -0800 |
commit | 3c99176a7f968bdb8b7a3225265246f643551c80 (patch) | |
tree | d04bf3e89fcf482728834b7a88ea6c6667b145fa /gcc/ipa-profile.c | |
parent | d420206ea581d85273f6d05280e658d3fdab604e (diff) | |
download | gcc-3c99176a7f968bdb8b7a3225265246f643551c80.tar.gz |
Add -fipa-cp-alignment
This patch adds -fipa-cp-alignment to provide a way to enable/disable
alignment discovery and propagation in IPA-CP.
gcc/
* common.opt (fipa-cp-alignment): New.
* ipa-cp.c (ipcp_store_alignment_results): Check
flag_ipa_cp_alignment.
* opts.c (default_options_table): Enable -fipa-cp-alignment for
-O2.
(enable_fdo_optimizations): Set x_flag_ipa_cp_alignment.
* doc/invoke.texi: Document -fipa-cp-alignment.
gcc/testsuite/
* gcc.dg/ipa/propalign-3.c: New test.
From-SVN: r220773
Diffstat (limited to 'gcc/ipa-profile.c')
0 files changed, 0 insertions, 0 deletions