Branch: refs/heads/webkitglib/2.54
Home: https://github.com/WebKit/WebKit
Commit: 07b292e71f8a5a225d1670c254195f00005147af
https://github.com/WebKit/WebKit/commit/07b292e71f8a5a225d1670c254195f00005147af
Author: Kai Tamkun <[email protected]>
Date: 2026-08-26 (Wed, 26 Aug 2026)
Changed paths:
A JSTests/wasm/stress/inline-wasm-simd-into-non-simd.js
M Source/JavaScriptCore/b3/B3Procedure.cpp
M Source/JavaScriptCore/b3/B3Procedure.h
M Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp
Log Message:
-----------
Cherry-pick 319839@main (9a17cd1100ad).
https://bugs.webkit.org/show_bug.cgi?id=316918
[JSC] Procedure::usesSIMD() not set when OMG inlines a SIMD callee into a
non-SIMD root
https://bugs.webkit.org/show_bug.cgi?id=316918
rdar://177938898
Reviewed by Yusuke Suzuki and Dan Hecht.
This patch makes OMGIRGenerator mark the procedure as using SIMD when the
parser
detects SIMD instructions.
Test: JSTests/wasm/stress/inline-wasm-simd-into-non-simd.js
* JSTests/wasm/stress/inline-wasm-simd-into-non-simd.js: Added.
(try.call.B.local.0):
(const.inst.new.WebAssembly.Instance.new.WebAssembly.Module):
* Source/JavaScriptCore/b3/B3Procedure.cpp:
(JSC::B3::Procedure::Procedure):
* Source/JavaScriptCore/b3/B3Procedure.h:
(JSC::B3::Procedure::setUsesSIMD):
(JSC::B3::Procedure::setUsessSIMD): Deleted.
* Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp:
(JSC::Wasm::OMGIRGenerator::notifyFunctionUsesSIMD):
Originally-landed-as: [email protected] (cdf687829ac6).
rdar://185368152
Canonical link: https://commits.webkit.org/319839@main
Canonical link: https://commits.webkit.org/317695.150@webkitglib/2.54
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications