recog.h (insn_operand_data): Add an "allows_mem" field.
authorRichard Sandiford <richard.sandiford@linaro.org>
Tue, 12 Apr 2011 12:51:28 +0000 (12:51 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 12 Apr 2011 12:51:28 +0000 (12:51 +0000)
commitcff1b7e0d21a81fb8b39811f13d7a940d89bdf5a
treeef1f2b179e33edaca097310347743941ae39a687
parent77059241d8049bd7626ce216caf0313a2fa964c2
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: r172316
gcc/ChangeLog
gcc/genoutput.c
gcc/optabs.c
gcc/recog.h