recog.h (insn_operand_data): Add an "allows_mem" field.
authorRichard Sandiford <richard.sandiford@linaro.org>
Fri, 15 Apr 2011 09:35:03 +0000 (09:35 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 15 Apr 2011 09:35:03 +0000 (09:35 +0000)
commit4fd3a105984e477c629b22c68ab57b169ee2e337
treeeb9aba60245750798ddf9fd86d5946bc2c46db01
parentb98b952feb6aea1e33371d0b64a9622603ac146e
recog.h (insn_operand_data): Add an "allows_mem" field.

gcc/
* recog.h (insn_operand_data): Add an "allows_mem" field.
* genoutput.c (output_operand_data): Initialize it.
* optabs.c (maybe_legitimize_operand_same_code): New function.
(maybe_legitimize_operand): Use it when matching the original
op->value.

From-SVN: r172478
gcc/ChangeLog
gcc/genoutput.c
gcc/optabs.c
gcc/recog.h