This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: move increase_alignment from simple to regular ipa pass
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Prathamesh Kulkarni <prathamesh dot kulkarni at linaro dot org>, Richard Biener <rguenther at suse dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>, "William J. Schmidt" <wschmidt at linux dot vnet dot ibm dot com>, Segher Boessenkool <segher at kernel dot crashing dot org>
- Date: Thu, 2 Jun 2016 08:52:12 -0400
- Subject: Re: move increase_alignment from simple to regular ipa pass
- Authentication-results: sourceware.org; auth=none
>>>>> Richard Biener wrote:
>> "This would mean the pass should get its own non-Optimization flag
>> initialized by targets where section anchors are usually used"
>> IIUC should we add a new option -fno-increase_alignment and gate the
>> pass on it ? Um sorry I didn't understand why targets
>> with section anchors (arm, aarch64, ppc) should initialize this option ?
>
> Currently the pass is only run for targets with section anchors (and there
> by default if they are enabled by default). So it makes sense to
> run on those by default and the pass is not necessary on targets w/o
> section anchors as the vectorizer can easily adjust alignment itself on
> those.
PPC does not always enable section anchors -- it depends on the code
model. Shouldn't this be tied to use of section anchors?
Thanks, David