* config/rs6000/rs6000.md: Require operand inequality in one
of the peepholes.
From-SVN: r222912
+2015-05-08 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * config/rs6000/rs6000.md: Require operand inequality in one
+ of the peepholes.
+
2015-05-08 Richard Sandiford <richard.sandiford@arm.com>
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
(match_operand 7 "" "")
(match_operand 8 "" "")))]
"peep2_reg_dead_p (3, operands[0])
- && peep2_reg_dead_p (4, operands[4])"
+ && peep2_reg_dead_p (4, operands[4])
+ && REGNO (operands[0]) != REGNO (operands[5])"
[(set (match_dup 0) (xor:SI (match_dup 5) (match_dup 9)))
(set (match_dup 4) (compare:CC (match_dup 0) (match_dup 10)))
(set (pc) (if_then_else (match_dup 6) (match_dup 7) (match_dup 8)))]