This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/58497] SLP vectorizes identical operations


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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Rainer Orth from comment #6)
> The new gcc.dg/tree-ssa/vector-5.c testcase FAILs on 64-bit Solaris/SPARC:
> 
> FAIL: gcc.dg/tree-ssa/vector-5.c scan-tree-dump-times optimized " * 3;" 1
> 
>   Rainer

  <bb 2>:
  v1_2 = {i_1(D), i_1(D), i_1(D), i_1(D)};
  _6 = i_1(D);
  _7 = i_1(D) * 3;
  _8 = i_1(D);
  _9 = i_1(D) * 3;
  _10 = i_1(D);
  _11 = i_1(D) * 3;
  _12 = i_1(D);
  _13 = i_1(D) * 3;
  _3 = {_7, _9, _11, _13};

err, why would DOM which runs after lower_vector_ssa _not_ CSE those
multiplications?  Pleas attach dom2-details dumps.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]