public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/62004] dead type-unsafe load replaces type-safe load
Date: Mon, 04 Aug 2014 14:54:00 -0000 [thread overview]
Message-ID: <bug-62004-4-HRNXPabUFv@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-62004-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62004
--- Comment #2 from vries at gcc dot gnu.org ---
Created attachment 33242
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33242&action=edit
patch to fix if-conversion
(In reply to Richard Biener from comment #1)
> Heh, interesting set of events ;)
>
> Now it is interesting how much we desire to perform the tail-merging - we
> _could_
> change the alias sets of loads (and stores...) to a "common" one (either if
> they
> are "equal" or just zero otherwise). Depends on how much we like this kind
> of pessimization.
>
> Same for the RTL bits of course.
>
> Btw, I still see the conditional execution after RTL expansion, just
> cfglayout mode doesn't have unconditonal gotos for the edges.
Right, when doing fdump-rtl-all, it looks like fallthrough, but it isn't, I
forgot. So it's just if-conversion that does the wrong thing.
Attached patch fixes 4.8 if-conversion in a conservative way (I suppose we want
a conservative fix for 4.8 and 4.9). OK for testing?
next prev parent reply other threads:[~2014-08-04 14:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-04 0:22 [Bug rtl-optimization/62004] New: " vries at gcc dot gnu.org
2014-08-04 10:05 ` [Bug rtl-optimization/62004] " rguenth at gcc dot gnu.org
2014-08-04 14:54 ` vries at gcc dot gnu.org [this message]
2014-08-06 7:06 ` pinskia at gcc dot gnu.org
2014-08-08 11:41 ` vries at gcc dot gnu.org
2014-08-15 21:24 ` vries at gcc dot gnu.org
2014-08-16 17:38 ` vries at gcc dot gnu.org
2014-08-18 8:51 ` [Bug rtl-optimization/62004] [if-conversion] " vries at gcc dot gnu.org
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=bug-62004-4-HRNXPabUFv@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/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).