Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0ba6297de022a3c74ee5c06cec673bb4f3b9d970
      
https://github.com/WebKit/WebKit/commit/0ba6297de022a3c74ee5c06cec673bb4f3b9d970
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-06-16 (Tue, 16 Jun 2026)

  Changed paths:
    M Source/JavaScriptCore/b3/B3ReduceStrength.cpp
    M Source/JavaScriptCore/runtime/OptionsList.h

  Log Message:
  -----------
  [JSC] Avoid fix-point iteration in B3 ReduceStrength
https://bugs.webkit.org/show_bug.cgi?id=317181
rdar://179773016

Reviewed by Justin Michaud.

We are finding that B3 ReduceStrength is taking too long time for large
graph. And because of characteristics of fix-point analysis, the last
iteration is wasteful no-op. Based on preliminary analysis, actually 98%
of B3 values are converged in the first run and remaining runs are only
handling the remaining 2%.

Based on this characteristics, we reorganize B3 ReduceStrength phase to
run only up to twice. But when I did this, we observed several JetStream3
benchmark regressions, thus we look into each case and ensure that the
required conversion happens in the single path and making them neutral.

* Source/JavaScriptCore/b3/B3ReduceStrength.cpp:
* Source/JavaScriptCore/runtime/OptionsList.h:

Canonical link: https://commits.webkit.org/315315@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to