Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 450c32d69eed0fd2adaa5ab7484c3f2c825865a1
https://github.com/WebKit/WebKit/commit/450c32d69eed0fd2adaa5ab7484c3f2c825865a1
Author: Dan Hecht <[email protected]>
Date: 2025-12-22 (Mon, 22 Dec 2025)
Changed paths:
M Source/JavaScriptCore/b3/air/AirAllocateRegistersByGreedy.cpp
M Source/JavaScriptCore/b3/air/AirCode.h
M Source/JavaScriptCore/b3/air/AirRegisterAllocatorStats.h
M Source/JavaScriptCore/b3/testb3_1.cpp
M Source/JavaScriptCore/jit/RegisterSet.h
Log Message:
-----------
[JSC] GreedyRegAlloc: support coalescing with pinned registers
https://bugs.webkit.org/show_bug.cgi?id=304605
rdar://167036366
Reviewed by Yusuke Suzuki.
Wasm code pins some registers for internal runtime usage. Those pinned
registers are off limits for register allocation. However, the IR
sometimes contains moves from those pinned registers into a Tmp, and
then the Tmp is used without modification. In these cases, we should
allow the Tmp to be assigned to the pinned register to avoid the
unnecessary copy and reduce memory pressure at these points slightly.
Test: Source/JavaScriptCore/b3/testb3_1.cpp
Canonical link: https://commits.webkit.org/304889@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications