mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 09:41:09 +08:00
lra-constraints.c (process_address_1): Do not attempt to decompose addresses for MEMs that satisfy fixed-form constraints.
* lra-constraints.c (process_address_1): Do not attempt to decompose addresses for MEMs that satisfy fixed-form constraints. From-SVN: r243632
This commit is contained in:
parent
253c0172bb
commit
164f063463
@ -1,3 +1,8 @@
|
||||
2016-12-14 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* lra-constraints.c (process_address_1): Do not attempt to decompose
|
||||
addresses for MEMs that satisfy fixed-form constraints.
|
||||
|
||||
2016-12-14 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/78788
|
||||
|
@ -3080,7 +3080,11 @@ process_address_1 (int nop, bool check_only_p,
|
||||
|
||||
if (insn_extra_address_constraint (cn))
|
||||
decompose_lea_address (&ad, curr_id->operand_loc[nop]);
|
||||
else if (MEM_P (op))
|
||||
/* 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
|
||||
&& constraint_satisfied_p (op, cn)))
|
||||
decompose_mem_address (&ad, op);
|
||||
else if (GET_CODE (op) == SUBREG
|
||||
&& MEM_P (SUBREG_REG (op)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user