* tree-vect-stmts.c (vectorizable_comparison) <!slp_node>:
Swap operands only once.
From-SVN: r273316
+2019-07-09 Joern Rennecke <joern.rennecke@riscy-ip.com>
+
+ * tree-vect-stmts.c (vectorizable_comparison) <!slp_node>:
+ Swap operands only once.
+
2019-07-09 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
* cfgcleanup.c (old_insns_match_p): Check if used hard regs set is equal
if (!slp_node)
{
- if (swap_p)
+ if (swap_p && j == 0)
std::swap (vec_rhs1, vec_rhs2);
vec_oprnds0.quick_push (vec_rhs1);
vec_oprnds1.quick_push (vec_rhs2);