[wasm][revec] Avoid changing default node group [v8/v8 : main]

0 views
Skip to first unread message

Chen, Yolanda (Gerrit)

unread,
3:03 AM (19 hours ago) 3:03 AM
to Matthias Liedtke, Jakob Kummerow, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com
Attention needed from Jakob Kummerow and Matthias Liedtke

Chen, Yolanda added 1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Chen, Yolanda . resolved

Hi Matthias and Jakob, this fixed a newly reported bug by CL: https://chromium-review.googlesource.com/c/v8/v8/+/7299683 . PTAL, Thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Jakob Kummerow
  • Matthias Liedtke
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I47800d30931381a41797d7c57f1b95f4783905a6
Gerrit-Change-Number: 7445467
Gerrit-PatchSet: 3
Gerrit-Owner: Chen, Yolanda <yoland...@intel.com>
Gerrit-Reviewer: Chen, Yolanda <yoland...@intel.com>
Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
Gerrit-Attention: Matthias Liedtke <mlie...@chromium.org>
Gerrit-Attention: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 08:03:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Matthias Liedtke (Gerrit)

unread,
4:40 AM (17 hours ago) 4:40 AM
to Chen, Yolanda, Jakob Kummerow, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com
Attention needed from Chen, Yolanda and Jakob Kummerow

Matthias Liedtke added 1 comment

