Commit 31b49aee authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[test] Test more wasm variants

Since wasm optimizations are independent of JS optimizations, we can
just combine the "no_liftoff" variant with the existing "stress"
variant (which has the similar "--always-opt" option for JS), and add
a "Liftoff only" variant as part of "nooptimization".

This gives more coverage to find bugs like https://crrev.com/c/1543354
more easy.

R=mstarzinger@chromium.org, machenbach@chromium.org

Change-Id: I81bb22074c59dcb650a05252da43a4170cd467ac
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1559740
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60714}
parent 7e896fe5
...@@ -109,10 +109,10 @@ ...@@ -109,10 +109,10 @@
}], # arch == arm64 and msan }], # arch == arm64 and msan
############################################################################## ##############################################################################
['variant in [no_liftoff, nooptimization, stress, stress_background_compile] and (arch == arm or arch == arm64) and simulator_run', { ['variant in [nooptimization, stress, stress_background_compile] and (arch == arm or arch == arm64) and simulator_run', {
# Slow tests: https://crbug.com/v8/7783 # Slow tests: https://crbug.com/v8/7783
'dfg-double-vote-fuzz': [SKIP], 'dfg-double-vote-fuzz': [SKIP],
}], # variant in [no_liftoff, nooptimization, stress, stress_background_compile] and (arch == arm or arch == arm64) and simulator_run }], # variant in [nooptimization, stress, stress_background_compile] and (arch == arm or arch == arm64) and simulator_run
############################################################################## ##############################################################################
['gcov_coverage', { ['gcov_coverage', {
......
...@@ -12,14 +12,17 @@ ALL_VARIANT_FLAGS = { ...@@ -12,14 +12,17 @@ ALL_VARIANT_FLAGS = {
"infra_staging": [[]], "infra_staging": [[]],
"interpreted_regexp": [["--regexp-interpret-all"]], "interpreted_regexp": [["--regexp-interpret-all"]],
"jitless": [["--jitless"]], "jitless": [["--jitless"]],
"no_liftoff": [["--no-wasm-tier-up"]],
"minor_mc": [["--minor-mc"]], "minor_mc": [["--minor-mc"]],
# No optimization means disable all optimizations. OptimizeFunctionOnNextCall # No optimization means disable all optimizations. OptimizeFunctionOnNextCall
# would not force optimization too. It turns into a Nop. Please see # would not force optimization too. It turns into a Nop. Please see
# https://chromium-review.googlesource.com/c/452620/ for more discussion. # https://chromium-review.googlesource.com/c/452620/ for more discussion.
"nooptimization": [["--noopt"]], # For WebAssembly, we test "Liftoff-only" in the nooptimization variant and
# "TurboFan-only" in the stress variant. The WebAssembly configuration is
# independent of JS optimizations, so we can combine those configs.
"nooptimization": [["--no-opt", "--liftoff", "--no-wasm-tier-up"]],
"slow_path": [["--force-slow-path"]], "slow_path": [["--force-slow-path"]],
"stress": [["--stress-opt", "--always-opt"]], "stress": [["--stress-opt", "--always-opt", "--no-liftoff",
"--no-wasm-tier-up"]],
"stress_background_compile": [["--stress-background-compile"]], "stress_background_compile": [["--stress-background-compile"]],
"stress_incremental_marking": [["--stress-incremental-marking"]], "stress_incremental_marking": [["--stress-incremental-marking"]],
# Trigger stress sampling allocation profiler with sample interval = 2^14 # Trigger stress sampling allocation profiler with sample interval = 2^14
......
...@@ -46,7 +46,7 @@ VARIANT_ALIASES = { ...@@ -46,7 +46,7 @@ VARIANT_ALIASES = {
# Shortcut for the two above ("more" first - it has the longer running tests). # Shortcut for the two above ("more" first - it has the longer running tests).
"exhaustive": MORE_VARIANTS + VARIANTS, "exhaustive": MORE_VARIANTS + VARIANTS,
# Additional variants, run on a subset of bots. # Additional variants, run on a subset of bots.
"extra": ["nooptimization", "future", "no_liftoff", "no_wasm_traps"], "extra": ["nooptimization", "future", "no_wasm_traps"],
} }
GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment