]> gcc.gnu.org Git - gcc.git/commitdiff
Remove duplicated definition in risc-v vector support.
authorJeff Law <jlaw@ventanamicro>
Sat, 6 May 2023 17:36:37 +0000 (11:36 -0600)
committerJeff Law <jlaw@ventanamicro>
Sat, 6 May 2023 17:36:37 +0000 (11:36 -0600)
gcc/

* config/riscv/riscv-v.cc (autovec_use_vlmax_p): Remove
duplicate definition.

gcc/config/riscv/riscv-v.cc

index 6f8b4abf46dc5366b0bd4c346c2afdba9362a3e1..9d699d455b05b815d5161edb80a6f946ded79cec 100644 (file)
@@ -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)
This page took 0.066624 seconds and 5 git commands to generate.