--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33245
--- Comment #1 from dorit at gcc dot gnu dot org 2007-08-31 13:39 ---
(In reply to comment #0)
The innermost loop in j cannot be vectorized because of the
irregular code in that loop, i.e. the condition IF ( l.NE.k ). But
the cond expression is invariant in that loop, so the whole
--- Comment #3 from dorit at gcc dot gnu dot org 2007-08-31 14:18 ---
(In reply to comment #2)
Subject: Re: Missed opportunities for vectorization due to invariant
condition
Looks like -fno-tree-pre is not enough, because if PRE doesn't do it, then
sink
does it. When I use
--- Comment #2 from spop at gcc dot gnu dot org 2007-08-31 14:06 ---
Subject: Re: Missed opportunities for vectorization due to invariant condition
Looks like -fno-tree-pre is not enough, because if PRE doesn't do it, then
sink
does it. When I use -O3 -ftree-vectorize -msse2