RISC-V Regression: Remove scalable compile option

Message ID 20231120104158.4141376-1-juzhe.zhong@rivai.ai
State Unresolved
Headers
Series RISC-V Regression: Remove scalable compile option |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

juzhe.zhong@rivai.ai Nov. 20, 2023, 10:41 a.m. UTC
  Since we already set scalable vectorization by default, this flag is redundant.

Also, we are start to full coverage testing with different compile option.
E.g --param=riscv-autovec-preference=fixed-vlmax.
To avoid compile option confusion. Remove it.

gcc/testsuite/ChangeLog:

	* lib/target-supports.exp: Remove scalable compile option.

---
 gcc/testsuite/lib/target-supports.exp | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 7412ac95623..236df6c2c8e 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -11564,7 +11564,6 @@  proc check_vect_support_and_set_flags { } {
         set dg-do-what-default run
     } elseif [istarget riscv64-*-*] {
 	if [check_effective_target_riscv_vector_hw] {
-	    lappend DEFAULT_VECTCFLAGS "--param" "riscv-autovec-preference=scalable"
 	    lappend DEFAULT_VECTCFLAGS "--param" "riscv-vector-abi"
 	    set dg-do-what-default run
 	} else {