diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-12 12:51:28 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-12 12:51:28 +0000 |
commit | 9ee2b2fff8e9805c42c97eb1de02dc84e7daf3d9 (patch) | |
tree | ef1f2b179e33edaca097310347743941ae39a687 /gcc/recog.h | |
parent | 5d592141b494630b3d0cf28fff1f800df6d860da (diff) | |
download | gcc-9ee2b2fff8e9805c42c97eb1de02dc84e7daf3d9.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172316 138bc75d-0d04-0410-961f-82ee72b054a4
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 0261bc6072d..cce1321ad09 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 |