This repository was archived by the owner on Nov 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Sync npu/release/21.x #182
Merged
nikita-kud
merged 15 commits into
intel:npu/release/21.x
from
ermilindwalekar:npu/release/21.x
Nov 27, 2025
Merged
Sync npu/release/21.x #182
nikita-kud
merged 15 commits into
intel:npu/release/21.x
from
ermilindwalekar:npu/release/21.x
Nov 27, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
After deleting debug sections, symbol indices are shifted but sections consisting of .symidx directives are completely ignored. Update symbol indices as well. (cherry picked from commit 74d52f9639ca7588c622c0790ca18fa5bff66837)
Fix manifest `trustInfo` to use the `urn:schemas-microsoft-com:asm.v3` namespace. Fixes llvm/llvm-project#120394. (cherry picked from commit 6ab8e8fa031e0a22c0244c1aa8f54581ed9bffd1)
Haiku requires linking in libnetwork. Co-authored-by: Jérôme Duval <[email protected]> (cherry picked from commit 21bcd00e54416b0950da19fe8adb0628a19bf66f)
…loc (#158349) Fix llvm/llvm-project#156679 There is a mismatch between the preprocessor guards around the include of `hwloc.h` and those protecting its usages, leading to build failures on Darwin: spack/spack-packages#1212 This change introduces `KMP_HWLOC_ENABLED` that reflects whether hwloc is actually used. (cherry picked from commit cd24d108a2c19c23c4ac80b501fa7361963cca3d)
The VM_MEMORY_SANITIZER constant was added in macOs 10.15 and friends. Support using the constant on older OSes. Fixes #156144 (cherry picked from commit bc55f4f4f2b4ef196cf3ec25f69dfbd9cd032237)
This patch just copies the definitions from main, which should be working. There are a lot of changes that were not explicitly backported.
… units (#166272) Fixes #165445. Fixes a crash when `ASTWriter::GenerateNameLookupTable` processes enum constants from C++20 header units. The special handling for enum constants, introduced in fccc6ee, doesn't account for declarations whose owning module is a C++20 header unit. It calls `isNamedModule()` on the result of `getTopLevelOwningNamedModule()`, which returns null for header units, causing a null pointer dereference. (cherry picked from commit bc08e69959ecefecc7ea41b648a659aa19c458c8)
We need to take into account that we may have already done a FirstSPAdjust. Fixes #164805. (cherry picked from commit ff11b93bb8f5578c9eb7296160570ea001a1155f)
…oves produced after forwarded uses (#167336) As reported in <llvm/llvm-project#166870>, some copies with src==reg are not no-ops, e.g. when self-assigning a w-reg on AArch64 which will zero-extend the corresponding x register. Revert in order to fix the issue. We may revisit whether the optimisation can be made safe at a later point. Reverts dffbc03. Fixes #166870. (cherry picked from commit a314b3b401b5f9e6218d863bfcc29393e1b6f447)
This was causing a build failure on Darwin and a test failure on Linux. This config is not widely used or well tested, so I don't think the potential and likely small performance gains and the portability from this are worth the maintenance costs. (cherry picked from commit 1906c3e1e30759d2eb85b2833e8c5ff64128bfba)
…tion motion" (#167465) This patch introduces a new virtual method `TargetInstrInfo::isSafeToMove()` to allow backends to control whether a machine instruction can be safely moved by optimization passes. The `BranchFolder` pass now respects this hook when hoisting common code. By default, all instructions are considered safe to to move. For LoongArch, `isSafeToMove()` is overridden to prevent relocation-related instruction sequences (e.g. PC-relative addressing and calls) from being broken by instruction motion. Correspondingly, `isSchedulingBoundary()` is updated to reuse this logic for consistency. Relands #163725 (cherry picked from commit ea10026b64f66b3b69c0545db20f9daa8579f5cb)
… when the compilation database is unavailable (#153802) fixes llvm/llvm-project#132413 (cherry picked from commit 5b5589978167ab7abc6a5e8a3a1ce7d8487ce73a)
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D87662897
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Sync npu/release/21.x with upstream 21.x
JIRA ticket
Related PR in NPU Compiler and/or OpenVINO repository with sub-module update
Other related tickets