[webkit-changes] [WebKit/WebKit] 3e74b0: B3::ReduceStrength is overly conservative at apply...

Keith Miller noreply at github.com
Wed Mar 6 15:15:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3e74b00e473fe2a37662b206e4615c97d85a456f
      https://github.com/WebKit/WebKit/commit/3e74b00e473fe2a37662b206e4615c97d85a456f
  Author: Keith Miller <keith_miller at apple.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

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

  Log Message:
  -----------
  B3::ReduceStrength is overly conservative at applying specializeSelect
https://bugs.webkit.org/show_bug.cgi?id=270577
rdar://124146878

Reviewed by Justin Michaud.

Right now it only applies if both outputs from a select are constant. The comment
and testing indicates this is profitable as long as one of the two outputs is a constant.
This looks like a 1.7% speedup on JS3.

* Source/JavaScriptCore/b3/B3ReduceStrength.cpp:

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



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


More information about the webkit-changes mailing list