LLVM/project ccf4615mlir/include/mlir/Dialect/Utils ReshapeOpsUtils.h, mlir/test/Dialect/MemRef canonicalize.mlir

[mlir] disable folding collapse expand to cast (#179209)

Collapsing expand(collapse(src)) to cast(src) is supported in cases
where the source and result are cast compatible but not equal. When the
source has dynamic dimensions this leads to cases where the cast is
enabled even though certain dimensions cast from static to dynamic when
the dynamic size is not assured to be equal to the static size.
Currently blocking applying this folding when the source has dynamic
dimensions to preserve correctness.
In the future it could be possible to enable some cases of folding when
not all dimensions of the source are static.
Such cases could be when:
  1) expand and collapse happened on non dynamic dims
  2) expand and collapse on dynamic dims could be folded to no op
DeltaFile
+15-0mlir/test/Dialect/MemRef/canonicalize.mlir
+2-1mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
+17-12 files

LLVM/project 059176dmlir/include/mlir-c Support.h, mlir/include/mlir/Bindings/Python NanobindUtils.h

[MLIR][Python] Add llvm raw fd ostream c api (#179770)

This PR adds a C API `MlirLlvmRawFdOstream` for `llvm::raw_fd_ostream`,
which cannot be safely replaced by `std::ofstream` on Windows.
`llvm::raw_fd_ostream` configures Win32 file sharing flags, allowing
other handles (e.g. Python temp file handles) to coexist, see details
[here](https://llvm.org/doxygen/Windows_2Path_8inc_source.html#l1281),
while `std::ofstream` disables file sharing by default.
DeltaFile
+38-0mlir/lib/CAPI/IR/Support.cpp
+26-10mlir/include/mlir/Bindings/Python/NanobindUtils.h
+32-0mlir/include/mlir-c/Support.h
+2-0mlir/include/mlir/CAPI/Support.h
+98-104 files

OPNSense/plugins 8cafe71security/q-feeds-connector/src/opnsense/scripts/qfeeds qfeedsctl.py, security/q-feeds-connector/src/opnsense/scripts/qfeeds/lib __init__.py

security/q-feeds-connector: track if qfeeds lists are loaded when deselected and reload unbounds blocklist in that case (via qfeedsctl.py), for https://github.com/opnsense/plugins/issues/5190
DeltaFile
+9-2security/q-feeds-connector/src/opnsense/scripts/qfeeds/lib/__init__.py
+1-1security/q-feeds-connector/src/opnsense/scripts/qfeeds/qfeedsctl.py
+2-0security/q-feeds-connector/src/opnsense/scripts/unbound/blocklists/qfeeds_bl.py
+12-33 files

LLVM/project 7bf47e2mlir/lib/Dialect/Tensor/IR TensorOps.cpp, mlir/test/Dialect/Tensor invalid.mlir

[mlir][tensor] Guard constant reshape folding (#179077)

DeltaFile
+10-0mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
+10-0mlir/test/Dialect/Tensor/invalid.mlir
+20-02 files

LLVM/project 9639e96llvm/lib/CodeGen/GlobalISel InlineAsmLowering.cpp, llvm/test/CodeGen/AArch64/GlobalISel inline-asm.ll irtranslator-inline-asm.ll

[AArch64] fix copy from GPR32 to FPR16 (#176594)

fixes https://github.com/llvm/llvm-project/issues/79822
cc https://github.com/rust-lang/rust/issues/120374

The example fails on nightly https://godbolt.org/z/zEojPzqWc.
DeltaFile
+73-5llvm/test/CodeGen/AArch64/GlobalISel/inline-asm.ll
+17-8llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
+3-2llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-inline-asm.ll
+93-153 files

LLVM/project 8921f7flibc/src/__support/wctype wctype_classification_utils.cpp wctype_classification_utils.h, llvm/test/CodeGen/AArch64 clmul-fixed.ll clmul-scalable.ll

Merge branch 'main' into users/arsenm/reapply-use-real-copysign-in-fast-pow
DeltaFile
+4,100-13llvm/test/CodeGen/AArch64/clmul-fixed.ll
+3,681-0libc/src/__support/wctype/wctype_classification_utils.cpp
+5-3,665libc/src/__support/wctype/wctype_classification_utils.h
+2,212-1,142llvm/test/CodeGen/AArch64/clmul-scalable.ll
+756-0llvm/test/CodeGen/AArch64/clmul.ll
+1-469llvm/test/Transforms/LoopVectorize/multiple-result-intrinsics.ll
+10,755-5,289769 files not shown
+21,258-10,695775 files

LLVM/project 943782blldb/include/lldb/Target Target.h, lldb/source/Target Target.cpp

[lldb] Broadcast `eBroadcastBitStackChanged` when frame providers change (#171482)

We want to reload the call stack whenever the frame providers are
updated. To do so, we now emit a `eBroadcastBitStackChanged` on all
threads whenever any changes to the frame providers take place.

I found this very useful while iterating on a frame provider in
lldb-dap. So far, the new frame provider only took effect after
continuing execution. Now the backtrace in VS-Code gets refreshed
immediately upon running `target frame-provider add`.
DeltaFile
+77-0lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+36-23lldb/source/Target/Target.cpp
+6-0lldb/include/lldb/Target/Target.h
+119-233 files

LLVM/project ee81694libc/shared/math f16fmaf.h, libc/src/__support/math f16fmaf.h CMakeLists.txt

[libc][math] Refactor f16fmaf to Header Only. (#178851)

closes #175319 
DeltaFile
+33-0libc/src/__support/math/f16fmaf.h
+31-0libc/shared/math/f16fmaf.h
+12-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+10-0libc/src/__support/math/CMakeLists.txt
+2-4libc/src/math/generic/f16fmaf.cpp
+1-2libc/src/math/generic/CMakeLists.txt
+89-73 files not shown
+94-79 files

FreeBSD/src 79b28bcsys/fs/nfsclient nfs_clrpcops.c

nfscl: Fix the build

(cherry picked from commit 053449fa5c6c9fdbff1d1014482a5842bc860811)
DeltaFile
+2-1sys/fs/nfsclient/nfs_clrpcops.c
+2-11 files

FreeBSD/src 406c98dsys/fs/nfs nfsport.h, sys/fs/nfsclient nfs_clrpcops.c nfs_clvnops.c

nfscl: Fix handling of case insensitive file systems

Name caching must be handled somewhat differently
for case insensitive file systems.  Negative name
caching does not work and, for rename, all names
associated with the rename'd vnode must be disabled.

For a case insensitive ZFS file system that is exported,
the unpatched code did work, since the change in mtime
or ctime of the directory when other case names were
created or rename'd would disable the false name cache
hit.  However, an export of an msdosfs file system
breaks the NFS client, because it only works if ctime/mtime
is changed whenever a name is added/removed.  Depending
on what the server file system is, this may not happen,
due to clock resolution or lack of support for these
attributes.

This patch checks to see if the server file system is

    [9 lines not shown]
DeltaFile
+16-3sys/fs/nfsclient/nfs_clrpcops.c
+11-1sys/fs/nfsclient/nfs_clvnops.c
+2-0sys/fs/nfs/nfsport.h
+29-43 files

FreeBSD/src 2e665cesys/fs/nfs nfs.h nfsdport.h, sys/fs/nfsserver nfs_nfsdport.c nfs_nfsdserv.c

nfsd: Fix handling of attributes during Open/Create/Exclusive_41

When an NFSv4.n client specifies settings for attributes other
mode during a Open/Create/Exclusive_41, these other attributes
were not being set.

This patch resolves the problem by calling nfsrv_fixsattr()
after the VOP_CREATE() call in nfsvno_open() for this case.

There is no extant NFSv4.n client that currently does this,
as far as I know.

(cherry picked from commit 4fc11c92d324c9099ecc28f25a96591a2ff6105c)
DeltaFile
+38-8sys/fs/nfsserver/nfs_nfsdport.c
+8-5sys/fs/nfsserver/nfs_nfsdserv.c
+3-3sys/fs/nfsserver/nfs_nfsdsubs.c
+5-0sys/fs/nfs/nfs.h
+2-0sys/fs/nfs/nfsdport.h
+1-1sys/fs/nfs/nfs_var.h
+57-176 files

LLVM/project 9ebdeb2lldb/include/lldb/Target Process.h, lldb/source/Core DynamicLoader.cpp

[lldb] Return Expected<ModuleSP> from Process::ReadModuleFromMemory (#179583)

I noticed that Module::GetMemoryObjectFile populates a Status object
upon error but it's effectively dropped on the floor. Instead, the
clients can report the error as desired.

At the moment, all clients are either (1) consuming the error because
it's only trying to find a module, or (2) log the error and bail out
early. I tried to preserve existing behavior as faithfully as possible.
DeltaFile
+23-25lldb/source/Target/Process.cpp
+30-16lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
+17-3lldb/source/Core/DynamicLoader.cpp
+17-2lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp
+16-2lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
+14-3lldb/include/lldb/Target/Process.h
+117-515 files not shown
+159-6111 files

OPNSense/core 17bb00fsrc/opnsense/scripts/unbound-dnsbl dnsbl_match.py, src/opnsense/scripts/unbound-dnsbl/lib dnsbl.py

Services: Unbound DNS: Blocklists / Tester - safeguard config use, when there's none specified, don't crash out.
DeltaFile
+3-0src/opnsense/scripts/unbound-dnsbl/lib/dnsbl.py
+1-1src/opnsense/scripts/unbound-dnsbl/dnsbl_match.py
+4-12 files

LLVM/project 3199749clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp

Rebase
DeltaFile
+2-2clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+2-21 files

FreeBSD/src f8c12e6usr.bin/diff diffreg.c

diff: Report I/O errors in Stone algorithm

In the legacy Stone algorithm, we do a first pass over the files to
check if they're identical before we start diffing them.  That code
would correctly set the exit status if an I/O error was encountered,
but would not emit an error message.  Do so.

PR:             292198
MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    thj
Differential Revision:  https://reviews.freebsd.org/D55125
DeltaFile
+7-3usr.bin/diff/diffreg.c
+7-31 files

LLVM/project fad9b2ellvm/include/llvm/ADT ScopeExit.h

[llvm][ADT] Mark the whole scope_exit class [[nodiscard]] instead (#180008)

This PR is to address:
https://github.com/llvm/llvm-project/pull/179720#issuecomment-3854792269
https://github.com/llvm/llvm-project/pull/179720#issuecomment-3855339636
DeltaFile
+3-4llvm/include/llvm/ADT/ScopeExit.h
+3-41 files

LLVM/project 1c60dbeclang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp CIRGenFunction.h

Address comments from Andy
DeltaFile
+16-14clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+1-1clang/lib/CIR/CodeGen/CIRGenFunction.h
+17-152 files

LLVM/project c8f6577clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp CIRGenTypes.cpp, clang/test/CIR/CodeGenBuiltins/AArch64 acle_sve_dup.c

[CIR][AArch64] Add lowering for predicated SVE svdup builtins (zeroing)

This PR adds CIR lowering support for predicated SVE `svdup` builtins on
AArch64. The corresponding ACLE intrinsics are documented at:
  https://developer.arm.com/architectures/instruction-sets/intrinsics

This change focuses on the zeroing-predicated variants (suffix `_z`, e.g.
`svdup_n_f32_z`), which lower to the LLVM SVE `dup` intrinsic with a
`zeroinitializer` passthrough operand.

IMPLEMENTATION NOTES
--------------------
* The CIR type converter is extended to support `BuiltinType::SveBool`,
  which is lowered to `cir.vector<[16] x i1>`, matching current Clang
  behaviour and ensuring compatibility with existing LLVM SVE lowering.
* Added logic that converts `cir.vector<[16] x i1>` according to the
  underlying element type. This is done by calling
  `@llvm.aarch64.sve.convert.from.svbool`.


    [56 lines not shown]
DeltaFile
+472-5clang/test/CIR/CodeGenBuiltins/AArch64/acle_sve_dup.c
+86-9clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+4-0clang/lib/CIR/CodeGen/CIRGenTypes.cpp
+2-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+564-144 files

LLVM/project 59a63b2llvm/lib/Analysis StaticDataProfileInfo.cpp

add comments based on code review and offline discussions
DeltaFile
+12-1llvm/lib/Analysis/StaticDataProfileInfo.cpp
+12-11 files

OPNSense/core c7650c6src/opnsense/mvc/app/library/OPNsense/Auth LDAP.php, src/www system_authservers.php

System: Access: Servers - add configurable "memberOf" attribute, simplified version of https://github.com/opnsense/core/pull/9675

closes https://github.com/opnsense/core/issues/9650
DeltaFile
+20-8src/www/system_authservers.php
+15-6src/opnsense/mvc/app/library/OPNsense/Auth/LDAP.php
+35-142 files

LLVM/project 91f3953clang/test/CodeGenHLSL/builtins pow-overloads.hlsl distance.hlsl, clang/test/Headers __clang_hip_math.hip

Inliner: Handle nofpclass return attributes (#179776)

Follow along with how range is handled.
DeltaFile
+52-52clang/test/Headers/__clang_hip_math.hip
+57-0llvm/test/Transforms/Inline/ret_attr_nofpclass.ll
+20-20clang/test/CodeGenHLSL/builtins/pow-overloads.hlsl
+16-16clang/test/CodeGenHLSL/builtins/distance.hlsl
+16-16clang/test/CodeGenHLSL/builtins/length.hlsl
+9-9clang/test/CodeGenHLSL/builtins/refract.hlsl
+170-1136 files not shown
+209-14212 files

LLVM/project d659267llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp, llvm/test/CodeGen/SystemZ zos-func-alias.ll

Add lit test
DeltaFile
+17-0llvm/test/CodeGen/SystemZ/zos-func-alias.ll
+2-2llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+19-22 files

FreeBSD/ports c1bbaeanet/mosquitto Makefile, net/mosquitto/files patch-apps_mosquitto__ctrl_ctrl__shell.c patch-lib_mosquitto__internal.h

net/mosquitto: Add missing files

I left out the new patches. Also fix an extra blank line in the
Makefile.
DeltaFile
+10-0net/mosquitto/files/patch-apps_mosquitto__ctrl_ctrl__shell.c
+10-0net/mosquitto/files/patch-lib_mosquitto__internal.h
+10-0net/mosquitto/files/patch-src_proxy__v1.c
+0-1net/mosquitto/Makefile
+30-14 files

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

[SLP]Remove LoadCombine workaround after handling of the copyables

LoadCombine pattern handling was added as a workaround for the cases,
where the SLP vectorizer could not vectorize the code effectively. With
the copyables support, it can handle it directly.

Also, patch adds support for scalar loads[ + bswap] pattern for byte
sized loads (+ reverse bytes for bswap)

Recommit after revert in 6377c86d718232fe60c548dfd7ab439f7ff84df7

Reviewers: RKSimon, hiraditya

Pull Request: https://github.com/llvm/llvm-project/pull/174205
DeltaFile
+38-378llvm/test/Transforms/SLPVectorizer/X86/bad-reduction.ll
+145-99llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+12-204llvm/test/Transforms/PhaseOrdering/X86/loadcombine.ll
+4-17llvm/test/Transforms/SLPVectorizer/X86/load-merge-inseltpoison.ll
+4-17llvm/test/Transforms/SLPVectorizer/X86/load-merge.ll
+2-17llvm/test/Transforms/SLPVectorizer/X86/bswap-reduction-aliased.ll
+205-7326 files

LLVM/project 5326166llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp

[AMDGPU][SIInsertWaitcnt][NFC] Don't expose internal data structure to user (#179736)

With this patch we are no longer exposing the internal data structure
that holds the WaitEvents to the user through the `getWaitEventMask()`
API. Instead we only allow the user to query a specific type and get the
corresponding `WaitEventSet` with `getWaitEvents(T)`.
Note: This patch also renames `getWaitEventMask()` to `getWaitEvents()`
because we are no longer returning a mask but instead a `WaitEventSet`
object.
DeltaFile
+15-17llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+15-171 files

OpenBSD/ports UvbqW1gnet/ntfy distinfo modules.inc

   net/ntfy: update to 2.16

   Changes:
   https://github.com/binwiederhier/ntfy/releases/tag/v2.15.0
   https://github.com/binwiederhier/ntfy/releases/tag/v2.16.0

   ok sthen
VersionDeltaFile
1.9+834-750net/ntfy/distinfo
1.8+285-245net/ntfy/modules.inc
1.10+1-1net/ntfy/Makefile
+1,120-9963 files

LLVM/project ba58225mlir/python CMakeLists.txt, mlir/python/mlir/dialects X86VectorTransformOps.td X86Vector.td

[mlir][x86vector] Python bindings for x86vector dialect (#179958)

Registers python bindings for x86vector dialect and transform ops.
DeltaFile
+76-0mlir/test/python/dialects/x86vector.py
+40-0mlir/test/python/dialects/transform_x86vector_ext.py
+16-0mlir/python/CMakeLists.txt
+14-0mlir/python/mlir/dialects/X86VectorTransformOps.td
+14-0mlir/python/mlir/dialects/X86Vector.td
+6-0mlir/python/mlir/dialects/x86vector.py
+166-01 files not shown
+171-07 files

HardenedBSD/src 68fa174sbin/geom/core geom.8, sys/arm64/arm64 gic_v3_fdt.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+77-0usr.bin/diff/tests/diff_test.sh
+30-27sys/arm64/arm64/gic_v3_fdt.c
+9-36sbin/geom/core/geom.8
+24-11usr.bin/diff/diffreg.c
+16-6sys/dev/bnxt/bnxt_en/bnxt_txrx.c
+10-12usr.bin/diff/pr.c
+166-9228 files not shown
+244-17334 files

FreeNAS/freenas f37f38fsrc/middlewared/middlewared/utils/nvmet spdk.py

Upgrade SPDK to v26.01

Some API wrapper code has been removed in v26.01, so implement use
the client object directly.
DeltaFile
+138-92src/middlewared/middlewared/utils/nvmet/spdk.py
+138-921 files

LLVM/project d040788clang/lib/CIR/CodeGen CIRGenExpr.cpp, clang/lib/CodeGen CGExpr.cpp CodeGenModule.cpp

[clang] remove unused SrcAddr parameter from performAddrSpaceCast (#179330)

The conversion code always ended up just getting the type of Src from
the Src argument itself, with no virtual users of this, so there is no
point in also providing this API hook. Fix the documentation as well,
since it seems DestAddr must have been similarly removed at some point
in the past from the API but was still documented.

Also fixes CIR to actually return the casted value!
DeltaFile
+11-16clang/lib/CodeGen/CGExpr.cpp
+11-15clang/lib/CodeGen/CodeGenModule.cpp
+0-25clang/lib/CodeGen/TargetInfo.h
+7-15clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+0-21clang/lib/CodeGen/TargetInfo.cpp
+8-10clang/lib/CodeGen/CGBuiltin.cpp
+37-10214 files not shown
+75-17120 files