FreeBSD/ports 1146d9dfilesystems/openzfs/files patch-tests_zfs-tests_cmd_mmap__seek.c patch-module_zfs_vdev.c

filesystems/openzfs: fix build on i386

Upstream pull request: https://github.com/openzfs/zfs/pull/18096
DeltaFile
+11-0filesystems/openzfs/files/patch-tests_zfs-tests_cmd_mmap__seek.c
+11-0filesystems/openzfs/files/patch-module_zfs_vdev.c
+22-02 files

LLVM/project f2e2e00llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/PhaseOrdering/X86 loadcombine.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+32-228llvm/test/Transforms/SLPVectorizer/X86/bad-reduction.ll
+48-204llvm/test/Transforms/PhaseOrdering/X86/loadcombine.ll
+0-87llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+4-17llvm/test/Transforms/SLPVectorizer/X86/load-merge.ll
+4-17llvm/test/Transforms/SLPVectorizer/X86/load-merge-inseltpoison.ll
+88-5535 files

LLVM/project 2b25e92libunwind/src UnwindCursor.hpp AddressSpace.hpp

[PAC][libunwind] Pass ptrauth-qualified values as const references (#173765)

For Apple's arm64e or Linux's pauthtest, `Registers_arm64::link_reg_t`
type is `__ptrauth`-qualified. When passing a value of such a type to a
function accepting non-`__ptrauth`-qualified parameter with `pint_t`
type, an authentication is performed. So, the corresponding callee
argument does not contain an embedded signature, making it prone to
substitution if spilled to the stack.

This patch prevents early authentication of signed values of
`link_reg_t` type by passing them as const l-value references instead of
passing by value with type `pint_t`. This way, the callee would operate
with a `__ptrauth`-qualified value containing a signature, allowing to
detect a substitution if the value is spilled to the stack.

Note that this approach was introduced previously in #143230 for some
other functions. In this patch, we apply the approach to the functions
which were not considered previously.
DeltaFile
+33-30libunwind/src/UnwindCursor.hpp
+21-11libunwind/src/AddressSpace.hpp
+17-11libunwind/src/DwarfParser.hpp
+23-0libunwind/src/Registers.hpp
+7-7libunwind/src/DwarfInstructions.hpp
+7-4libunwind/src/EHHeaderParser.hpp
+108-636 files

FreeBSD/ports d2ed3b5security/rubygem-haiti-hash distinfo Makefile

security/rubygem-haiti-hash: Update to 4.0.0

Changes:
https://github.com/noraj/haiti/blob/v4.0.0/docs/CHANGELOG.md#400
DeltaFile
+3-3security/rubygem-haiti-hash/distinfo
+1-1security/rubygem-haiti-hash/Makefile
+4-42 files

LLVM/project 5668631llvm/include/llvm/ADT TypeSwitch.h, llvm/unittests/ADT TypeSwitchTest.cpp

[ADT] Allow `TypeSwitch::Default` for `FailureOr<T>` (#174119)

Support specifying the default value without having to write a lambda,
e.g.: `.Default(failure());`.
DeltaFile
+22-0llvm/unittests/ADT/TypeSwitchTest.cpp
+11-0llvm/include/llvm/ADT/TypeSwitch.h
+2-2mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
+2-2mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
+1-1mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
+1-1mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp
+39-66 files

LLVM/project adea4d5llvm/include/llvm/CodeGen MachineBasicBlock.h, llvm/lib/CodeGen MachineBasicBlock.cpp RegAllocFast.cpp

[CodeGen] Add assertion to MachineBasicBlock::addLiveIn and friends (#140527)

Assert that the MCRegister passed into addLiveIn, removeLiveIn, isLiveIn
and computeRegisterLiveness is physical.
DeltaFile
+3-1llvm/include/llvm/CodeGen/MachineBasicBlock.h
+3-0llvm/lib/CodeGen/MachineBasicBlock.cpp
+1-1llvm/lib/CodeGen/RegAllocFast.cpp
+7-23 files

LLVM/project fc9e6e1flang/include/flang/Optimizer/Dialect FIROps.td FIRAttr.td, flang/lib/Lower PFTBuilder.cpp Bridge.cpp

[flang] Represent use statement in fir. (#168106)

We have a longstanding issue in debug info that use statement is not
fully respected. The problem has been described in
https://github.com/llvm/llvm-project/issues/160923. This is first part
of the effort to address this issue. This PR adds infrastructure to emit
`use` statement information in FIR, which will be used by subsequent
patches to generate DWARF debug information.

The information about use statement is collected during semantic
analysis and stored in `PreservedUseStmt` objects. During lowering,
`fir.use_stmt` operations are emitted for each `PreservedUseStmt`
object. The `fir.use_stmt` operation captures the module name, `only`
list symbols, and any renames specified in the use statement. The
`fir.use_stmt` is removed during `CodeGen`.
DeltaFile
+110-4flang/lib/Lower/PFTBuilder.cpp
+80-0flang/test/Lower/debug-use-stmt.f90
+74-1flang/lib/Lower/Bridge.cpp
+52-0flang/include/flang/Optimizer/Dialect/FIROps.td
+17-2flang/lib/Optimizer/CodeGen/CodeGen.cpp
+17-0flang/include/flang/Optimizer/Dialect/FIRAttr.td
+350-77 files not shown
+387-1013 files

NetBSD/pkgsrc-wip a5c68e9R distinfo, R/patches patch-configure.ac

(math/R) remove redundant (typo) line from patch
DeltaFile
+1-2R/patches/patch-configure.ac
+1-1R/distinfo
+2-32 files

LLVM/project 3b73a7emlir/include/mlir/Transforms Passes.td Passes.h, mlir/lib/Transforms RemoveDeadValues.cpp

tmp commit

simple test working

draft: do not erase IR, just replace uses
DeltaFile
+179-332mlir/lib/Transforms/RemoveDeadValues.cpp
+110-45mlir/test/Transforms/remove-dead-values.mlir
+10-0mlir/include/mlir/Transforms/Passes.td
+1-0mlir/include/mlir/Transforms/Passes.h
+300-3774 files

LLVM/project 6d01058llvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 logical-op-with-not.ll ctlo.ll

[AArch64] Combine (not (shift X, C)) into MVN (#174180)

Closes #119921
DeltaFile
+90-6llvm/test/CodeGen/AArch64/logical-op-with-not.ll
+2-4llvm/test/CodeGen/AArch64/ctlo.ll
+4-0llvm/lib/Target/AArch64/AArch64InstrInfo.td
+96-103 files

LLVM/project cf9b3bbmlir/include/mlir/IR PatternMatch.h, mlir/lib/Dialect/SCF/IR SCF.cpp

[mlir][IR][NFC] Add `RewriterBase::eraseOpResults` convenience helper (#174152)

There are various places in the code base where op results are removed.
E.g., some canonicalization patterns remove op results. This commit adds
a new helper function to `RewriterBase` to reduce code duplication and
simplify patterns. The existing implementation from
`RemoveDeadValues.cpp` is moved into the rewriter API.

There is now a uniform API for removing operands and values:
* `Block::eraseArguments(BitVector)`
* `Operation::eraseOperands(BitVector)`
* NEW: `RewriterBase::eraseOpResults(Operation *, BitVector)`

This commit is preparation of adding new canonicalizations for
region-based ops, which will add yet another place where op results must
be erased.
DeltaFile
+58-131mlir/lib/Dialect/SCF/IR/SCF.cpp
+36-0mlir/lib/IR/PatternMatch.cpp
+3-28mlir/lib/Transforms/RemoveDeadValues.cpp
+6-0mlir/include/mlir/IR/PatternMatch.h
+103-1594 files

OpenBSD/ports DNc8ouLfonts/cantarell-fonts Makefile distinfo

   Update to cantarell-fonts-0.310.
VersionDeltaFile
1.44+10-2fonts/cantarell-fonts/Makefile
1.32+2-2fonts/cantarell-fonts/distinfo
+12-42 files

LLVM/project c646d1bmlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-llvm.mlir

[MLIR][OpenMP] Fix type mismatch in linear clause for INTEGER(8) variables (#173982)

Fixes #173332 

The compiler was crashing when compiling OpenMP `parallel do simd` with
a `linear` clause on `INTEGER(8)` variables. The assertion failure
occurred during MLIR-to-LLVM translation:
Cannot create binary operator with two operands of differing type!

**Root Cause:**
The bug was in `LinearClauseProcessor::updateLinearVar()` where the step
value (i32) and induction variable were multiplied without normalizing
to the linear variable's type (i64), causing type mismatches in LLVM IR
generation.

**Solution:**
Updated the translation logic to cast both the induction variable and
step value to `linearVarTypes[index]` before performing arithmetic
operations. This ensures type consistency for both integer and

    [7 lines not shown]
DeltaFile
+64-0mlir/test/Target/LLVMIR/openmp-llvm.mlir
+29-9mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+93-92 files

LLVM/project d6ed38cllvm/lib/Transforms/Vectorize VectorCombine.cpp

add TTI cost check to check profitability
DeltaFile
+32-6llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+32-61 files

LLVM/project dbc28c3mlir/lib/Dialect/SCF/IR SCF.cpp, mlir/lib/IR PatternMatch.cpp

address comments
DeltaFile
+2-2mlir/lib/Dialect/SCF/IR/SCF.cpp
+1-1mlir/lib/IR/PatternMatch.cpp
+3-32 files

FreeBSD/ports 87ad00bftp/ftpcopy Makefile distinfo, ftp/ftpcopy/files patch-src_attributes.h patch-src_typesize.sh

ftp/ftpcopy: fix build on ARM64 and refresh

With GCC14 now being pulled in on non-i386 non-amd64 platforms,
the compiler is stricter about prototypes.

I think all our base compilers should be good enough, but some
platforms don't seem to allow regparm, so patch that out.
DeltaFile
+11-0ftp/ftpcopy/files/patch-src_attributes.h
+1-5ftp/ftpcopy/Makefile
+3-3ftp/ftpcopy/files/patch-src_typesize.sh
+1-0ftp/ftpcopy/distinfo
+16-84 files

LLVM/project 420da86clang/test/AST/ByteCode cxx03.cpp

[clang][bytecode] Disable test on 32 bit systems

The array we create is too big for those.
See https://lab.llvm.org/buildbot/#/builders/154/builds/25860
DeltaFile
+2-0clang/test/AST/ByteCode/cxx03.cpp
+2-01 files

NetBSD/pkgsrc-wip 19714d5R TODO distinfo, R/patches patch-configure.ac

(math/R) Partly fix the problem of 4.4.3 on NetBSD/9.3
DeltaFile
+33-0R/patches/patch-configure.ac
+24-0R/TODO
+1-2R/distinfo
+58-23 files

NetBSD/src XRZAGT4doc CHANGES-9.5

   Tickets #1991 and #1992
VersionDeltaFile
1.1.2.89+62-1doc/CHANGES-9.5
+62-11 files

NetBSD/xsrc AXnzVUMexternal/mit/xkbcomp/dist configure xkbparse.c

   Pull up the following, requested by mrg in ticket #1992:

        external/mit/xkbcomp/dist/COPYING               up to 1.1.1.2
        external/mit/xkbcomp/dist/ChangeLog             up to 1.1.1.16
        external/mit/xkbcomp/dist/Makefile.am           up to 1.1.1.8
        external/mit/xkbcomp/dist/Makefile.in           up to 1.1.1.14
        external/mit/xkbcomp/dist/README                up to 1.1.1.4
        external/mit/xkbcomp/dist/aclocal.m4            up to 1.1.1.15
        external/mit/xkbcomp/dist/action.c              up to 1.1.1.5
        external/mit/xkbcomp/dist/action.h              up to 1.1.1.5
        external/mit/xkbcomp/dist/alias.c               up to 1.1.1.6
        external/mit/xkbcomp/dist/alias.h               up to 1.1.1.4
        external/mit/xkbcomp/dist/compat.c              up to 1.1.1.9
        external/mit/xkbcomp/dist/compile               up to 1.1.1.7
        external/mit/xkbcomp/dist/config.guess          up to 1.1.1.14
        external/mit/xkbcomp/dist/config.h.in           up to 1.1.1.6
        external/mit/xkbcomp/dist/config.sub            up to 1.1.1.14
        external/mit/xkbcomp/dist/configure             up to 1.1.1.16
        external/mit/xkbcomp/dist/configure.ac          up to 1.1.1.16

    [38 lines not shown]
VersionDeltaFile
1.1.1.12.2.1+5,812-4,476external/mit/xkbcomp/dist/configure
1.1.1.9.2.1+1,742-1,647external/mit/xkbcomp/dist/xkbparse.c
1.1.1.10.2.1+1,847-1,329external/mit/xkbcomp/dist/config.sub
1.1.1.10.2.1+1,020-681external/mit/xkbcomp/dist/config.guess
1.1.1.12.2.1+1,030-0external/mit/xkbcomp/dist/ChangeLog
1.1.1.11.2.1+508-301external/mit/xkbcomp/dist/aclocal.m4
+11,959-8,43452 files not shown
+15,062-11,38458 files

LLVM/project af80688llvm/test/CodeGen/NVPTX tensormap_replace_sm_100a.ll tensormap_replace.ll

[NVPTX] Add missing preconditions to tensormap replace tests (#174190)

This change adds preconditions for the ISA and SM versions to the
`ptxas` RUN lines for the tests added in
14b1d770db7f9ee49693063ad851215dede0766e which were accidentally
omitted.
DeltaFile
+1-1llvm/test/CodeGen/NVPTX/tensormap_replace_sm_100a.ll
+1-1llvm/test/CodeGen/NVPTX/tensormap_replace.ll
+2-22 files

NetBSD/src aBGgknDdoc CHANGES-10.2

   Tickets #1212 and #1213
VersionDeltaFile
1.1.2.82+61-1doc/CHANGES-10.2
+61-11 files

NetBSD/xsrc pawUR5Jexternal/mit/xkbcomp/dist configure xkbparse.c

   Pull up the following, requested by mrg in ticket #1213:

        external/mit/xkbcomp/dist/man/meson.build       up to 1.1.1.1
        external/mit/xkbcomp/dist/meson.build           up to 1.1.1.1
        external/mit/xkbcomp/dist/meson.options         up to 1.1.1.1
        external/mit/xkbcomp/dist/ChangeLog             up to 1.1.1.16
        external/mit/xkbcomp/dist/Makefile.am           up to 1.1.1.8
        external/mit/xkbcomp/dist/Makefile.in           up to 1.1.1.14
        external/mit/xkbcomp/dist/aclocal.m4            up to 1.1.1.15
        external/mit/xkbcomp/dist/action.c              up to 1.1.1.5
        external/mit/xkbcomp/dist/action.h              up to 1.1.1.5
        external/mit/xkbcomp/dist/alias.c               up to 1.1.1.6
        external/mit/xkbcomp/dist/alias.h               up to 1.1.1.4
        external/mit/xkbcomp/dist/compat.c              up to 1.1.1.9
        external/mit/xkbcomp/dist/compile               up to 1.1.1.7
        external/mit/xkbcomp/dist/config.guess          up to 1.1.1.14
        external/mit/xkbcomp/dist/config.h.in           up to 1.1.1.6
        external/mit/xkbcomp/dist/config.sub            up to 1.1.1.14
        external/mit/xkbcomp/dist/configure             up to 1.1.1.16

    [37 lines not shown]
VersionDeltaFile
1.1.1.13.2.1+5,765-4,460external/mit/xkbcomp/dist/configure
1.1.1.10.2.1+911-823external/mit/xkbcomp/dist/xkbparse.c
1.1.1.11.2.1+928-599external/mit/xkbcomp/dist/config.guess
1.1.1.11.2.1+1,004-440external/mit/xkbcomp/dist/config.sub
1.1.1.13.2.1+786-0external/mit/xkbcomp/dist/ChangeLog
1.1.1.12.2.1+402-204external/mit/xkbcomp/dist/aclocal.m4
+9,796-6,52648 files not shown
+11,980-8,62554 files

LLVM/project da5845dclang/lib/AST/ByteCode InterpBuiltin.cpp, clang/test/AST/ByteCode builtins.c

[clang][bytecode] Check builtin_memchr for non-block pointers earlier (#174192)

The getType() call might fail. We can't pull the isReadable() check up
though because that creates different diagnostic output compared to the
current interpreter.

Fixes #172202
DeltaFile
+3-0clang/lib/AST/ByteCode/InterpBuiltin.cpp
+1-0clang/test/AST/ByteCode/builtins.c
+4-02 files

LLVM/project bd566cdmlir/include/mlir/Interfaces ControlFlowInterfaces.h ControlFlowInterfaces.td, mlir/lib/Dialect/SCF/IR SCF.cpp

[mlir][draft] Consolidate patterns into RegionBranchOpInterface patterns

fix some tests

reorganize code
DeltaFile
+17-813mlir/lib/Dialect/SCF/IR/SCF.cpp
+467-0mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+11-13mlir/test/Dialect/SCF/canonicalize.mlir
+9-0mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
+4-4mlir/test/Transforms/remove-dead-values.mlir
+5-0mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
+513-8306 files

LLVM/project 508e3cbclang/lib/AST/ByteCode Compiler.cpp, clang/test/AST/ByteCode cxx03.cpp

[clang][bytecode] Check for null Record (#174193)

This is an error case that results in a null Record, so don't crash
later in that case.

Fixes #173941
DeltaFile
+10-0clang/test/AST/ByteCode/cxx03.cpp
+2-0clang/lib/AST/ByteCode/Compiler.cpp
+12-02 files

LLVM/project 2b903dfllvm/cmake/modules HandleLLVMOptions.cmake

[CMake] Fix variable name mistake

Fixup of d1b88ca8d4c5d849ae93111ae9e24d88dad4b762, was an overly eager
find-replace..
DeltaFile
+2-2llvm/cmake/modules/HandleLLVMOptions.cmake
+2-21 files

LLVM/project 4ee9d73mlir/include/mlir/Interfaces ControlFlowInterfaces.h ControlFlowInterfaces.td, mlir/lib/Dialect/SCF/IR SCF.cpp

[mlir][draft] Consolidate patterns into RegionBranchOpInterface patterns

fix some tests

reorganize code
DeltaFile
+17-813mlir/lib/Dialect/SCF/IR/SCF.cpp
+461-0mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+11-13mlir/test/Dialect/SCF/canonicalize.mlir
+9-0mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
+4-4mlir/test/Transforms/remove-dead-values.mlir
+5-0mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
+507-8306 files

NetBSD/src 2f3Ows9doc CHANGES-11.0

   Ticket #138
VersionDeltaFile
1.1.2.64+6-1doc/CHANGES-11.0
+6-11 files

NetBSD/pkgsrc-wip 0d229f2recutils TODO

recutils: Add reference to CVE-2025-65409
DeltaFile
+2-1recutils/TODO
+2-11 files