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

Sync npu/release/21.x#182

Merged
nikita-kud merged 15 commits intointel:npu/release/21.xfrom
ermilindwalekar:npu/release/21.x
Nov 27, 2025
Merged

Sync npu/release/21.x#182
nikita-kud merged 15 commits intointel:npu/release/21.xfrom
ermilindwalekar:npu/release/21.x

Conversation

@ermilindwalekar
Copy link
Copy Markdown

Summary

Sync npu/release/21.x with upstream 21.x

JIRA ticket

  • E-xxxxx

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

e-kud and others added 15 commits October 29, 2025 18:19
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 74d52f9)
Fix manifest `trustInfo` to use the `urn:schemas-microsoft-com:asm.v3`
namespace.

Fixes llvm/llvm-project#120394.

(cherry picked from commit 6ab8e8f)
Haiku requires linking in libnetwork.

Co-authored-by: Jérôme Duval <jerome.duval@gmail.com>
(cherry picked from commit 21bcd00)
…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 cd24d10)
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 bc55f4f)
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 bc08e69)
We need to take into account that we may have already done a FirstSPAdjust.

Fixes #164805.

(cherry picked from commit ff11b93)
…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 a314b3b)
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 1906c3e)
…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 ea10026)
… when the compilation database is unavailable (#153802)

fixes llvm/llvm-project#132413

(cherry picked from commit 5b55899)
Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: https://phabricator.intern.facebook.com/D87662897
@nikita-kud nikita-kud merged commit 9ed1927 into intel:npu/release/21.x Nov 27, 2025
2 of 3 checks passed
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.