File src/compiler/turboshaft/wasm-revec-reducer.h
Line 776, Patchset 3 (Latest): if (offset0 != offset1) {
Matthias Liedtke . unresolved

Is it expected that we never use `offset1` here?

Open in Gerrit

Related details

Attention is currently required from:
  • Chen, Yolanda
  • Jakob Kummerow
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I47800d30931381a41797d7c57f1b95f4783905a6
    Gerrit-Change-Number: 7445467
    Gerrit-PatchSet: 3
    Gerrit-Owner: Chen, Yolanda <yoland...@intel.com>
    Gerrit-Reviewer: Chen, Yolanda <yoland...@intel.com>
    Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
    Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
    Gerrit-Attention: Chen, Yolanda <yoland...@intel.com>
    Gerrit-Attention: Jakob Kummerow <jkum...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 09:40:05 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    open
    diffy

    Chen, Yolanda (Gerrit)

    unread,
    4:46 AM (17 hours ago) 4:46 AM
    to Matthias Liedtke, Jakob Kummerow, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Jakob Kummerow and Matthias Liedtke

    Chen, Yolanda added 1 comment

    File src/compiler/turboshaft/wasm-revec-reducer.h
    Line 776, Patchset 3 (Latest): if (offset0 != offset1) {
    Matthias Liedtke . resolved

    Is it expected that we never use `offset1` here?

    Chen, Yolanda

    I think offset1 is already reduced here and maybe used by other nodes. Here we emit offset0 just to make it valid when emit the Simd256LoadTransform node.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Jakob Kummerow
    • Matthias Liedtke
    Submit Requirements:
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I47800d30931381a41797d7c57f1b95f4783905a6
      Gerrit-Change-Number: 7445467
      Gerrit-PatchSet: 3
      Gerrit-Owner: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
      Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Attention: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Attention: Jakob Kummerow <jkum...@chromium.org>
      Gerrit-Comment-Date: Mon, 12 Jan 2026 09:46:00 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Matthias Liedtke <mlie...@chromium.org>
      unsatisfied_requirement
      open
      diffy

      Chen, Yolanda (Gerrit)

      unread,
      4:48 AM (17 hours ago) 4:48 AM
      to Matthias Liedtke, Jakob Kummerow, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com
      Attention needed from Jakob Kummerow and Matthias Liedtke

      Chen, Yolanda added 1 comment

      File src/compiler/turboshaft/wasm-revec-reducer.h
      Line 776, Patchset 3 (Latest): if (offset0 != offset1) {
      Matthias Liedtke . resolved

      Is it expected that we never use `offset1` here?

      Chen, Yolanda

      I think offset1 is already reduced here and maybe used by other nodes. Here we emit offset0 just to make it valid when emit the Simd256LoadTransform node.

      Chen, Yolanda

      We can also skip this check, just it will generate a duplicate offset constant.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Jakob Kummerow
      • Matthias Liedtke
      Submit Requirements:
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I47800d30931381a41797d7c57f1b95f4783905a6
      Gerrit-Change-Number: 7445467
      Gerrit-PatchSet: 3
      Gerrit-Owner: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
      Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Attention: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Attention: Jakob Kummerow <jkum...@chromium.org>
      Gerrit-Comment-Date: Mon, 12 Jan 2026 09:48:45 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Chen, Yolanda <yoland...@intel.com>
      Comment-In-Reply-To: Matthias Liedtke <mlie...@chromium.org>
      unsatisfied_requirement
      open
      diffy

      Matthias Liedtke (Gerrit)

      unread,
      5:38 AM (17 hours ago) 5:38 AM
      to Chen, Yolanda, Jakob Kummerow, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com
      Attention needed from Chen, Yolanda and Jakob Kummerow

      Matthias Liedtke voted and added 1 comment

      Votes added by Matthias Liedtke

      Code-Review+1

      1 comment

      File src/compiler/turboshaft/wasm-revec-reducer.h
      Line 776, Patchset 3 (Latest): if (offset0 != offset1) {
      Matthias Liedtke . resolved

      Is it expected that we never use `offset1` here?

      Chen, Yolanda

      I think offset1 is already reduced here and maybe used by other nodes. Here we emit offset0 just to make it valid when emit the Simd256LoadTransform node.

      Chen, Yolanda

      We can also skip this check, just it will generate a duplicate offset constant.

      Matthias Liedtke

      Ah, makes sense, fine for me to skip the duplication here, though GVN should handle this as well.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Chen, Yolanda
      • Jakob Kummerow
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I47800d30931381a41797d7c57f1b95f4783905a6
      Gerrit-Change-Number: 7445467
      Gerrit-PatchSet: 3
      Gerrit-Owner: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
      Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Attention: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Attention: Jakob Kummerow <jkum...@chromium.org>
      Gerrit-Comment-Date: Mon, 12 Jan 2026 10:38:04 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Jakob Kummerow (Gerrit)

      unread,
      6:10 AM (16 hours ago) 6:10 AM
      to Chen, Yolanda, Matthias Liedtke, Jakob Kummerow, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com
      Attention needed from Chen, Yolanda

      Jakob Kummerow added 1 comment

      File src/compiler/turboshaft/wasm-revec-reducer.h
      Line 776, Patchset 3 (Latest): if (offset0 != offset1) {
      Matthias Liedtke . resolved

      Is it expected that we never use `offset1` here?

      Chen, Yolanda

      I think offset1 is already reduced here and maybe used by other nodes. Here we emit offset0 just to make it valid when emit the Simd256LoadTransform node.

      Chen, Yolanda

      We can also skip this check, just it will generate a duplicate offset constant.

      Matthias Liedtke

      Ah, makes sense, fine for me to skip the duplication here, though GVN should handle this as well.

      Jakob Kummerow

      I think this condition is always true: `offset0` comes from the `__ input_graph()`, `offset1` comes from the `__ output_graph()`, so they can't ever be the same node. So unless I'm missing something, I think the change in this file is actually a no-op? If so, it'd be simpler to revert it.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Chen, Yolanda
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I47800d30931381a41797d7c57f1b95f4783905a6
      Gerrit-Change-Number: 7445467
      Gerrit-PatchSet: 3
      Gerrit-Owner: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
      Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Attention: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Comment-Date: Mon, 12 Jan 2026 11:10:23 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Matthias Liedtke <mlie...@chromium.org>
      Comment-In-Reply-To: Chen, Yolanda <yoland...@intel.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Jakob Kummerow (Gerrit)

      unread,
      6:24 AM (16 hours ago) 6:24 AM
      to Chen, Yolanda, Jakob Kummerow, Matthias Liedtke, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com
      Attention needed from Chen, Yolanda

      Jakob Kummerow voted and added 1 comment

      Votes added by Jakob Kummerow

      Code-Review+1

      1 comment

      File src/compiler/turboshaft/wasm-revec-reducer.h
      Line 776, Patchset 3 (Latest): if (offset0 != offset1) {
      Matthias Liedtke . resolved

      Is it expected that we never use `offset1` here?

      Chen, Yolanda

      I think offset1 is already reduced here and maybe used by other nodes. Here we emit offset0 just to make it valid when emit the Simd256LoadTransform node.

      Chen, Yolanda

      We can also skip this check, just it will generate a duplicate offset constant.

      Matthias Liedtke

      Ah, makes sense, fine for me to skip the duplication here, though GVN should handle this as well.

      Jakob Kummerow

      I think this condition is always true: `offset0` comes from the `__ input_graph()`, `offset1` comes from the `__ output_graph()`, so they can't ever be the same node. So unless I'm missing something, I think the change in this file is actually a no-op? If so, it'd be simpler to revert it.

      Jakob Kummerow

      Never mind, I was confused.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Chen, Yolanda
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I47800d30931381a41797d7c57f1b95f4783905a6
      Gerrit-Change-Number: 7445467
      Gerrit-PatchSet: 3
      Gerrit-Owner: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
      Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Attention: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Comment-Date: Mon, 12 Jan 2026 11:24:26 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Matthias Liedtke <mlie...@chromium.org>
      Comment-In-Reply-To: Chen, Yolanda <yoland...@intel.com>
      Comment-In-Reply-To: Jakob Kummerow <jkum...@chromium.org>
      satisfied_requirement
      open
      diffy

      Chen, Yolanda (Gerrit)

      unread,
      8:27 PM (2 hours ago) 8:27 PM
      to Jakob Kummerow, Matthias Liedtke, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com

      Chen, Yolanda voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I47800d30931381a41797d7c57f1b95f4783905a6
      Gerrit-Change-Number: 7445467
      Gerrit-PatchSet: 3
      Gerrit-Owner: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
      Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Comment-Date: Tue, 13 Jan 2026 01:27:43 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      V8 LUCI CQ (Gerrit)

      unread,
      8:29 PM (2 hours ago) 8:29 PM
      to Chen, Yolanda, Jakob Kummerow, Matthias Liedtke, dmercadi...@chromium.org, v8-re...@googlegroups.com

      V8 LUCI CQ submitted the change

      Change information

      Commit message:
      [wasm][revec] Avoid changing default node group

      Changing default node group caused missing node mapping. Instead we can
      check the offsets for duplicate LoadSplat when reduce the nodes.
      Fixed: 474401017
      Bug: 42202660
      Change-Id: I47800d30931381a41797d7c57f1b95f4783905a6
      Reviewed-by: Matthias Liedtke <mlie...@chromium.org>
      Reviewed-by: Jakob Kummerow <jkum...@chromium.org>
      Commit-Queue: Chen, Yolanda <yoland...@intel.com>
      Cr-Commit-Position: refs/heads/main@{#104652}
      Files:
      • M src/compiler/turboshaft/wasm-revec-reducer.cc
      • M src/compiler/turboshaft/wasm-revec-reducer.h
      • M test/cctest/wasm/test-run-wasm-simd.cc
      Change size: M
      Delta: 3 files changed, 80 insertions(+), 6 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Jakob Kummerow, +1 by Matthias Liedtke
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I47800d30931381a41797d7c57f1b95f4783905a6
      Gerrit-Change-Number: 7445467
      Gerrit-PatchSet: 4
      Gerrit-Owner: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Chen, Yolanda <yoland...@intel.com>
      Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
      Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages