diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-09 15:14:03 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-09 15:14:03 +0000 |
commit | f935868a274a39590a4b78f984c0bc98283d980f (patch) | |
tree | e9fd85a935c135494fbf5adfc6fce9d4b291818a /gcc/gengenrtl.c | |
parent | 382f116f732d210b36037e52c50b62fb3885c635 (diff) | |
download | gcc-f935868a274a39590a4b78f984c0bc98283d980f.tar.gz |
Handcode gen_rtx_INSN
gcc/ChangeLog:
2014-09-09 David Malcolm <dmalcolm@redhat.com>
* combine.c (try_combine): Eliminate checked cast on result of
gen_rtx_INSN.
* emit-rtl.c (gen_rtx_INSN): New function, improving over the prior
autogenerated one by strengthening the return type and params 2 and 3
from rtx to rtx_insn *, and by naming the params.
* gengenrtl.c (special_rtx): Add INSN to those that are
special-cased.
* rtl.h (gen_rtx_INSN): New prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215083 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gengenrtl.c')
-rw-r--r-- | gcc/gengenrtl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c index 885dd200c27..d3eca985e3e 100644 --- a/gcc/gengenrtl.c +++ b/gcc/gengenrtl.c @@ -125,6 +125,7 @@ special_rtx (int idx) { return (strcmp (defs[idx].enumname, "EXPR_LIST") == 0 || strcmp (defs[idx].enumname, "INSN_LIST") == 0 + || strcmp (defs[idx].enumname, "INSN") == 0 || strcmp (defs[idx].enumname, "CONST_INT") == 0 || strcmp (defs[idx].enumname, "REG") == 0 || strcmp (defs[idx].enumname, "SUBREG") == 0 |