From: hiraditya <hiraditya@gmail.com>
To: gcc-patches@gcc.gnu.org
Cc: tobias@grosser.es, sebpop@gmail.com, richard.guenther@gmail.com,
aditya.k7@samsung.com, hiraditya@msn.com,
hiraditya <hiraditya@gmail.com>
Subject: [PATCH] RFC: Enable graphite at -O3 -fprofile_use
Date: Mon, 09 Nov 2015 05:16:00 -0000 [thread overview]
Message-ID: <1447046170-16134-1-git-send-email-hiraditya@gmail.com> (raw)
Since graphite will not modify the CFG when it does not do any optimization,
we would like to propose that graphite's polyhedral optimizer be enabled at
-O3 -fprofile-use where, compile time is of lesser concern.
gcc/ChangeLog:
2015-11-08 Aditya Kumar <aditya.k7@samsung.com>
Sebastian Pop <s.pop@samsung.com>
* graphite.c (gate_graphite_transforms): Enable graphite on -O3 -fprofile-use.
---
gcc/graphite.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gcc/graphite.c b/gcc/graphite.c
index 5316bc4..49595ac 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -383,6 +383,9 @@ gate_graphite_transforms (void)
|| flag_loop_optimize_isl)
flag_graphite = 1;
+ if (optimize >= 3 && flag_profile_use)
+ flag_loop_optimize_isl = 1;
+
return flag_graphite != 0;
}
--
2.1.4
next reply other threads:[~2015-11-09 5:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 5:16 hiraditya [this message]
2015-11-13 10:30 Richard Biener
2015-11-13 11:19 VandeVondele Joost
2015-11-13 11:32 ` Richard Biener
2015-11-13 13:25 ` aditya kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1447046170-16134-1-git-send-email-hiraditya@gmail.com \
--to=hiraditya@gmail.com \
--cc=aditya.k7@samsung.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=hiraditya@msn.com \
--cc=richard.guenther@gmail.com \
--cc=sebpop@gmail.com \
--cc=tobias@grosser.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).