[webkit-changes] [WebKit/WebKit] 0e9b6a: [JSC][GreedyRegAlloc] Add airGreedyRegAllocSplitMu...

Dan Hecht noreply at github.com
Wed Feb 19 15:52:20 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0e9b6ac9acdafb0b910eb418f61aac05ae09058c
      https://github.com/WebKit/WebKit/commit/0e9b6ac9acdafb0b910eb418f61aac05ae09058c
  Author: Dan Hecht <dan.hecht at apple.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

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

  Log Message:
  -----------
  [JSC][GreedyRegAlloc] Add airGreedyRegAllocSplitMultiplier option with default 2
https://bugs.webkit.org/show_bug.cgi?id=288004
rdar://145166903

Reviewed by Yusuke Suzuki.

Value of 2 is chosen based on benchmark results and spot checking code
after register allocation.

It's useful to have this as an option since setting it to 0 will
cause the register allocator to split at every opportunity which
can stress test that logic.

* Source/JavaScriptCore/b3/air/AirAllocateRegistersByGreedy.cpp:
(JSC::B3::Air::Greedy::GreedyAllocator::trySplitAroundClobbers):
* Source/JavaScriptCore/runtime/OptionsList.h:

Canonical link: https://commits.webkit.org/290659@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