RISC-V: Remove TUPLE size macro define.

Message ID 20221011062333.70907-1-juzhe.zhong@rivai.ai
State Accepted, archived
Headers
Series RISC-V: Remove TUPLE size macro define. |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

juzhe.zhong@rivai.ai Oct. 11, 2022, 6:23 a.m. UTC
  From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>

gcc/ChangeLog:

        * config/riscv/riscv-vector-builtins.h: Remove redundant macro.

---
 gcc/config/riscv/riscv-vector-builtins.h | 3 ---
 1 file changed, 3 deletions(-)
  

Comments

Kito Cheng Oct. 12, 2022, 1:02 p.m. UTC | #1
Committed, thanks!

On Tue, Oct 11, 2022 at 2:23 PM <juzhe.zhong@rivai.ai> wrote:
>
> From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
>
> gcc/ChangeLog:
>
>         * config/riscv/riscv-vector-builtins.h: Remove redundant macro.
>
> ---
>  gcc/config/riscv/riscv-vector-builtins.h | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/gcc/config/riscv/riscv-vector-builtins.h b/gcc/config/riscv/riscv-vector-builtins.h
> index 7d4b807f33c..cd6dad62ad8 100644
> --- a/gcc/config/riscv/riscv-vector-builtins.h
> +++ b/gcc/config/riscv/riscv-vector-builtins.h
> @@ -23,9 +23,6 @@
>
>  namespace riscv_vector {
>
> -/* This is for segment instructions.  */
> -const unsigned int MAX_TUPLE_SIZE = 8;
> -
>  /* Enumerates the RVV types, together called
>     "vector types" for brevity.  */
>  enum vector_type_index
> --
> 2.36.1
>
  

Patch

diff --git a/gcc/config/riscv/riscv-vector-builtins.h b/gcc/config/riscv/riscv-vector-builtins.h
index 7d4b807f33c..cd6dad62ad8 100644
--- a/gcc/config/riscv/riscv-vector-builtins.h
+++ b/gcc/config/riscv/riscv-vector-builtins.h
@@ -23,9 +23,6 @@ 
 
 namespace riscv_vector {
 
-/* This is for segment instructions.  */
-const unsigned int MAX_TUPLE_SIZE = 8;
-
 /* Enumerates the RVV types, together called
    "vector types" for brevity.  */
 enum vector_type_index