Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 07baf1347eec9b3f8837bc798eeab82e2616f73d
https://github.com/WebKit/WebKit/commit/07baf1347eec9b3f8837bc798eeab82e2616f73d
Author: Yusuke Suzuki <[email protected]>
Date: 2026-01-08 (Thu, 08 Jan 2026)
Changed paths:
M Source/JavaScriptCore/b3/B3Procedure.cpp
M Source/JavaScriptCore/b3/air/AirCode.cpp
M Source/JavaScriptCore/dfg/DFGGraph.cpp
Log Message:
-----------
[JSC] Remove dominator and loop computation from IonGraph generation
https://bugs.webkit.org/show_bug.cgi?id=305157
rdar://167803703
Reviewed by Dan Hecht.
IonGraph viewer is relying on these attributes to layout, so this was
mandatory to compute them. However, dominator computation etc. does not
work well for irreducible graph, and some phases have irreducible graph
(some case does not). Instead, our IonGraph viewer fork is supporting
irreducible graph and not using these attributes (and loopDepth)
information anymore. So let's remove computation of them. Also support
LoadStore form of DFG too as we do not need to compute dominators
anymore.
* Source/JavaScriptCore/b3/B3Procedure.cpp:
(JSC::B3::Procedure::appendIonGraphPass):
* Source/JavaScriptCore/b3/air/AirCode.cpp:
(JSC::B3::Air::Code::appendIonGraphPass):
* Source/JavaScriptCore/dfg/DFGGraph.cpp:
(JSC::DFG::Graph::appendIonGraphPass):
Canonical link: https://commits.webkit.org/305323@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications