Backport r248489
2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-05-26 Martin Liska <mliska@suse.cz> PR ipa/80663 * params.def: Bound partial-inlining-entry-probability param. 2017-06-22 Martin Liska <mliska@suse.cz> Backport from mainline 2017-05-26 Martin Liska <mliska@suse.cz> PR ipa/80663 * g++.dg/ipa/pr80212.C: Remove the test as it does not longer split at the problematic spot. * gcc.dg/ipa/pr48195.c: Change 101 to 100 as 101 is no longer a valid value of the param. From-SVN: r249548
This commit is contained in:
parent
294842cb2e
commit
40fbc3ff0c
|
@ -1,3 +1,11 @@
|
||||||
|
2017-06-22 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
Backport from mainline
|
||||||
|
2017-05-26 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
PR ipa/80663
|
||||||
|
* params.def: Bound partial-inlining-entry-probability param.
|
||||||
|
|
||||||
2017-06-22 Martin Liska <mliska@suse.cz>
|
2017-06-22 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
Backport from mainline
|
Backport from mainline
|
||||||
|
|
|
@ -126,7 +126,7 @@ DEFPARAM (PARAM_COMDAT_SHARING_PROBABILITY,
|
||||||
DEFPARAM (PARAM_PARTIAL_INLINING_ENTRY_PROBABILITY,
|
DEFPARAM (PARAM_PARTIAL_INLINING_ENTRY_PROBABILITY,
|
||||||
"partial-inlining-entry-probability",
|
"partial-inlining-entry-probability",
|
||||||
"Maximum probability of the entry BB of split region (in percent relative to entry BB of the function) to make partial inlining happen.",
|
"Maximum probability of the entry BB of split region (in percent relative to entry BB of the function) to make partial inlining happen.",
|
||||||
70, 0, 0)
|
70, 0, 100)
|
||||||
|
|
||||||
/* Limit the number of expansions created by the variable expansion
|
/* Limit the number of expansions created by the variable expansion
|
||||||
optimization to avoid register pressure. */
|
optimization to avoid register pressure. */
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
2017-06-22 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
Backport from mainline
|
||||||
|
2017-05-26 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
PR ipa/80663
|
||||||
|
* g++.dg/ipa/pr80212.C: Remove the test as it does not longer
|
||||||
|
split at the problematic spot.
|
||||||
|
* gcc.dg/ipa/pr48195.c: Change 101 to 100 as 101 is no longer
|
||||||
|
a valid value of the param.
|
||||||
|
|
||||||
2017-06-21 Michael Meissner <meissner@linux.vnet.ibm.com>
|
2017-06-21 Michael Meissner <meissner@linux.vnet.ibm.com>
|
||||||
|
|
||||||
Back port from mainline
|
Back port from mainline
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
// PR ipa/80212
|
|
||||||
// { dg-options "-O2 --param partial-inlining-entry-probability=403796683 -fno-early-inlining" }
|
|
||||||
|
|
||||||
struct b
|
|
||||||
{
|
|
||||||
virtual b *c () const;
|
|
||||||
};
|
|
||||||
struct d : virtual b
|
|
||||||
{
|
|
||||||
};
|
|
||||||
struct e : d
|
|
||||||
{
|
|
||||||
e *
|
|
||||||
c () const
|
|
||||||
{
|
|
||||||
}
|
|
||||||
};
|
|
||||||
main () { e a; }
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* { dg-do link } */
|
/* { dg-do link } */
|
||||||
/* { dg-options "-O2 -flto --param partial-inlining-entry-probability=101" } */
|
/* { dg-options "-O2 -flto --param partial-inlining-entry-probability=100" } */
|
||||||
/* { dg-require-effective-target lto } */
|
/* { dg-require-effective-target lto } */
|
||||||
|
|
||||||
extern void abort(void);
|
extern void abort(void);
|
||||||
|
|
Loading…
Reference in New Issue