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

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

HardenedBSD/ports 7498391devel/hs-haskell-language-server distinfo Makefile.cabal.ghc98, editors/fresh distinfo Makefile.crates

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+1,099-0editors/fresh/distinfo
+548-0editors/fresh/Makefile.crates
+171-207devel/hs-haskell-language-server/distinfo
+80-81devel/hs-haskell-language-server/Makefile.cabal.ghc98
+80-81devel/hs-haskell-language-server/Makefile.cabal.ghc96
+75-82devel/hs-haskell-language-server/Makefile.cabal.default
+2,053-451818 files not shown
+3,112-1,406824 files

LLVM/project d762cc2llvm/lib/CodeGen/GlobalISel IRTranslator.cpp, llvm/lib/Target/RISCV RISCVISelLowering.cpp

[GlobalISel] Add SVE support for alloca (#178976)

Complementary to the same handling code in SelectionDAG:

https://github.com/llvm/llvm-project/blob/f3d81d4110f3415eab3459e07b52043872b9e03b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp#L160-L165

https://github.com/llvm/llvm-project/blob/f3d81d4110f3415eab3459e07b52043872b9e03b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp#L4613-L4623

Co-authored-by: Claude Sonnet 4.5 <noreply at anthropic.com>
DeltaFile
+24-5llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+15-0llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/alloca.ll
+14-0llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-dynamic-alloca-scalable.ll
+0-11llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll
+0-5llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+53-215 files

LLVM/project 13c9276llvm/test/CodeGen/PowerPC aix-ifunc-toc-restore-query-neg.ll

[AIX] fix aix-ifunc-toc-restore-query-neg.ll (#153049)
DeltaFile
+1-0llvm/test/CodeGen/PowerPC/aix-ifunc-toc-restore-query-neg.ll
+1-01 files

LLVM/project 92d0fd7mlir/include/mlir/IR Remarks.h

[MLIR][NFC] Use toVector instead toStringRef (#179998)

DeltaFile
+1-1mlir/include/mlir/IR/Remarks.h
+1-11 files

HardenedBSD/ports efa9bc2net/mosquitto Makefile distinfo, net/mosquitto/files patch-src_CMakeLists.txt patch-mosquitto.conf

net/mosquitto: Update to 2.1.1

Changes since 2.0.22:

    https://github.com/eclipse-mosquitto/mosquitto/blob/release/2.1/ChangeLog.txt

Reported by:    portscout
DeltaFile
+9-12net/mosquitto/Makefile
+0-11net/mosquitto/files/patch-src_CMakeLists.txt
+3-3net/mosquitto/files/patch-mosquitto.conf
+3-3net/mosquitto/files/patch-config.mk
+3-3net/mosquitto/files/patch-CMakeLists.txt
+3-3net/mosquitto/distinfo
+21-356 files

FreeBSD/ports efa9bc2net/mosquitto Makefile distinfo, net/mosquitto/files patch-src_CMakeLists.txt patch-mosquitto.conf

net/mosquitto: Update to 2.1.1

Changes since 2.0.22:

    https://github.com/eclipse-mosquitto/mosquitto/blob/release/2.1/ChangeLog.txt

Reported by:    portscout
DeltaFile
+9-12net/mosquitto/Makefile
+0-11net/mosquitto/files/patch-src_CMakeLists.txt
+3-3net/mosquitto/files/patch-mosquitto.conf
+3-3net/mosquitto/distinfo
+3-3net/mosquitto/files/patch-CMakeLists.txt
+3-3net/mosquitto/files/patch-config.mk
+21-356 files

FreeBSD/src 5379c46usr.sbin/bhyve virtio.c

bhyve/virtio: check negotiated_caps for indirect descriptor support

vq_getchain() erroneously checked vc_hv_caps for indirect descriptor
support when it encountered an indirect descriptor. vc_hv_caps is used
in feature negotiation to advertise what features our device emulation
supports, but we should really check what features we have negotiated
with the driver.

Reviewed by: corvink
Differential Revision: https://reviews.freebsd.org/D53465
DeltaFile
+1-1usr.sbin/bhyve/virtio.c
+1-11 files

HardenedBSD/src 5379c46usr.sbin/bhyve virtio.c

bhyve/virtio: check negotiated_caps for indirect descriptor support

vq_getchain() erroneously checked vc_hv_caps for indirect descriptor
support when it encountered an indirect descriptor. vc_hv_caps is used
in feature negotiation to advertise what features our device emulation
supports, but we should really check what features we have negotiated
with the driver.

Reviewed by: corvink
Differential Revision: https://reviews.freebsd.org/D53465
DeltaFile
+1-1usr.sbin/bhyve/virtio.c
+1-11 files

LLVM/project 366dfffllvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/VectorCombine/AArch64 fold-reduce-add-cmp-zero.ll icmp-vector-reduce.ll

[VectorCombine] Fold (icmp eq/ne (reduce.add X), 0) to reduce.umax

When vector elements are known to be either non-positive (e.g., from
sext i1), or non-negative (e.g., from zext i1), comparing the sum
against zero is equivalent to checking if all elements are zero. This
can be done more efficiently using reduce.umax.
DeltaFile
+227-0llvm/test/Transforms/VectorCombine/AArch64/fold-reduce-add-cmp-zero.ll
+227-0llvm/test/Transforms/VectorCombine/RISCV/fold-reduce-add-cmp-zero.ll
+71-0llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+14-19llvm/test/Transforms/VectorCombine/RISCV/icmp-vector-reduce.ll
+14-19llvm/test/Transforms/VectorCombine/AArch64/icmp-vector-reduce.ll
+6-6llvm/test/Transforms/VectorCombine/RISCV/fold-signbit-reduction-cmp.ll
+559-441 files not shown
+561-467 files

LLVM/project f4441cbllvm/utils/gn/secondary/clang/unittests/Analysis/Scalable BUILD.gn

[gn build] Port e59e9fcd38a9
DeltaFile
+1-0llvm/utils/gn/secondary/clang/unittests/Analysis/Scalable/BUILD.gn
+1-01 files

LLVM/project ecd1767offload/libomptarget DeviceImage.cpp

  [offload] Fix DeviceImage to handle OffloadBinary::create returning vector (#180003)

OffloadBinary::create() now returns
`Expected<SmallVector<unique_ptr<OffloadBinary>>>`
instead of a single unique_ptr, to support multiple entries in version 2
format.

Updated DeviceImageTy constructor to extract the first binary from the
returned
vector, with empty check. In this context, only one image per
OffloadBinary is expected.
DeltaFile
+10-4offload/libomptarget/DeviceImage.cpp
+10-41 files

FreeNAS/freenas 4c318c1src/middlewared/middlewared/plugins network.py, src/middlewared/middlewared/plugins/interface bridge.py sync.py

add configure_bridges_impl
DeltaFile
+59-58src/middlewared/middlewared/plugins/interface/bridge.py
+5-11src/middlewared/middlewared/plugins/network.py
+4-0src/middlewared/middlewared/plugins/interface/sync.py
+68-693 files

pfSense/pfsense 2dfa947src/etc/inc auth.inc, src/usr/local/www system_authservers.php

Merge pull request #4725 from dbenesj/ldap-group-base-dn

Co-authored-by: Marcos Mendoza <mmendoza at netgate.com>

Add option to search LDAP group in base DN. Implement #16029
DeltaFile
+18-5src/usr/local/www/system_authservers.php
+6-2src/etc/inc/auth.inc
+24-72 files

FreeBSD/src 0ff1f58sys/netinet ip_mroute.c

ip_mroute: EVENTHANDLER_REGISTER does not fail

No functional change intended.

MFC after:      1 week
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.

(cherry picked from commit 0f1e1350704af555a4b30136f5f3d16db6f2dc51)
DeltaFile
+0-6sys/netinet/ip_mroute.c
+0-61 files

FreeBSD/src b003726sys/netinet6 in6.c, tests/sys/netinet6 ndp.sh

in6: Modify address prefix lifetimes when updating address lifetimes

When one uses SIOCAIFADDR_IN6 to add a v6 address, it's possible to set
the preferred and valid lifetimes of the address.  If the address
already exists, this ioctl will recalculate and update the expiry times
based on the provided timestamps.

When adding a new address, the lifetimes are inherited by the prefix as
well, but only if we create a new prefix.  If the prefix already exists,
as it will in the case where an address is being updated rather than
being added, we do not touch the prefix lifetimes at all.  This means
that the original address lifetime still applies to the route associated
with that prefix, so when the prefix expires, the route goes away.

This behaviour doesn't make a lot of sense: if the admin updates an
address lifetime, we should ensure that the prefix lifetime is updated
too.  Make that change, ensuring that we do not shorten the prefix
lifetime, as the prefix might be shared among multiple interface
addresses.

    [11 lines not shown]
DeltaFile
+76-0tests/sys/netinet6/ndp.sh
+22-0sys/netinet6/in6.c
+98-02 files

FreeBSD/src e676efasys/netinet6 nd6_rtr.c in6.c

in6: Add a helper function to compute expiry times

Tidy up a bunch of places that have the same duplicated logic.  Simplify
callers of in6_init_prefix_ltimes().  No functional change intended.

Reviewed by:    pouria, zlei, tuexen, glebius
MFC after:      2 weeks
Sponsored by:   OPNsense
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D54561

(cherry picked from commit fb08f80eaf90eb7ace202d8604634fc181be8980)
DeltaFile
+7-31sys/netinet6/nd6_rtr.c
+13-10sys/netinet6/in6.c
+2-0sys/netinet6/in6.h
+22-413 files

LLVM/project 4f97d09mlir/lib/Conversion/XeGPUToXeVM XeGPUToXeVM.cpp, mlir/test/Conversion/XeGPUToXeVM materializecast.mlir

[MLIR][XeGPU][XeVM] Update single element vector type handling. (#178558)

Type conversion rule for single element vector and materialization
function to support the conversion has a mismatch.
Update materialization function to match the type conversion rule.
DeltaFile
+85-39mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp
+29-0mlir/test/Conversion/XeGPUToXeVM/materializecast.mlir
+114-392 files

LLVM/project 9b6b699mlir/include/mlir/ExecutionEngine MemRefUtils.h, mlir/unittests/ExecutionEngine OwningMemRef.cpp CMakeLists.txt

Revert "[mlir][ExecutionEngine] Fix missing return from operator==() in `OwningMemRef`" (#179999)

Reverts llvm/llvm-project#179655

Break 
https://lab.llvm.org/buildbot/#/builders/169/builds/19630
https://lab.llvm.org/buildbot/#/builders/24/builds/17229
DeltaFile
+0-25mlir/unittests/ExecutionEngine/OwningMemRef.cpp
+1-2mlir/include/mlir/ExecutionEngine/MemRefUtils.h
+0-1mlir/unittests/ExecutionEngine/CMakeLists.txt
+1-283 files

LLVM/project c0fe938llvm/test/Transforms/SLPVectorizer/X86 bswap-reduction-aliased.ll

[SLP][NFC]Add a testing with aliasing between bswap memory operations, NFC
DeltaFile
+48-0llvm/test/Transforms/SLPVectorizer/X86/bswap-reduction-aliased.ll
+48-01 files

LLVM/project 1a7c110llvm/utils/gn/secondary/clang/lib/Analysis/Scalable BUILD.gn, llvm/utils/gn/secondary/clang/unittests/Analysis/Scalable BUILD.gn

[gn] port 77740f5577133
DeltaFile
+3-0llvm/utils/gn/secondary/clang/unittests/Analysis/Scalable/BUILD.gn
+1-0llvm/utils/gn/secondary/clang/lib/Analysis/Scalable/BUILD.gn
+4-02 files

LLVM/project fbb371alldb/source/Core Statusline.cpp

Prevents a potential lock inversion in StatusLine when shutting down. (#179789)

We have gotten reports of an occasional deadlock on shutdown. The
Driver::MainLoop thread is shutting down, and gets stuck here:

  Thread 0x3c017c
  start 
    main 
       Driver::MainLoop() 
         lldb::SBDebugger::RunCommandInterpreter(bool, bool) 

lldb_private::CommandInterpreter::RunCommandInterpreter(lldb_private::CommandInterpreterRunOptions&)
            lldb_private::Debugger::RunIOHandlers()

lldb_private::Debugger::PopIOHandler(std::__1::shared_ptr<lldb_private::IOHandler>
const&)
                 lldb_private::Editline::Cancel()
                   lldb_private::LockableStreamFile::Lock()
                     std::__1::recursive_mutex::lock()

    [35 lines not shown]
DeltaFile
+28-27lldb/source/Core/Statusline.cpp
+28-271 files

LLVM/project 31e0e42mlir/include/mlir/ExecutionEngine MemRefUtils.h, mlir/unittests/ExecutionEngine OwningMemRef.cpp CMakeLists.txt

Revert "[mlir][ExecutionEngine] Fix missing return from operator==() in `Owni…"

This reverts commit 14e50aa4c53e4ef1c3d3b6c31fd01815a0c1bfb6.
DeltaFile
+0-25mlir/unittests/ExecutionEngine/OwningMemRef.cpp
+1-2mlir/include/mlir/ExecutionEngine/MemRefUtils.h
+0-1mlir/unittests/ExecutionEngine/CMakeLists.txt
+1-283 files

LLVM/project 7f5805blibc/src/__support/fixed_point fx_bits.h

[libc] Remove "stdio.h" include from fx_bits.h (#179805)

The "stdio.h" is not used, so remove it from the file. This is causing a
build failure as "stdio.h" is not specified in the build files.
DeltaFile
+0-2libc/src/__support/fixed_point/fx_bits.h
+0-21 files

HardenedBSD/src b773da1. MAINTAINERS, .github CODEOWNERS

MAINTAINERS, CODEOWNERS: Update capsicum-test

Fixes: 670b568ec1c3 ("capsicum-test: Move out of contrib")
Sponsored by: The FreeBSD Foundation
DeltaFile
+1-1.github/CODEOWNERS
+1-1MAINTAINERS
+2-22 files