[Bug tree-optimization/32824] Missed reduction vectorizer after store to global is LIM'd

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 19 18:14:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list