LLVM/project 94d4607llvm/lib/Transforms/Scalar LoopInterchange.cpp

address review
DeltaFile
+3-1llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+3-11 files

LLVM/project d37fa5allvm/include/llvm/ADT FoldingSet.h

Revert "[ADT] Remove CRTP from FoldingSet and ContextualFoldingSet (NFC)" (#216957)

Reverts llvm/llvm-project#216830 due to breakage on msvc builds
DeltaFile
+104-59llvm/include/llvm/ADT/FoldingSet.h
+104-591 files

LLVM/project 6bba49autils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/test/src/math/smoke BUILD.bazel

[Bazel] Fixes de7cacd (#216949)

This fixes de7cacd2406aa805a463f26563b4f55811842ba0 (#216552).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=de7cacd2406aa805a463f26563b4f55811842ba0

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+3-0utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
+3-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+6-02 files

LLVM/project e61de01llvm/lib/Transforms/Vectorize VPlan.cpp

[VPlan] Check enclosing region first (NFC). (#216676)

Check cheaper getEnclosingLoopRegion() first; it only walks the parent
chain, while getVectorLoopRegion() traverses the plan's top-level
blocks.
DeltaFile
+2-2llvm/lib/Transforms/Vectorize/VPlan.cpp
+2-21 files

OPNSense/plugins 0f33e28net/frr/src/opnsense/service/templates/OPNsense/Quagga/Config bgpd.conf

net/frr: move peer group policy into address families

Peer groups gained an explicit address family selector, but only the
activation command was rendered inside the selected address-family block.
Policy-related settings such as prefix-lists, route-maps, next-hop-self
and default-originate were still emitted in the global peer group section.

This caused IPv6-only peer groups to be activated under IPv6 while their
policy configuration was generated outside of the IPv6 address-family
context, where it would not apply as expected.

Move these AF-scoped peer group settings into the address-family loop and
keep only session-level settings in the global peer group block. Add small
helpers for prefix-list and route-map attachment rendering so the same
logic can be shared between normal neighbors and peer groups.
DeltaFile
+54-70net/frr/src/opnsense/service/templates/OPNsense/Quagga/Config/bgpd.conf
+54-701 files

LLVM/project 533f447llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange inner-latch-defs-iv.ll

[LoopInterchange] Bail out if a PHI would be cloned into the new latch
DeltaFile
+58-0llvm/test/Transforms/LoopInterchange/inner-latch-defs-iv.ll
+26-30llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+84-302 files

NetBSD/pkgsrc-wip 3dedc43neo Makefile COMMIT_MSG

Update devel/neo to v.0.6.2
DeltaFile
+3-3neo/distinfo
+1-1neo/Makefile
+1-1neo/COMMIT_MSG
+5-53 files

FreeBSD/src 3f3f452usr.sbin/pmcstat pmcstat.8

pmcstat.8: Add a missing ERRORS section header

MFC after:      3 days
Sponsored by:   fme AG

(cherry picked from commit 5729a0b45cd1a24c8b82d161de4711b4e004498d)
DeltaFile
+2-2usr.sbin/pmcstat/pmcstat.8
+2-21 files

FreeBSD/ports 2f4fd6cdevel/py-python-ptrace Makefile, devel/py-python-ptrace/files patch-setup.py patch-setup__cptrace.py

devel/py-python-ptrace: fix build with python 3.12

PR:     296695
(cherry picked from commit 31f729c0c5a628bca80e5dd885d3312cf76965e9)
DeltaFile
+27-0devel/py-python-ptrace/files/patch-setup.py
+27-0devel/py-python-ptrace/files/patch-setup__cptrace.py
+1-1devel/py-python-ptrace/Makefile
+55-13 files

FreeNAS/freenas ed416cdsrc/middlewared/middlewared/plugins/zfs snapshot_crud.py exceptions.py, src/middlewared/middlewared/pytest/unit/plugins/zfs test_snapshot_rollback_impl.py

Refuse snapshot rollback up front when newer snapshots are blocked

## Problem
Rolling a dataset back to an older snapshot crashed with a raw traceback whenever a newer snapshot had a dependent clone. Two separate failures were in play: `clone_rsrc.destroy()` does not exist on any pylibzfs resource type, so it raised `AttributeError`, which is not a `RuntimeError` and so escaped both surrounding handlers; and `lzc.destroy_snapshots()` raises `ZFSCoreException`, a sibling of `ZFSException` rather than a subclass, so the handler wrapping it never fired. There was also no pre-flight of any kind, so nothing could refuse cleanly — and because destroy failures were silently swallowed and the loop continued, a failed destroy left the rollback to fail later with a message telling the user to pass a flag they had already passed.

## Solution
- **Destroy clones through the handle.** `tls.lzh.destroy_resource(name=...)` replaces the non-existent resource-level `destroy()`, matching how the destroy path already does it.
- **Catch both exception families.** `lzc.destroy_snapshots()` failures are now caught alongside `ZFSException` and converted, rather than escaping as a raw traceback.
- **Refuse before destroying anything.** A new pre-flight walks the whole dataset set — including the full `recursive_rollback` tree, before the fan-out loop rather than inside it — and collects every blocker it can see: dependent clones when `recursive_clones` is not set, holds in all cases, and clones that cannot be destroyed non-recursively because they have children or snapshots of their own. Previously a blocker on a child was discovered only after the parent had been irreversibly rolled back. This is fail-first, not atomic: a clone or hold created between the pre-flight and the destroy still fails mid-loop, and only a concurrently pruned snapshot (ENOENT) is tolerated.
- **Typed errors at both boundaries.** Blockers raise `ZFSRollbackBlockedException`, mapped to `EBUSY` with a message naming each blocking snapshot and what blocks it. `pool.snapshot.rollback` had no exception mapping at all and leaked every impl failure as an untyped traceback; it now mirrors `zfs.resource.snapshot.rollback`.
- **`force` now means how forcefully, not whether.** Clones are always unmounted before destroy, since `zfs_destroy()` does not unmount and a mounted clone could never be destroyed otherwise; `force` selects a forced unmount, matching the `zfs destroy` CLI. Unmount no longer requests a key unload, matching what the CLI's rollback path does.

Adds unit coverage for each defect and the pre-flight, plus integration coverage for clone-present, nested-clone, hold-present, and cross-dataset cases. `pool.snapshot.rollback` had no api2 coverage before this.

Newer bookmarks remain unhandled: pylibzfs exposes no bookmark primitives, so a newer bookmark still fails the rollback with an empty conflict list. That needs a pylibzfs change first and is tracked separately.
DeltaFile
+417-0src/middlewared/middlewared/pytest/unit/plugins/zfs/test_snapshot_rollback_impl.py
+187-51src/middlewared/middlewared/plugins/zfs/snapshot_rollback_impl.py
+171-1tests/api2/test_zfs_resource_snapshot_rollback.py
+80-0tests/api2/test_pool_snapshot_rollback.py
+62-1src/middlewared/middlewared/plugins/zfs/exceptions.py
+24-9src/middlewared/middlewared/plugins/zfs/snapshot_crud.py
+941-622 files not shown
+962-688 files

LLVM/project aeee8b8llvm/include/llvm InitializePasses.h, llvm/include/llvm/CodeGen ImplicitNullChecks.h

[NewPM] Port ImplicitNullChecks to the new pass manager

Adds a newPM pass for ImplicitNullChecks.

- Refactors base logic into an ImplicitNullChecks class
- Renames old pass with the "Legacy" suffix
- Adds the new pass manager pass ImplicitNullChecksPass
- Updates MachinePassRegistry.def, PassBuilder, and CodeGenPassBuilder
- Updated existing .mir tests to also test with the New Pass Manager

TAG=agy
CONV=f54ff826-1008-4e8c-9be5-0364adbe3923
DeltaFile
+37-12llvm/lib/CodeGen/ImplicitNullChecks.cpp
+28-0llvm/include/llvm/CodeGen/ImplicitNullChecks.h
+1-1llvm/lib/CodeGen/CodeGen.cpp
+1-1llvm/include/llvm/Passes/MachinePassRegistry.def
+1-1llvm/include/llvm/InitializePasses.h
+1-0llvm/test/CodeGen/X86/implicit-null-chk-reg-rewrite.mir
+69-153 files not shown
+72-159 files

LLVM/project c9fdb59llvm/lib/Target/SPIRV SPIRVCombinerHelper.cpp

SPIRV: Use mi_match in combiner match functions

Convert some simple cases away from getVRegDef + opcode
checks which don't require new matchers.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+4-9llvm/lib/Target/SPIRV/SPIRVCombinerHelper.cpp
+4-91 files

OPNSense/core d3ec7b5src/opnsense/mvc/app/controllers/OPNsense/Dnsmasq/forms general.xml, src/opnsense/mvc/app/models/OPNsense/Dnsmasq Dnsmasq.xml

Services: Dnsmasq DNS & DHCP: add expand-hosts (#10731)
DeltaFile
+6-0src/opnsense/mvc/app/controllers/OPNsense/Dnsmasq/forms/general.xml
+4-0src/opnsense/service/templates/OPNsense/Dnsmasq/dnsmasq.conf
+1-0src/opnsense/mvc/app/models/OPNsense/Dnsmasq/Dnsmasq.xml
+11-03 files

OpenBSD/ports bnPWXr2net/dhcpcd Makefile distinfo

   update to dhcpcd-10.5.2
VersionDeltaFile
1.77+2-2net/dhcpcd/distinfo
1.123+1-1net/dhcpcd/Makefile
+3-32 files

NetBSD/pkgsrc-wip 97da1faCodeWhale Makefile distinfo

Ipdate misc/Codewhale to v.0.9.8.
DeltaFile
+3-3CodeWhale/distinfo
+1-1CodeWhale/Makefile
+4-42 files

LLVM/project 326d86dllvm/include/llvm/ADT FoldingSet.h

Revert "[ADT] Remove CRTP from FoldingSet and ContextualFoldingSet (NFC) (#21…"

This reverts commit 703f0ae7e68f3cbb3679aef3ac4079d9d4ca3e52.
DeltaFile
+104-59llvm/include/llvm/ADT/FoldingSet.h
+104-591 files

FreeBSD/src 81cf13f. configure, admin ltmain.sh config.guess

vendor/atf: import atf-0.24-rc2

This version incorporates some of the local changes which had not yet
made it upstream into the RC1 code.

Obtained from:          https://github.com/freebsd/atf/releases/tag/atf-0.24-rc2
DeltaFile
+1,477-925admin/config.sub
+936-601admin/config.guess
+601-159m4/libtool.m4
+417-211configure
+245-80admin/ltmain.sh
+8-110atf-c/detail/fs.c
+3,684-2,0868 files not shown
+3,874-2,15514 files

LLVM/project c49ed73llvm/lib/Target/AArch64/GISel AArch64RegisterBankInfo.cpp

AArch64: Use mi_match for G_CONSTANT operand check in RegisterBankInfo

Replace the getVRegDef + G_CONSTANT opcode check in the build_vector
all-constant-operands test with an m_ICst match. NFC.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+4-2llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
+4-21 files

LLVM/project 84a25f6llvm/lib/Target/RISCV/GISel RISCVPostLegalizerCombiner.cpp RISCVInstructionSelector.cpp

RISCV/GlobalISel: Use mi_match for constant checks

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+5-7llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
+3-6llvm/lib/Target/RISCV/GISel/RISCVPostLegalizerCombiner.cpp
+8-132 files

LLVM/project da1fb5cllvm/test/tools/llvm-readobj/ELF linker-options.test bb-addr-map.test, llvm/tools/llvm-readobj ELFDumper.cpp

[llvm-readobj] Improve unsupported option messages (#216488)

Improve the messages for unsupported options when using GNU output
style.
Fixes #51294.
DeltaFile
+3-3llvm/tools/llvm-readobj/ELFDumper.cpp
+2-2llvm/test/tools/llvm-readobj/ELF/call-graph-profile.test
+1-1llvm/test/tools/llvm-readobj/ELF/linker-options.test
+1-1llvm/test/tools/llvm-readobj/ELF/bb-addr-map.test
+1-1llvm/test/tools/llvm-readobj/ELF/bb-addr-map-pgo-analysis-map.test
+8-85 files

OPNSense/core 9a85430src/etc/inc/plugins.inc.d openssh.inc

system: add mldsa44-ed25519 to OpenSSH host keys

We need to add it to the default PubkeyAcceptedAlgorithms so that
it works out of the box.  The GUI specified value can select it
but overwrites any default changes we've done so it's safe to use.
DeltaFile
+4-2src/etc/inc/plugins.inc.d/openssh.inc
+4-21 files

NetBSD/src o6tK9hisys/dev/pci gffb.c

   Temporarily back out previous, there was something missing from the
   commit (header file change not commited?).
   Fixes the build.
VersionDeltaFile
1.38+2-165sys/dev/pci/gffb.c
+2-1651 files

LLVM/project 55feb0aclang/lib/Frontend SerializedDiagnosticPrinter.cpp, clang/test/Misc serialized-diags-large-fixit.m

[Clang][Frontend] Fix fix-it size overflow in emitted .dia (#216075)

When fix-its are emitted into a .dia, we previously stored the fix-it
text in a blob of arbitrary size, but the size of the text was stored in
a separate 16 bit field. For really large fix-its, the size won't fit it
those 16 bits, and the compiler crashes.

Switch to a variable length encoding of the fit-it size. This is similar
to this issue:
https://github.com/llvm/llvm-project/commit/e26aea5b290165f3bccffab662a706d4a56f7540

We also remove a hard coded check in the clang library used to load .dia
files that failed for fix-its whose size doesn't fit in 16 bits.

Generated with codex

Co-authored-by: Nuri Amari <nuriamari at fb.com>
(cherry picked from commit bb123b2208060bf3ec8a5f22f2111bd194c4ad4d)
DeltaFile
+45-0clang/test/Misc/serialized-diags-large-fixit.m
+0-3clang/tools/libclang/CXLoadedDiagnostic.cpp
+1-1clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
+46-43 files

LLVM/project fc5861dcompiler-rt/lib/msan/tests msan_test.cpp, compiler-rt/test/fuzzer reload.test

[sanitizer] Skip hanging tests on NetBSD (#216712)

Several sanitizer tests hang indefinitely on NetBSD:

```
MemorySanitizer-Unit :: ./Msan-x86_64-Test
MemorySanitizer-Unit :: ./Msan-x86_64-with-call-Test
MemorySanitizer-X86_64 :: zero_alloc.cpp
ThreadSanitizer-x86_64 :: signal_cond.cpp
libFuzzer-x86_64-default-NetBSD :: reload.test
```

All of them loop and don't time out, so they need to be terminated
manually for `ninja check-all` to complete. To avoid this, this patch
skips the affected tests or subtests. Unfortunately, the Msan unit tests
still hang on exit in `__cxa_finalize` even if all subtests are skipped
with `llvm-lit -gtest_filter=-*`.

Tested on `x86_64-pc-netbsd11.0`, `x86_64-pc-freebsd15.1`, and

    [3 lines not shown]
DeltaFile
+4-0compiler-rt/lib/msan/tests/msan_test.cpp
+2-0compiler-rt/test/tsan/signal_cond.cpp
+2-0compiler-rt/test/msan/zero_alloc.cpp
+1-0compiler-rt/test/fuzzer/reload.test
+9-04 files

LLVM/project fe7038bllvm/include/llvm/CodeGen/GlobalISel MIPatternMatch.h, llvm/lib/Target/AArch64/GISel AArch64InstructionSelector.cpp

GlobalISel: Add m_PosZeroFP matcher and use it in AArch64 selector (#216925)

Add an FP-constant predicate matcher m_PosZeroFP, mirroring the IR
PatternMatch helper, and use it in emitFPCompare instead of binding the
ConstantFP just to test for +0.0. NFC.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+17-0llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
+2-4llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
+19-42 files

LLVM/project c177ccfllvm/lib/LTO LTOBackend.cpp, llvm/test/CodeGen/AMDGPU lto-lower-module-lds.ll

[LTO] Add support for NewPM CodeGen
DeltaFile
+96-0llvm/test/CodeGen/AMDGPU/lto-lower-module-lds.ll
+81-4llvm/lib/LTO/LTOBackend.cpp
+177-42 files

LLVM/project 1149dbaclang/lib/Driver/ToolChains Clang.cpp, clang/test/CodeGenCUDA atomics-remarks-gfx90a.cu

[Clang][LTO][AMDGPU] Force disable backend NPM when GIsel is requested
DeltaFile
+25-2clang/lib/Driver/ToolChains/Clang.cpp
+22-0clang/test/Driver/hip-options.hip
+5-0clang/test/CodeGenCUDA/atomics-remarks-gfx90a.cu
+1-0clang/test/CodeGenHIP/ballot.cpp
+53-24 files

LLVM/project 5b54479llvm/test/CodeGen/AMDGPU call-constexpr-gisel.ll call-constexpr.ll

[AMDGPU] start using new pass manager for backend codegen
DeltaFile
+310-310llvm/test/CodeGen/AMDGPU/llvm.amdgcn.smfmac.gfx950.ll
+306-306llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.gfx950.ll
+230-230llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.scale.f32.16x16x128.f8f6f4.ll
+230-226llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.scale.f32.32x32x64.f8f6f4.ll
+0-388llvm/test/CodeGen/AMDGPU/call-constexpr.ll
+243-0llvm/test/CodeGen/AMDGPU/call-constexpr-gisel.ll
+1,319-1,460114 files not shown
+2,215-2,113120 files

LLVM/project 81f7f19clang/lib/Format UnwrappedLineFormatter.cpp, clang/unittests/Format FormatTest.cpp

[clang-format] Fix short functions with nested braced-init (#213550)

Fixes #213286.

Keep short functions on one line when their return statement contains
nested braced initializers.

The closing brace now checks the kind of its matching opening brace, so
braced-init lists are allowed while structural
  braces still prevent merging.

  Tests:
  - `FormatTest.CustomShortFunctionOptions`
  - `FormatTest.AllowShortRecordOnASingleLine`
  - full `FormatTests` suite (1275 passed)

Signed-off-by: Gaurav Chaudhary <chaudharygaurav2004 at gmail.com>
(cherry picked from commit e98256cc6abdc97701a3b1fa2588e2628180ead2)
DeltaFile
+8-4clang/lib/Format/UnwrappedLineFormatter.cpp
+1-0clang/unittests/Format/FormatTest.cpp
+9-42 files

LLVM/project 158961bclang/lib/CodeGen BackendUtil.cpp, clang/test/CodeGen print-pipeline-passes-codegen.c

[Clang][CodeGen] Improve support for NPM codegen
DeltaFile
+31-6clang/lib/CodeGen/BackendUtil.cpp
+16-0clang/test/CodeGen/print-pipeline-passes-codegen.c
+47-62 files