LLVM/project f747419 — llvm/include/llvm/CodeGen AsmPrinter.h, llvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp

[AsmPrinter] Emit !pcsections auxiliary data after each PC (#243020)

PCSectionsMetadata.md specifies that the auxiliary constants follow each
emitted PC. emitPCSections instead grouped all instructions of a
function that share one MDNode, emitted their PCs, and then the
auxiliary data once, producing records like [pc1][pc2][aux] that a
reader cannot split. This happens whenever an instruction carrying
!pcsections with auxiliary data is duplicated within a function, e.g.
when the same callee is inlined twice.

Emit one complete record per instruction. No in-tree producer attaches
auxiliary data to instructions, so their output is unchanged.

Also use a MapVector for PCSectionsSymbols: iterating a DenseMap keyed
by pointer made the order of records depend on pointer values, and the
object file nondeterministic.

A node that requests the same section twice emits one record per
request; add a test for that.

Assisted-by: Antigravity
DeltaFile
+63-49llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+51-0llvm/test/CodeGen/X86/pcsections.ll
+1-1llvm/include/llvm/CodeGen/AsmPrinter.h
+115-503 files

LLVM/project 4b07030 — mlir/test/Dialect/Vector vector-unroll-options.mlir

[mlir][vector][unroll] Remove redundant RUN and CHECK lines (nfc) (#243460)

* No RUN line with `check-prefix=UNROLL` was specified, hence removing
  the corresponding "check" lines (e.g. `UNROLL-LABEL`).
* The RUN line with "unroll-order=0,3,1,2" and "--check-prefix=BATCHED"
  only applied to one example (`@vector_contract_batched`). No unroll
  _order_ was not verified for that test, hence specifying it was
  redundant.

Part of #233408
DeltaFile
+0-13mlir/test/Dialect/Vector/vector-unroll-options.mlir
+0-131 files

LLVM/project 9bfba6d — llvm/docs AMDGPUUsage.md

fix comments: multiple addr spaces, and "if and only if"
DeltaFile
+6-5llvm/docs/AMDGPUUsage.md
+6-51 files

LLVM/project 5cff417 — lld/COFF Driver.h Driver.cpp, lld/test/COFF print-search-paths.s print-search-paths-arm64.s

[lld][COFF] Add per-target runtime directories to library search path (#227744)

Currently when -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=On, lld can't find
clang_rt or flang_rt. This patch fixes this issue by adding the
per-target runtime directories to the search path. This change only
affects -msvc triples; in the mingw case the compiler driver handles
calling the linker and adding the correct library paths itself.
DeltaFile
+35-0lld/COFF/Driver.cpp
+23-0lld/test/COFF/print-search-paths-arm.s
+4-2lld/test/COFF/print-search-paths-arm64.s
+3-0lld/test/COFF/print-search-paths.s
+2-0lld/COFF/Driver.h
+67-25 files

FreeBSD/ports 47d0e5b — converters/dejapdf Makefile distinfo

converters/dejapdf: update: 1.0.72 -> 1.1.79
DeltaFile
+3-3converters/dejapdf/distinfo
+1-1converters/dejapdf/Makefile
+4-42 files

LLVM/project 1adad10 — mlir/include/mlir/Bytecode BytecodeImplementation.h, mlir/lib/Bytecode/Reader BytecodeReader.cpp

[mlir][bytecode] Allow custom encodings for mutable types (#229910)

A mutable type can refer to itself, so the reader needs somewhere to put
the incomplete type while its body is still being read. Add
DialectBytecodeReader::tryStartCyclicRead, the bytecode analogue of
AsmParser::tryStartCyclicParse: the dialect publishes the incomplete
type before reading the body, and a nested reference back to the same
entry resolves to it instead of recursing. Entries that were only
answered with a partial are completed through the deferred worklist
afterwards.

The writer and numbering passes drop the IsMutable exclusion for types.
Mutable attributes still fall back, there is no attribute-side analogue
yet.

This is needed in order to implement bytecode support for `cir.record`
(not part of this PR). We've been using it downstream for CIR for a
couple months now (selfhosting clang with it, linking with our custom
CIR linker, etc)
DeltaFile
+159-14mlir/lib/Bytecode/Reader/BytecodeReader.cpp
+75-0mlir/test/Bytecode/recursive_type.mlir
+22-21mlir/lib/Bytecode/Writer/IRNumbering.cpp
+42-1mlir/test/lib/Dialect/Test/TestDialectInterfaces.cpp
+26-0mlir/include/mlir/Bytecode/BytecodeImplementation.h
+11-6mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
+335-426 files

LLVM/project 4f743c2 — libc/test/src/wchar swprintf_test.cpp, llvm/test/CodeGen/X86 clmul-vector.ll

Merge branch 'main' into users/zero9178/nvvm-dialect-op-partitions

# Conflicts:
#       mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
DeltaFile
+2,239-2,237llvm/test/tools/llvm-mca/AArch64/Cortex/A53-neon-instructions.s
+3,137-5libc/test/src/wchar/swprintf_test.cpp
+1,538-1,476llvm/test/CodeGen/X86/clmul-vector.ll
+1,495-1,493llvm/test/tools/llvm-mca/AArch64/Cortex/A53-basic-instructions.s
+2,496-0offload/libomptarget/src/omptarget.cpp
+0-2,494offload/libomptarget/omptarget.cpp
+10,905-7,7052,089 files not shown
+83,602-47,0422,095 files

LLVM/project 1286c3c — llvm/lib/Transforms/IPO FunctionAttrs.cpp

[FunctionAttrs][NFC] Skip computing initializes if an exit is reachable without writes (#241973)

When the argument is written outside the entry block, `inferInitializes`
computes initialized ranges for every block, but the entry block's
result is empty if a path from it reaches an exit without a write, which
is common. Check for such a path first. Also checked by differential
fuzzing on random CFGs.

`opt -passes='default<O3>'` instructions on CTMark bitcode: sqlite3
-0.14%, SPASS -0.17%.

Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
Assisted-by: Claude Opus 5.5
DeltaFile
+25-0llvm/lib/Transforms/IPO/FunctionAttrs.cpp
+25-01 files

FreeBSD/src 7c743e3 — tests/sys/pmc/amd pmcstat_ibs_test.sh pmu_perfmonv2_test.c

tests/sys/pmc/amd: add IBS, row allocation, PerfEvtSel and PerfMonV2 tests

- pmc_ibs_test: the IBS class.
- pmc_ibs_fetch_op_test: Fetch and Op together (572cd669d6) and IBS
  interrupt accounting (c97cea955f).
- pmcstat_ibs_test: pmcstat records and replays IBS samples.
- pmc_rowalloc_test: core row allocation.
- pmc_start_msr_test: PerfEvtSel.En and PerfCntrGlobalCtl after pmc_start().
- pmu_perfmonv2_test: the PerfMonV2 global-control path.
- amd_pmc_test_common.h: also match the AMD-<n> row names of D60100.

Reviewed by:    mhorne
Sponsored by:   Advanced Micro Devices, Inc.
Signed-off-by:  Osvaldo Janeri Filho <ojanerif at amd.com>
Signed-off-by:  Davi C.A <davi.chavesazevedo at amd.com>
Differential Revision:  https://reviews.freebsd.org/D61063
DeltaFile
+502-0tests/sys/pmc/amd/pmc_ibs_test.c
+338-0tests/sys/pmc/amd/pmc_ibs_fetch_op_test.c
+286-0tests/sys/pmc/amd/pmc_rowalloc_test.c
+264-0tests/sys/pmc/amd/pmc_start_msr_test.c
+186-0tests/sys/pmc/amd/pmu_perfmonv2_test.c
+64-0tests/sys/pmc/amd/pmcstat_ibs_test.sh
+1,640-02 files not shown
+1,669-58 files

LLVM/project 096f256 — llvm/lib/Transforms/IPO AttributorAttributes.cpp, llvm/test/Transforms/Attributor memory-location-writable.ll

[Attributor] Drop writable when AAMemoryLocation manifests no argmem writes (#241968)

`AAMemoryLocation` ignores stack memory, so a function that only stores
its writable argument into an `alloca` can get `memory(none)` while
keeping `writable`, which fails the verifier. Like `FunctionAttrs`, drop
writable when the function doesn't write argument memory.

Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
Assisted-by: Claude Opus 5.5
DeltaFile
+28-0llvm/test/Transforms/Attributor/memory-location-writable.ll
+7-0llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+35-02 files

LLVM/project 96cea64 — mlir/docs Remarks.md, mlir/include/mlir/IR Remarks.h

[mlir] Index remark queries by location (#243011)

Use exact-location indexes for `RemarkQuery::at(loc)` instead of
scanning every pending and emitted remark. Other filters apply within
the selected bucket; queries without a location retain the full scan.

History builds and extends its index only on location queries. Final
builds its pending index on the first location query of each batch.
Stable owned remarks preserve indexed addresses across replacement and
set growth. Existing custom policy visitors work through a filtering
fallback.

Validation: assertions and `-Werror` build; 230 IR and 12 remark unit
tests; C API and pass remark lit tests; clang-format on changed lines.
Tests cover growth, replacement, history resets, custom policies, and
concurrent location queries.

Local microbenchmark: 50k distinct locations, two reports per location,
500 repeated queries (median of three runs; harness and `Remarks.cpp` at

    [13 lines not shown]
DeltaFile
+102-1mlir/unittests/IR/RemarkTest.cpp
+70-13mlir/lib/IR/Remarks.cpp
+36-3mlir/include/mlir/IR/Remarks.h
+5-2mlir/docs/Remarks.md
+213-194 files

LLVM/project fdebcc1 — llvm/test/Transforms/SLPVectorizer/AArch64 icmp-copyable-constant-lane.ll

[SLP][NFC]Add extra test for copyable i1 constants, NFC

Pull-request: https://github.com/llvm/llvm-project/pull/243483
DeltaFile
+168-0llvm/test/Transforms/SLPVectorizer/AArch64/icmp-copyable-constant-lane.ll
+168-01 files

OPNSense/core 21ce572 — src/opnsense/mvc/app/views/OPNsense/Firewall schedule.volt

Firewall: Schedules: We dont need our own reload handler
DeltaFile
+2-3src/opnsense/mvc/app/views/OPNsense/Firewall/schedule.volt
+2-31 files

NetBSD/pkgsrc-wip 15dd1f9 — ap2-passenger Makefile, mk luarocks.mk

*: pass make-jobs argument to rake

otherwise rake will use all CPUs
DeltaFile
+2-2ruby-passenger/Makefile
+1-1mk/luarocks.mk
+1-1ap2-passenger/Makefile
+4-43 files

FreeNAS/freenas dd879f7 — src/middlewared/middlewared/alembic/versions/27.1 2026-11-17_13-45_merge.py

Merge alembic heads for API key name strip

Revision ac2610fcbe38 in the 27.0 branch is a second head next to da5e4232c6ca.
Revision 78cd0350b141 merges the two heads.
DeltaFile
+22-0src/middlewared/middlewared/alembic/versions/27.1/2026-11-17_13-45_merge.py
+22-01 files

FreeNAS/freenas 8375ce8 — src/middlewared/middlewared/api/v27_1_0 api_key.py

Strip leading/trailing whitespaces from API key names in the 27.1.0 API
DeltaFile
+5-3src/middlewared/middlewared/api/v27_1_0/api_key.py
+5-31 files

LLVM/project 766b112 — llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-mul-parts-acc-fold.ll

[RISCV][P-ext] Avoid folding byte multiply-parts into accumulate (#243005)

Currently `combineAddMulParts` folds multiply-parts intrinsics into
their accumulating forms without checking the input element width. For
byte inputs, this creates an unsupported accumulate intrinsic, causing
instruction selection failures or a type legalization assertion on RV64.

This commit fixes the problem by bailing out of the combine for
byte-width inputs, leaving the multiply and packed add operations
separate.

Closes #243004
DeltaFile
+86-0llvm/test/CodeGen/RISCV/rvp-mul-parts-acc-fold.ll
+9-5llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+95-52 files

OPNSense/core 22d87d5 — src/opnsense/mvc/app/models/OPNsense/Core/ACL ACL.xml

Firewall: Schedules: Remove separate edit ACL
DeltaFile
+0-8src/opnsense/mvc/app/models/OPNsense/Core/ACL/ACL.xml
+0-81 files

LLVM/project 79acbf4 — offload/liboffload/plugins/amdgpu/src rtl.cpp, offload/liboffload/plugins/common/include PluginInterface.h

[Offload][NFC] Move plugins under liboffload

Liboffload is the only library calling the plugins directly now, so move
the code inside it to reflect this change.

Also, adjust the CMake targets to also reflect this change by moving
from omptarget prefixes to LLVMOffload ones.

Assisted by Claude.
DeltaFile
+0-4,979offload/plugins-nextgen/amdgpu/src/rtl.cpp
+4,979-0offload/liboffload/plugins/amdgpu/src/rtl.cpp
+0-1,980offload/plugins-nextgen/cuda/src/rtl.cpp
+1,980-0offload/liboffload/plugins/cuda/src/rtl.cpp
+0-1,709offload/plugins-nextgen/common/include/PluginInterface.h
+1,709-0offload/liboffload/plugins/common/include/PluginInterface.h
+8,668-8,668117 files not shown
+23,237-23,234123 files

LLVM/project 4cb0029 — llvm/docs AMDGPUAsyncOperations.md

canonical description of multicast loads
DeltaFile
+1-1llvm/docs/AMDGPUAsyncOperations.md
+1-11 files

OPNSense/core 19a77b6 — src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes ScheduleListField.php

Firewall: Schedules: Actively reject any minutes that do not end in 0,15,30,45,59
DeltaFile
+5-3src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/ScheduleListField.php
+5-31 files

OpenBSD/ports xMmscEc — math/py-pandas distinfo Makefile, math/py-pandas/pkg PLIST

   update to py3-pandas-3.1.1
VersionDeltaFile
1.18+102-21math/py-pandas/pkg/PLIST
1.43+5-7math/py-pandas/Makefile
1.18+2-2math/py-pandas/distinfo
+109-303 files

OpenBSD/ports 0UMvHgG — math/py-numexpr distinfo Makefile, math/py-numexpr/patches patch-numexpr_tests_test_numexpr_py

   update to py3-numexpr-2.14.2
VersionDeltaFile
1.1+19-0math/py-numexpr/patches/patch-numexpr_tests_test_numexpr_py
1.31+5-4math/py-numexpr/Makefile
1.10+6-1math/py-numexpr/pkg/PLIST
1.7+2-2math/py-numexpr/distinfo
+32-74 files

OpenBSD/ports GWV0kwg — net/librenms distinfo Makefile, net/librenms/patches patch-resources_definitions_config_definitions_json patch-LibreNMS_Util_Binaries_php

   update to librenms-26.11.0
VersionDeltaFile
1.10+1,717-851net/librenms/pkg/PLIST-main
1.44+27-16net/librenms/patches/patch-daily_sh
1.1+13-0net/librenms/patches/patch-LibreNMS_Util_Binaries_php
1.241+5-5net/librenms/Makefile
1.166+4-4net/librenms/distinfo
1.14+1-1net/librenms/patches/patch-resources_definitions_config_definitions_json
+1,767-8774 files not shown
+1,768-87810 files

FreeBSD/src 98b0b0a — tests/sys/pmc pmc_callchain_ur_test.sh

tests/sys/pmc: Pass pmcstat -n before -P in pmc_callchain_ur_test

pmcstat -n sets the sampling rate only for the sampling PMCs that follow
it on the command line.  pmc_callchain_ur_test passed it after -P, so
UR_RATE was never applied and the PMC sampled at the default rate from
pmc_pmu_sample_rate_get(): 65536 on AMD, and 2000003 for
inst_retired.any on Intel, about 20 times fewer samples than intended.

Move -n ahead of -P in both pmcstat invocations.

Reported by:    llm-postcr
Reviewed by:    mhorne
Fixes:          546a76463123
Sponsored by:   Advanced Micro Devices, Inc.
Signed-off-by:  Osvaldo Janeri Filho <ojanerif at amd.com>
Differential Revision:  https://reviews.freebsd.org/D61458
DeltaFile
+2-2tests/sys/pmc/pmc_callchain_ur_test.sh
+2-21 files

FreeBSD/src c1b40aa — tests/sys/pmc pmc_cli_test.sh, tests/sys/pmc/amd pmc_frontend_test.sh

pmc: Exit with EX_OK when the pmc record time limit ends the capture

cmd_pmc_record() stores the return value of kevent() in status, which
is also its exit status.  When the -t time limit elapses, the
EVFILT_TIMER branch jumps to done with status still holding kevent()'s
result, 1, so a timed recording exits with status 1, while one
interrupted with SIGINT exits with EX_OK.

Keep kevent()'s return value in its own variable and start status at
EX_OK.  The kevent() failure and unknown signal cases called err() and
exited without stopping and releasing the PMCs; set status to EX_OSERR
and go through done instead, as the SIGIO case does.

pmc_cli_test and amd/pmc_frontend_test accepted status 1 to work around
this; make them require 0.

Reported by:    llm-postcr
Reviewed by:    mhorne
Fixes:          a79a051e7d16 ("pmc: pmc record command")

    [3 lines not shown]
DeltaFile
+22-11usr.sbin/pmc/cmd_pmc_record.cc
+1-7tests/sys/pmc/pmc_cli_test.sh
+1-3tests/sys/pmc/amd/pmc_frontend_test.sh
+24-213 files

FreeBSD/src a1100e7 — tests/sys/pmc pmcstat_tsc_test.sh pmc_cli_test.sh, tests/sys/pmc/amd pmc_frontend_test.sh

tests/sys/pmc: Keep atf_fail reasons on a single line

Several tests put the output of pmc record, pmc info or pmcstat into the
atf_fail reason.  That output spans several lines, and ATF reports a
multi-line reason as a broken test instead of a failed one, with the
captured output mangled into the error.

Copy the output to stderr, where kyua keeps it in the report, and use a
single-line reason.

Reviewed by:    mhorne
Fixes:          546a76463123 ("tests/sys/pmc: add pidtrack, callchain, ...")
Sponsored by:   Advanced Micro Devices, Inc.
Signed-off-by:  Osvaldo Janeri Filho <ojanerif at amd.com>
Differential Revision:  https://reviews.freebsd.org/D61459
DeltaFile
+6-3tests/sys/pmc/pmc_cli_test.sh
+4-2tests/sys/pmc/amd/pmc_frontend_test.sh
+2-1tests/sys/pmc/pmcstat_tsc_test.sh
+12-63 files

FreeNAS/freenas 4e0b62d — src/middlewared/middlewared/alembic/versions/28.0 2026-11-17_13-46_merge.py, src/middlewared/middlewared/api/v28_0_0 api_key.py

Merge the 27.1 API key migration head into master

Revision 78cd0350b141 from the 27.1 branch is a second head next to b1c68df7d8a1.
Revision a63aa16e89f1 merges the two heads.
DeltaFile
+22-0src/middlewared/middlewared/alembic/versions/28.0/2026-11-17_13-46_merge.py
+2-1src/middlewared/middlewared/api/v28_0_0/api_key.py
+24-12 files

LLVM/project f408598 — llvm/test/CodeGen/AMDGPU amdgpu-cs-chain-cc.ll, llvm/test/CodeGen/MIR/AMDGPU machine-function-info.ll

Fix tests after merge
DeltaFile
+6-6llvm/test/CodeGen/AMDGPU/amdgpu-cs-chain-cc.ll
+2-2llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
+8-82 files

FreeNAS/freenas 7da16c5 — src/middlewared/middlewared/alembic/versions/27.1 2026-11-17_13-45_merge.py

Merge alembic heads for API key name strip

Revision ac2610fcbe38 in the 27.0 branch is a second head next to da5e4232c6ca.
Revision 78cd0350b141 merges the two heads.
DeltaFile
+22-0src/middlewared/middlewared/alembic/versions/27.1/2026-11-17_13-45_merge.py
+22-01 files