Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cd4bbcb532082f4a7a32de44cd1ccaa7be1d1dc6
      
https://github.com/WebKit/WebKit/commit/cd4bbcb532082f4a7a32de44cd1ccaa7be1d1dc6
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-02-03 (Tue, 03 Feb 2026)

  Changed paths:
    M Source/JavaScriptCore/b3/B3ReduceStrength.cpp

  Log Message:
  -----------
  [JSC] Add strength reduction rules for WasmRefCast / WasmRefTest with 
WasmStructNew
https://bugs.webkit.org/show_bug.cgi?id=306849
rdar://169516425

Reviewed by Sosuke Suzuki.

This patch adds simple strength reduction rules for
WasmRefCast(WasmStructNew) / WasmRefTest(WasmStructNew). We can just
obtain the type and fold them, and remove them potentially. This can
happen when you inline the other functions, or you are storing and
loading from wasm locals which have broader type.

* Source/JavaScriptCore/b3/B3ReduceStrength.cpp:

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



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

Reply via email to