[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-25 Thread afomin.mailbox at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 --- Comment #13 from Alexander Fomin --- Filed PR68541

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-25 Thread afomin.mailbox at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 Alexander Fomin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-25 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 --- Comment #11 from ktkachov at gcc dot gnu.org --- The RTL if-conversion issue should be fixed now. So now only the path-splitting problem remains?

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-25 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 --- Comment #10 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Wed Nov 25 09:48:29 2015 New Revision: 230859 URL: https://gcc.gnu.org/viewcvs?rev=230859&root=gcc&view=rev Log: [RTL-ifcvt] PR rtl-optimization/68435 Allow (c ? x++ : x-

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-20 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 --- Comment #9 from ktkachov at gcc dot gnu.org --- Since the provided testcase is affected by the path splitting patch, here's an alternative testcase that exhibits the ifcvt issue even with the latest trunk. I'll be working on this: typedef str

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-20 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 --- Comment #8 from ktkachov at gcc dot gnu.org --- (In reply to Yuri Rumyantsev from comment #6) > It turned out that fresh gcc performs tail duplication (aka path splitting) > preventing if-conversion. So I post a dump for 20150929 compiler whic

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-20 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 --- Comment #7 from Yuri Rumyantsev --- Created attachment 36780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36780&action=edit rtl-ce1 dump file The dump is for 20150929 compiler

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-20 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 --- Comment #6 from Yuri Rumyantsev --- It turned out that fresh gcc performs tail duplication (aka path splitting) preventing if-conversion. So I post a dump for 20150929 compiler which reproduces the issue.

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-19 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 --- Comment #4 from Yuri Rumyantsev --- Created attachment 36774 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36774&action=edit tar file tar file contains good and bad ce1-rtl dumps showing the problem

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-19 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-19 Thread afomin.mailbox at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 --- Comment #3 from Alexander Fomin --- This can be reproduced both for i686-*-* and x86_64-*-* hosts.

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-19 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 --- Comment #2 from Yuri Rumyantsev --- I will post 2 rtl dumps for ce1 phase produced with -O2 -m32 options on ix86. You can see that file t21.c.203r.ce1 produced by 20110927 compiler contains 3 possible IF blocks searched. 1 IF blocks converted

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-19 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org