Commit da3243b2 by Segher Boessenkool Committed by Segher Boessenkool

cris: Fix for RTL checking


	* config/cris/cris.md: Use correct operand in a define_peephole2.

From-SVN: r245723
parent 4bc2b786
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.
2017-02-24 Segher Boessenkool <segher@kernel.crashing.org>
......
......@@ -5034,7 +5034,7 @@
[(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]))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment