diff mbox

[1/7] Add missing documentation of four IPA-CP params

Message ID alpine.LSU.2.11.1406300104160.30120@tuna.site
State New
Headers show

Commit Message

Gerald Pfeifer June 29, 2014, 11:06 p.m. UTC
On Tue, 10 Jun 2014, Gerald Pfeifer wrote:
> On Wed, 21 May 2014, Martin Jambor wrote:
>> +@item ipa-cp-loop-hint-bonus
>> +When IPA-CP determines that a cloning candidate would make the number
>> +of iterations of a loop known, it adds a bonus of
>                                            ^^^^^
>> +@option{ipa-cp-loop-hint-bonus} bonus to the profitability score of
>> +the candidate.                  ^^^^^
> 
> That's a bit much bonus in there. :-)
> 
>> +@item ipa-cp-array-index-hint-bonus
>> +When IPA-CP determines that a cloning candidate would make the index of
>> +an array access known, it adds a bonus of
>> +@option{ipa-cp-array-index-hint-bonus} bonus to the profitability
>> +score of the candidate.
> 
> In here, too.

Hmm, I expected you'd fix this?

Apparently not, so I just applied the following.

2014-06-30  Gerald Pfeifer  <gerald@pfeifer.com>

	* doc/invoke.texi (Optimize Options): Fix descriptions of
	ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus.

Comments

Martin Jambor July 15, 2014, 11:58 a.m. UTC | #1
On Mon, Jun 30, 2014 at 01:06:55AM +0200, Gerald Pfeifer wrote:
> On Tue, 10 Jun 2014, Gerald Pfeifer wrote:
> > On Wed, 21 May 2014, Martin Jambor wrote:
> >> +@item ipa-cp-loop-hint-bonus
> >> +When IPA-CP determines that a cloning candidate would make the number
> >> +of iterations of a loop known, it adds a bonus of
> >                                            ^^^^^
> >> +@option{ipa-cp-loop-hint-bonus} bonus to the profitability score of
> >> +the candidate.                  ^^^^^
> > 
> > That's a bit much bonus in there. :-)
> > 
> >> +@item ipa-cp-array-index-hint-bonus
> >> +When IPA-CP determines that a cloning candidate would make the index of
> >> +an array access known, it adds a bonus of
> >> +@option{ipa-cp-array-index-hint-bonus} bonus to the profitability
> >> +score of the candidate.
> > 
> > In here, too.
> 
> Hmm, I expected you'd fix this?
> 
> Apparently not, so I just applied the following.

I'm sorry, apprently your email somehow got into the group of things
to do after I return from vacation.  That was a mistake, I did mean to
postpone it for that long.  Thanks for correcting it yourself,

Martin

> 
> 2014-06-30  Gerald Pfeifer  <gerald@pfeifer.com>
> 
> 	* doc/invoke.texi (Optimize Options): Fix descriptions of
> 	ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus.
> 
> Index: doc/invoke.texi
> ===================================================================
> --- doc/invoke.texi	(revision 212127)
> +++ doc/invoke.texi	(working copy)
> @@ -10163,13 +10163,13 @@
>  @item ipa-cp-loop-hint-bonus
>  When IPA-CP determines that a cloning candidate would make the number
>  of iterations of a loop known, it adds a bonus of
> -@option{ipa-cp-loop-hint-bonus} bonus to the profitability score of
> +@option{ipa-cp-loop-hint-bonus} to the profitability score of
>  the candidate.
>  
>  @item ipa-cp-array-index-hint-bonus
>  When IPA-CP determines that a cloning candidate would make the index of
>  an array access known, it adds a bonus of
> -@option{ipa-cp-array-index-hint-bonus} bonus to the profitability
> +@option{ipa-cp-array-index-hint-bonus} to the profitability
>  score of the candidate.
>  
>  @item ipa-max-aa-steps
diff mbox

Patch

Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi	(revision 212127)
+++ doc/invoke.texi	(working copy)
@@ -10163,13 +10163,13 @@ 
 @item ipa-cp-loop-hint-bonus
 When IPA-CP determines that a cloning candidate would make the number
 of iterations of a loop known, it adds a bonus of
-@option{ipa-cp-loop-hint-bonus} bonus to the profitability score of
+@option{ipa-cp-loop-hint-bonus} to the profitability score of
 the candidate.
 
 @item ipa-cp-array-index-hint-bonus
 When IPA-CP determines that a cloning candidate would make the index of
 an array access known, it adds a bonus of
-@option{ipa-cp-array-index-hint-bonus} bonus to the profitability
+@option{ipa-cp-array-index-hint-bonus} to the profitability
 score of the candidate.
 
 @item ipa-max-aa-steps