Revert "Never reload fixed form constraints memory operand"
authorThomas Preud'homme <thopre01@gcc.gnu.org>
Thu, 4 Oct 2018 16:48:50 +0000 (16:48 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Thu, 4 Oct 2018 16:48:50 +0000 (16:48 +0000)
This reverts commit r264834.

2018-10-04  Thomas Preud'homme  <thomas.preudhomme@linaro.org>

    Revert
    2018-10-04  Thomas Preud'homme  <thomas.preudhomme@linaro.org>

    gcc/
    * lra-constraints.c (process_address_1): Bail out for all
    satisfied fixed constraints.

From-SVN: r264849

gcc/ChangeLog
gcc/lra-constraints.c

index 0340fa3..d011265 100644 (file)
        * ipa-inline.c (inline_to_all_callers_1):
        Call ultimate_alias_target for node being inlined.
 
-2018-10-04  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
-
-       * lra-constraints.c (process_address_1): Bail out for all
-       satisfied fixed constraints.
-
 2018-10-03  Jeff Law  <law@redhat.com>
 
         * gimple-ssa-sprintf.c (format_string): Do not hardcode size of
index c3edd9e..774d1ff 100644 (file)
@@ -3243,7 +3243,8 @@ process_address_1 (int nop, bool check_only_p,
   /* Do not attempt to decompose arbitrary addresses generated by combine
      for asm operands with loose constraints, e.g 'X'.  */
   else if (MEM_P (op)
-          && !(get_constraint_type (cn) == CT_FIXED_FORM
+          && !(INSN_CODE (curr_insn) < 0
+               && get_constraint_type (cn) == CT_FIXED_FORM
                && constraint_satisfied_p (op, cn)))
     decompose_mem_address (&ad, op);
   else if (GET_CODE (op) == SUBREG