* config/cris/cris.md: Use correct operand in a define_peephole2.
From-SVN: r245723
+2017-02-24 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * config/cris/cris.md: Use correct operand in a define_peephole2.
+
2017-02-24 Segher Boessenkool <segher@kernel.crashing.org>
* config/c6x/c6x.c (predicate_insn): Do not incorrectly share RTL.
[(set (match_dup 0) (match_dup 3))
(set (match_dup 0) (and:SI (match_dup 0) (match_dup 4)))]
{
- machine_mode zmode = INTVAL (operands[2]) <= 255 ? QImode : HImode;
+ machine_mode zmode = INTVAL (operands[1]) <= 255 ? QImode : HImode;
rtx op1
= (REG_S_P (operands[2])
? gen_rtx_REG (zmode, REGNO (operands[2]))