Fix a variety of testsuite failures on the H8 after recent cselib changes
PR rtl-optimization/92264 * config/h8300/h8300.md (mov;add peephole2): Avoid applying when the destination is the stack pointer.
This commit is contained in:
parent
31449cf8e1
commit
14162197fd
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2020-04-07 Jeff Law <law@redhat.com>
|
||||
|
||||
PR rtl-optimization/92264
|
||||
* config/h8300/h8300.md (mov;add peephole2): Avoid applying when
|
||||
the destination is the stack pointer.
|
||||
|
||||
2020-04-07 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR rtl-optimization/94291
|
||||
|
|
|
@ -4299,6 +4299,7 @@
|
|||
(plus:SI (match_dup 0)
|
||||
(match_operand:SI 2 "const_int_operand" "")))]
|
||||
"(TARGET_H8300H || TARGET_H8300S)
|
||||
&& operands[0] != stack_pointer_rtx
|
||||
&& REG_P (operands[0]) && REG_P (operands[1])
|
||||
&& REGNO (operands[0]) != REGNO (operands[1])
|
||||
&& !satisfies_constraint_L (operands[2])
|
||||
|
|
Loading…
Add table
Reference in a new issue