This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32824] Missed reduction vectorizer after store to global is LIM'd
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2007 18:14:14 -0000
- Subject: [Bug tree-optimization/32824] Missed reduction vectorizer after store to global is LIM'd
- References: <bug-32824-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-19 18:14 -------
(In reply to comment #1)
> I think this is similar to PR19347?
It is not because LIM does its work, IR right before the vectorizer:
<bb 3>:
# ivtmp.31_17 = PHI <ivtmp.31_18(4), 1600(2)>
# e_lsm.30_1 = PHI <e_lsm.30_13(4), e_lsm.30_8(2)>
# i_14 = PHI <i_7(4), 0(2)>
D.2248_4 = a[i_14];
e.1_5 = e_lsm.30_1;
e.2_6 = D.2248_4 + e.1_5;
e_lsm.30_13 = e.2_6;
i_7 = i_14 + 1;
ivtmp.31_18 = ivtmp.31_17 - 1;
if (ivtmp.31_18 != 0)
There are no loads from e in the loop.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32824