diff options
author | Aaron Sawdey <acsawdey@linux.ibm.com> | 2021-03-08 22:18:03 -0600 |
---|---|---|
committer | Aaron Sawdey <acsawdey@linux.ibm.com> | 2021-03-08 22:18:03 -0600 |
commit | e5cdf6968b40df0f59faa4af8fe26ce6fb9162cd (patch) | |
tree | b509cda0a705b3b6134906d800d3001d77ab85e8 | |
parent | 7eef9a66018e23677058fec421229e3fa435a1a3 (diff) | |
download | gcc-e5cdf6968b40df0f59faa4af8fe26ce6fb9162cd.zip gcc-e5cdf6968b40df0f59faa4af8fe26ce6fb9162cd.tar.gz gcc-e5cdf6968b40df0f59faa4af8fe26ce6fb9162cd.tar.bz2 |
Checked in non-final version of patch in commit 9433c844c8bcf0166567943b45576ceeeee0b131
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.
-rw-r--r-- | gcc/config/rs6000/predicates.md | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index 1556514..69f3c70 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -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; }) |