Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 96f55335b2769c3cd7574f16c3735b121169e756
https://github.com/WebKit/WebKit/commit/96f55335b2769c3cd7574f16c3735b121169e756
Author: Yijia Huang <[email protected]>
Date: 2025-04-22 (Tue, 22 Apr 2025)
Changed paths:
M Source/JavaScriptCore/dfg/DFGLoopUnrollingPhase.cpp
M Source/JavaScriptCore/runtime/OptionsList.h
Log Message:
-----------
[JSC] Add loop unrolling allowlist option for local performance testing
https://bugs.webkit.org/show_bug.cgi?id=291906
rdar://149791031
Reviewed by Yusuke Suzuki.
Add support for --loopUnrollingAllowlist to limit loop unrolling to specific
functions during FTL compilation. This feature is intended primarily for local
performance testing and debugging of unrolling impact in isolation.
- Introduced FunctionAllowlist gating in DFGLoopUnrollingPhase.
- Added Options::loopUnrollingAllowlist, similar to FTL/BBQ/OMG allowlists.
- The allowlist is lazily loaded and checked at the beginning of the unrolling
phase.
This enables more controlled experiments by restricting unrolling to known-hot
or problem functions.
* Source/JavaScriptCore/dfg/DFGLoopUnrollingPhase.cpp:
(JSC::DFG::LoopUnrollingPhase::run):
(JSC::DFG::LoopUnrollingPhase::functionAllowlist):
* Source/JavaScriptCore/runtime/OptionsList.h:
Canonical link: https://commits.webkit.org/293975@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes