https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128968

--- Comment #5 from Robin Dapp <rdapp at gcc dot gnu.org> ---
And just to confirm:  Without that condition we vectorize it.


pr128968.c:2:27: note:  Loop to be versioned with assumption (unsigned int)
limit_12(D) - (unsigned int) start_10(D) <= 2147483647 - (unsigned int)
((unsigned int) start_10(D) + offset_13(D))

pr128968.c:2:27: note:  LOOP VECTORIZED

  _80 = .SELECT_VL (ivtmp_78, POLY_INT_CST [4, 4], { 0.0, ... });
  vect__6.9_64 = .MASK_LEN_LOAD (vectp.7_59, 32B, { -1, ... }, _63(D), _80, 0);
  vect__7.10_66 = .COND_LEN_MUL ({ -1, ... }, vect__6.9_64, { 2.0e+0, ... },
_65(D), _80, 0);
  .MASK_LEN_STORE (vectp.11_73, 32B, { -1, ... }, _80, 0, vect__7.10_66);

Reply via email to