LLVM/project a2ee0f1clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

[CIR] Auto-generate matchAndRewrite for one-to-one CIR-to-LLVM lowerings

When a CIR op specifies a non-empty `llvmOp` field, the lowering
emitter now generates the `matchAndRewrite` body that converts the
result type and forwards all operands to the corresponding LLVM op.
This removes 27 boilerplate lowering patterns from LowerToLLVM.cpp.

Ops needing custom logic (FMaxNumOp/FMinNumOp for FastmathFlags::nsz)
override `llvmOp = ""` to retain hand-written implementations.

Also fixes llvmOp names (TruncOp -> FTruncOp, FloorOp -> FFloorOp)
and adds a diagnostic rejecting conflicting llvmOp + custom constructor.
DeltaFile
+0-255clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+30-5clang/utils/TableGen/CIRLoweringEmitter.cpp
+6-2clang/include/clang/CIR/Dialect/IR/CIROps.td
+36-2623 files

LLVM/project 5d08beallvm/lib/CodeGen/SelectionDAG TargetLowering.cpp

[TargetLowering] Remove NeedToApplyOffset from prepareSREMEqFold. NFC (#190256)

For a given element, I believe A is only 0 when the divisor is INT_MIN.
The only way for NeedToApplyOffset to be false after processing all
elements, is for all divisors to be INT_MIN. If all divisors are
INT_MIN, then all divisors are a power of 2 and we wouldn't do the
transform.
DeltaFile
+6-12llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+6-121 files

FreeBSD/ports f522622shells/fish distinfo Makefile.crates, shells/fish/files patch-cmake_Install.cmake

shells/fish: 4.6.0

https://github.com/fish-shell/fish-shell/releases/tag/4.6.0

Sponsored by:   ConnectWise
DeltaFile
+87-71shells/fish/distinfo
+42-34shells/fish/Makefile.crates
+12-12shells/fish/files/patch-cmake_Install.cmake
+7-0shells/fish/pkg-plist
+2-3shells/fish/Makefile
+150-1205 files

FreeNAS/freenas 6eca289src/middlewared/middlewared/plugins/disk_ sed.py, src/middlewared/middlewared/utils/disks_ disk_class.py

fix SED drive initialization
DeltaFile
+35-12src/middlewared/middlewared/utils/disks_/disk_class.py
+12-8src/middlewared/middlewared/plugins/disk_/sed.py
+47-202 files

LLVM/project 34ec187clang/lib/Driver ToolChain.cpp CMakeLists.txt, clang/lib/Driver/ToolChains/Arch AMDGPU.cpp AMDGPU.h

clang/AMDGPU: Refactor triple adjustments (#190343)

Factor this similar to the ARM case for future
expansion. The difference being -mcpu is treated as
an alias for -mcpu instead of something separately
useful.

I don't understand this mutation of the triple into
spirv64. The only test where this appears to matter
does not use -mcpu. Previously this would only match
for -mcpu, but this would change the behavior to prefer
-march before falling back to -mcpu.
DeltaFile
+38-0clang/lib/Driver/ToolChains/Arch/AMDGPU.cpp
+32-0clang/lib/Driver/ToolChains/Arch/AMDGPU.h
+2-2clang/lib/Driver/ToolChain.cpp
+1-0clang/lib/Driver/CMakeLists.txt
+73-24 files

LLVM/project 535aa5boffload/plugins-nextgen/amdgpu/src rtl.cpp

Fix case with trailing -
DeltaFile
+5-5offload/plugins-nextgen/amdgpu/src/rtl.cpp
+5-51 files

FreeNAS/freenas da7953esrc/middlewared/middlewared/plugins/disk_ sed.py, src/middlewared/middlewared/utils/disks_ disk_class.py

fix SED drive initialization
DeltaFile
+23-11src/middlewared/middlewared/utils/disks_/disk_class.py
+1-1src/middlewared/middlewared/plugins/disk_/sed.py
+24-122 files

LLVM/project 819250fclang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp CIRGenStmt.cpp

Revert "[CIR][NFC] Add NYI for OMPSplitDirective stmt (#190329)"

This reverts commit 0932472f3b034780bec98302c09a51d58368c825.
DeltaFile
+0-5clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+0-2clang/lib/CIR/CodeGen/CIRGenStmt.cpp
+0-1clang/lib/CIR/CodeGen/CIRGenFunction.h
+0-83 files

LLVM/project 8c81064mlir/lib/Dialect/Arith/IR ArithOps.cpp ArithCanonicalization.td, mlir/test/Conversion/ArithToEmitC arith-to-emitc.mlir

[MLIR][Arith] Fix index_cast/index_castui chain folding to check intermediate width (#189042)

The patterns `IndexCastOfIndexCast` and `IndexCastUIOfIndexCastUI` in
ArithCanonicalization.td incorrectly eliminated a pair of index casts
whenever the outer result type equalled the original source type,
without verifying that the intermediate cast was lossless.

For example, the following was wrong folded to `%arg0`:
  %0 = index_castui %arg0 : i64 to index
  %1 = index_castui %0    : index to i8    ← truncates to 8 bits
  %2 = index_castui %1    : i8 to index    ← incorrectly removed

The pattern matched `%1`/`%2` because `i8.to(index)` has the same result
type as `i64.to(index)`, even though the i8 intermediate silently drops
56 bits. The same bug existed for the signed `index_cast` variant.

Fix: move the optimization into the `fold` methods of `IndexCastOp` and
`IndexCastUIOp` with an explicit check that the intermediate type is at
least as wide as the source type (using

    [8 lines not shown]
DeltaFile
+107-0mlir/test/Dialect/Arith/canonicalize.mlir
+47-12mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+0-12mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td
+3-6mlir/test/Conversion/ArithToLLVM/convert-nd-vector-to-llvmir.mlir
+2-4mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
+1-2mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir
+160-366 files

NetBSD/src BD7NtoHdoc CHANGES-11.0, external/gpl2/groff/tmac mdoc.local

   Welcome to 11.0_RC3!
VersionDeltaFile
1.1.2.82+7-1doc/CHANGES-11.0
1.11.4.4+3-3external/gpl2/groff/tmac/mdoc.local
1.738.2.4+2-2sys/sys/param.h
+12-63 files

FreeNAS/freenas 6fb1290

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 52e6f75src/middlewared/middlewared/plugins tunables.py, src/middlewared/middlewared/test/integration/utils mock_binary.py

NAS-140431 / 26.0.0-BETA.2 / Propagate tunable changes to the backup node (by themylogin) (#18603)

Automatic cherry-pick failed. Please resolve conflicts by running:

    git reset --hard HEAD~1
    git cherry-pick -x cfe144ec509ad038768f70304b174cf901003619
    git cherry-pick -x 84479a34dc124778ffbb917231a2c9070feb80ea
    git cherry-pick -x cbf2fda13d03f715c23755a724ac7ff62da45f68
    git cherry-pick -x 24d6fdfd8e3a379ffca3ada2b23360831440ab7d
    git cherry-pick -x e3d9d00cc1f13bc9a9bba7c461cbfe08f0526a50

If the original PR was merged via a squash, you can just cherry-pick the
squashed commit:

    git reset --hard HEAD~1
    git cherry-pick -x 2d5a2c32b88d4f546c32a87d3ce2324748486020




    [2 lines not shown]
DeltaFile
+92-26src/middlewared/middlewared/plugins/tunables.py
+57-12tests/api2/test_tunables.py
+28-11src/middlewared/middlewared/test/integration/utils/mock_binary.py
+177-493 files

LLVM/project e1f6dc4clang-tools-extra/clang-tidy/cppcoreguidelines AvoidCapturingLambdaCoroutinesCheck.cpp AvoidCapturingLambdaCoroutinesCheck.h, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Add `AllowExplicitObjectParameters` option to `avoid-capturing-lambda-coroutines` (#182916)

Add an off-by-default `AllowExplicitObjectParameters` option to the
existing `cppcoreguidelines-avoid-capturing-lambda-coroutines` check.

When enabled, lambda coroutines that use C++23 "deducing this" (explicit
object parameter) are not flagged, since captures are moved into the
coroutine frame ([1], [2], [3]). In C++23 mode, the check also provides
fix-it hints to add `this auto` as the first parameter for lambdas that
don't use it.

The option is off by default to match the current C++ Core Guidelines,
which do not yet recognize explicit object parameters as a solution
([4]). Once the guidelines adopt the proposal, the default can be
flipped.

[1]:
https://github.com/scylladb/seastar/blob/master/doc/lambda-coroutine-fiasco.md#solution-c23-and-up


    [5 lines not shown]
DeltaFile
+93-0clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/avoid-capturing-lambda-coroutines-allow-explicit-object-parameters.cpp
+29-0clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-capturing-lambda-coroutines.rst
+24-1clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.cpp
+6-2clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h
+8-0clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/avoid-capturing-lambda-coroutines.cpp
+6-0clang-tools-extra/docs/ReleaseNotes.rst
+166-36 files

NetBSD/src aYjhYx2doc CHANGES-11.0

   Tickets #238 - #250
VersionDeltaFile
1.1.2.81+109-1doc/CHANGES-11.0
+109-11 files

FreeBSD/src 2d843b7. RELNOTES

RELNOTES: Document WITHOUT_BZIP2* removal
DeltaFile
+4-0RELNOTES
+4-01 files

NetBSD/src XecUPqDetc/etc.amd64 MAKEDEV.conf

   Pull up following revision(s) (requested by yamt in ticket #241):
        etc/etc.amd64/MAKEDEV.conf: revision 1.38
   amd64 MAKEDEV: create 8 nvme (nvme0-nvme7) by default
   why 8?
   - match ld, sd, wd
   - my machine has 6 of them
VersionDeltaFile
1.37.2.1+5-1etc/etc.amd64/MAKEDEV.conf
+5-11 files

FreeBSD/src ab92575share/man/man5 src.conf.5, share/mk src.opts.mk

Remove WITHOUT_BZIP2, WITHOUT_BZIP2_SUPPORT

WITHOUT_BZIP2_SUPPORT only affects a single binary, gzip(1); it doesn't
remove bzip2 support from other bits (e.g., libarchive) and there are
no similar options for gzip, xz or zstd.

WITHOUT_BZIP2 has not done anything at all since it was first added
in 2007.

MFC after:      never
Discussed on:   arch@
Reviewed by:    imp, des, adrian, delphij, emaste
Differential Revision:  https://reviews.freebsd.org/D56148
Sponsored by:           https://www.patreon.com/bsdivy
DeltaFile
+1-16share/man/man5/src.conf.5
+1-7usr.bin/gzip/Makefile
+0-4tools/build/options/WITHOUT_BZIP2
+0-2share/mk/src.opts.mk
+0-1tools/build/options/WITHOUT_BZIP2_SUPPORT
+2-305 files

OpenBSD/ports elTK5jGgraphics/glew Makefile distinfo, graphics/glew/pkg PLIST

   Update to glew-2.3.1.

   from Brad (maintainer)
VersionDeltaFile
1.23+3-4graphics/glew/Makefile
1.10+2-2graphics/glew/distinfo
1.9+1-1graphics/glew/pkg/PLIST
+6-73 files

OpenBSD/ports fTTVwHQx11/herbstluftwm Makefile distinfo

   x11/herbstluftwm: update to 0.9.6

   Changes: https://herbstluftwm.org/news.html
   Put my full name in MAINTAINER line while there.

   from co-maintainer Florian Viehweger
VersionDeltaFile
1.27+2-2x11/herbstluftwm/Makefile
1.13+2-2x11/herbstluftwm/distinfo
+4-42 files

OpenBSD/ports tRIUkektextproc/p5-XML-Parser distinfo Makefile

   update p5-XML-Parser to 2.56
VersionDeltaFile
1.17+2-2textproc/p5-XML-Parser/distinfo
1.42+1-1textproc/p5-XML-Parser/Makefile
+3-32 files

FreeBSD/src b13d706lib Makefile

libauditd: Don't build if WITHOUT_AUDIT is set

When WITHOUT_AUDIT is set, nothing is built that uses this library,
so don't build the library.  This avoids building the FreeBSD-audit
package when WITHOUT_AUDIT is set.

MFC after:      never
Reviewed by:    csjp, imp, emaste
Differential Revision:  https://reviews.freebsd.org/D56157
Sponsored by:           https://www.patreon.com/bsdivy
DeltaFile
+1-1lib/Makefile
+1-11 files

NetBSD/src fYXzERYlib/libc/compat/arch/arm/gen compat_setjmp.S, tests/lib/libc/setjmp t_sigstack.c

   Pull up following revision(s) (requested by skrll in ticket #250):

        tests/lib/libc/setjmp/t_sigstack.c: revision 1.26
        lib/libc/compat/arch/arm/gen/compat_setjmp.S: revision 1.7

   arm: fix PR/57946 for compat

   Make longjmp restore stack first before restoring signal mask for
   arm/compat.

   arm is fixed.
VersionDeltaFile
1.5.10.2+28-15lib/libc/compat/arch/arm/gen/compat_setjmp.S
1.25.2.1+4-14tests/lib/libc/setjmp/t_sigstack.c
+32-292 files

FreeBSD/src baa7a87lib Makefile

libsamplerate: Only build when virtual_oss is built

Gate libsamplerate behind MK_CUSE and MK_SOUND, like virtual_oss.
Nothing else uses this library, so there's no point building it
if we aren't building virtual_oss.

This avoids building a useless FreeBSD-sound package containing
only this library when WITHOUT_SOUND is set.

MFC after:      1 week
Reviewed by:    christos, emaste
Differential Revision:  https://reviews.freebsd.org/D56164
Sponsored by:           https://www.patreon.com/bsdivy
DeltaFile
+1-2lib/Makefile
+1-21 files

NetBSD/src aGZKpqilib/libkvm kvm_proc.c

   Pull up following revision(s) (requested by yamt in ticket #249):

        lib/libkvm/kvm_proc.c: revision 1.102
        lib/libkvm/kvm_proc.c: revision 1.103
        lib/libkvm/kvm_proc.c: revision 1.104

   libkvm _kvm_ureadm: remove a redundant check

   libkvm _kvm_ureadm: fix anon address calculation
   this has been broken since the initial uvm support in 1998.

   libkvm _kvm_ureadm: fix an integer overflow
   this has been broken since the initial uvm supporT in 1998.
   I suppose it was rare to use >2GB swap in that era.
VersionDeltaFile
1.100.2.2+5-6lib/libkvm/kvm_proc.c
+5-61 files

LLVM/project fd65b3ellvm/include/llvm/CodeGen SwiftErrorValueTracking.h, llvm/lib/CodeGen SwiftErrorValueTracking.cpp

[GlobalISel] Fix UMR in `SwiftErrorValueTracking` (#190273)

Fix issue reported on
https://github.com/llvm/llvm-project/pull/188296#issuecomment-4179103756

`SwiftErrorValueTracking` holds per-function state used by
`IRTranslator`.

On targets where `TargetLowering::supportSwiftError()` is false, (e.g.
wasm) `SwiftErrorValueTracking::setFunction()` exits early.
Historically, that early return happened before clearing per-function
containers, and pointer members (including `SwiftErrorArg`) had no
in-class initialization.

The bad case is a function with a swifterror argument on such a target:
`IRTranslator` uses `SwiftError.getFunctionArg()` without checking
`supportSwiftError()` and this could read an uninitialized
`SwiftErrorArg` value. (SelectionDAG gates the `getFunctionArg` usages
behind `supportSwiftError()`, so it's specific to GlobalISel)

    [10 lines not shown]
DeltaFile
+5-5llvm/include/llvm/CodeGen/SwiftErrorValueTracking.h
+3-3llvm/lib/CodeGen/SwiftErrorValueTracking.cpp
+1-1llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+9-93 files

NetBSD/src 5fQ2HQalib/libcurses addbytes.c refresh.c

   Pull up following revision(s) (requested by hgutch in ticket #248):

        lib/libcurses/addbytes.c: revision 1.71
        lib/libcurses/attributes.c: revision 1.37
        lib/libcurses/insdelln.c: revision 1.25
        lib/libcurses/add_wch.c: revision 1.11
        lib/libcurses/touchwin.c: revision 1.36
        lib/libcurses/refresh.c: revision 1.131

   libcurses: fix wrong NULL guard

   Move the NULL guard in _cursesi_waddbytes() out of #ifdef DEBUG .

   Delay initialization of all variables that require dereferencing pointers
   that might be NULL until after the NULL guards.  This is what KNF calls
   for anyway.

   Fixes PR lib/60153 .
VersionDeltaFile
1.70.2.1+10-4lib/libcurses/addbytes.c
1.129.2.2+8-6lib/libcurses/refresh.c
1.36.2.1+4-4lib/libcurses/attributes.c
1.24.2.1+4-3lib/libcurses/insdelln.c
1.10.2.1+4-3lib/libcurses/add_wch.c
1.35.2.1+3-3lib/libcurses/touchwin.c
+33-236 files

FreeBSD/ports 2209fdedevel/wasi-libc distinfo Makefile

devel/wasi-libc: update to sdk-32

No changes, possibly for internal upstream purposes
DeltaFile
+3-3devel/wasi-libc/distinfo
+1-2devel/wasi-libc/Makefile
+4-52 files

NetBSD/src dCHnOAQexternal/gpl3/gcc/dist/gcc genmatch.cc, tools/gcc gcc-version.mk

   Pull up following revision(s) (requested by mrg in ticket #247):

        external/gpl3/gcc.old/dist/gcc/genmatch.cc: revision 1.2
        (applied to external/gpl3/gcc/dist/gcc/genmatch.cc)
        tools/gcc/gcc-version.mk: revision 1.32 (via patch)

   genmatch.cc:  bring across several enhancements from mainline GCC.

   in my testing this reduces the size of the emitted "gimple-match.cc"
   by about 35%, reduces the code section sise about 15%, and reduces
   the compile time about 30%.  (this file is the largest single compile
   for all of GCC.)

   this makes it capable of compiling on vax and sparc again, it seems,
   where both were already capable for GCC 14 (which in addition to this
   set, splits the emitted file into 10 sub parts for compiling both
   separately and in parallel.)

   (this is part 1, part 2 will be about mergig the split of the output

    [25 lines not shown]
VersionDeltaFile
1.1.1.2.2.1+83-22external/gpl3/gcc/dist/gcc/genmatch.cc
1.28.2.2+2-2tools/gcc/gcc-version.mk
+85-242 files

LLVM/project d8d2e33lldb/test/Shell/Commands command-dil-diagnostics.test

[lldb] Make command-dil-diagnostics.test UNSUPPORTED on Windows (#190341)

The test from #187680 passes on some Windows buildbots, but fails on
others.
DeltaFile
+1-1lldb/test/Shell/Commands/command-dil-diagnostics.test
+1-11 files

LLVM/project 5674755llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[DAG] visitMUL - cleanup pattern matchers to use m_Shl and (commutative) m_Mul directly (#190339)

Based on feedback on #190215
DeltaFile
+12-18llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+12-181 files