aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro>2023-05-06 11:36:37 -0600
committerJeff Law <jlaw@ventanamicro>2023-05-06 11:36:37 -0600
commitb9b7981f3d6919518372daf4c7e8c40dfc58f49d (patch)
treeac463f05e5565a50cf04f13aaf58cca67d944059
parentbc73bf831ef512b6a1c07ae150a7cbf2daed9fd6 (diff)
downloadgcc-b9b7981f3d6919518372daf4c7e8c40dfc58f49d.zip
gcc-b9b7981f3d6919518372daf4c7e8c40dfc58f49d.tar.gz
gcc-b9b7981f3d6919518372daf4c7e8c40dfc58f49d.tar.bz2
Remove duplicated definition in risc-v vector support.
gcc/ * config/riscv/riscv-v.cc (autovec_use_vlmax_p): Remove duplicate definition.
-rw-r--r--gcc/config/riscv/riscv-v.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/config/riscv/riscv-v.cc b/gcc/config/riscv/riscv-v.cc
index 6f8b4ab..9d699d4 100644
--- a/gcc/config/riscv/riscv-v.cc
+++ b/gcc/config/riscv/riscv-v.cc
@@ -1015,17 +1015,6 @@ expand_tuple_move (machine_mode mask_mode, rtx *ops)
}
}
-/* SCALABLE means that the vector-length is agnostic (run-time invariant and
- compile-time unknown). FIXED meands that the vector-length is specific
- (compile-time known). Both RVV_SCALABLE and RVV_FIXED_VLMAX are doing
- auto-vectorization using VLMAX vsetvl configuration. */
-static bool
-autovec_use_vlmax_p (void)
-{
- return riscv_autovec_preference == RVV_SCALABLE
- || riscv_autovec_preference == RVV_FIXED_VLMAX;
-}
-
/* Return the vectorization machine mode for RVV according to LMUL. */
machine_mode
preferred_simd_mode (scalar_mode mode)