Bug 253603

Summary: Folded i64 comparisons should return i32 in WasmBBQJIT
Product: WebKit Reporter: David Degazio <d_degazio>
Component: WebAssemblyAssignee: David Degazio <d_degazio>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description David Degazio 2023-03-08 14:12:15 PST
rdar://106419423

i64 comparisons (both equality and relational ops) that get constant folded in BBQ JIT will result in i64-typed constants instead of i32 ones. This can cause us to fail validation or assertions in debug builds.
Comment 1 David Degazio 2023-03-08 14:32:22 PST
Pull request: https://github.com/WebKit/WebKit/pull/11257
Comment 2 EWS 2023-03-09 08:42:35 PST
Committed 261438@main (fb8b78d340d5): <https://commits.webkit.org/261438@main>

Reviewed commits have been landed. Closing PR #11257 and removing active labels.