LLVM/project 51d349f — llvm/include/llvm/Transforms/Utils Local.h, llvm/lib/Transforms/Scalar GVNHoist.cpp

[GVNHoist] call patchReplacementInstruction in rauw (#239468)

In Replace all User With function, we actually need to relax flag for
hoisting. In one miscompilation bug we have (see:
Closes item), we need dropPoisonGeneratingFlags in that case.

After taking a look at patchReplacementInstruction, we need call site
relaxation too.

As a result, we make rauw call that function directly. The only
difference is that Hoisting actually move the instruction so we need to
set DoesKMove in combineMetadataForCSE to true. We add a parameter to
pass the value and set the value to false by default.

Assisted-by: Claude # Test
Closes: #236581
DeltaFile
+73-0llvm/test/Transforms/GVNHoist/hoist.ll
+72-0llvm/test/Transforms/GVNHoist/hoist-call.ll
+4-3llvm/include/llvm/Transforms/Utils/Local.h
+3-2llvm/lib/Transforms/Utils/Local.cpp
+1-2llvm/lib/Transforms/Scalar/GVNHoist.cpp
+153-75 files

FreeNAS/freenas a1dbf6f — src/middlewared/middlewared/api/v27_0_0 filesystem.py, src/middlewared/middlewared/utils/filesystem stat_x.py

NAS-145130 / 27.0.0 / List the read-only bit of statx in filesystem.stat (by yocalebo) (by bugclerk) (#20157)

The TrueNAS kernel sets STATX_ATTR_RDONLY in stx_attributes when the
file is on a read-only mount, as the mount or its superblock is read
only, such as a dataset with readonly=on, which ZFS applies with no
remount, or a snapshot. StatxAttr gains RDONLY, so filesystem.stat and
the listing of a directory name it among the attributes, and the
attributes of v28_0_0 take it.

A unit test sets readonly on and off on a dataset of its own and finds
the bit and the name follow with no remount, finds them on a file inside
a snapshot, and finds neither on /proc. It needs a kernel with the
change.

Cf. https://github.com/truenas/linux/pull/401

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



    [2 lines not shown]
DeltaFile
+63-0tests/unit/test_zfs_statx_rdonly.py
+4-0src/middlewared/middlewared/utils/filesystem/stat_x.py
+2-1src/middlewared/middlewared/api/v27_0_0/filesystem.py
+69-13 files

FreeNAS/freenas 09a5f7d — src/middlewared/middlewared/api/v27_0_0 filesystem.py, src/middlewared/middlewared/utils/filesystem stat_x.py

NAS-145130 / 27.1.0 / List the read-only bit of statx in filesystem.stat (by yocalebo) (#20156)

The TrueNAS kernel sets STATX_ATTR_RDONLY in stx_attributes when the
file is on a read-only mount, as the mount or its superblock is read
only, such as a dataset with readonly=on, which ZFS applies with no
remount, or a snapshot. StatxAttr gains RDONLY, so filesystem.stat and
the listing of a directory name it among the attributes, and the
attributes of v28_0_0 take it.

A unit test sets readonly on and off on a dataset of its own and finds
the bit and the name follow with no remount, finds them on a file inside
a snapshot, and finds neither on /proc. It needs a kernel with the
change.

Cf. https://github.com/truenas/linux/pull/401

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

Co-authored-by: Caleb St. John <30729806+yocalebo at users.noreply.github.com>
DeltaFile
+63-0tests/unit/test_zfs_statx_rdonly.py
+4-0src/middlewared/middlewared/utils/filesystem/stat_x.py
+2-1src/middlewared/middlewared/api/v27_0_0/filesystem.py
+69-13 files

LLVM/project ad6b78f — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 vector-shuffle-combining-avx512f.ll

[DAG] Only fold shuffle(binop(shuffle(x,y),shuffle(z,w)) with safe to speculative binops (#237212)

Fixes #235659
DeltaFile
+98-4llvm/test/CodeGen/X86/vector-shuffle-combining-avx512f.ll
+2-1llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+100-52 files

LLVM/project 9cca96b — llvm/lib/Target/AMDGPU SIInstrInfo.td, llvm/test/MC/AMDGPU misaligned-vgpr-tuples-err.s

[AMDGPU] Align AGPR memory-op operands like their VGPR equivalents (#236207)

getEquivalentAGPROperand mapped VGPR memory-op operand classes to raw
AReg_N register operands, while the VGPR side (getEquivalentVGPROperand
/ VGPROp_N) routes through the HwMode-split VReg_N_AlignTarget classes.
As a result the AGPR variants of DS/FLAT atomics did not enforce even
VGPR-tuple alignment through their operand register class on subtargets that
require it (gfx90a/gfx942), unlike their VGPR counterparts -- misaligned
AGPR tuples were only caught by the generic validateVGPRAlign scan.

Route them through AReg_N_AlignTarget so the operand's register class
resolves to AReg_N_Align2 on aligned MAI subtargets and AReg_N
elsewhere, matching the VGPR path. Misaligned AGPR tuples are now
rejected by the operand class ("invalid operand for instruction") like
their VGPR counterparts.

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+14-14llvm/test/MC/AMDGPU/misaligned-vgpr-tuples-err.s
+5-5llvm/lib/Target/AMDGPU/SIInstrInfo.td
+19-192 files

FreeNAS/freenas 4a34d8e — src/middlewared/middlewared/api/v28_0_0 filesystem.py, src/middlewared/middlewared/utils/filesystem directory.py stat_x.py

NAS-145130 / 28.0.0-BETA.1 / List the read-only bit of statx in filesystem.stat (#20155)

The TrueNAS kernel sets STATX_ATTR_RDONLY in stx_attributes when the
file is on a read-only mount, as the mount or its superblock is read
only, such as a dataset with readonly=on, which ZFS applies with no
remount, or a snapshot. StatxAttr gains RDONLY, so filesystem.stat and
the listing of a directory name it among the attributes, and the
attributes of v28_0_0 take it.

A unit test sets readonly on and off on a dataset of its own and finds
the bit and the name follow with no remount, finds them on a file inside
a snapshot, and finds neither on /proc. It needs a kernel with the
change.

Cf. https://github.com/truenas/linux/pull/401
DeltaFile
+63-0tests/unit/test_zfs_statx_rdonly.py
+5-1src/middlewared/middlewared/utils/filesystem/stat_x.py
+2-1src/middlewared/middlewared/api/v28_0_0/filesystem.py
+1-1src/middlewared/middlewared/utils/filesystem/directory.py
+71-34 files

LLVM/project dcff70d — mlir/test/lib/Dialect/Test TestOpsTraits.td TestOpsPatterns.td

[mlir][test] Split TestOps.td into one .td file per category

Prior to this PR, the test dialect used ODS's sharding mechanism (`add_sharded_ops(TestOps 20)`), which equally splits `TestOps.cpp.inc` into 20 shards (using preprocessor defines for selective enablement).
The motivation for doing so is that this can speed up compile time by splitting class definition compilation to multiple translation units.

However, this approach has one large disadvantage: Since only the `TestOps.cpp.inc` is split, the corresponding `TestOps.h.inc` is still included in each translation unit. This leads to **much higher** concurrent memory usage while compiling as every compilation process contains an in-memory copy of the header plus can lead to slower compilation time overall as overall work goes up (`n` header parses instead of 1).

This PR instead splits `TestOps.td` into one `.td` file per category (Core, Attributes, Traits, Patterns, Conversion, Interfaces and Properties). Each category gets its own `-gen-op-decls`/`-gen-op-defs` outputs, header and source file, so every translation unit only contains the code from its category and no longer needs to include the entire dialect header.
One can think of these as effectively being sub-dialects from the perspective of the required boilerplate.

* `TestOpBase.td`: includes, `TEST_Op` and definitions used by several categories.
* `TestOps<Category>.td`: the ops of a category and the definitions only they use.
* `TestOps.td`: includes all of the above plus the DRR patterns, which use ops of several categories. It is still used for the dialect, attribute and rewriter generators and by PDLL.

Every category registers its ops through a `registerOps<Category>()` hook, declared in the dialect's `extraClassDeclaration` and called in `initialize()`. Ops referenced across categories (the implicit terminators `RegionYieldOp` and `TerminatorOp` of `Core` ops) are forward declared by hand.

This is an alternative to "Natural Sharding" (#239254) that needs no ODS changes: the categories are the partitions of #239254, and the C++ sources and headers are the same as there. The generated op declarations are identical to #239254 modulo its forward declarations; the op definitions differ only in the names of file-local constraint functions and the registration hooks.

Users of `TestOps.h` were further changed to just include the header of a given category if deemed useful.

    [12 lines not shown]
DeltaFile
+11-4,496mlir/test/lib/Dialect/Test/TestOps.td
+1,323-0mlir/test/lib/Dialect/Test/TestOpsInterfaces.td
+932-0mlir/test/lib/Dialect/Test/TestOpsCore.td
+656-0mlir/test/lib/Dialect/Test/TestOpsProperties.td
+630-0mlir/test/lib/Dialect/Test/TestOpsPatterns.td
+550-0mlir/test/lib/Dialect/Test/TestOpsTraits.td
+4,102-4,49655 files not shown
+5,262-4,81261 files

LLVM/project 87ca63f — utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes a45b8b8 (#239641)

This fixes a45b8b839a4e52d4328ac1d308013c5ec56eb063 (#238775).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=a45b8b839a4e52d4328ac1d308013c5ec56eb063

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+3-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+3-01 files

NetBSD/pkgsrc ULLZwOh — doc CHANGES-2026

   doc: Updated www/basilisk to 2026.11.01
VersionDeltaFile
1.7688+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc aF2AJMB — www/basilisk PLIST Makefile, www/basilisk/patches patch-platform_security_nss_lib_ckfw_builtins_certdata.txt

   basilisk: Update to 2026.11.01

   This brings basilisk up to the most recent version of UXP (Pale Moon's
   engine), with associated web compatibility and security fixes.
VersionDeltaFile
1.8+10-11www/basilisk/distinfo
1.15+3-4www/basilisk/Makefile
1.2+1-1www/basilisk/patches/patch-platform_security_nss_lib_ckfw_builtins_certdata.txt
1.5+1-0www/basilisk/PLIST
+15-164 files

FreeBSD/src e5a48c8 — sys/dev/hwpmc hwpmc_mod.c

hwpmc: release a PMC whose ID could not be copied out

If copyout of the newly allocated PMC ID fails, the caller cannot use or
release the PMC. Release it in the kernel.

Reviewed by:    mhorne
MFC after:      3 days
Sponsored by:   Advanced Micro Devices, Inc.
Differential Revision:  https://reviews.freebsd.org/D60562
DeltaFile
+6-0sys/dev/hwpmc/hwpmc_mod.c
+6-01 files

FreeBSD/ports ae5d020 — www/mod_auth_openidc Makefile distinfo

www/mod_auth_openidc: Update to 2.4.20.4
DeltaFile
+3-3www/mod_auth_openidc/distinfo
+1-1www/mod_auth_openidc/Makefile
+4-42 files

LLVM/project 1bfdad8 — llvm/utils profcheck-xfail.txt

Add more fixirreducible test cases to profcheck-xfail.txt (#239640)
DeltaFile
+2-0llvm/utils/profcheck-xfail.txt
+2-01 files

FreeNAS/freenas 6c3d3f9 — src/middlewared/middlewared/plugins/directoryservices_ datastore.py, tests/directory_services test_activedirectory_idmap.py

Reject duplicate idmap domain names and copied idmap ranges
DeltaFile
+283-9tests/unit/test_directoryservices_idmap_ranges.py
+51-15src/middlewared/middlewared/plugins/directoryservices_/datastore.py
+50-0tests/directory_services/test_activedirectory_idmap.py
+384-243 files

FreeBSD/ports 5b1b3c1 — comms/hamlib Makefile pkg-plist

comms/hamlib: Fix build
DeltaFile
+7-6comms/hamlib/pkg-plist
+1-0comms/hamlib/Makefile
+8-62 files

FreeBSD/ports a955bea — comms/wsjtz distinfo pkg-plist

comms/wsjtz: Update to 2.0.19

Switch to github.
Bump PORTEPOCH due to the changed naming change.
DeltaFile
+27-11comms/wsjtz/Makefile
+1-14comms/wsjtz/pkg-plist
+3-3comms/wsjtz/distinfo
+31-283 files

LLVM/project 37ed5d6 — offload/test/offloading interop.c

[Offload][Omp] Mark interop test as pass for CUDA (#239593)

It seems after the recent interop changes the interop tests is passing for the CUDA backend (https://lab.llvm.org/buildbot/#/builders/239/builds/775) so we adjust the XFAIL mark here.
DeltaFile
+1-1offload/test/offloading/interop.c
+1-11 files

NetBSD/src y2XxKfY — sys/arch/sun3/sun3 locore2.c, sys/arch/sun3/sun3x locore2.c

   Add __attribute__((no_instrument_function)) to early bootstrap functions.
VersionDeltaFile
1.110+6-6sys/arch/sun3/sun3/locore2.c
1.47+5-5sys/arch/sun3/sun3x/locore2.c
+11-112 files

LLVM/project 9e741b7 — llvm/test/CodeGen/AArch64 machine-outliner-macho-compact-unwind-frame.mir

Add test line for `def_cfa $wsp, 16`
DeltaFile
+2-1llvm/test/CodeGen/AArch64/machine-outliner-macho-compact-unwind-frame.mir
+2-11 files

LLVM/project 91507d5 — llvm/lib/Transforms/Vectorize VPlan.h VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize outer-loop-bitextract-bitinsert.ll bitextract-bitinsert.ll

[LV] Widen `bitextract` and `bitinsert`
DeltaFile
+306-0llvm/test/Transforms/LoopVectorize/bitextract-bitinsert.ll
+180-0llvm/test/Transforms/LoopVectorize/outer-loop-bitextract-bitinsert.ll
+132-0llvm/test/Transforms/LoopVectorize/RISCV/bitextract-bitinsert-scalable.ll
+109-0llvm/test/Transforms/LoopVectorize/X86/bitextract-bitinsert-cost.ll
+48-1llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+29-14llvm/lib/Transforms/Vectorize/VPlan.h
+804-152 files not shown
+824-158 files

NetBSD/src xXVqE3Z — sys/arch/sun68k/sun68k pmap_sunmmu.c

   Add __attribute__((no_instrument_function)) to pmap_bootstrap().
VersionDeltaFile
1.6+7-4sys/arch/sun68k/sun68k/pmap_sunmmu.c
+7-41 files

LLVM/project b52dfe4 — llvm/include/llvm/Analysis TargetTransformInfo.h TargetTransformInfoImpl.h, llvm/include/llvm/CodeGen BasicTTIImpl.h

[TTI] Cost `bitinsert` and `bitextract` by their lowering
DeltaFile
+26-26llvm/test/Analysis/CostModel/X86/bitinsert-bitextract.ll
+47-0llvm/include/llvm/CodeGen/BasicTTIImpl.h
+20-0llvm/lib/Analysis/TargetTransformInfo.cpp
+20-0llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
+12-0llvm/include/llvm/Analysis/TargetTransformInfo.h
+125-265 files

LLVM/project d07ce0e — llvm/test/Analysis/CostModel/X86 bitinsert-bitextract.ll

[TTI] Pre-commit tests for `bitinsert` and `bitextract` costs
DeltaFile
+74-0llvm/test/Analysis/CostModel/X86/bitinsert-bitextract.ll
+74-01 files

LLVM/project 982424c — llvm/test/tools/llubi bitinsert_bitextract_le.ll bitinsert_bitextract_be.ll, llvm/tools/llubi/lib Interpreter.cpp

[llubi] Add support for vector `bitinsert` and `bitextract`
DeltaFile
+25-22llvm/tools/llubi/lib/Interpreter.cpp
+28-0llvm/test/tools/llubi/bitinsert_bitextract_le.ll
+28-0llvm/test/tools/llubi/bitinsert_bitextract_be.ll
+81-223 files

LLVM/project a2f5352 — llvm/lib/Analysis InstructionSimplify.cpp, llvm/test/Transforms/InstSimplify bitinsert-bitextract.ll

[InstSimplify] Simplify vector `bitinsert` and `bitextract` with out-of-range offsets
DeltaFile
+8-6llvm/lib/Analysis/InstructionSimplify.cpp
+2-4llvm/test/Transforms/InstSimplify/bitinsert-bitextract.ll
+10-102 files

LLVM/project 62a78b2 — llvm/test/Transforms/InstSimplify bitinsert-bitextract.ll

[InstSimplify] Pre-commit tests for vector `bitinsert` and `bitextract` with out-of-range offsets
DeltaFile
+31-0llvm/test/Transforms/InstSimplify/bitinsert-bitextract.ll
+31-01 files

LLVM/project ef4078a — llvm/lib/Analysis ConstantFolding.cpp, llvm/test/Transforms/InstSimplify/ConstProp bitinsert-bitextract.ll

[ConstantFolding] Fold vector `bitinsert` and `bitextract`
DeltaFile
+50-6llvm/lib/Analysis/ConstantFolding.cpp
+9-18llvm/test/Transforms/InstSimplify/ConstProp/bitinsert-bitextract.ll
+59-242 files

LLVM/project 9079bbe — llvm/test/Transforms/InstSimplify/ConstProp bitinsert-bitextract.ll

[ConstantFolding] Pre-commit tests for vector `bitinsert` and `bitextract`
DeltaFile
+78-6llvm/test/Transforms/InstSimplify/ConstProp/bitinsert-bitextract.ll
+78-61 files

LLVM/project 7d231cc — llvm/lib/CodeGen/GlobalISel IRTranslator.cpp, llvm/test/CodeGen/AArch64 bitinsert-bitextract-vector.ll

[GlobalISel] Lower vector `bitinsert` and `bitextract`
DeltaFile
+65-0llvm/test/CodeGen/AArch64/bitinsert-bitextract-vector.ll
+14-12llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+79-122 files

NetBSD/src OBROoHL — sys/arch/sun2/sun2 pmap.c

   Add __attribute__((no_instrument_function)) to pmap_bootstrap().
VersionDeltaFile
1.65+3-3sys/arch/sun2/sun2/pmap.c
+3-31 files