public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [tree-ssa vs lno] who is right?
@ 2004-03-26  5:32 Dale Johannesen
  2004-03-26  6:34 ` Diego Novillo
  2004-03-26 18:51 ` Zdenek Dvorak
  0 siblings, 2 replies; 17+ messages in thread
From: Dale Johannesen @ 2004-03-26  5:32 UTC (permalink / raw)
  To: gcc@gcc.gnu.org list; +Cc: Dale Johannesen

When the LNO branch copies a loop, it attempts to fix up the phi nodes 
with
an algorithm that assumes there is only one phi per block per variable. 
  That is, it
won't see code like this:

;; basic block 19, loop depth 0, count 0
;; prev block 9, next block 20
;; pred:       10 [100.0%]  (fallthru)
;; succ:       28 [50.0%]  (true,exec) 29 [50.0%]  (false,exec)
# maxmin_Result_140 = PHI <1(10)>;
# maxmin_Result_142 = PHI <2(10)>;
# lsm_tmp.19_144 = PHI <lsm_tmp.19_84(10)>;
<L28>:;
if (m__10 == 0) goto <L26>; else goto <L27>;

Is that suppose to be a valid assumption?  The dup is created by 
copyrename, and
I see no code there that's intended to stop dups from being created (on 
the
contrary, but surely it's unusual for the live ranges to overlap).

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2004-03-26 18:46 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-26  5:32 [tree-ssa vs lno] who is right? Dale Johannesen
2004-03-26  6:34 ` Diego Novillo
2004-03-26  6:35   ` Dale Johannesen
2004-03-26  7:08     ` Diego Novillo
2004-03-26  7:27     ` Andrew Pinski
2004-03-26 16:21   ` Andrew MacLeod
2004-03-26 16:31     ` Diego Novillo
2004-03-26 16:40       ` Andrew MacLeod
2004-03-26 17:48         ` law
2004-03-26 18:08           ` Andrew MacLeod
2004-03-26 18:10             ` law
2004-03-26 18:49               ` Dale Johannesen
2004-03-26 16:44   ` law
2004-03-26 17:42     ` Diego Novillo
2004-03-26 18:51 ` Zdenek Dvorak
2004-03-26 20:15   ` Dale Johannesen
2004-03-26 21:09     ` Devang Patel

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).