LLVM/project bf1d003mlir/include/mlir/Dialect/LLVMIR LLVMIntrinsicOps.td, mlir/test/Dialect/LLVMIR roundtrip.mlir

[mlir][LLVM] Add clmul intrinsics (#222113)

Assisted-by: gpt-5.6-sol

Signed-off-by: Letu Ren <fantasquex at gmail.com>
DeltaFile
+11-0mlir/test/Target/LLVMIR/Import/intrinsic.ll
+9-0mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
+3-0mlir/test/Dialect/LLVMIR/roundtrip.mlir
+1-0mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
+24-04 files

FreeNAS/freenas b3443easrc/middlewared/middlewared/plugins/truenas entitlements.py, src/middlewared/middlewared/utils/license __init__.py legacy.py

NAS-143004 / 27.0.0-BETA.1 / Add private entitlements debug endpoint for debug bundles (by sonicaj) (#19609)

This commit adds changes to expose truenas.entitlements.debug_info, a
private method a debug bundle can call to see what an entitlement
decision was made from: the hardware facts, the raw license daemon
verdict that get_license() otherwise discards, the on-disk legacy
license as it actually is (a rejected or malformed blob currently reads
the same as no license at all) and every decision with the matrix column
it resolved to. Each section degrades to an error field rather than
raising, since the systems this is collected from are the ones whose
licensing is already misbehaving, and the legacy projection is an
allowlist so customer name and key never reach a bundle.

Original PR: https://github.com/truenas/middleware/pull/19598

Co-authored-by: Waqar Ahmed <waqarahmedjoyia at live.com>
DeltaFile
+74-1src/middlewared/middlewared/utils/license/legacy.py
+65-1src/middlewared/middlewared/plugins/truenas/entitlements.py
+2-1src/middlewared/middlewared/utils/license/__init__.py
+141-33 files

LLVM/project 60969adllvm/include/llvm/Support FileSystem.h

[Support][FileSystem] Prefer `status` with `file_t` parameter. NFC. (#157581)

When searching the documentation for LLVM for `llvm::sys::fs::status`,
only the version with file descriptor can be found because the
documentation is built on the UNIX host and the file handle version is
defined out.

In reality, file handle version is more portable and should be displayed
instead. On UNIX, these two functions have the same underlying type,
thus it shouldn't matter which one is declared, and both versions are
still available on Windows for compatibility.
DeltaFile
+3-3llvm/include/llvm/Support/FileSystem.h
+3-31 files

LLVM/project 5e973baclang/test/AST absurdly_big_struct.cpp

[clang][test] Make new absurdly_big_struct test more targeted (#219897)

The previous version of `y()` used `c2[i]`, which can't be evaluated at
compile-time.
The emitted diagnostic depends on something calling
`ASTContext::getASTRecordLayout()` for `b`, which currently happens in
the constant evaluator. If the evaluator decides to evaluate `c2[i]`
before calling `getASTRecordLayout()`, the test fails since the
diagnostic is never emitted.

Fix this by simply using `c2[0]` instead.
DeltaFile
+1-2clang/test/AST/absurdly_big_struct.cpp
+1-21 files

FreeNAS/freenas ad8429asrc/middlewared/middlewared/plugins/truenas entitlements.py, src/middlewared/middlewared/utils/license __init__.py legacy.py

Add private entitlements debug endpoint for debug bundles

This commit adds changes to expose truenas.entitlements.debug_info, a private method a debug bundle can call to see what an entitlement decision was made from: the hardware facts, the raw license daemon verdict that get_license() otherwise discards, the on-disk legacy license as it actually is (a rejected or malformed blob currently reads the same as no license at all) and every decision with the matrix column it resolved to. Each section degrades to an error field rather than raising, since the systems this is collected from are the ones whose licensing is already misbehaving, and the legacy projection is an allowlist so customer name and key never reach a bundle.
DeltaFile
+74-1src/middlewared/middlewared/utils/license/legacy.py
+65-1src/middlewared/middlewared/plugins/truenas/entitlements.py
+2-1src/middlewared/middlewared/utils/license/__init__.py
+141-33 files

LLVM/project c1872e7. .mailmap

[mailmap] Add entry for Zeyi Xu (#222237)
DeltaFile
+1-0.mailmap
+1-01 files

LLVM/project 30e244eclang-tools-extra/docs/clang-tidy/checks/readability isolate-declaration.md implicit-bool-conversion.md

[clang-tidy][docs] Rewrite readability check docs to Markdown [2/5] (#221529)

Tracking issue: #201242

See the [migration guide] for more information.

[migration guide]:

https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines

This is the second part of rewriting check documentations in readability
module from reST to MyST Markdown.

AI Usage: This was prepared with rnk's fork of rst2myst and
GPT5.6-assisted cleanup.
I manually verified that the documentation renders as expected.

Preview site:
https://broken.life/llvm-staging/readability-markdown-port/index.html

    [3 lines not shown]
DeltaFile
+2,491-1,948clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
+133-107clang-tools-extra/docs/clang-tidy/checks/readability/identifier-length.md
+113-105clang-tools-extra/docs/clang-tidy/checks/readability/function-cognitive-complexity.md
+88-90clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-conversion.md
+95-83clang-tools-extra/docs/clang-tidy/checks/readability/magic-numbers.md
+63-66clang-tools-extra/docs/clang-tidy/checks/readability/isolate-declaration.md
+2,983-2,3994 files not shown
+3,135-2,53410 files

LLVM/project 8d4c923clang-tools-extra/docs/clang-tidy/checks/readability implicit-bool-conversion.rst implicit-bool-conversion.md

[clang-tidy][docs] Rename readability check docs to Markdown [2/5] (#221528)

Tracking issue: #201242

See the [migration guide] for more information.

[migration guide]:

https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines

This is the second part of the mechanical rename of the check
documentations in readability module.
The rewrite is provided by the next PR in this stack.
DeltaFile
+0-3,317clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
+3,317-0clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
+0-166clang-tools-extra/docs/clang-tidy/checks/readability/function-cognitive-complexity.rst
+166-0clang-tools-extra/docs/clang-tidy/checks/readability/function-cognitive-complexity.md
+0-164clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-conversion.rst
+164-0clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-conversion.md
+3,647-3,64714 files not shown
+4,275-4,27520 files

LLVM/project b53c11futils/bazel/llvm-project-overlay/flang/lib/Optimizer/OpenACC/Support BUILD.bazel, utils/bazel/llvm-project-overlay/flang/lib/Optimizer/OpenACC/Transforms BUILD.bazel

Fix Bazel build (#222232)

Add missing deps and update sharding for ROCDLDialect
DeltaFile
+21-4utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+3-0utils/bazel/llvm-project-overlay/flang/lib/Optimizer/OpenACC/Transforms/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/flang/lib/Optimizer/OpenACC/Support/BUILD.bazel
+25-43 files

LLVM/project 9a11655llvm/test/CodeGen/AMDGPU float-to-arbitrary-fp-widen.ll amdgcn.bitcast.512bit.ll

[AMDGPU] Select trunc(srl x, 16) as hi16 subregister on true16
DeltaFile
+6,170-6,593llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+4,692-4,496llvm/test/CodeGen/AMDGPU/bf16.ll
+2,809-3,010llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
+2,809-3,010llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
+2,754-2,970llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+1,545-1,574llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+20,779-21,653127 files not shown
+30,875-47,450133 files

LLVM/project 3816b60llvm/test/CodeGen/AMDGPU select.f16.ll select-flags-to-fmin-fmax.ll

Add COPY_TO_REGCLASS
DeltaFile
+1,049-1,046llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+358-358llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+188-187llvm/test/CodeGen/AMDGPU/select-fabs-fneg-extract.v2f16.ll
+162-162llvm/test/CodeGen/AMDGPU/fptosi-sat-vector.ll
+144-144llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll
+116-116llvm/test/CodeGen/AMDGPU/select.f16.ll
+2,017-2,01341 files not shown
+2,978-3,00347 files

LLVM/project 151d96blld/ELF/Arch X86_64.cpp, lld/test/ELF x86-64-relax-jump-tables.s

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+82-0llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hot.ll
+24-0lld/test/ELF/x86-64-relax-jump-tables.s
+17-1lld/ELF/Arch/X86_64.cpp
+13-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+136-14 files

LLVM/project 408fba9llvm/lib/Transforms/IPO LowerTypeTests.cpp, llvm/test/Transforms/LowerTypeTests cfi-jumptable-hot.ll

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+82-0llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hot.ll
+13-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+95-02 files

LLVM/project 1fddb91flang/lib/Semantics resolve-names.cpp, flang/test/Semantics modfile87.f90 modfile86.f90

[Flang][Semantics] Diagnose missing MODULE prefix in submodule procedures (#197173)

Add a portability warning when a submodule procedure is missing the
MODULE prefix required by a MODULE PROCEDURE interface in its parent
module.
DeltaFile
+48-0flang/test/Semantics/resolve132.f90
+36-0flang/test/Semantics/modfile86.f90
+25-0flang/test/Semantics/modfile87.f90
+21-0flang/lib/Semantics/resolve-names.cpp
+130-04 files

FreeNAS/freenas 72e2508src/middlewared/middlewared/pytest/unit/utils test_license_legacy_utils.py test_entitlements.py, src/middlewared/middlewared/utils/entitlements engine.py

NAS-143184 / 27.0.0-BETA.1 / Rename the DIRECTORY_SERVICES entitlement to DIRECTORY_SERVICES_AUTH (by sonicaj) (#19654)

This commit adds changes to follow the LicenseFeature rename in
truenas_pylicensed, covering the entitlement matrix, the policy
register, display names, the per-feature message overrides, the legacy
injection set and the ds_auth gate. The unrelated directoryservices
namespace and the ds_auth field itself are deliberately untouched.

Worth flagging for whoever lands this: python3-truenas-pylicensed is
unversioned in debian/control, and because this is a rename rather than
an addition, both skew directions break at import time. New middleware
against the old package and old middleware against the new one each
raise AttributeError while importing middlewared.utils.entitlements,
which leaves middlewared unable to start.

Original PR: https://github.com/truenas/middleware/pull/19632

Co-authored-by: Waqar Ahmed <waqarahmedjoyia at live.com>
DeltaFile
+2-2tests/directory_services/test_ldap_basic.py
+2-2tests/directory_services/test_activedirectory_basic.py
+2-2tests/api2/test_twofactor_auth.py
+2-2src/middlewared/middlewared/utils/entitlements/engine.py
+2-2src/middlewared/middlewared/pytest/unit/utils/test_license_legacy_utils.py
+2-2src/middlewared/middlewared/pytest/unit/utils/test_entitlements.py
+12-127 files not shown
+19-1913 files

LLVM/project 76aa218llvm/include/llvm/Support FileSystem.h

rename parameter

Created using spr 1.3.6
DeltaFile
+1-1llvm/include/llvm/Support/FileSystem.h
+1-11 files

LLVM/project 62554e8llvm/include/llvm/Support FileSystem.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6
DeltaFile
+3-3llvm/include/llvm/Support/FileSystem.h
+3-31 files

LLVM/project 66d654ellvm/lib/Object GOFFObjectFile.cpp, llvm/test/tools/llvm-ar zos-symattrs.test

Add TODOs and fix check.
DeltaFile
+3-1llvm/test/tools/llvm-ar/zos-symattrs.test
+4-0llvm/lib/Object/GOFFObjectFile.cpp
+7-12 files

LLVM/project 4f50ef8clang-tools-extra/docs/clang-tidy/checks/readability implicit-bool-conversion.md function-cognitive-complexity.md

~
DeltaFile
+966-400clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
+42-17clang-tools-extra/docs/clang-tidy/checks/readability/identifier-length.md
+20-6clang-tools-extra/docs/clang-tidy/checks/readability/magic-numbers.md
+17-1clang-tools-extra/docs/clang-tidy/checks/readability/function-size.md
+8-2clang-tools-extra/docs/clang-tidy/checks/readability/function-cognitive-complexity.md
+8-0clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-conversion.md
+1,061-4261 files not shown
+1,065-4267 files

LLVM/project ac51095clang-tools-extra/docs/clang-tidy/checks/readability function-cognitive-complexity.md magic-numbers.md

Apply batched suggestions from code review

Co-authored-by: EugeneZelenko <eugene.zelenko at gmail.com>
DeltaFile
+3-3clang-tools-extra/docs/clang-tidy/checks/readability/magic-numbers.md
+2-2clang-tools-extra/docs/clang-tidy/checks/readability/function-cognitive-complexity.md
+5-52 files

LLVM/project 0de9c85clang-tools-extra/docs/clang-tidy/checks/readability isolate-declaration.md implicit-bool-conversion.md

[clang-tidy][docs] Rewrite readability check docs to Markdown [2/5]
DeltaFile
+2,207-2,230clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
+118-117clang-tools-extra/docs/clang-tidy/checks/readability/identifier-length.md
+110-108clang-tools-extra/docs/clang-tidy/checks/readability/function-cognitive-complexity.md
+84-94clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-conversion.md
+88-90clang-tools-extra/docs/clang-tidy/checks/readability/magic-numbers.md
+63-66clang-tools-extra/docs/clang-tidy/checks/readability/isolate-declaration.md
+2,670-2,7054 files not shown
+2,812-2,85010 files

LLVM/project 36d2c33clang-tools-extra/docs/clang-tidy/checks/readability implicit-bool-conversion.rst implicit-bool-conversion.md

[clang-tidy][docs] Rename readability check docs to Markdown [2/5]
DeltaFile
+0-3,317clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
+3,317-0clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
+0-166clang-tools-extra/docs/clang-tidy/checks/readability/function-cognitive-complexity.rst
+166-0clang-tools-extra/docs/clang-tidy/checks/readability/function-cognitive-complexity.md
+0-164clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-conversion.rst
+164-0clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-conversion.md
+3,647-3,64714 files not shown
+4,275-4,27520 files

FreeNAS/freenas 5102e9dsrc/middlewared/middlewared/pytest/unit/utils test_license_legacy_utils.py test_entitlements.py, src/middlewared/middlewared/utils/entitlements engine.py

Rename the DIRECTORY_SERVICES entitlement to DIRECTORY_SERVICES_AUTH

This commit adds changes to follow the LicenseFeature rename in truenas_pylicensed, covering the entitlement matrix, the policy register, display names, the per-feature message overrides, the legacy injection set and the ds_auth gate. The unrelated directoryservices namespace and the ds_auth field itself are deliberately untouched.

Worth flagging for whoever lands this: python3-truenas-pylicensed is unversioned in debian/control, and because this is a rename rather than an addition, both skew directions break at import time. New middleware against the old package and old middleware against the new one each raise AttributeError while importing middlewared.utils.entitlements, which leaves middlewared unable to start.
DeltaFile
+2-2tests/directory_services/test_ldap_basic.py
+2-2tests/directory_services/test_activedirectory_basic.py
+2-2tests/api2/test_twofactor_auth.py
+2-2src/middlewared/middlewared/utils/entitlements/engine.py
+2-2src/middlewared/middlewared/pytest/unit/utils/test_license_legacy_utils.py
+2-2src/middlewared/middlewared/pytest/unit/utils/test_entitlements.py
+12-126 files not shown
+18-1812 files

FreeNAS/freenas 375edfbsrc/middlewared/middlewared/pytest/unit/alert test_applicability_matrix.py, src/middlewared/middlewared/pytest/unit/alert/inventory applicability.txt

NAS-142017 / 27.0.0-BETA.1 / Replace ad-hoc license predicates with a single entitlement engine (by sonicaj) (#19583)

## What this is

TrueNAS decides licensed behaviour in roughly a hundred places, each
with its own
hand-composed predicate — `system.is_enterprise`, `system.product_type`,
`system.feature_enabled`, chassis substring matches, and raw license
reads. They
disagree with each other, and several of them conflate questions that
are actually
independent. This PR adds changes to replace all of that with one pure
function.

## The model

The old predicates conflated three orthogonal axes. Un-conflating them
is the whole
point of the change:

    [93 lines not shown]
DeltaFile
+446-0src/middlewared/middlewared/pytest/unit/alert/test_applicability_matrix.py
+392-0src/middlewared/middlewared/pytest/unit/alert/inventory/applicability.txt
+324-0src/middlewared/middlewared/pytest/unit/utils/test_entitlements.py
+296-0src/middlewared/middlewared/pytest/unit/utils/test_license_legacy_utils.py
+264-0src/middlewared/middlewared/utils/entitlements/engine.py
+258-0src/middlewared/middlewared/pytest/unit/utils/test_hardware_detect.py
+1,980-0185 files not shown
+7,363-1,401191 files

LLVM/project 5535d8ellvm/lib/Transforms/IPO LowerTypeTests.cpp, llvm/test/Transforms/LowerTypeTests cfi-jumptable-hot.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+82-0llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hot.ll
+13-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+95-02 files

NetBSD/pkgsrc 5q8DMdVtextproc/libcyaml distinfo Makefile

   textproc/libcyaml: Revert accidental update.
VersionDeltaFile
1.4.32.2+3-3textproc/libcyaml/distinfo
1.3.32.2+5-1textproc/libcyaml/Makefile
+8-42 files

LLVM/project 786ba30llvm/include/llvm/IR Intrinsics.td, llvm/lib/IR AutoUpgrade.cpp

[LLVM][AutoUpgrade] Support default args on undeclared multi-call upgrades (#216246)

When an `.ll` file contains multiple calls to an intrinsic without an explicit
declaration, only the first call is upgraded successfully, and the remaining
subsequent calls fail.

`LLParser` builds one temporary Function per call, so after the first
upgrade occupies the canonical name the later functions are uniquified
(eg. `llvm.foo.1`). The intrinsic ID was previously looked up using `F->getName()`,
which requires an exact name match. So, the uniquified names resolved to `not_intrinsic`, 
causing the upgrade to return and the default arguments were not applied.

This patch fixes this issue by using the cached `F->getIntrinsicID()`,
which is set when the temporary function is created from the original name. 
It also `rename(F)` before inserting the full declaration, so the temporary
function no longer occupies the canonical name.

---------

Signed-off-by: DharuniRAcharya <dharunira at nvidia.com>
DeltaFile
+43-37llvm/lib/IR/AutoUpgrade.cpp
+1-20llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
+0-10llvm/utils/TableGen/Basic/CodeGenIntrinsics.cpp
+1-3llvm/include/llvm/IR/Intrinsics.td
+45-704 files

NetBSD/pkgsrc YbXgBVztextproc/libcyaml distinfo

   textproc/libcyaml: Update distinfo.
VersionDeltaFile
1.5+4-4textproc/libcyaml/distinfo
+4-41 files

LLVM/project 2307407orc-rt/include/orc-rt/bedrock Session.h, orc-rt/test/unit/bedrock SessionTest.cpp

[orc-rt] Add Session::attach for pre-mode ControllerAccesses. (#222227)

Allow clients to attach a session using a pre-constructed
ControllerAccess object. This allows clients to use non-trivial
construction methods (e.g. factories) to build ControllerAccess objects.
DeltaFile
+18-0orc-rt/test/unit/bedrock/SessionTest.cpp
+12-0orc-rt/include/orc-rt/bedrock/Session.h
+30-02 files

NetBSD/pkgsrc o0MBtVstextproc/libcyaml Makefile

   textproc/libcyaml: Update to 1.4.2

   == v1.4.2 ==

   Buildsystem:

   - Add explicit shared and static library install targets.

   General:

   - Small code cleanups.
   - Reverted to C89-compatible static assertion macro.
   - Fixes build on quirky platforms.
   - Rationalised GitHub actions.
   - Fixed CI for MacOS.

   No changes are required for client applications to upgrade.

   == v1.4.1 ==

    [30 lines not shown]
VersionDeltaFile
1.4+2-6textproc/libcyaml/Makefile
+2-61 files