LLVM/project aa4455f — llvm/lib/Target/SPIRV SPIRVLegalizerInfo.cpp, llvm/test/CodeGen/SPIRV/llvm-intrinsics llrint.ll lrint.ll

[SPIRV] Add support for @llvm.lrint.* and @llvm.llrint.* intrinsics (#217618)

The SPIR-V legalizer had no rule for `G_INTRINSIC_LRINT` /
`G_INTRINSIC_LLRINT`, so `llc` aborted with "unable to legalize
instruction" on `llvm.lrint` and `llvm.llrint`. This uses the generic
lowering to `G_FRINT` + `G_FPTOSI`, which selects to OpenCL.std `rint`
(GLSL.std.450 `RoundEven` on Vulkan) followed by `OpConvertFToS`, the
same shape as the existing `lround` handling.

As with `lround` and `fptosi`, an out-of-range result goes through
`OpConvertFToS`, which is undefined behavior in SPIR-V, whereas LangRef
specifies `freeze poison` for lrint/llrint.

This PR was generated using AI
DeltaFile
+98-0llvm/test/CodeGen/SPIRV/llvm-intrinsics/llrint.ll
+98-0llvm/test/CodeGen/SPIRV/llvm-intrinsics/lrint.ll
+2-0llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
+198-03 files

LLVM/project b05a053 — llvm/lib/Target/SPIRV SPIRVInstructionSelector.cpp, llvm/test/CodeGen/SPIRV/llvm-intrinsics maxnum.ll minnum.ll

[SPIR-V] Drop nsz and reassoc from fmin/fmax selected for minnum/maxnum (#231767)

The selector copied every fast-math flag of `G_FMINNUM`/`G_FMAXNUM` onto
the fmin/fmax (NMin/NMax) `OpExtInst`, so `nsz` became `FPFastMathMode
NSZ` and `reassoc` became `Fast` (or a float_controls2 mask including
`NSZ`). SPIR-V NSZ treats the sign of a zero result as insignificant,
while LangRef requires nsz minnum/maxnum to keep the sign when both
operands are zeros of the same sign. Clear `nsz` and `reassoc` before
selecting these instructions; the `llvm.minimum`/`maximum` expansion
still reads `nsz` earlier in IR.

Fixes https://github.com/llvm/llvm-project/issues/231758

This PR was generated using AI
DeltaFile
+26-0llvm/test/CodeGen/SPIRV/llvm-intrinsics/minnum.ll
+11-1llvm/test/CodeGen/SPIRV/llvm-intrinsics/maxnum.ll
+4-0llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+41-13 files

LLVM/project 804041d — llvm/lib/Analysis TypeBasedAliasAnalysis.cpp, llvm/test/Transforms/SROA tbaa-field-coverage.ll

[TBAA] Preserve tags when an access ends within a field
DeltaFile
+15-2llvm/unittests/Analysis/TBAATest.cpp
+3-2llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
+2-2llvm/test/Transforms/SROA/tbaa-field-coverage.ll
+20-63 files

LLVM/project 57c50a4 — llvm/test/Transforms/SROA tbaa-field-coverage.ll tbaa-struct3.ll

[SROA] Consolidate and regenerate TBAA struct checks
DeltaFile
+39-6llvm/test/Transforms/SROA/tbaa-struct3.ll
+0-36llvm/test/Transforms/SROA/tbaa-field-coverage.ll
+39-422 files

LLVM/project 76b9535 — llvm/test/Transforms/SROA tbaa-field-coverage.ll

[SROA] Add TBAA field coverage test
DeltaFile
+36-0llvm/test/Transforms/SROA/tbaa-field-coverage.ll
+36-01 files

NetBSD/pkgsrc x5vUHzp — math/cadical3 distinfo Makefile, math/cadical3/patches patch-src_mobical.cpp

   Fix paths in patch-src_mobical.cpp, add TEST_TARGET.
VersionDeltaFile
1.2+3-3math/cadical3/patches/patch-src_mobical.cpp
1.4+2-2math/cadical3/distinfo
1.4+3-1math/cadical3/Makefile
+8-63 files

FreeBSD/ports f411d46 — audio/bambootracker Makefile

audio/bambootracker: Migrate to QT6

PR:             289517 (based on)
DeltaFile
+5-4audio/bambootracker/Makefile
+5-41 files

LLVM/project 26e34a7 — llvm/test/CodeGen/AMDGPU shufflevector.v2f16.v8f16.ll shufflevector.v2bf16.v8bf16.ll

[CodeGen] Model latency of inline asm outputs in ScheduleDAGInstrs (#244934)

Credits: @MaskRay

`addPhysRegDataDeps` treats defs beyond an instruction's fixed operands
as fake, with zero latency. `INLINEASM` has no fixed operands, so every
physical-register asm output gets zero latency, unlike the
virtual-register path.

Treat a def inside an inline asm operand group (outputs, including
fixed-register outputs, and clobbers) as a real def. Trailing
bookkeeping operands keep zero latency.

As a followup of #229764

Discussion originally provided by @MaskRay :
https://github.com/llvm/llvm-project/pull/229764#issuecomment-6940301539

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+933-1,031llvm/test/CodeGen/AMDGPU/shufflevector.v4f16.v4f16.ll
+933-1,031llvm/test/CodeGen/AMDGPU/shufflevector.v4bf16.v4bf16.ll
+891-989llvm/test/CodeGen/AMDGPU/shufflevector.v4i16.v4i16.ll
+880-978llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+652-750llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+652-750llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+4,941-5,529110 files not shown
+22,226-24,336116 files

FreeBSD/ports e28a7be — devel/py-multi_key_dict distinfo Makefile, devel/py-multi_key_dict/files patch-pyproject.toml

devel/py-multi_key_dict: Update to 2.0.4

Switch to PEP 517 build and patch pyproject.toml to work with the
setuptools in the ports tree.
DeltaFile
+19-0devel/py-multi_key_dict/files/patch-pyproject.toml
+5-3devel/py-multi_key_dict/Makefile
+3-3devel/py-multi_key_dict/distinfo
+27-63 files

FreeBSD/ports 0f588a4 — databases/py-pymysql Makefile distinfo

databases/py-pymysql: Update to 1.2.4

Fix SQL injection via escaping of sequence parameters when the
NO_BACKSLASH_ESCAPES SQL mode is enabled.

Changelog:      https://github.com/PyMySQL/PyMySQL/blob/v1.2.4/CHANGELOG.md

Security:       aa7e7798-a716-4e2f-807d-019f9c61af91
MFH:            2026Q4
(cherry picked from commit 6fc5f86a1929bfd71807148fbdda12935e4c28c9)
DeltaFile
+3-3databases/py-pymysql/distinfo
+1-1databases/py-pymysql/Makefile
+4-42 files

FreeBSD/ports 6fc5f86 — databases/py-pymysql Makefile distinfo

databases/py-pymysql: Update to 1.2.4

Fix SQL injection via escaping of sequence parameters when the
NO_BACKSLASH_ESCAPES SQL mode is enabled.

Changelog:      https://github.com/PyMySQL/PyMySQL/blob/v1.2.4/CHANGELOG.md

Security:       aa7e7798-a716-4e2f-807d-019f9c61af91
MFH:            2026Q4
DeltaFile
+3-3databases/py-pymysql/distinfo
+1-1databases/py-pymysql/Makefile
+4-42 files

FreeBSD/ports 81d2bec — security/vuxml/vuln 2026.xml

security/vuxml: Document PyMySQL Security Advisory 2026-11-09
DeltaFile
+34-0security/vuxml/vuln/2026.xml
+34-01 files

LLVM/project 95da78a — llvm/lib/Transforms/Instrumentation NumericalStabilitySanitizer.cpp, llvm/test/Instrumentation/NumericalStabilitySanitizer byval.ll

[nsan] Reset shadow of byval arguments at function entry (#245262)

Fixes #243120

**Problem:** 
The copy of a `byval` argument is put into stack memory for which the
caller never writes shadow values, and nsan's argument hand-off only
carries floating-point-typed arguments. The callee could then in some
cases read stale shadow left by earlier frames and report false
positives after other code has dirtied the same stack region.
See #243120 for more information.

**Solution**
Upon function entry, reset the shadow of each `byval` parameter to
unknown value. This way any future loads from it fall back to the native
value instead.

This is the conservative option: shadow precision of by-value aggregates
is lost on entry, so accumulated error inside such a struct is not

    [17 lines not shown]
DeltaFile
+32-0llvm/test/Instrumentation/NumericalStabilitySanitizer/byval.ll
+21-0llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
+53-02 files

LLVM/project d821c9c — llvm/lib/Target/PowerPC PPCInstrVSX.td, llvm/test/CodeGen/PowerPC f128-conv.ll

[PowerPC] Fix little-endian conversion of an unsigned word in a VSR to f128 (#242394)

On little-endian Power9, (f128 (uint_to_fp (i32 (PPCmfvsr f64:$src))))
was selected to xxextractuw with byte offset 8, which takes word element
2 of the VSR. The value is in word element 1, as used by mfvsrwz and by
the big-endian version of this pattern, because xscvdpuxws and similar
instructions write their result there in either endianness. The byte
numbering of xxextractuw does not depend on the endianness either.

For example, with clang -O2 -mcpu=power9 -mfloat128 on little-endian:

  __float128 f(double d) { return (unsigned)d; }

was compiled to:

  xscvdpuxws 0, 1
  xxextractuw 34, 0, 8
  xscvudqp 2, 2


    [4 lines not shown]
DeltaFile
+4-10llvm/lib/Target/PowerPC/PPCInstrVSX.td
+2-2llvm/test/CodeGen/PowerPC/f128-conv.ll
+6-122 files

LLVM/project db5e846 — clang/lib/CIR/CodeGen CIRGenExprScalar.cpp, clang/test/CIR/CodeGenHLSL vector-truncation.hlsl

[CIR] Fix VecExtract index type in Vec truncation cast (#246065)

Fix the index type in VecExtractOp to be size_t, not hard-coded s64i in
vector truncation cast
DeltaFile
+5-6clang/test/CIR/CodeGenHLSL/vector-truncation.hlsl
+3-1clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+8-72 files

FreeNAS/freenas cde1e19 — tests/api2 test_s3_config.py, tests/sharing_protocols/s3 test_s3_head_object.py test_s3_grants.py

NAS-145406 / 28.0.0-BETA.1 / Require NTS for S3 Object Lock only when require_nts is set (#20282)

s3d refused every time source without NTS, so on the default NTP servers
every object-locked bucket was read-only. Render require_nts into its
[server] section, and when the setting changes, restart S3 once chronyd
has selected a source again (up to 60 s).

Needs truenas_s3 with the [server] require_nts key.

27.1 backport notes:
- system.security.update: the S3 hook goes in plugins/security/update.py
through middleware.call; 27 has no plugins/security/config.py
- buckets.conf.mako, lifecycle.py: system.security.config and
service.query return dicts on 27, so read require_nts and state by key
- s3 conftest: keep 27's zfs.resource.destroy for the excluded bucket's
dataset in place of master's destroy_impl
- test_s3_buckets.py needs truenas_s3 NAS-145392 (404 for a bucket no
row holds), which is on its stable/27


    [3 lines not shown]
DeltaFile
+80-163tests/sharing_protocols/s3/test_s3_buckets.py
+42-152tests/sharing_protocols/s3/conftest.py
+31-133tests/sharing_protocols/s3/test_s3_bucket_lifecycle.py
+43-86tests/sharing_protocols/s3/test_s3_grants.py
+8-42tests/sharing_protocols/s3/test_s3_head_object.py
+34-0tests/api2/test_s3_config.py
+238-5765 files not shown
+289-57811 files

FreeBSD/src c7cd7e7 — share/man/man4 inet6.4, sys/netinet6 nd6_rtr.c in6_src.c

nd6: Add support for Optimistic DAD (RFC 4429)

Implement optimistic address based on RFC 4429.

Relnotes:       yes
Differential Revision: https://reviews.freebsd.org/D55229
DeltaFile
+51-21sys/netinet6/in6.c
+48-21sys/netinet6/nd6_nbr.c
+8-7sys/netinet6/nd6.c
+10-1share/man/man4/inet6.4
+4-2sys/netinet6/in6_src.c
+3-2sys/netinet6/nd6_rtr.c
+124-547 files not shown
+145-5513 files

LLVM/project 6c7c836 — clang/docs ReleaseNotes.md, clang/lib/CodeGen/TargetBuiltins ARM.cpp

[ARM][clang] Add _AddressOfReturnAddress for 32-bit Arm (#240575)

_AddressOfReturnAddress was not a builtin on 32-bit Arm, so a call to it
became a call to a function that doesn't exist, and the ARM backend
could not lower llvm.addressofreturnaddress. Add the builtin, as on
AArch64, and lower the intrinsic to the LR slot of the frame record, the
frame pointer + 4. So that this slot holds the return address, a function
that takes it spills LR even when it is a leaf, and on ELF Thumb-2 keeps
r7 and LR together.

Assisted-by: Claude Opus 5.5 (Anthropic)
DeltaFile
+58-0llvm/test/CodeGen/ARM/addressofreturnaddress.ll
+21-0llvm/lib/Target/ARM/ARMISelLowering.cpp
+6-0clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+4-1clang/test/CodeGen/ms-intrinsics.c
+2-0clang/docs/ReleaseNotes.md
+1-0llvm/lib/Target/ARM/ARMISelLowering.h
+92-11 files not shown
+93-17 files

OpenZFS/src 45312c1 — module/zfs dnode_sync.c

dnode_sync: Relax constraint on indirect freeing

One of the roles of the dnode sync thread is freeing.  There are two
modes of this operation: freeing a portion of an object, and freeing
the object itself.

Freeing is handled by `free_children()`.  This function verifies that
if the dnode has children there must be at least one marked as dirty
before proceeding to recursively free the tree of block pointers.

As described in a comment, this VERIFY is overly strict.  In practice,
children may not be marked as dirty when the dnode itself is being
freed.  Relax the VERIFY slightly by avoiding the VERIFY when indirect
blocks are to be immediately freed, to more closely match the comment
motivating the VERIFY.

While here, clarify the logic of the test by using VERIFY_IMPLY instead
of chaining multiple tests.


    [4 lines not shown]
DeltaFile
+6-3module/zfs/dnode_sync.c
+6-31 files

LLVM/project 93f8004 — clang/unittests/CodeGen QualTypeMapperTest.cpp, llvm/include/llvm/ABI Types.h

[ABI][AARCH64][NFC] Make SveCount a unique type (#245767)

The LLVM ABI library previously modeled SveCount (the AArch64
predicate-as-counter type) as a vector with a special kind to
distinguish it. Upon further reflection, this seems to have been a bad
choice as this type has almost no overlap with other vector types apart
from the fact that it occupies a predicate register.

This change separates SveCount as a separate type in the ABI library.
The classification and the LLVM IR type to which it is mapped remain
unchanged.

Assisted-by: Cursor / various models
DeltaFile
+23-15llvm/include/llvm/ABI/Types.h
+13-9clang/unittests/CodeGen/QualTypeMapperTest.cpp
+8-8llvm/unittests/ABI/TypesTest.cpp
+7-7llvm/lib/ABI/Targets/AArch64.cpp
+6-6llvm/unittests/ABI/AArch64TargetInfoTest.cpp
+2-4llvm/unittests/ABI/IRTypeMapperTest.cpp
+59-494 files not shown
+67-5510 files

DragonFlyBSD/src 3ee2330 — sys/cpu/x86_64/include atomic.h cpumask.h, sys/platform/pc64/apic apic_vector.s

kernel - Make stop_cpus()/restart_cpus() much more reliable

* Wait for cpus to not be inside an interrupt or to be initiating a
  TLB shootdown while stopping them.  This is better than trying to
  fixup causes where the stop interrupts special interrupts (or any
  interrupt, really).

  Note that in DragonFly, stopped CPUs are still allowed to take
  interrupts.  We do not completely crowbar the CPU while it is
  stopped, that just creates too many problems.

* Make DDB and crash-dump entry a lot more reliable.

* With analysis and testing by claude.  However, we didn't really
  use the primary recommendations and instead did it a slightly
  different way.

Reported-by: tuxillo
Debugging-by: tuxillo
Bug: https://bugs.dragonflybsd.org/issues/3475
DeltaFile
+70-13sys/platform/pc64/x86_64/mp_machdep.c
+29-0sys/platform/pc64/apic/apic_vector.s
+7-0sys/cpu/x86_64/include/cpumask.h
+3-0sys/platform/pc64/x86_64/global.s
+3-0sys/cpu/x86_64/include/atomic.h
+1-0sys/platform/pc64/x86_64/genassym.cf
+113-136 files

LLVM/project 6c65461 — llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[SLP][AArch64]Fix spill cost of bundles hoisted above external users

The scheduler places a bundle above its scalar users in the block, but
the spill cost used the last bundle instruction and missed the calls in
between. The AArch64 keep-live cost also counts every 128-bit part of
wider vectors.

| Benchmark | Base (s) | Run 1, 2 passes | Confirm run, 2 iterations |
|---|---|---|---|
| 508.namd_r | 126.3 | -2.21% [-3.5..-0.9] | -2.14% [-3.7..-0.6] |
| 523.xalancbmk_r | 151.4 | -1.39% [-1.8..-1.0] | -2.50% [-3.1..-1.9] |
| 722.palm_r | 194.3 | +0.78% [-0.7..+2.3] | +0.30% [-0.7..+1.3] |
| 710.omnetpp_r | 124.4 | +0.42% [-0.1..+1.0] | -0.22% [-1.5..+1.1] |
| 777.zstd_r | 212.0 | +0.40% [-0.0..+0.8] | -0.21% [-0.7..+0.3] |

Assisted-by: Cursor

Pull-request: https://github.com/llvm/llvm-project/pull/241937
Reviewers: RKSimon, bababuck, john-brawn-arm
Reviewed-by: bababuck, john-brawn-arm
DeltaFile
+179-40llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+86-59llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-hoisted-external-user.ll
+9-4llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+274-1033 files

LLVM/project 941f0a5 — clang/test/OpenMP target_teams_generic_loop_codegen_as_parallel_for.cpp nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp

[Clang][OpenMP] Fix static,1 inner loop bound (#239868)

The inner loop of a combined distribute parallel for compared its
iteration variable directly with .previous.ub., whose parameter type is
uintptr_t. This could widen a signed i32 iteration variable to i64 and
make the comparison unsigned.

Reuse the existing conversion of .previous.ub. to the loop upper-bound
type when building the inner-loop condition. Update the affected OpenMP
codegen checks and add a focused test for signed and unsigned i32 loops.

Assisted by gpt-6.
DeltaFile
+52-52clang/test/OpenMP/nvptx_SPMD_codegen.cpp
+23-23clang/test/OpenMP/nvptx_target_teams_generic_loop_codegen.cpp
+23-23clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
+30-0clang/test/OpenMP/distribute_parallel_for_bound_type_codegen.c
+9-9clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
+6-6clang/test/OpenMP/target_teams_generic_loop_codegen_as_parallel_for.cpp
+143-1135 files not shown
+157-12611 files

LLVM/project cf3a679 — clang/lib/CodeGen CGOpenMPRuntime.cpp

Fix review comments
DeltaFile
+15-14clang/lib/CodeGen/CGOpenMPRuntime.cpp
+15-141 files

LLVM/project e2aaada — .github CODEOWNERS, mlir Maintainers.md

[mlir] Add @FedericoBruzzone as a co-maintainer of `Vector` (#245162)

Since starting his upstream involvement earlier this year, Federico has
become a very active and recognisable contributor to `Vector` (PRs,
reviews, RFCs).

From the beginning, Federico's `Vector` interests extended beyond his
own PRs. Indeed, he has reviewed 4 times as many PRs as he has submitted
himself! In addition, he has been putting a lot of effort into tracking
`Vector` activity on GitHub (there's been a lot). See e.g.:
  * https://github.com/llvm/llvm-project/issues/235708

This PR simply formalises what Fede has already been doing informally.
DeltaFile
+7-7.github/CODEOWNERS
+1-1mlir/Maintainers.md
+8-82 files

LLVM/project f714c3e — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/CodeGen/AMDGPU memintrinsic-unroll.ll

Rebase

Created using spr 2.0.0-beta.1
DeltaFile
+4,870-4,906llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+11-7,563mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+3,141-3,182llvm/test/CodeGen/RISCV/clmul.ll
+1,775-1,779llvm/test/CodeGen/RISCV/wide-scalar-shift-by-byte-multiple-legalization.ll
+1,903-1,342llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,560-1,560llvm/test/CodeGen/RISCV/nontemporal.ll
+13,260-20,3325,015 files not shown
+193,195-130,6235,021 files

LLVM/project 2efa6fc — clang/test/OpenMP dims_modifier_codegen.cpp

Add codegen test
DeltaFile
+14,789-0clang/test/OpenMP/dims_modifier_codegen.cpp
+14,789-01 files

LLVM/project 312face — clang/lib/CodeGen CGOpenMPRuntime.h CGOpenMPRuntime.cpp

[Clang][OpenMP] Update OpenMP CodeGen to support dims modifier
DeltaFile
+240-165clang/lib/CodeGen/CGOpenMPRuntime.cpp
+14-12clang/lib/CodeGen/CGOpenMPRuntime.h
+254-1772 files

LLVM/project 4230df2 — mlir/docs/Dialects SPIR-V.md, mlir/lib/Target/SPIRV/Deserialization Deserializer.h DeserializeOps.cpp

[mlir][SPIR-V] Deserialize constant composites with OpUndef constituents (#245516)

spirv.Constant cannot hold undef values, so build such vectors, arrays
and structs with spirv.CompositeConstruct at each use
DeltaFile
+62-0mlir/test/Target/SPIRV/constant-composite-undef.spvasm
+52-3mlir/unittests/Dialect/SPIRV/DeserializationTest.cpp
+26-2mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
+19-0mlir/lib/Target/SPIRV/Deserialization/DeserializeOps.cpp
+8-0mlir/lib/Target/SPIRV/Deserialization/Deserializer.h
+5-2mlir/docs/Dialects/SPIR-V.md
+172-76 files

LLVM/project 13c4e8b — mlir/include/mlir/Dialect/SPIRV/IR SPIRVMemoryOps.td, mlir/lib/Dialect/SPIRV/IR SPIRVCanonicalization.cpp MemoryOps.cpp

[mlir][SPIR-V] Support untyped pointers in Load and Store (#245255)
DeltaFile
+73-19mlir/lib/Dialect/SPIRV/IR/MemoryOps.cpp
+34-2mlir/test/Dialect/SPIRV/IR/memory-ops.mlir
+26-0mlir/test/Dialect/SPIRV/Transforms/canonicalize.mlir
+14-6mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMemoryOps.td
+11-0mlir/test/Target/SPIRV/untyped-pointers.mlir
+6-2mlir/lib/Dialect/SPIRV/IR/SPIRVCanonicalization.cpp
+164-291 files not shown
+165-297 files