LLVM/project dd29183llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp SelectionDAG.cpp, llvm/test/CodeGen/X86 combine-umax.ll combine-umin.ll

[DAG] Allow MIN/MAX signedness flip when operands are known-negative (#174469)

Extend the existing DAGCombine logic in visitIMINMAX so that signed and
unsigned MIN/MAX can be flipped not only when both operands are known
non-negative but also when both operands are known negative. This
replaces the old SignBitIsZero checks with computeKnownBits and explicit
tests for non-negative or negative operands while keeping all existing
legality and saturation gating in place. Add regression tests to cover
both the known-negative case and the known-non-negative case.

Fixes #174325
DeltaFile
+48-0llvm/test/CodeGen/X86/combine-umax.ll
+48-0llvm/test/CodeGen/X86/combine-umin.ll
+47-0llvm/test/CodeGen/X86/combine-smin.ll
+47-0llvm/test/CodeGen/X86/combine-smax.ll
+22-12llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+15-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+227-121 files not shown
+232-127 files

LLVM/project e9e0206llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass.ll

InstCombine: Improve single-use fneg(fabs(x)) SimplifyDemandedFPClass handling

Match the multi-use case's logic for understanding no-nan/no-inf context.
Also only apply the nsz handling in the single use case. alive2 seems to treat
nsz as nondeterministic for each use.
DeltaFile
+248-12llvm/test/Transforms/InstCombine/simplify-demanded-fpclass.ll
+73-19llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+321-312 files

LLVM/project 99bb664clang/test/CodeGenObjC expose-direct-method-cross-linkage.m

Add linking tests
DeltaFile
+175-0clang/test/CodeGenObjC/expose-direct-method-cross-linkage.m
+175-01 files

LLVM/project c887cd2llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/CodeGen/PowerPC vector-popcnt-128-ult-ugt.ll

Rebase prior to landing

Created using spr 1.3.5
DeltaFile
+84,445-80,574llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+26,294-24,884llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+22,442-22,438llvm/test/CodeGen/PowerPC/vector-popcnt-128-ult-ugt.ll
+40,677-0llvm/test/CodeGen/RISCV/rvv/nontemporal-vp-scalable.ll
+17,545-20,831llvm/test/CodeGen/X86/wide-scalar-shift-by-byte-multiple-legalization.ll
+25,714-0llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-cluster.ll
+217,117-148,72738,354 files not shown
+3,688,200-1,396,78338,360 files

LLVM/project 18695b2llvm/docs AIToolPolicy.md DeveloperPolicy.rst

[docs] Add human-in-the-loop policy for tool-assisted contributions (#154441)

Over the course of 2025, we observed an increase in the volume of
LLM-assisted nuisance contributions to the project. Nuisance
contributions have always been an issue for open-source projects, but
until LLMs, we made do without a formal policy banning such
contributions. However, LLMs are here, so we are adopting this policy,
abbreviated as "human in the loop", which requires that every
contribution has a human author attesting to the value of that
contribution, and that it is high enough quality that it is worth the
time it takes to review the contribution.

This policy evolved over time based on community input from the
following Discourse threads and a few area team and LLVM project council
meetings:
* [Our AI policy vs code of conduct and vs
reality](https://discourse.llvm.org/t/our-ai-policy-vs-code-of-conduct-and-vs-reality/88300)
* [[RFC] LLVM AI tool policy: start small, no slop](https://discourse.llvm.org/t/rfc-llvm-ai-tool-policy-start-small-no-slop/88476)
* [[RFC] LLVM AI tool policy: human in the

    [5 lines not shown]
DeltaFile
+181-0llvm/docs/AIToolPolicy.md
+1-26llvm/docs/DeveloperPolicy.rst
+1-0llvm/docs/Reference.rst
+183-263 files

FreeBSD/src d836daesys/netgraph/netflow netflow_v9.c

ng_netflow v9: fix template re-announcement using packet count

Increment fe->sent_packets after export9_send().
Previously, NetFlow v9 templates were only re-announced based on
time, ignoring the packet count parameter (`templ_packets`).

PR:             270083
Reviewed by:    glebius pouria
Approved by:    glebius (mentor)
MFC after:      1 week
Sponsored by:   Subcarpathian BSD User Group
DeltaFile
+1-0sys/netgraph/netflow/netflow_v9.c
+1-01 files

FreeBSD/ports fe8dd9ddevel/libgsf distinfo Makefile

devel/libgsf: update to 1.14.55

PR:             292461
DeltaFile
+3-3devel/libgsf/distinfo
+1-1devel/libgsf/Makefile
+4-42 files

LLVM/project 5239c5cllvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

InstCombine: Fix duplicated code in SimplifyDemandedFPClass fabs handling (#176442)

2b03d68398819fe3608c680d6c25aa9d5a043c03 factored this into a function
and used from the new place, but forgot to delete the old code from
the original location.
DeltaFile
+4-15llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+4-151 files

FreeBSD/ports ac2e515deskutils/tatuin distinfo Makefile.crates, deskutils/tatuin/files patch-Cargo.toml

deskutils/tatuin: Update 0.25.2 => 0.26.0

Changelogs:
* https://github.com/panter-dsd/tatuin/releases/tag/v0.26.0
* https://github.com/panter-dsd/tatuin/compare/v0.25.2...v0.26.0

Approved by:    db@, yuri@ (Mentors, implicit)
DeltaFile
+249-161deskutils/tatuin/distinfo
+124-80deskutils/tatuin/Makefile.crates
+6-6deskutils/tatuin/files/patch-Cargo.toml
+1-1deskutils/tatuin/Makefile
+380-2484 files

FreeBSD/src 1d819aa. .mailmap

mailmap: translate siva@'s personal email

Reviewed by:            lwhsu
Approved by:            lwhsu (mentor)
Differential Revision:  https://reviews.freebsd.org/D54744
DeltaFile
+1-0.mailmap
+1-01 files

FreeBSD/src 33f2f30share/misc committers-src.dot

committers-src: add myself (siva@)

Reviewed by:            lwhsu
Approved by:            lwhsu (mentor)
Differential Revision:  https://reviews.freebsd.org/D54744
DeltaFile
+3-0share/misc/committers-src.dot
+3-01 files

LLVM/project f29a412llvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

Fix an operand.
DeltaFile
+5-7llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+5-71 files

LLVM/project 0f5e594llvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

Remove invalid cases.
DeltaFile
+2-23llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+2-231 files

LLVM/project f0c583cllvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s, llvm/test/MC/Disassembler/AMDGPU gfx11_dasm_vop3_dpp8.txt

Round-trip.
DeltaFile
+480-1,892llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp8.txt
+44-22llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+524-1,9142 files

LLVM/project 8af2acfllvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

Name the defs.
DeltaFile
+129-135llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+129-1351 files

LLVM/project 2d51082llvm/test/MC/Disassembler/AMDGPU gfx11_dasm_vop3_dpp8-fake16.txt gfx11_dasm_vop3_dpp8.txt

Rename gfx11_dasm_vop3_dpp8.txt -> gfx11_dasm_vop3_dpp8-fake16.txt
DeltaFile
+3,157-0llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp8-fake16.txt
+0-3,157llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp8.txt
+3,157-3,1572 files

LLVM/project 6826d94llvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

Compact <_18>.
DeltaFile
+33-21llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+33-211 files

LLVM/project 1a39359llvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

Compact defs.
DeltaFile
+64-109llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+64-1091 files

LLVM/project 45316fdllvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

Update <_20> to follow the pattern.
DeltaFile
+82-89llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+82-891 files

LLVM/project 4151d6fllvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

v255, null
DeltaFile
+314-315llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+314-3151 files

LLVM/project a7c7d30llvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

<MULDIV>
DeltaFile
+89-45llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+89-451 files

LLVM/project f7c58eellvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

<MOD16-XIMM>, <MOD16>, <MOD32-XIMM>, <MOD32>
DeltaFile
+791-503llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+791-5031 files

LLVM/project 3a2310bllvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

Eliminate <_19>.
DeltaFile
+21-39llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+21-391 files

LLVM/project fde19a8llvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

.l, .h, op_sel
DeltaFile
+619-617llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+619-6171 files

LLVM/project 7df1071llvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

clamp
DeltaFile
+265-135llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+265-1351 files

LLVM/project 6e4b54cllvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

<FI>
DeltaFile
+860-429llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+860-4291 files

LLVM/project 52f6310llvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

<SREG-M64>, <SRC16>, <SRC32>
DeltaFile
+1,252-367llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+1,252-3671 files

LLVM/project 1925c6allvm/test/MC/AMDGPU gfx11_asm_vop3_dpp8.s

<DPP>
DeltaFile
+991-370llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+991-3701 files

FreeNAS/freenas d03acbcsrc/middlewared/middlewared/plugins/iscsi_ alua.py fs_attachment_delegate.py

NAS-139207 / 25.10.2 / Robustize iSCSI ALUA (#17995)

- For HA systems, do not use systemd to start SCST.
- Improve DLM cleanup.
- Improve ALUA handling with locked or disabled extents.
- Add additional lun health checks to standby_after_start.
- Eliminate customization of recovery_tmo on HA sessions.
- Optimize removal of ALUA HA LUN in removed_target_extent.

(cherry picked from commit d963e7ac7aeb1b2c688365cb54350971ec1d1751)
DeltaFile
+113-44src/middlewared/middlewared/plugins/iscsi_/alua.py
+114-1src/middlewared/middlewared/plugins/iscsi_/fs_attachment_delegate.py
+53-38src/middlewared/middlewared/plugins/iscsi_/targets.py
+80-3src/middlewared/middlewared/plugins/iscsi_/extents.py
+10-14src/middlewared/middlewared/plugins/iscsi_/target_to_extent.py
+23-0src/middlewared/middlewared/plugins/iscsi_/utils.py
+393-1007 files not shown
+434-10913 files

LLVM/project 584a589clang/include/clang/AST JSONNodeDumper.h, clang/include/clang/Analysis CloneDetection.h

[clang][NFC] `#include "clang/AST/StmtVisitor.h"` where necessary (#172538)

DeltaFile
+2-1clang/include/clang/AST/JSONNodeDumper.h
+1-1clang/include/clang/Analysis/CloneDetection.h
+1-0clang/lib/Analysis/CloneDetection.cpp
+0-1clang/lib/CIR/CodeGen/CIRGenException.cpp
+1-0clang/lib/Sema/AnalysisBasedWarnings.cpp
+1-0clang/lib/Sema/SemaExpr.cpp
+6-36 files