https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11832
Bug 11832 depends on bug 23286, which changed state.
Bug 23286 Summary: Missed code hoisting optimization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23286
What|Removed |Added
--
--- Comment #9 from steven at gcc dot gnu dot org 2009-07-02 15:12 ---
Note I have various working patches for GVN-based hoisting. All of them are
actually too aggressive, causing failures in the vectorizer test cases
(unrecognizable data dependency patterns). But I still intend to pos
--- Comment #8 from aldot at gcc dot gnu dot org 2009-07-02 15:05 ---
Important reminder from steven from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33828#c13
stevenb> GCC should not hoist up further than up to the first common dominator.
i.e. "..can be Hoisted to B" from #3
and _not_
--- Comment #7 from danglin at gcc dot gnu dot org 2009-02-19 14:52 ---
Reconfirmed with trunk revision 144268.
--
danglin at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #6 from aldot at gcc dot gnu dot org 2008-01-03 09:19 ---
Dummy sample that has a hoisting opportunity:
int bazoo (unsigned int in)
{
int i = 0;
if (in >= 0)
++i; /* hoist */
if (in >= 1)
++i;
if (in >= 2)
++i;
if (in >= 3)
++i;
if (in >= 4)
+
--- Comment #5 from aldot at gcc dot gnu dot org 2007-12-30 10:47 ---
Created an attachment (id=14842)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14842&action=view)
rough, half-finished, disfunctional thought; not a patch
The attached thoughts do not yet insert/remove stmt cand
--- Comment #4 from aldot at gcc dot gnu dot org 2007-08-22 20:07 ---
I'll try to find the time to thing about VN / PRE. Thanks, stevenb, for your
comment.
Please feel free to ping or take this if i time out (as usual)..
--
aldot at gcc dot gnu dot org changed:
What|R
--- Comment #3 from steven at gcc dot gnu dot org 2007-08-18 14:13 ---
This is really a case of missed code hoisting. There are several ways to
resolve this bug.
The first thing I would do, is to experiment with the existing code hoisting
pass in gcse.c. This pass is only enabled wit
--
aldot at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |aldot at gcc dot gnu dot org
|dot org
--- Comment #2 from christophe dot jaillet at wanadoo dot fr 2006-07-14
21:11 ---
I tried to compile it on my cygwin box and had a strange (and certainly
unrelated) behaviour :
gcc -O3 test.c -S
Version 3.4.4 (must be the latest version available on cygwin :()
Description : the case 1
10 matches
Mail list logo