LLVM/project 3f2a9c6compiler-rt/lib/builtins int_math.h muldc3.c

[NFC][compiler-rt] Use __builtin_huge_val for CRT_INFINITY for double precision (#188197)
DeltaFile
+4-0compiler-rt/lib/builtins/int_math.h
+1-0compiler-rt/lib/builtins/muldc3.c
+5-02 files

LLVM/project bf50489llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp, llvm/lib/MC MCObjectFileInfo.cpp

[Psuedoprobe][MachO] Enable pseudo probes emission for MachO (#185758)

Enable pseudo probes emission for MachO. Due to the 16 character limit
of MachO segment and section, the file sections will be
`__PSEUDO_PROBE,__probes` and `__PSEUDO_PROBE,__probe_descs`.
DeltaFile
+136-0llvm/test/Transforms/SampleProfile/pseudo-probe-emit-macho.ll
+10-0llvm/lib/MC/MCObjectFileInfo.cpp
+3-0llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+2-0llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+1-0llvm/test/CodeGen/AArch64/O0-pipeline.ll
+1-0llvm/test/CodeGen/AArch64/O3-pipeline.ll
+153-06 files

LLVM/project c796ba6llvm/lib/Target/AMDGPU GCNRegPressure.cpp GCNRegPressure.h

Removed invert.
DeltaFile
+5-5llvm/lib/Target/AMDGPU/GCNRegPressure.cpp
+2-2llvm/lib/Target/AMDGPU/GCNRegPressure.h
+7-72 files

LLVM/project c20e233llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 constant-based-reductions.ll

[SLP] Replace TrackedToOrig DenseMap with parallel SmallVector in reduction

Replace the DenseMap<Value*, Value*> TrackedToOrig with a SmallVector<Value*>
indexed in parallel with Candidates. This avoids hash-table overhead for the
tracked-value-to-original-value mapping in horizontal reduction processing.

Fixes #189686
DeltaFile
+38-32llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+34-0llvm/test/Transforms/SLPVectorizer/X86/constant-based-reductions.ll
+72-322 files

LLVM/project 5d624b5llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize non-widenable-intrinsics-outer-loop.ll noalias-scope-decl-outer-loop.ll

[VPlan] Stop outerloop vectorization from vectorizing nonvector intrinsics (#185347)

In outer-loop VPlan, avoid emitting vector intrinsic calls for intrinsics
without a vector form. In VPRecipeBuilder, detect missing vector intrinsic
mapping and emit scalar handling instead of a vector call.

Also fix assertion when `llvm.pseudoprobe` in VPlan's native path is being
treated as a `WIDEN-INTRINSIC`.

Reproducer: https://godbolt.org/z/GsPYobvYs
DeltaFile
+477-0llvm/test/Transforms/LoopVectorize/non-widenable-intrinsics-outer-loop.ll
+73-0llvm/test/Transforms/LoopVectorize/noalias-scope-decl-outer-loop.ll
+32-4llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+582-43 files

NetBSD/src dUdaQApsys/arch/arm/cortex gicv3.c

   gicv3: Stop using ICC_PMR_EL1 to mask interrupts.

   Managing ICC_PMR_EL1 with spl changes is too costly, even with lazy PMR
   updates. Let's simplify things. We can still take advantage of interrupt
   prioritization for delivery but let's do spl filtering in software.

   On Ampere eMAG, iperf3 on the loopback interface sees a ~18% performance
   improvement with this change.
VersionDeltaFile
1.57+25-44sys/arch/arm/cortex/gicv3.c
+25-441 files

NetBSD/src wXVyd4Ysys/arch/arm/pic pic_splfuncs.c

   arm: optimize splx

   Skip masking / unmasking interrupts and pic_do_pending_interrupts if
   there is another pic_do_pending_interrupts in progress or if there are
   no pending unmasked IPLs on the CPU.
VersionDeltaFile
1.25+4-3sys/arch/arm/pic/pic_splfuncs.c
+4-31 files

NetBSD/src V5i1Eo2sys/arch/arm/pic pic.c picvar.h

   arm: Make __HAVE_PIC_PENDING_INTRS state per-CPU.

   Move pic_pending_irqs / pic_blocked_irqs / pic_pending_ipls from per-PIC
   to per-PIC-per-CPU state. This allows us to defer processor-local
   interrupts like SGIs and PPIs that use the same irq number.
VersionDeltaFile
1.86+44-19sys/arch/arm/pic/pic.c
1.39+6-6sys/arch/arm/pic/picvar.h
+50-252 files

LLVM/project c19e28dllvm/include/llvm/IR Intrinsics.td, llvm/test CMakeLists.txt

[NFC][LLVM] Simplify `TypeInfoGen` in Intrinsics.td (#189278)

Eliminate `MappingRIdx` by making it an identity function. Currently,
`MappingRIdx` is used to map the index of an `llvm_any*` type in an
intrinsic type signature to its overload index. Eliminating this mapping
means that dependent types in LLVM intrinsic definitions (like
`LLVMMatchType` and its subclasses) should use the overload index to
reference the overload type that it depends on (and not the index within
the llvm_any* subset of overloaded types).

See
https://discourse.llvm.org/t/rfc-simplifying-intrinsics-type-signature-iit-info-generation-encoding-in-intrinsicemitter-cpp/90383
DeltaFile
+74-0llvm/test/TableGen/intrinsic-overload-dependent-type-validation.td
+44-26llvm/include/llvm/IR/Intrinsics.td
+2-3llvm/test/TableGen/intrinsic-arginfo-error.td
+1-1llvm/test/CMakeLists.txt
+121-304 files

OpenZFS/src 8553675man Makefile.am

man: Fix checking manpages without a full build

Some of the man pages (ex: `man/man8/zed.8`) are generated from `.in`
files, and `zed.8.in` *was* a dependency of `zed.8`, but `zed.8` was
not a dependency of `mancheck-...zed.8`. This usually worked anyways
because a full build had already been run, now it works regardless.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Shelvacu on fw <git at shelvacu.com>
Closes #18346
DeltaFile
+8-7man/Makefile.am
+8-71 files

OpenZFS/src 67ec68fman/man4 zfs.4

zfs.4: document the zfs_arc_free_target parameter

Document the FreeBSD-specific zfs_arc_free_target tunable which
controls the number of free pages below which the ARC triggers
reclaim. Note its initialization from vm.v_free_target and its
distinction from the Linux-specific zfs_arc_sys_free.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Christos Longros <chris.longros at gmail.com>
Closes #18350
DeltaFile
+11-0man/man4/zfs.4
+11-01 files

OpenZFS/src fc659bdmodule/zfs vdev_draid.c

draid: fix import failure after disks replacements

Currently, it's possible that draid vdev asize would decrease
after disks replacements when the disk size is a little less than
all other disks in the pool. In such situations, import would
fail on this check in vdev_open():

        /*
         * Make sure the allocatable size hasn't shrunk too much.
         */
        if (asize < vd->vdev_min_asize) {
                vdev_set_state(vd, B_TRUE, VDEV_STATE_CANT_OPEN,
                    VDEV_AUX_BAD_LABEL);
                return (SET_ERROR(EINVAL));
        }

Solution: fix vdev_draid_min_asize() so that it would round up
the required minimal disk capacity to the VDEV_DRAID_ROWHEIGHT.
This would refuse replacements with the disks whose size is less

    [8 lines not shown]
DeltaFile
+4-2module/zfs/vdev_draid.c
+4-21 files

OpenZFS/src 915067blib/libzfs/os/linux libzfs_pool_os.c

Fix zfs partition size for disks of different sector size

Currently, during disks partitioning, the zfs partition will have
different start offset and size depending on the disks sector
size, even if the disks have the same capacity. This can lead to
undesirable effects, for example decreasing of draid vdev asize
when replacing failed disks with 4K-sector disks while the pool
has disks with 512-bytes sector sizes, which would end up with
import failure when asize drops below min_asize level.

Solution: always create the same start and size zfs partition on
the disks of the same capacity, regardless of their sector sizes.

Note: this patch makes zfs partition start and size as if the disks
have 512-bytes sectors, that is the start will be smaller and the
size will be bigger since the NEW_START_BLOCK and EFI_MIN_RESV_SIZE
would always be counted in 512 units. So for the disks of the same
capacity, zfs partition would always have the same bigger possible
size, which makes this fix compatible with all the existing pools,

    [4 lines not shown]
DeltaFile
+17-2lib/libzfs/os/linux/libzfs_pool_os.c
+17-21 files

LLVM/project cdce9cdutils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes b813b0b (#189759)

This fixes b813b0b4e485b0323b51071aca7a415b30c3aa6f.

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

OpenBSD/ports J3hx0eUsysutils/docker-buildx distinfo Makefile

   sysutils/docker-buildx: update to 0.33.0
VersionDeltaFile
1.25+2-2sysutils/docker-buildx/distinfo
1.26+1-1sysutils/docker-buildx/Makefile
+3-32 files

LLVM/project 051309fclang/docs ReleaseNotes.rst, clang/include/clang/Basic DiagnosticCommonKinds.td

[Clang] [C++26] Expansion Statements (Part 11)
DeltaFile
+104-0clang/test/AST/ast-print-expansion-stmts.cpp
+49-0clang/test/AST/ast-dump-expansion-stmt.cpp
+0-4clang/include/clang/Basic/DiagnosticCommonKinds.td
+1-1clang/www/cxx_status.html
+1-0clang/docs/ReleaseNotes.rst
+155-55 files

LLVM/project 31365d3clang/include/clang/Basic DiagnosticSemaKinds.td LangOptions.def, clang/include/clang/Options Options.td

[Clang] [C++26] Expansion Statements (Part 10)
DeltaFile
+69-0clang/test/SemaCXX/cxx2c-expansion-stmts-limit.cpp
+18-0clang/lib/Sema/SemaExpand.cpp
+9-0clang/test/SemaCXX/cxx2c-fexpansion-statements.cpp
+4-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+4-0clang/include/clang/Options/Options.td
+1-0clang/include/clang/Basic/LangOptions.def
+105-01 files not shown
+106-07 files

LLVM/project 1a40e72clang/include/clang/Basic DiagnosticSemaKinds.td, clang/include/clang/Sema ScopeInfo.h

[Clang] [C++26] Expansion Statements (Part 9)
DeltaFile
+135-0clang/test/SemaCXX/cxx2c-expansion-stmts-control-flow.cpp
+38-9clang/lib/Sema/SemaLookup.cpp
+28-2clang/lib/Sema/SemaStmt.cpp
+9-2clang/lib/Parse/ParseStmt.cpp
+6-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+5-1clang/include/clang/Sema/ScopeInfo.h
+221-141 files not shown
+223-157 files

LLVM/project 1a69232clang/test/CodeGenCXX cxx2c-enumerating-expansion-statements.cpp cxx2c-iterating-expansion-stmt.cpp

[Clang] [C++26] Expansion Statements (Part 8)
DeltaFile
+1,518-0clang/test/CodeGenCXX/cxx2c-enumerating-expansion-statements.cpp
+548-0clang/test/CodeGenCXX/cxx2c-iterating-expansion-stmt.cpp
+493-0clang/test/CodeGenCXX/cxx2c-destructuring-expansion-stmt.cpp
+430-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-control-flow.cpp
+208-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-templates.cpp
+134-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-mangling.cpp
+3,331-03 files not shown
+3,372-39 files

LLVM/project c9bc317llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rv32p.ll

[RISCV][P-ext] Support i32 ushlsat on RV32. (#189730)

We have a sshl instruction on RV32 in the 0.21 spec. Unfortunately,
we don't have a SSLLI instruction, but we can put a constant shift
amount in a register.
DeltaFile
+67-0llvm/test/CodeGen/RISCV/rv32p.ll
+2-5llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+2-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+71-53 files

LLVM/project 89dec12lldb/include/lldb/Target Platform.h, lldb/source/Core Module.cpp

[lldb][Platform] Handle LoadScriptFromSymFile per-module FileSpec (#189696)

This patch changes the `Platform::LocateXXX` to return a map from
`FileSpec` to `LoadScriptFromSymFile` enum.

This is needed for https://github.com/llvm/llvm-project/pull/188722,
where I intend to set `LoadScriptFromSymFile` per-module.

By default the `Platform::LocateXXX` set the value to whatever the
target's current `target.load-script-from-symbol-file` is set to. In
https://github.com/llvm/llvm-project/pull/188722 we'll allow overriding
this per-target setting on a per-module basis.

Drive-by:
* Added logging when we fail to load a script.
DeltaFile
+69-84lldb/unittests/Platform/PlatformDarwinTest.cpp
+70-67lldb/unittests/Platform/PlatformTest.cpp
+18-12lldb/source/Target/Platform.cpp
+15-11lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+7-14lldb/source/Core/Module.cpp
+10-8lldb/include/lldb/Target/Platform.h
+189-1961 files not shown
+196-2007 files

LLVM/project b7dc4ffllvm/lib/CodeGen/SelectionDAG TargetLowering.cpp

[TargetLowering] Replace always true if with an assert. NFC (#189750)

We already returned for UADDSAT/USUBSAT leaving SADDSAT/SSUBSAT as the
only opcodes that can get here.
DeltaFile
+26-26llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+26-261 files

LLVM/project b3af2f6llvm/lib/Target/AMDGPU GCNRegPressure.cpp GCNRegPressure.h

Added an SIRegisterInfo member to GCNRPTracker and its uses.
DeltaFile
+16-18llvm/lib/Target/AMDGPU/GCNRegPressure.cpp
+7-5llvm/lib/Target/AMDGPU/GCNRegPressure.h
+23-232 files

LLVM/project d8e9e0allvm/include/llvm/Transforms/Vectorize/SandboxVectorizer VecUtils.h, llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.h

[SandboxVec][LoadStoreVec] Initial pass implementation (#188308)

This patch implements a new simple region pass that can vectorize
store-load chains.
DeltaFile
+320-0llvm/test/Transforms/SandboxVectorizer/load_store_vec.ll
+145-0llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+81-0llvm/unittests/Transforms/Vectorize/SandboxVectorizer/VecUtilsTest.cpp
+50-0llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.h
+24-2llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h
+3-1llvm/lib/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizer.cpp
+623-34 files not shown
+628-310 files

OpenZFS/src 78dd098contrib/debian openzfs-zfsutils.install, man Makefile.am

dbufstat: add man page

Add a manual page for the dbufstat(1) utility which displays
statistics about the DMU buffer cache. Document all options,
fields, and include sample output from a live FreeBSD system.

Also add dbufstat.1 to Makefile.am and Debian packaging.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Christos Longros <chris.longros at gmail.com>
Closes #18358
DeltaFile
+233-0man/man1/dbufstat.1
+1-0contrib/debian/openzfs-zfsutils.install
+1-0man/Makefile.am
+235-03 files

LLVM/project 911dc41compiler-rt/test/asan/TestCases/Linux free_aligned_sized_mismatch.cpp

[compiler-rt][asan] Forward fix for free_aligned_sized_mismatch.cpp (#189760)

Mark this test as UNSUPPORTED for android since android's libc doesn't
seem to support aligned_alloc.
DeltaFile
+3-0compiler-rt/test/asan/TestCases/Linux/free_aligned_sized_mismatch.cpp
+3-01 files

LLVM/project f2f54b6llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rv32p.ll

[RISCV][P-ext] Support i32 avgfloors/avgflooru on RV32. (#189736)
DeltaFile
+50-0llvm/test/CodeGen/RISCV/rv32p.ll
+6-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+4-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+60-03 files

FreeNAS/freenas af60299src/middlewared/middlewared/apps webshell_app.py

Fix apps containers UI shell
DeltaFile
+6-7src/middlewared/middlewared/apps/webshell_app.py
+6-71 files

FreeNAS/freenas 90803d5src/middlewared/middlewared/apps webshell_app.py

NAS-140428 / 27.0.0-BETA.1 / Fix apps container UI shell (#18606)

## Problem

Opening a shell for a Docker app container (`app_name` + `container_id`)
failed because the `container_id` block ran unconditionally before the
`app_name` check — passing a Docker container name (string) to
`container.nsenter`, which expects an integer incus/libvirt container
ID.

## Solution

Made the `container_id`/`nsenter` path an `elif` under the `app_name`
check,
so it only runs for standalone incus/libvirt containers.
DeltaFile
+5-6src/middlewared/middlewared/apps/webshell_app.py
+5-61 files

FreeBSD/ports c6b0a96math/librsb distinfo Makefile

math/librsb: Update to 1.3.0.3.
DeltaFile
+3-3math/librsb/distinfo
+1-2math/librsb/Makefile
+2-0math/librsb/pkg-plist
+6-53 files