LLVM/project e8f8ca5llvm/docs LangRef.md, llvm/lib/CodeGen/SelectionDAG LegalizeFloatTypes.cpp LegalizeDAG.cpp

[ConstantTime] Apply review fixes for llvm.ct.select core

- Verifier: reject aggregate types instead of crashing ISel; add test.
- Fix scalable-vector expansion crash when the element type is not a
  legal scalar; add RVV test.
- LangRef: document poison/undef, noundef, permitted folds, and FMF
  behavior; rewrite Syntax/Overview.
- Deduplicate CT_SELECT type-legalizer handlers into the SELECT paths.
- Misc: FP int-twin assert, dead null check, in-place memory blend,
  flag-free PromoteNode, GlobalISel fallback test, comment cleanups.
DeltaFile
+117-0llvm/test/CodeGen/RISCV/ctselect-fallback-scalable.ll
+70-45llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+56-34llvm/docs/LangRef.md
+24-24llvm/test/CodeGen/X86/ctselect.ll
+35-0llvm/test/CodeGen/RISCV/ctselect-fallback-gisel.ll
+10-24llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
+312-12711 files not shown
+369-18917 files

LLVM/project fc6ab3ellvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp LegalizeDAG.cpp, llvm/test/CodeGen/RISCV ctselect-fallback.ll

[ConstantTime] Fix CT_SELECT expansion to preserve constant-time guarantees

Create CT_SELECT nodes for scalar types regardless of target support, so
they survive DAGCombiner (visitCT_SELECT is conservative). Expand to
AND/OR/XOR during operation legalization after SETCC is lowered, preventing
the sext(setcc)->select fold chain that converts constant-time patterns
into data-dependent conditional moves (e.g. movn/movz on MIPS).

The mask uses SUB(0, AND(Cond, 1)) instead of SIGN_EXTEND because type
legalization already promoted i1 to the SetCC result type, making
SIGN_EXTEND a no-op for same-width types.
DeltaFile
+144-115llvm/test/CodeGen/X86/ctselect.ll
+10-12llvm/test/CodeGen/RISCV/ctselect-fallback.ll
+12-8llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+13-3llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+179-1384 files

LLVM/project 34b445ellvm/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp LegalizeFloatTypes.cpp, llvm/test/CodeGen/RISCV ctselect-fallback.ll

[ConstantTime] Changed CTSELECT instances to CT_SELECT
DeltaFile
+14-14llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+11-11llvm/test/CodeGen/X86/ctselect.ll
+9-9llvm/test/CodeGen/RISCV/ctselect-fallback.ll
+7-7llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+6-6llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+6-6llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
+53-5313 files not shown
+75-8019 files

LLVM/project 730c249llvm/docs LangRef.md, llvm/include/llvm/IR Intrinsics.td

[ConstantTime] Address reviewer feedback for llvm.ct.select core

Model llvm.ct.select as IntrInaccessibleMemOnly so the call stays pinned
without pessimizing alias analysis. Make CT_SELECT flagless (drop the
getCTSelect flags parameter, dead flag propagation, and
setFlags-after-getNode) and assert its condition is scalar. Blend the FP
memory fallback at the widest legal integer width with ext-load and
trunc-store tails instead of illegal i8 chunks. Restore the LangRef
section dropped in the rebase onto the Markdown docs migration and note
RISC-V Zkt/Zvkt. Apply review style fixes and regenerate affected tests.
DeltaFile
+113-113llvm/test/CodeGen/RISCV/ctselect-fallback.ll
+125-0llvm/docs/LangRef.md
+27-68llvm/test/CodeGen/X86/ctselect.ll
+39-27llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+16-19llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+8-2llvm/include/llvm/IR/Intrinsics.td
+328-2298 files not shown
+349-24714 files

LLVM/project 0554102llvm/include/llvm/CodeGen ISDOpcodes.h, llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

[ConstantTime] Reword comments and LangRef doc
DeltaFile
+0-7llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+5-2llvm/include/llvm/CodeGen/ISDOpcodes.h
+5-92 files

LLVM/project 17974f9llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp SelectionDAGBuilder.cpp, llvm/test/CodeGen/RISCV ctselect-fallback.ll

[ConstantTime] Move ct.select lowering to legalizer; misc fixes

- LegalizeDAG owns CT_SELECT lowering: scalar-mask+splat for vectors
  (avoids illegal vNi1), memory-blend for FP types lacking a legal
  same-size integer (f64 on i386 no-SSE, fp128, x86_fp80)
