summaryrefslogtreecommitdiff
path: root/gcc/gengenrtl.c
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-11 10:32:54 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-11 10:32:54 +0000
commit9426b612787aa49ca83270369785f345c4d9e0eb (patch)
tree1600228b687f0973277f1952e5f14849dbbd8053 /gcc/gengenrtl.c
parent11cfbfffa61a9bf7753b3281a7723a5ca5faaeeb (diff)
downloadgcc-9426b612787aa49ca83270369785f345c4d9e0eb.tar.gz
* rtl.h (gen_rtx_CONST_VECTOR): Declare.
* gengenrtl.c (special_rtx): Check for CONST_VECTOR. * emit-rtl.c (gen_rtx_CONST_VECTOR): New function. (gen_const_vector_0): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55395 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gengenrtl.c')
-rw-r--r--gcc/gengenrtl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c
index 31e5910f237..126be8ead28 100644
--- a/gcc/gengenrtl.c
+++ b/gcc/gengenrtl.c
@@ -149,7 +149,8 @@ special_rtx (idx)
return (strcmp (defs[idx].enumname, "CONST_INT") == 0
|| strcmp (defs[idx].enumname, "REG") == 0
|| strcmp (defs[idx].enumname, "SUBREG") == 0
- || strcmp (defs[idx].enumname, "MEM") == 0);
+ || strcmp (defs[idx].enumname, "MEM") == 0
+ || strcmp (defs[idx].enumname, "CONST_VECTOR") == 0);
}
/* Return nonzero if the RTL code given by index IDX is one that we should