Skip to content

[MLIR] Extend vector.scatter to support tensors #21135

Closed

Description

@hanhanW

Both vector.scatter and vector.gather only accepted memref in the beginning: llvm/llvm-project@19dbb23

We extended the vector.gather when we had a need for vectorization: llvm/llvm-project@66c2b76

It is not a blocker because we plan to use it for vector distribution pipeline, and it can happen on memrefs.
However, I think it's worth to complete the functionality of map_scatter decomposition. Filing an issue for tracking it.

Activity

  1. hanhanW commented on Jun 18, 2025

    @hanhanW
    ContributorAuthor

    cc @banach-space who identified the same problem before: llvm/llvm-project@1e61b37

  2. self-assigned this
    on Jun 18, 2025
  3. added
    codegen
    onboarding/codegen
    on Jun 18, 2025
  4. sakupan102 commented on Oct 23, 2025

    @sakupan102
    Contributor

    @hanhanW
    Could you please provide the current status of this issue?
    If it hasn't been addressed yet, I would like to take it on.

  5. hanhanW commented on Oct 23, 2025

    @hanhanW
    ContributorAuthor

    No progress since I filed the issue. PRs are welcome. It is an upstream change and may involve others inputs.

  6. HalfBloodPrince010 commented on Oct 27, 2025

    @HalfBloodPrince010
    Contributor

    Hi @hanhanW , if no one is working on this, could I pick up this issue?

  7. sakupan102 commented on Oct 27, 2025

    @sakupan102
    Contributor

    @HalfBloodPrince010
    I'm currently working on this issue.

  8. HalfBloodPrince010 commented on Oct 27, 2025

    @HalfBloodPrince010
    Contributor

    @sakupan102 Sounds good! Sorry missed your comment was 4 days ago.

  9. sakupan102 commented on Oct 29, 2025

    @sakupan102
    Contributor

    @hanhanW
    I've created a pull request for this issue. Could you please review it?
    llvm/llvm-project#165548

  10. sakupan102 commented on Nov 17, 2025

    @sakupan102
    Contributor

    @hanhanW
    Since upstream change was merged llvm/llvm-project#165548, could it be closed?

  11. hanhanW commented on Nov 17, 2025

    @hanhanW
    ContributorAuthor

    yes, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

codegenonboarding/codegen

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions