Skip to content

Commit 6cdc1db

Browse files
verwaestV8 LUCI CQ
authored andcommitted
Revert "[maglev] Enable loop SPeeling"
This reverts commit a44a16f. Bug: 367758074 Change-Id: If2716e1ca60a7b70c8987fe33ddad4356e868ebf Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5875801 Auto-Submit: Toon Verwaest <[email protected]> Reviewed-by: Leszek Swirski <[email protected]> Commit-Queue: Leszek Swirski <[email protected]> Commit-Queue: Toon Verwaest <[email protected]> Cr-Commit-Position: refs/heads/main@{#96179}
1 parent dbcdd63 commit 6cdc1db

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/flags/flag-definitions.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,8 @@ DEFINE_BOOL(maglev_inlining, true,
546546
"enable inlining in the maglev optimizing compiler")
547547
DEFINE_BOOL(maglev_loop_peeling, true,
548548
"enable loop peeling in the maglev optimizing compiler")
549-
DEFINE_BOOL(maglev_optimistic_peeled_loops, true,
550-
"enable aggressive optimizations for loops (loop SPeeling) in the "
549+
DEFINE_BOOL(maglev_optimistic_peeled_loops, false,
550+
"enable speculation on loop state using peeling as fallback in the "
551551
"maglev optimizing compiler")
552552
DEFINE_INT(maglev_loop_peeling_max_size, 200,
553553
"max loop size for loop peeling in the maglev optimizing compiler")
@@ -562,6 +562,7 @@ DEFINE_BOOL(maglev_destroy_on_background, true,
562562
DEFINE_BOOL(maglev_inline_api_calls, false,
563563
"Inline CallApiCallback builtin into generated code")
564564
DEFINE_EXPERIMENTAL_FEATURE(maglev_licm, "loop invariant code motion")
565+
DEFINE_WEAK_IMPLICATION(maglev_future, maglev_optimistic_peeled_loops)
565566
DEFINE_WEAK_IMPLICATION(maglev_future, maglev_speculative_hoist_phi_untagging)
566567
DEFINE_WEAK_IMPLICATION(maglev_future, maglev_inline_api_calls)
567568
DEFINE_WEAK_IMPLICATION(maglev_future, maglev_escape_analysis)

0 commit comments

Comments
 (0)