- Add InstSimplify folds for constant cond and identical arms
- Extend X86 tests to half/bfloat/fp128/x86_fp80; nounwind cleanup
- Preserve flags through legalizer; reuse SDTSelect
DeltaFile
+1,513-549llvm/test/CodeGen/X86/ctselect.ll
+143-65llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+12-111llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+102-0llvm/test/Transforms/InstSimplify/ct-select.ll
+44-30llvm/test/CodeGen/RISCV/ctselect-fallback.ll
+4-13llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+1,818-7685 files not shown
+1,838-78011 files

LLVM/project ff2bc54llvm/lib/CodeGen/SelectionDAG LegalizeIntegerTypes.cpp DAGCombiner.cpp, llvm/test/CodeGen/RISCV ctselect-fallback.ll

[ConstantTime][LLVM] Add llvm.ct.select intrinsic with generic SelectionDAG lowering

[LLVM][CodeGen]  Improve CTSELECT fallback lowering and target support modeling (#179395)

This pull request refactors and improves the **fallback handling** of
constant-time select (CTSELECT) in LLVM’s code generation
infrastructure. The changes clarify semantics, simplify
target-capability checks, and improve the correctness and
maintainability of fallback lowering, without changing the intended
constant-time guarantees.

- **CTSELECT semantics**
- Clarified documentation for the `CTSELECT` node to explicitly describe
its operands and its role as the lowering target for the constant-time
select intrinsic.

- **TargetLowering cleanup**
  - Removed CTSELECT-specific entries from `SelectSupportKind`.
- Introduced a dedicated `isCtSelectSupported(EVT)` hook to cleanly

    [23 lines not shown]
DeltaFile
+1,509-0llvm/test/CodeGen/X86/ctselect.ll
+754-0llvm/test/CodeGen/RISCV/ctselect-fallback.ll
+106-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+76-2llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+74-0llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+20-0llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+2,539-214 files not shown
+2,623-720 files

LLVM/project 83229d4.github/workflows libc-fullbuild-tests.yml, libc/cmake/caches armv8m.main-none-eabihf.cmake

[libc] armv8m hard float build check (#214090)

Our premerge checks were testing the softfp build for armv8m. Adding
also a hard float ABI check for this target to increase build check
coverage.

Assisted-by: Gemini
DeltaFile
+8-1.github/workflows/libc-fullbuild-tests.yml
+8-0libc/cmake/caches/armv8m.main-none-eabihf.cmake
+16-12 files

FreeBSD/ports 36426c5math/R-cran-XLConnect pkg-plist Makefile

math/R-cran-XLConnect: add a missing README.md
DeltaFile
+1-0math/R-cran-XLConnect/pkg-plist
+1-0math/R-cran-XLConnect/Makefile
+2-02 files

FreeBSD/ports 478c524java/bouncycastle Makefile

java/bouncycastle: do not depend on javamail

Bouncycastle does not depend anymore on javamail, it comes with javax.mail
and jakarta.mail.
DeltaFile
+2-3java/bouncycastle/Makefile
+2-31 files

LLVM/project cb43aacclang Maintainers.md

[Clang] [Docs] Update my entries to use my company email and github account (#214787)
DeltaFile
+6-6clang/Maintainers.md
+6-61 files

FreeBSD/ports c4b41c7net-mgmt/unifi10 Makefile distinfo

net-mgmt/unifi10: Update to 10.5.67

Release notes:  https://community.ui.com/releases/r/network/10.5.67
DeltaFile
+5-5net-mgmt/unifi10/distinfo
+1-2net-mgmt/unifi10/Makefile
+6-72 files

LLVM/project d9accd3clang/include/clang/AST StmtOpenMP.h, clang/lib/AST StmtOpenMP.cpp

[clang][OpenMP] Split OMPOrderedDirective into two classes

Now that OMPD_ordered has been replaced with two variants, split
the OMPOrderedDirective class into two classes, one for each
variant.
DeltaFile
+77-71clang/lib/CodeGen/CGStmtOpenMP.cpp
+65-13clang/include/clang/AST/StmtOpenMP.h
+24-18clang/lib/AST/StmtOpenMP.cpp
+12-5clang/lib/Serialization/ASTReaderStmt.cpp
+14-3clang/lib/Sema/TreeTransform.h
+13-3clang/tools/libclang/CIndex.cpp
+205-11314 files not shown
+279-13720 files

LLVM/project ddecd7cclang/lib/Parse ParseOpenMP.cpp, flang/lib/Parser openmp-parsers.cpp

[OpenMP] Delete now unused OMPD_ordered

It has been replaced by OMPD_ordered_standalone and
OMPD_ordered_blockassoc.
DeltaFile
+0-13llvm/include/llvm/Frontend/OpenMP/OMP.td
+1-2llvm/unittests/Frontend/OpenMPDirectiveNameParserTest.cpp
+1-2flang/lib/Semantics/check-omp-structure.cpp
+1-2flang/lib/Parser/openmp-parsers.cpp
+1-1llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+1-1clang/lib/Parse/ParseOpenMP.cpp
+5-216 files

FreeBSD/ports aa41d35security/vuxml/vuln 2026.xml

security/vuxml: Document multiple security issues in libXfont2

PR:             297327
Approved by:    osa (mentor)
DeltaFile
+30-0security/vuxml/vuln/2026.xml
+30-01 files

LLVM/project 6716e31lldb/test/API/functionalities/process_save_core_minidump/partial_read TestProcessSaveCoreMinidumpPartialRead.py, lldb/test/API/functionalities/process_save_core_minidump/size_mismatch TestProcessSaveCoreMinidumpSizeMismatch.py

[lldb][minidump] Skip the new minidump tests on ARM (#214766)

Apparently, the new tests introduced by #212641 and #212861 use features
not supported on ARM.

Example:
```
FAIL: test_save_core_range_with_unreadable_tail_dwarf (TestProcessSaveCoreMinidumpPartialRead.ProcessSaveCoreMinidumpPartialReadTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../lldbtest.py", line 2171, in test_method
    return attrvalue(self)
  File ".../TestProcessSaveCoreMinidumpPartialRead.py", line 78, in test_save_core_range_with_unreadable_tail
    self.assertSuccess(process.SaveCore(options))
  File ".../lldbtest.py", line 3045, in assertSuccess
    self.fail(self._formatMessage(msg, "'{}' is not success".format(error)))
AssertionError: 'architecture arm not supported.' is not success
Config=arm-/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang
```
DeltaFile
+1-0lldb/test/API/functionalities/process_save_core_minidump/size_mismatch/TestProcessSaveCoreMinidumpSizeMismatch.py
+1-0lldb/test/API/functionalities/process_save_core_minidump/partial_read/TestProcessSaveCoreMinidumpPartialRead.py
+2-02 files

FreeNAS/freenas 73c8c41src/middlewared/middlewared/plugins/pool_ dataset.py, tests/api2 test_pool_dataset_user_props.py

Validate on the update path too
DeltaFile
+42-23src/middlewared/middlewared/plugins/pool_/dataset.py
+12-2tests/api2/test_pool_dataset_user_props.py
+54-252 files

FreeBSD/src 6de8182sys/dev/netmap netmap_freebsd.c

netmap: Fix a race in kqueue registration

We need to acquire the netmap global lock earlier, to avoid racing with
the NETMAP_REQ_REGISTER ioctl handler.

Reported by:    syzkaller
Reviewed by:    vmaffione
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58677
DeltaFile
+6-6sys/dev/netmap/netmap_freebsd.c
+6-61 files

FreeBSD/src 319414asys/dev/netmap netmap_mem2.c

netmap: Handle overflow when computing ring sizes

PR:             297300
Reported by:    Robert Morris
Reported by:    syzkaller
Reviewed by:    vmaffione
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58678
DeltaFile
+18-4sys/dev/netmap/netmap_mem2.c
+18-41 files

FreeBSD/src 800d5b7sys/dev/netmap netmap_kern.h netmap_vale.c

netmap: Fix driver name handling

if_initname() requires the caller to ensure that the lifetime of the
interface's name buffer contains that of the ifnet itself.
netmap_vi_create() wasn't respecting that; we were instead passing the
stack-allocated buffer provided by the ioctl handler.

While here, add a check to avoid assuming that the caller-provided
buffer is nul-terminated.

Reported by:    syzkaller
Reviewed by:    vmaffione
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58676
DeltaFile
+18-6sys/dev/netmap/netmap_vale.c
+3-0sys/dev/netmap/netmap_kern.h
+21-62 files

LLVM/project 0fdfc2dllvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.fdot2.f32.bf16.ll

[AMDGPU][GISel] RegBankLegalize rule for amdgcn_fdot2_f32_bf16 (#214326)
DeltaFile
+644-197llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.f32.bf16.ll
+3-1llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+647-1982 files

LLVM/project 6a13c4eclang/include/clang/AST StmtOpenMP.h

format
DeltaFile
+2-3clang/include/clang/AST/StmtOpenMP.h
+2-31 files

LLVM/project 320d264llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/unittests/CodeGen SelectionDAGNodeConstructionTest.cpp

[DAG] added ISD::FMINIMUM/FMAXIMUM cases in isIdentityElement (#210169)

Fixed #209248

Implemented analogous to existing FMINNUM/FMAXNUM cases
DeltaFile
+24-0llvm/unittests/CodeGen/SelectionDAGNodeConstructionTest.cpp
+9-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+33-02 files

LLVM/project 6d42475clang/lib/Parse ParseOpenMP.cpp

Update function name in all places
DeltaFile
+2-2clang/lib/Parse/ParseOpenMP.cpp
+2-21 files

OpenBSD/src eg2By6Busr.sbin/crunchgen crunched_main.c

   one more prototype

   ok deraadt@ tb@
VersionDeltaFile
1.8+2-2usr.sbin/crunchgen/crunched_main.c
+2-21 files

LLVM/project fca9b34clang/include/clang/AST StmtOpenMP.h, clang/lib/AST StmtOpenMP.cpp

[clang][OpenMP] Split OMPOrderedDirective into two classes

Now that OMPD_ordered has been replaced with two variants, split
the OMPOrderedDirective class into two classes, one for each
variant.
DeltaFile
+77-71clang/lib/CodeGen/CGStmtOpenMP.cpp
+65-14clang/include/clang/AST/StmtOpenMP.h
+24-18clang/lib/AST/StmtOpenMP.cpp
+12-5clang/lib/Serialization/ASTReaderStmt.cpp
+14-3clang/lib/Sema/TreeTransform.h
+13-3clang/tools/libclang/CIndex.cpp
+205-11414 files not shown
+279-13820 files

LLVM/project 28d3515clang/lib/Parse ParseOpenMP.cpp, flang/lib/Parser openmp-parsers.cpp

[OpenMP] Delete now unused OMPD_ordered

It has been replaced by OMPD_ordered_standalone and
OMPD_ordered_blockassoc.
DeltaFile
+0-13llvm/include/llvm/Frontend/OpenMP/OMP.td
+1-2llvm/unittests/Frontend/OpenMPDirectiveNameParserTest.cpp
+1-2flang/lib/Semantics/check-omp-structure.cpp
+1-2flang/lib/Parser/openmp-parsers.cpp
+1-1llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+1-1clang/lib/Parse/ParseOpenMP.cpp
+5-216 files

LLVM/project 208dd15clang/include/clang/AST StmtOpenMP.h, clang/lib/AST StmtOpenMP.cpp

[clang][OpenMP] Use different ids for block and s/a ORDERED directive

Use OMPD_ordered_blockassoc for the block-associated ORDERED directive,
and OMPD_ordered_standalone for the standalone variant.

This still uses a single AST class for both though. The directive
kind stored in can now take either of the two values.
DeltaFile
+36-23clang/lib/Parse/ParseOpenMP.cpp
+33-20clang/lib/Sema/SemaOpenMP.cpp
+10-6clang/lib/CodeGen/CGOpenMPRuntime.cpp
+9-3clang/lib/AST/StmtOpenMP.cpp
+7-3clang/include/clang/AST/StmtOpenMP.h
+4-2llvm/lib/Frontend/OpenMP/DirectiveNameParser.cpp
+99-574 files not shown
+107-6210 files

LLVM/project a6fb709clang/lib/Parse ParseOpenMP.cpp

Update clang/lib/Parse/ParseOpenMP.cpp

Co-authored-by: Alexey Bataev <a.bataev at outlook.com>
DeltaFile
+1-1clang/lib/Parse/ParseOpenMP.cpp
+1-11 files

LLVM/project 3a97be3clang/bindings/python/clang cindex.py, clang/include/clang-c Index.h

Avoid horrible hack by using separate opcodes for the two ordered kinds
DeltaFile
+9-10clang/lib/AST/StmtOpenMP.cpp
+5-10clang/include/clang/AST/StmtOpenMP.h
+9-3clang/lib/Serialization/ASTReaderStmt.cpp
+6-2clang/include/clang-c/Index.h
+5-2clang/bindings/python/clang/cindex.py
+3-1clang/lib/Serialization/ASTWriterStmt.cpp
+37-283 files not shown
+43-319 files