diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2011-04-15 09:35:03 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2011-04-15 09:35:03 +0000 |
commit | 4fd3a105984e477c629b22c68ab57b169ee2e337 (patch) | |
tree | eb9aba60245750798ddf9fd86d5946bc2c46db01 /gcc/recog.h | |
parent | b98b952feb6aea1e33371d0b64a9622603ac146e (diff) | |
download | gcc-4fd3a105984e477c629b22c68ab57b169ee2e337.zip gcc-4fd3a105984e477c629b22c68ab57b169ee2e337.tar.gz gcc-4fd3a105984e477c629b22c68ab57b169ee2e337.tar.bz2 |
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
Diffstat (limited to 'gcc/recog.h')
-rw-r--r-- | gcc/recog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/recog.h b/gcc/recog.h index 0261bc6..cce1321 100644 --- a/gcc/recog.h +++ b/gcc/recog.h @@ -272,6 +272,8 @@ struct insn_operand_data const char is_operator; const char eliminable; + + const char allows_mem; }; /* Legal values for insn_data.output_format. Indicate what type of data |