[webkit-changes] [WebKit/WebKit] c25f2c: [JSC] Remove sensitive to NaN in B3

Yusuke Suzuki noreply at github.com
Sat Feb 8 16:13:02 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c25f2c42bb37335f1afbff09f42afbd076bd3629
      https://github.com/WebKit/WebKit/commit/c25f2c42bb37335f1afbff09f42afbd076bd3629
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2025-02-08 (Sat, 08 Feb 2025)

  Changed paths:
    M Source/JavaScriptCore/b3/B3Kind.cpp
    M Source/JavaScriptCore/b3/B3Kind.h
    M Source/JavaScriptCore/b3/B3ReduceStrength.cpp
    M Source/JavaScriptCore/b3/B3Value.h
    M Source/JavaScriptCore/wasm/generateWasmOMGIRGeneratorInlinesHeader.py

  Log Message:
  -----------
  [JSC] Remove sensitive to NaN in B3
https://bugs.webkit.org/show_bug.cgi?id=287341
rdar://144457462

Reviewed by Yijia Huang.

The optimization with this flag is not used in various benchmarks.
Plus, we can do these optimization in FTL layer etc. by using PurifyNaN
node, thus we no longer need this weird flag.

* Source/JavaScriptCore/b3/B3Kind.cpp:
(JSC::B3::Kind::dump const):
* Source/JavaScriptCore/b3/B3Kind.h:
(JSC::B3::Kind::hash const):
(JSC::B3::Kind::hasIsSensitiveToNaN): Deleted.
(JSC::B3::Kind::hasIsSensitiveToNaN const): Deleted.
(JSC::B3::Kind::isSensitiveToNaN const): Deleted.
(JSC::B3::Kind::setIsSensitiveToNaN): Deleted.
(JSC::B3::sensitiveToNaN): Deleted.
* Source/JavaScriptCore/b3/B3ReduceStrength.cpp:
* Source/JavaScriptCore/b3/B3Value.h:
* Source/JavaScriptCore/wasm/generateWasmOMGIRGeneratorInlinesHeader.py:
(CodeGenerator.generateB3OpCode):

Canonical link: https://commits.webkit.org/290098@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list