LLVM/project 12c0f7d — mlir/lib/Dialect/Vector/IR VectorOps.cpp, mlir/lib/Dialect/Vector/Transforms LowerVectorContract.cpp

[mlir][vector] Allow 0-D vector acc/res in `vector.contract` (#234638)

`vector.contract` required a scalar acc and res when there are no _free_
or _batch_ dims.
Ops with a 0-D shape, such as `linalg.dot`, produced invalid IR when
vectorized with `create_named_contraction`: the init is read as
`vector<f32>`, but the verifier expected `f32`.

This patch lets the accumulator and result be either both scalars or
both 0-D vectors:
- The verifier accepts a 0-D vector, and requires the accumulator and
result types to match.
- `ContractionOpLowering::lowerReduction` extracts the scalar for
`vector.reduction` and broadcasts the result back to 0-D.
- The op documentation is updated.

Realted to #234238.

Tests AI-assisted.

    [3 lines not shown]
DeltaFile
+54-0mlir/test/Dialect/Linalg/vectorization/contraction-interface.mlir
+30-0mlir/test/Dialect/Vector/vector-contract-to-dot-transforms.mlir
+11-3mlir/lib/Dialect/Vector/Transforms/LowerVectorContract.cpp
+9-3mlir/lib/Dialect/Vector/IR/VectorOps.cpp
+10-0mlir/test/Dialect/Vector/invalid.mlir
+9-0mlir/test/Dialect/Vector/ops.mlir
+123-61 files not shown
+125-77 files

LLVM/project 26c1533 — lldb/include/lldb/API SBThread.h, lldb/source/API SBThread.cpp

[lldb] Add SBThread::GetStopErrorValue
DeltaFile
+33-13lldb/source/API/SBThread.cpp
+9-0lldb/include/lldb/API/SBThread.h
+2-0lldb/test/API/functionalities/return-value/TestReturnValue.py
+44-133 files

LLVM/project 91b36dd — llvm/lib/Target/Mips MipsLegalizerInfo.cpp, llvm/test/CodeGen/Mips/GlobalISel/llvm-ir is_fpclass.ll

Mips/GlobalISel: Lower G_IS_FPCLASS (#240679)

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+2,968-0llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/is_fpclass.ll
+2-0llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
+2,970-02 files

LLVM/project 7720600 — lldb/include/lldb/Target ThreadPlanStepOut.h LanguageRuntime.h, lldb/source/Target Thread.cpp ThreadPlanStack.cpp

[NFC][lldb] Add LanguageRuntime hooks for errors thrown out of a step out
DeltaFile
+28-14lldb/source/Target/StopInfo.cpp
+31-0lldb/source/Target/ThreadPlanStepOut.cpp
+26-0lldb/include/lldb/Target/LanguageRuntime.h
+8-5lldb/source/Target/ThreadPlanStack.cpp
+10-0lldb/include/lldb/Target/ThreadPlanStepOut.h
+6-3lldb/source/Target/Thread.cpp
+109-224 files not shown
+130-2610 files

LLVM/project 86f8fb4 — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls systemz.ll windows.ll

RuntimeLibcalls: Add attributes to stack protector failure handlers (#240701)

Declare __stack_chk_fail and __stack_smash_handler as noreturn,
nounwind and nofree. GCC similarly declares __stack_chk_fail as
noreturn and nothrow.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+8-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+6-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+6-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+6-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+6-2llvm/include/llvm/IR/RuntimeLibcalls.td
+4-2llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+36-177 files not shown
+60-2913 files

LLVM/project b17d36d — clang/lib/Driver/ToolChains CommonArgs.cpp, clang/test/Driver lto-aix.c

CodeGen: Replace TargetOptions::DebuggerTuning with module flag (#235051)

Read the debugger tuning from the module's "debugger-tuning" flag instead of TargetOptions. Delete the now-dead -debugger-tune= cl::opt and the
TargetOptions::DebuggerTuning field.

Update the tests relying on it to directly use the module flag. The cases
that exercise multiple values do a text substitution to swap the value.
Alternatively this could be changed to synthesize the module flag in the
llc flag like some of the other widely used module flags do.

Co-authored-by: Claude Sonnet 5 <noreply at anthropic.com>
DeltaFile
+24-19llvm/test/DebugInfo/MIR/X86/call-site-gnu-vs-dwarf5-attrs.mir
+12-9llvm/test/DebugInfo/X86/convert-debugloc.ll
+4-16llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+6-14clang/test/Driver/lto-aix.c
+13-5llvm/test/DebugInfo/X86/debugger-tune.ll
+0-17clang/lib/Driver/ToolChains/CommonArgs.cpp
+59-8060 files not shown
+247-25366 files

FreeBSD/poudriere a72667f — src/man poudriere.8

poudriere.8: Document repo and audit
DeltaFile
+6-1src/man/poudriere.8
+6-11 files

FreeNAS/freenas 250bd8f — src/freenas/usr/local/libexec ctdb_ha_reclock.py, src/middlewared/middlewared/plugins/directoryservices_ secrets.py

NAS-145072 / 28.0.0-BETA.1 / Use truenas_smbhad for SMB stateful failover (#20072)

Samba now replicates SMB durable handles to the standby controller with
the truenas_smbhad daemon. This replaces the ctdb implementation.

- Remove ctdb and the clustered TDB code. passdb, group mapping, share
ACLs and secrets are local to each controller again.
- Stop setting "clustering" in smb.conf.
- Write /etc/truenas_smbhad.conf with the controller node on HA systems.
Reload the daemon when a license change modifies the file.
- Keep smbd stopped on the standby. Restart it on takeover, because it
restores handles only at startup.
- Log the daemon to /var/log/truenas_smbhad.log.
- Remove the update block for stateful failover.
- Add unit tests and HA tests.

(cherry picked from commit c8c7637c9900712008384d8f97d55fe6b78a2b23)
(cherry picked from commit dec4ce4c04aa435feec7f6d26b3c061485d15b46)
DeltaFile
+395-0tests/sharing_protocols/smb/test_smb_ha.py
+8-183src/middlewared/middlewared/utils/tdb.py
+0-111src/freenas/usr/local/libexec/ctdb_ha_reclock.py
+21-57src/middlewared/middlewared/plugins/directoryservices_/secrets.py
+17-37src/middlewared/middlewared/plugins/smb_/groupmap.py
+21-33src/middlewared/middlewared/plugins/smb_/util_passdb.py
+462-42136 files not shown
+665-78842 files

FreeBSD/ports e27421a — devel/libdbusmenu-lxqt Makefile

devel/libdbusmenu-lxqt: Add missing dependency

PR:             300650
Reported by:    Dean E. Weimer <dweimer __at_ dweimer.net>
DeltaFile
+1-0devel/libdbusmenu-lxqt/Makefile
+1-01 files

LLVM/project aa509a8 — llvm/lib/Frontend/OpenMP OMPDescriptors.inc

[OpenMP] Apply fixes to clause/directive descriptors

- Remove NOWAIT from TASKWAIT in 5.0.
- Remove ORDER from DISTRIBUTE in 5.0.
- Remove THREAD_LIMIT from TARGET in 5.0.
- Remove variable-category modifier from DEFAULT in 5.0-5.2.
- Remove ALLOCATE from SCOPE in 5.1.
- Remove FIRSTPRIVATE from SCOPE in 5.1.
DeltaFile
+16-16llvm/lib/Frontend/OpenMP/OMPDescriptors.inc
+16-161 files

FreeBSD/src 724a437 — tests/sys/pmc Makefile

tests/sys/pmc/Makefile: whitespace

Use similar spacing on adjacent lines, for readability. No functional
change.
DeltaFile
+4-4tests/sys/pmc/Makefile
+4-41 files

LLVM/project a6ad555 — clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Clang.cpp

address comments
DeltaFile
+3-3clang/include/clang/Options/Options.td
+1-1clang/lib/Driver/ToolChains/Clang.cpp
+4-42 files

LLVM/project 05a5ab9 — clang/docs LanguageExtensions.md, clang/include/clang/Options Options.td

Enable driver changes for fexec-charset
DeltaFile
+14-6clang/lib/Driver/ToolChains/Clang.cpp
+14-4clang/include/clang/Options/Options.td
+11-3clang/test/Driver/clang_f_opts.c
+10-0llvm/lib/Support/TextEncoding.cpp
+4-3clang/test/Driver/cl-options.c
+3-3clang/docs/LanguageExtensions.md
+56-193 files not shown
+60-199 files

LLVM/project 90835ed — clang/include/clang/AST FormatString.h, clang/lib/AST ScanfFormatString.cpp PrintfFormatString.cpp

do not convert character by character
DeltaFile
+34-31clang/lib/AST/FormatString.cpp
+28-26clang/lib/AST/FormatStringParsing.h
+20-18clang/lib/Sema/SemaChecking.cpp
+8-5clang/lib/AST/PrintfFormatString.cpp
+4-4clang/lib/AST/ScanfFormatString.cpp
+2-2clang/include/clang/AST/FormatString.h
+96-866 files

LLVM/project b1f99a2 — clang-tools-extra/clang-tidy/utils FormatStringConverter.cpp, clang/lib/AST PrintfFormatString.cpp ScanfFormatString.cpp

Add isNoop to avoid conversion code in ActOnGCCAsmStmtString
DeltaFile
+41-31clang/lib/AST/FormatStringParsing.h
+31-31clang/lib/AST/FormatString.cpp
+20-20clang/lib/Sema/SemaChecking.cpp
+14-24clang/lib/AST/ScanfFormatString.cpp
+4-22clang/lib/AST/PrintfFormatString.cpp
+4-5clang-tools-extra/clang-tidy/utils/FormatStringConverter.cpp
+114-1336 files not shown
+127-13912 files

LLVM/project 0df734f — clang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

convert to exec-charset inside getPredefinedStringLiteralFromCache, test __builtin_FILE()
DeltaFile
+10-0clang/lib/AST/ASTContext.cpp
+3-1clang/test/CodeGen/systemz-charset.cpp
+3-0clang/lib/Basic/TargetInfo.cpp
+2-0clang/include/clang/Basic/TargetInfo.h
+18-14 files

LLVM/project 10cf100 — clang/lib/AST FormatStringParsing.h ScanfFormatString.cpp, clang/lib/Sema SemaChecking.cpp

Add format string handling
DeltaFile
+82-39clang/lib/AST/PrintfFormatString.cpp
+46-40clang/lib/AST/FormatString.cpp
+41-24clang/lib/Sema/SemaChecking.cpp
+28-14clang/lib/AST/ScanfFormatString.cpp
+25-11clang/lib/AST/FormatStringParsing.h
+19-0llvm/lib/Support/TextEncoding.cpp
+241-1288 files not shown
+269-14114 files

LLVM/project 7fb7bfb — clang/lib/AST ASTContext.cpp, clang/lib/Lex TextEncoding.cpp

Convert the key before cache lookup to prevent encoding differences
DeltaFile
+9-9clang/lib/AST/ASTContext.cpp
+2-0clang/lib/Lex/TextEncoding.cpp
+11-92 files

LLVM/project 1f9906a — clang/lib/AST FormatString.cpp ScanfFormatString.cpp

change char literals to u8'' to preserve behaviour in the case the
compiler is compiled with a different fexec-charset
DeltaFile
+44-44clang/lib/AST/PrintfFormatString.cpp
+28-28clang/lib/AST/ScanfFormatString.cpp
+28-27clang/lib/AST/FormatString.cpp
+100-993 files

LLVM/project 28de861 — clang/lib/AST ScanfFormatString.cpp PrintfFormatString.cpp, llvm/include/llvm/Support TextEncoding.h

rename char conversion function to convertBasicChar
DeltaFile
+18-17clang/lib/AST/FormatString.cpp
+12-12clang/lib/AST/PrintfFormatString.cpp
+3-5clang/lib/AST/ScanfFormatString.cpp
+3-1llvm/include/llvm/Support/TextEncoding.h
+36-354 files

LLVM/project 0f9087e — clang/lib/AST Expr.cpp, clang/test/Sema systemz-charset-asm-diag.cpp charset-asm-diag.cpp

address latest comments
DeltaFile
+0-17clang/test/Sema/systemz-charset-asm-diag.cpp
+17-0clang/test/Sema/charset-asm-diag.cpp
+8-0clang/lib/AST/Expr.cpp
+25-173 files

FreeBSD/ports 72455c7 — devel/liblxqt pkg-plist Makefile

devel/liblxqt: Update to 2.5.0

PR:             300653
Reported by:    Dean E. Weimer <dweimer __at__ dweimer.net>
DeltaFile
+3-3devel/liblxqt/distinfo
+1-2devel/liblxqt/Makefile
+2-0devel/liblxqt/pkg-plist
+6-53 files

LLVM/project 1037627 — clang/test/CodeGen/AArch64 inline-asm.c inline-asm-p-constraint.c, clang/test/CodeGen/X86 amxavx512-builtins.c

[CodeGen] Convert a few more tests to use CIR runlines (#239826)

Same as my previous approaches, this converts 12 'slightly higher' touch
versions. Each of these were cases where the only difference in
checked-IR is the SSA name, so this generalizes check-lines slightly to
wqork with both.
DeltaFile
+4-2clang/test/CodeGenCXX/weak-init.cpp
+4-2clang/test/CodeGenCXX/this-nonnull.cpp
+4-2clang/test/CodeGen/X86/amxavx512-builtins.c
+3-2clang/test/CodeGenOpenCL/numbered-address-space.cl
+3-2clang/test/CodeGen/AArch64/inline-asm.c
+3-2clang/test/CodeGen/AArch64/inline-asm-p-constraint.c
+21-126 files not shown
+34-1812 files

LLVM/project a32713e — clang/lib/Analysis/LifetimeSafety Origins.cpp LifetimeAnnotations.cpp

[LifetimeSafety][NFC] Use ignoreParensAndImpCasts consistently (#240733)

Follow-up to #240104. Replace the remaining `IgnoreParenImpCasts()`
calls in LifetimeSafety with `ignoreParensAndImpCasts()`.

NFC: at these call sites, not skipping `MaterializeTemporaryExpr` and
`SubstNonTypeTemplateParmExpr` does not change the result.

Assisted-by: Claude Opus 5.5
DeltaFile
+6-5clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+2-2clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp
+1-1clang/lib/Analysis/LifetimeSafety/Origins.cpp
+9-83 files

FreeBSD/src 546a764 — tests/sys/pmc pmc_rapl_test.c pmc_pidtrack_test.c, tests/sys/pmc/amd pmu_event_neg_test.c pmu_mux_test.c

tests/sys/pmc: add pidtrack, callchain, pmc(8), RAPL and AMD tests

Add to the suite of ATF tests for hwpmc(4).  Vendor-neutral tests go in
tests/sys/pmc; tests that depend on AMD hardware interfaces go in
tests/sys/pmc/amd, which is only built on amd64.

tests/sys/pmc:
  pmc_pidtrack_test      process-mode PMCs follow their PID: a live
                         self-read counts the process' own work, an idle
                         process sharing the CPU with a busy one does not
                         pick up its work, and the count survives a
                         context switch
  pmc_callchain_ur_test  pmcstat -U collects user callchains through the
                         PMC_UR ring; regression test for the KASSERTs
                         fixed in rGaf3929c5152b and rG66118c3f1011
  pmc_cli_test           pmc(8): missing log, list-events, record/info
                         round trip with the "instructions" alias
  pmcstat_tsc_test       (amd64) tsc_freq in the initlog record, TSC
                         column of pmcstat -R, tsc in pmc filter -j,

    [29 lines not shown]
DeltaFile
+481-0tests/sys/pmc/amd/pmu_event_test.c
+399-0tests/sys/pmc/pmc_pidtrack_test.c
+316-0tests/sys/pmc/amd/amd_pmc_test_common.h
+280-0tests/sys/pmc/amd/pmu_mux_test.c
+260-0tests/sys/pmc/pmc_rapl_test.c
+254-0tests/sys/pmc/amd/pmu_event_neg_test.c
+1,990-09 files not shown
+2,667-315 files

FreeBSD/src 2764bc5 — sys/dev/asmc asmc.c

asmc: do not enable the sudden motion sensor on the MMIO backend

The interrupt filter reads the PIO interrupt port, but sc_ioport is NULL
under MMIO; the capability test only probed for keys, which says nothing
about the backend.

No MMIO-capable machine has a sudden motion sensor anyway. It existed to
park the heads of spinning disks.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D61383
DeltaFile
+13-8sys/dev/asmc/asmc.c
+13-81 files

LLVM/project e3bb1d8 — libcxx Maintainers.md

[libc++] Add Michael Kazakov as the main PSTL maintainer (#240857)
DeltaFile
+3-3libcxx/Maintainers.md
+3-31 files

LLVM/project 9840745 — clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/test/CodeGenCXX module-funcs-from-imports.cppm

[CIR] Skip function bodies imported from other named modules (#239686)

When a function's body comes from another named module, CIRGen now emits
just a declaration instead of hitting an errorNYI. always_inline
template instantiations still get their bodies, since a library may not
provide symbols for them.

Assisted-by: Cursor / Claude Opus 5.5
DeltaFile
+12-1clang/lib/CIR/CodeGen/CIRGenModule.cpp
+8-0clang/test/CodeGenCXX/module-funcs-from-imports.cppm
+20-12 files

FreeNAS/freenas bb23826 — src/freenas/usr/local/libexec ctdb_ha_reclock.py, src/middlewared/middlewared/plugins/directoryservices_ secrets.py

NAS-145072 / 27.1.0 / Use truenas_smbhad for SMB stateful failover (by anodos325) (#20166)

Samba now replicates SMB durable handles to the standby controller with
the truenas_smbhad daemon. This replaces the ctdb implementation.

- Remove ctdb and the clustered TDB code. passdb, group mapping, share
ACLs and secrets are local to each controller again.
- Stop setting "clustering" in smb.conf.
- Write /etc/truenas_smbhad.conf with the controller node on HA systems.
Reload the daemon when a license change modifies the file.
- Keep smbd stopped on the standby. Restart it on takeover, because it
restores handles only at startup.
- Log the daemon to /var/log/truenas_smbhad.log.
- Remove the update block for stateful failover.
- Add unit tests and HA tests.

Original PR: https://github.com/truenas/middleware/pull/20072

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+394-0tests/sharing_protocols/smb/test_smb_ha.py
+8-183src/middlewared/middlewared/utils/tdb.py
+0-111src/freenas/usr/local/libexec/ctdb_ha_reclock.py
+21-57src/middlewared/middlewared/plugins/directoryservices_/secrets.py
+17-37src/middlewared/middlewared/plugins/smb_/groupmap.py
+21-33src/middlewared/middlewared/plugins/smb_/util_passdb.py
+461-42136 files not shown
+664-78842 files

pkgng/pkgng c963bd5 — libpkg pkg.c pkg_delete.c, libpkg/private pkg.h

delete: queue the directories and prune them in one pass

pkg_add_dir_to_del() scanned the queue for every file to keep only the
deepest directories, an invariant which was hard to read.  The paths are
queued with a flag telling whether rmdir_p() may walk up their parents,
and one pass on the list sorted deepest first keeps the deepest of those
and drops their ancestors, leaving the others alone.
DeltaFile
+74-26libpkg/pkg_delete.c
+29-6tests/lib/pkg_add_dir_to_del.c
+9-1libpkg/private/pkg.h
+3-1libpkg/pkg.c
+115-344 files