Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9e460d82de2eeac50e98132c2802ce34a741b00d
      
https://github.com/WebKit/WebKit/commit/9e460d82de2eeac50e98132c2802ce34a741b00d
  Author: Vassili Bykov <[email protected]>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

  Changed paths:
    A JSTests/wasm/stress/b3-reduceStrength-trunc-sshr-1.js
    A JSTests/wasm/stress/b3-reduceStrength-trunc-sshr-2.js
    M Source/JavaScriptCore/b3/B3ReduceStrength.cpp

  Log Message:
  -----------
  [WASM] SEGV in B3 ReduceStrength Optimization During Shl/SExt32 IR Node 
Handling
https://bugs.webkit.org/show_bug.cgi?id=289890
rdar://147210812

Reviewed by Yusuke Suzuki.

The failure was caused by not checking if a node 'hasInt32()' before
calling 'asInt32()' on the node. The change introduces this check.

The change also renames a local variable to clearly identify what part
of the expression it refers to ('wrapped' -> 'sshrArg0').

* Source/JavaScriptCore/b3/B3ReduceStrength.cpp:

Canonical link: https://commits.webkit.org/292876@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

Reply via email to