From: law@redhat.com
To: Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
Cc: Andrew MacLeod <amacleod@redhat.com>,
Diego Novillo <dnovillo@redhat.com>,
gcc mailing list <gcc@gcc.gnu.org>
Subject: Re: [tree-ssa] Lazy updating of stmt operands
Date: Wed, 17 Dec 2003 04:56:00 -0000 [thread overview]
Message-ID: <200312170329.hBH3TuCB001724@speedy.slc.redhat.com> (raw)
In-Reply-To: Your message of "Mon, 15 Dec 2003 22:47:27 +0100." <20031215214727.GA31524@atrey.karlin.mff.cuni.cz>
In message <20031215214727.GA31524@atrey.karlin.mff.cuni.cz>, Zdenek Dvorak wri
tes:
>Hello,
>
>> > > something like
>> > > bool immediate_uses_avail_p (tree ssa_name)
>> > > or
>> > > bool immediate_uses_avail_p (tree stmt)
>> > >
>> > > Presumably the latter, but both are easy to provide.
>> >
>> > ??? I don't really quite get you. Either the information should be
>> > available for every statement or not at all. Having something in the
>> > middle is just confusing.
>> >
>>
>> I dont see why. If you want to track just a few variables, why should
>> you pay for tracking 45,000?
>
>because you generally don't know which variables you are interested in.
But sometimes you do (for example CCP) and not computing it for all those
variables you don't care about is a significant win.
>Also chosing the different ones in the different passes requieres
>recomputing the information, and it is not at all obvious to me whether
>this would not make this actually more expensive.
True. There's now way to know for sure until you actually try it.
However, our experience so far has been that "pruning" the set of things
we're computing (whether they're immediate uses, variables which might
need PHIs, etc) has been very advantageous from both a compile time
standpoint and a runtime standpoint.
Jeff
next prev parent reply other threads:[~2003-12-17 3:30 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-07 16:22 Zdenek Dvorak
2003-12-07 17:14 ` Diego Novillo
2003-12-07 17:28 ` Zdenek Dvorak
2003-12-07 17:36 ` Diego Novillo
2003-12-07 18:09 ` Zdenek Dvorak
2003-12-11 19:39 ` law
2003-12-07 22:20 ` Steven Bosscher
2003-12-09 14:30 ` Andrew MacLeod
2003-12-09 20:40 ` Zdenek Dvorak
2003-12-11 19:41 ` law
2003-12-11 19:38 ` law
2003-12-11 19:52 ` Zdenek Dvorak
2003-12-11 22:36 ` Zdenek Dvorak
2003-12-11 23:34 ` Andrew MacLeod
2003-12-15 19:10 ` Andrew MacLeod
2003-12-15 19:19 ` Zdenek Dvorak
2003-12-15 20:55 ` Andrew MacLeod
2003-12-15 21:06 ` Zdenek Dvorak
2003-12-15 21:39 ` Andrew MacLeod
2003-12-15 21:49 ` Zdenek Dvorak
2003-12-15 22:04 ` Andrew MacLeod
2003-12-15 22:39 ` law
2003-12-17 4:56 ` law [this message]
2003-12-16 23:32 ` Andrew MacLeod
2003-12-17 0:09 ` Zdenek Dvorak
2003-12-17 0:21 ` Andrew MacLeod
2003-12-17 3:28 ` law
2003-12-15 19:28 ` Diego Novillo
2003-12-11 22:31 Chris Lattner
2003-12-12 3:14 ` law
2003-12-12 3:58 ` Chris Lattner
2003-12-12 19:25 ` Andrew MacLeod
2003-12-12 19:42 ` Zdenek Dvorak
2003-12-12 19:45 ` Andrew MacLeod
2003-12-12 19:54 ` Chris Lattner
2003-12-12 19:55 ` Andrew MacLeod
2003-12-12 21:26 ` Diego Novillo
2003-12-12 19:57 ` Chris Lattner
2003-12-13 16:02 ` Andrew MacLeod
2003-12-14 3:39 ` Chris Lattner
2003-12-15 23:41 ` law
2003-12-16 6:02 ` Andrew MacLeod
2003-12-15 20:47 Chris Lattner
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=200312170329.hBH3TuCB001724@speedy.slc.redhat.com \
--to=law@redhat.com \
--cc=amacleod@redhat.com \
--cc=dnovillo@redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=rakdver@atrey.karlin.mff.cuni.cz \
/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).