diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2021-03-09 12:32:20 +0200 |
---|---|---|
committer | Claudiu Zissulescu <claziss@synopsys.com> | 2021-03-09 12:32:20 +0200 |
commit | 08ce558985828b0f5bbcceed64a29a7f7bb21384 (patch) | |
tree | a89d92b7425b9088856ebf4700277237de4364f0 /gcc | |
parent | eb5e1998e29873ba77deff357dc27e8cef53dff0 (diff) | |
download | gcc-08ce558985828b0f5bbcceed64a29a7f7bb21384.zip gcc-08ce558985828b0f5bbcceed64a29a7f7bb21384.tar.gz gcc-08ce558985828b0f5bbcceed64a29a7f7bb21384.tar.bz2 |
arc: Remove orphan function.
Remove unused function.
gcc/
2021-03-09 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.c (arc_attr_type): Remove function.
Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/arc/arc.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index 367e4c9..3201c3f 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -10285,23 +10285,6 @@ arc_regno_use_in (unsigned int regno, rtx x) return NULL_RTX; } -/* Return the integer value of the "type" attribute for INSN, or -1 if - INSN can't have attributes. */ - -static int -arc_attr_type (rtx_insn *insn) -{ - if (NONJUMP_INSN_P (insn) - ? (GET_CODE (PATTERN (insn)) == USE - || GET_CODE (PATTERN (insn)) == CLOBBER) - : JUMP_P (insn) - ? (GET_CODE (PATTERN (insn)) == ADDR_VEC - || GET_CODE (PATTERN (insn)) == ADDR_DIFF_VEC) - : !CALL_P (insn)) - return -1; - return get_attr_type (insn); -} - /* Code has a minimum p2 alignment of 1, which we must restore after an ADDR_DIFF_VEC. */ |