Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 01f7679257a549dc02da742088490030c88cd41b
https://github.com/WebKit/WebKit/commit/01f7679257a549dc02da742088490030c88cd41b
Author: Hannes Verschore <[email protected]>
Date: 2025-11-11 (Tue, 11 Nov 2025)
Changed paths:
M Source/JavaScriptCore/b3/air/AirOptimizeBlockOrder.cpp
Log Message:
-----------
[JSC] Improve BlockOrder by handling finished chains better and optimize
specific common block structures.
https://bugs.webkit.org/show_bug.cgi?id=301564
Reviewed by Yusuke Suzuki.
This improves the block order.
1) When there is no successor and the chain is broken,
take a better candidate using FIFO instead of LIFO.
2% more fall-through + 4% decrease in jump lengths
2) Detect common structures and put them in a better order.
Support is included for triangle, diamond, and
two successors (with one having other predecessors).
2.7% more fall-through + 11% decrease in jump lengths
* Source/JavaScriptCore/b3/air/AirOptimizeBlockOrder.cpp:
(JSC::B3::Air::detectTriangleStructure):
(JSC::B3::Air::detectDiamondStructure):
(JSC::B3::Air::detectExclusiveSuccessor):
Canonical link: https://commits.webkit.org/302875@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications