aboutsummaryrefslogtreecommitdiff
path: root/gcc/genrecog.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-06-13 09:48:35 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-06-13 09:48:35 +0000
commit313d38e359bfcd8b56c946233294061c66ae21dc (patch)
tree73afaadfb9d218323d01fe93da665d1a87626ac0 /gcc/genrecog.c
parenta6860be9c89b7025c938f7a53c209478d3d84ca9 (diff)
downloadgcc-313d38e359bfcd8b56c946233294061c66ae21dc.zip
gcc-313d38e359bfcd8b56c946233294061c66ae21dc.tar.gz
gcc-313d38e359bfcd8b56c946233294061c66ae21dc.tar.bz2
gensupport.h (add_implicit_parallel): Declare.
gcc/ * gensupport.h (add_implicit_parallel): Declare. * genrecog.c (add_implicit_parallel): Move to... * gensupport.c (add_implicit_parallel): ...here. (process_one_cond_exec): Use it. * genemit.c (gen_insn): Likewise. From-SVN: r224454
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r--gcc/genrecog.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index 88177d5..d843228 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -5185,22 +5185,6 @@ print_subroutine_group (output_state *os, routine_type type, state *root)
print_subroutine (os, root, 0);
}
-/* Return the rtx pattern specified by the list of rtxes in a
- define_insn or define_split. */
-
-static rtx
-add_implicit_parallel (rtvec vec)
-{
- if (GET_NUM_ELEM (vec) == 1)
- return RTVEC_ELT (vec, 0);
- else
- {
- rtx pattern = rtx_alloc (PARALLEL);
- XVEC (pattern, 0) = vec;
- return pattern;
- }
-}
-
/* Return the rtx pattern for the list of rtxes in a define_peephole2. */
static rtx