Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Conversation

@AlexandruLorinti
Copy link
Contributor

Summary

Cherry-pick from upstream llvm llvm/llvm-project#147721; adding std::move to getChecked method.

JIRA ticket

  • EISW-105998

Related PR in NPU Compiler and/or OpenVINO repository with sub-module update

  • PR-xxx

Other related tickets

List tickets for additional work, eg, something was found during review but you agreed to address it in another Jira

  • E-xxxxx

@AlexandruLorinti AlexandruLorinti marked this pull request as ready for review July 31, 2025 10:20
@AlexandruLorinti AlexandruLorinti requested a review from a team as a code owner July 31, 2025 10:20
@andrey-golubev andrey-golubev changed the title Move instead of copy Avoid copies in getChecked (cherry-pick from upstream) Jul 31, 2025
@AlexandruLorinti
Copy link
Contributor Author

AlexandruLorinti commented Aug 5, 2025

Updated expected copy count from "2" to "1" for CopyCountGet and CopyCountGetChecked tests, as in upstream llvm there are 2 copies while in current npu-plugin-llvm there is just 1 copy generated.

In upstream llvm there are 2 copies as the test calls first verifyInvariants which internally calls verify, in mlir/include/mlir/IR/StorageUniquerSupport.h:201

    if (failed(ConcreteT::verifyInvariants(emitErrorFn, args...)))

In current npu-plugin-llvm verify gets called directly, in mlir/include/mlir/IR/StorageUniquerSupport.h:201

    if (failed(ConcreteT::verify(emitErrorFn, args...)))

@andrey-golubev andrey-golubev merged commit 7356ad1 into intel:npu/release/19.x Aug 5, 2025
8 checks passed
AlexandruLorinti added a commit to AlexandruLorinti/npu-plugin-llvm that referenced this pull request Nov 7, 2025
Cherry-pick from upstream llvm: llvm/llvm-project#147721; adding std::move to getChecked method.
andrey-golubev pushed a commit that referenced this pull request Nov 10, 2025
Duplicate of PR merged on npu/release/19.x #151
Cherry-pick from upstream llvm: llvm/llvm-project#147721; adding std::move to getChecked method.
ermilindwalekar pushed a commit to ermilindwalekar/npu-plugin-llvm that referenced this pull request Nov 27, 2025
…ntel#170)

Duplicate of PR merged on npu/release/19.x intel#151
Cherry-pick from upstream llvm: llvm/llvm-project#147721; adding std::move to getChecked method.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants