Checked in non-final version of patch in commit 9433c844c8

Not sure what I did but this corrects it to the version that I tested
and that Segher approved.

gcc/ChangeLog
	* config/rs6000/predicates.md (ds_form_mem_operand): Check
	in correct code.
This commit is contained in:
Aaron Sawdey 2021-03-08 22:18:03 -06:00
parent 7eef9a6601
commit e5cdf6968b

View File

@ -998,16 +998,10 @@
(define_predicate "ds_form_mem_operand"
(match_code "subreg,mem")
{
rtx inner, addr, offset;
inner = op;
if (reload_completed && SUBREG_P (inner))
inner = SUBREG_REG (inner);
if (!any_memory_operand (inner, mode))
if (!any_memory_operand (op, mode))
return false;
addr = XEXP (inner, 0);
rtx addr = XEXP (op, 0);
return address_to_insn_form (addr, mode, NON_PREFIXED_DS) == INSN_FORM_DS;
})