summaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authordavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-26 00:06:56 +0000
committerdavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-26 00:06:56 +0000
commitd9e50003cdcadbf7e4f2564ebee9ad108633afd8 (patch)
treeb55990283764ae89e23d3c97dc21584d42c7a7c0 /gcc/params.def
parent86f64bd9b87fd6ed7a0b653aac80cb1ba2c338a0 (diff)
downloadgcc-d9e50003cdcadbf7e4f2564ebee9ad108633afd8.tar.gz
Make FDO more tolerant to source changes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213068 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def
index 595a093a88c..cad00e222a5 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -874,6 +874,14 @@ DEFPARAM (PARAM_LOOP_INVARIANT_MAX_BBS_IN_LOOP,
"Max basic blocks number in loop for loop invariant motion",
10000, 0, 0)
+/* When the parameter is 1, use the internal function id
+ to look up for profile data. Otherwise, use a more stable
+ external id based on assembler name and source location. */
+DEFPARAM (PARAM_PROFILE_FUNC_INTERNAL_ID,
+ "profile-func-internal-id",
+ "use internal function id in profile lookup",
+ 0, 0, 1)
+
/* Avoid SLP vectorization of large basic blocks. */
DEFPARAM (PARAM_SLP_MAX_INSNS_IN_BB,
"slp-max-insns-in-bb",