This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/58497] SLP vectorizes identical operations
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Nov 2015 12:33:00 +0000
- Subject: [Bug tree-optimization/58497] SLP vectorizes identical operations
- Auto-submitted: auto-generated
- References: <bug-58497-4 at http dot gcc dot gnu dot org/bugzilla/>
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.