LLVM/project 02de6f8clang/lib/AST ExprConstant.cpp, clang/lib/AST/ByteCode Compiler.cpp Context.cpp

[clang][bytecode] Implement support for `Expr::EvaluateWithSubstitution()` (#204781)

This regresses `Sema/enable_if.c`, which now fails when run with the
bytecode interpreter. We also get 14 more diagnostic differences in
`SemaCXX/builtin-object-size-cxx14.cpp`.



Fixes https://github.com/llvm/llvm-project/issues/138473
DeltaFile
+202-0clang/test/AST/ByteCode/enable_if.c
+116-2clang/lib/AST/ByteCode/Compiler.cpp
+27-0clang/lib/AST/ByteCode/Context.cpp
+17-0clang/lib/AST/ByteCode/EvalEmitter.cpp
+11-0clang/lib/AST/ExprConstant.cpp
+9-0clang/lib/AST/ByteCode/EvalEmitter.h
+382-26 files not shown
+400-512 files

LLVM/project 4597411mlir/cmake/modules AddMLIRPython.cmake

[mlir][python][NFC] Clean up nanobind compile options (#206559)

Follow-up to #204230.

Refactor nanobind warning suppression flags into `build_nanobind_lib`.
Drop duplicate RTTI and exception flags.
DeltaFile
+33-20mlir/cmake/modules/AddMLIRPython.cmake
+33-201 files

NetBSD/src FAFRtzmcrypto/external/bsd/openssh/dist sshd_config

   sshd_config(5): Clarify again how to disable password authentication.

   Upstream changed their version of this text by adding some quotation
   marks but not really making it clearer.  We had replaced the comment a
   while ago to cross-reference UsePAM but it got lost in the update to
   OpenSSH 10.0 last year.  Restore the explanation of how to disable
   password authentication, and expand on the relevant knobs a little.

   PR bin/32313: sshd 'PasswordAuthentication no' silently fails
VersionDeltaFile
1.30+8-2crypto/external/bsd/openssh/dist/sshd_config
+8-21 files

LLVM/project 442c59cllvm/lib/Transforms/IPO MergeFunctions.cpp, llvm/test/Transforms/MergeFunc merge-functions-entry-count-no-alias.ll merge-functions-entry-count-alias.ll

Revert "[MergeFunctions] Preserve entry counts on folds" (#206640)

Reverts llvm/llvm-project#202218

Causes build failures and needs to be rebased on top of main before
relanding.
DeltaFile
+0-157llvm/test/Transforms/MergeFunc/merge-functions-entry-count-no-alias.ll
+0-51llvm/test/Transforms/MergeFunc/merge-functions-entry-count-alias.ll
+0-25llvm/lib/Transforms/IPO/MergeFunctions.cpp
+0-2333 files

LLVM/project 6600ad0clang/include/clang/Basic BuiltinsRISCV.td, clang/lib/CodeGen/TargetBuiltins RISCV.cpp

[Clang][RISCV] packed reduction sum intrinsics (#206441)

Add the __riscv_predsum/predsumu_* header wrappers over new
__builtin_riscv_* builtins, lowering to the llvm.riscv.predsum/predsumu
intrinsics.
DeltaFile
+254-0clang/test/CodeGen/RISCV/rvp-intrinsics.c
+114-0cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c
+42-0clang/lib/CodeGen/TargetBuiltins/RISCV.cpp
+25-0clang/lib/Headers/riscv_packed_simd.h
+18-0clang/include/clang/Basic/BuiltinsRISCV.td
+453-05 files

LLVM/project 869c459llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-simd-32.ll rvp-simd-64.ll

[RISCV][P-ext] Avoid redundant accumulator extend for reduction sum (#206430)

For a reduction sum with an i32 accumulator on RV64, the result is
computed at i64 and truncated, so the accumulator's upper bits are
unused. Any-extend it instead of sign-/zero-extending, dropping a
redundant sext.w/zext.w. Follow-up to #206004.
DeltaFile
+5-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+0-4llvm/test/CodeGen/RISCV/rvp-simd-32.ll
+0-4llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+5-93 files

LLVM/project 0b664d9llvm/lib/Transforms/Utils FixIrreducible.cpp, llvm/test/Transforms/FixIrreducible pr191979.ll

[FixIrreducible] Handle conditional branch with both successors as header (#206057)

A conditional branch redirecting edges to the cycle header may have both
successors equal to the header (e.g. `br i1 %c, label %h, label %h`),
which the previous `Succ1 = Succ0 ? nullptr : Header` logic mishandled
by dropping the second edge.

Check each successor independently against the header instead.

Fixes https://github.com/llvm/llvm-project/issues/191979.
DeltaFile
+40-0llvm/test/Transforms/FixIrreducible/pr191979.ll
+1-3llvm/lib/Transforms/Utils/FixIrreducible.cpp
+41-32 files

LLVM/project fb20f9fllvm/lib/Transforms/IPO MergeFunctions.cpp, llvm/test/Transforms/MergeFunc merge-functions-entry-count-no-alias.ll merge-functions-entry-count-alias.ll

[MergeFunctions] Preserve entry counts on folds (#202218)

**Summary**

`MergeFunctions` can fold equivalent functions into a single retained
implementation. When that happens, the retained body may be reached by
callers of both original functions, but its `function_entry_count`
metadata previously preserved only one side of the profile data.

For example, folding functions with entry counts `2000` and `1000` could
leave the retained body with only `2000`. This patch updates the
retained implementation after a successful merge, so the entry count
becomes `3000`, using saturating add.

For ODR/double-thunk merges, the private backing body gets the combined
count while the thunks keep their own entry counts. For alias-backed
merges, the backing function carries the combined count.

**AI Assistance Disclosure**

    [3 lines not shown]
DeltaFile
+157-0llvm/test/Transforms/MergeFunc/merge-functions-entry-count-no-alias.ll
+51-0llvm/test/Transforms/MergeFunc/merge-functions-entry-count-alias.ll
+25-0llvm/lib/Transforms/IPO/MergeFunctions.cpp
+233-03 files

FreeBSD/ports bf79747misc/py-instructor distinfo Makefile

misc/py-instructor: Update to 1.15.4

Changelog: https://github.com/567-labs/instructor/blob/v1.15.4/CHANGELOG.md

Reported by:    portscout
DeltaFile
+3-3misc/py-instructor/distinfo
+1-1misc/py-instructor/Makefile
+4-42 files

LLVM/project bdc1c87llvm/lib/Transforms/IPO ThinLTOBitcodeWriter.cpp LowerTypeTests.cpp, llvm/test/ThinLTO/X86 devirt_function_alias2.ll

[CFI] Create an external linkage alias instead of promoting internals
DeltaFile
+19-33llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+35-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+29-0llvm/test/Transforms/LowerTypeTests/promoted-internal.ll
+20-5llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
+10-7llvm/test/Transforms/ThinLTOBitcodeWriter/comdat.ll
+6-4llvm/test/ThinLTO/X86/devirt_function_alias2.ll
+119-494 files not shown
+130-5610 files

LLVM/project 69d1e4ellvm/include/llvm/IR IntrinsicsAMDGPU.td, llvm/lib/Target/AMDGPU AMDGPUInstructionSelector.cpp SIISelLowering.cpp

[AMDGPU] Guard more intrinsics with target features
DeltaFile
+1-51llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+0-42llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+0-24llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+15-2llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+9-6llvm/lib/Target/AMDGPU/AMDGPU.td
+4-4llvm/test/CodeGen/AMDGPU/unsupported-av-store.ll
+29-12915 files not shown
+61-15521 files

NetBSD/src bKBNsGRshare/man/man4/man4.evbarm rktsadc.4

   add rk3288 to the supported list and mention Jared added that.  bump date.
VersionDeltaFile
1.6+6-3share/man/man4/man4.evbarm/rktsadc.4
+6-31 files

LLVM/project 40e6de4llvm/include/llvm/IR IntrinsicsAMDGPU.td, llvm/lib/Target/AMDGPU AMDGPUInstructionSelector.cpp SIISelLowering.cpp

[AMDGPU] Guard more intrinsics with target features
DeltaFile
+1-51llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+0-42llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+0-24llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+15-2llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+4-4llvm/test/CodeGen/AMDGPU/unsupported-av-store.ll
+4-4llvm/test/CodeGen/AMDGPU/unsupported-av-load.ll
+24-12712 files not shown
+51-14218 files

FreeBSD/ports cb7cfecmisc/py-litellm distinfo Makefile, misc/py-litellm/files patch-pyproject.toml

misc/py-litellm: Update to 1.90.1

Changelog: https://github.com/BerriAI/litellm/releases/tag/v1.90.0

Reported by:    Repology
DeltaFile
+3-3misc/py-litellm/distinfo
+1-1misc/py-litellm/files/patch-pyproject.toml
+1-1misc/py-litellm/Makefile
+5-53 files

LLVM/project d3b8ff3llvm/lib/Target/LoongArch LoongArchISelLowering.cpp LoongArchISelLowering.h, llvm/test/CodeGen/LoongArch/ir-instruction double-convert.ll float-convert.ll

Revert "[LoongArch] Custom scalar UINT_TO_FP and FP_TO_UINT with LSX instructions" (#206632)

Reverts llvm/llvm-project#200901

buildbot: https://lab.llvm.org/staging/#/builders/20/builds/28603
DeltaFile
+2-51llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+26-7llvm/test/CodeGen/LoongArch/ir-instruction/double-convert.ll
+25-7llvm/test/CodeGen/LoongArch/ir-instruction/float-convert.ll
+0-1llvm/lib/Target/LoongArch/LoongArchISelLowering.h
+53-664 files

FreeBSD/ports ca01037net-mgmt/nfs-exporter distinfo Makefile.crates

net-mgmt/nfs-exporter: 0.4.7

This version no longer requires llvm-config at build time.

https://github.com/Axcient/freebsd-nfs-exporter/blob/master/CHANGELOG.md#047---2026-06-26

Sponsored by:   ConnectWise
DeltaFile
+31-57net-mgmt/nfs-exporter/distinfo
+14-27net-mgmt/nfs-exporter/Makefile.crates
+3-3net-mgmt/nfs-exporter/Makefile
+48-873 files

LLVM/project 93da31bclang/lib/CodeGen CodeGenAction.cpp, llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

[RFC][CodeGen] Add generic target feature checks for intrinsics (#201470)

This PR adds target-independent infrastructure for annotating LLVM
intrinsics with required subtarget feature expressions.

It introduces a TargetFeatures string field to intrinsic TableGen
records. TableGen emits an intrinsic-to-feature mapping table.

Both SelectionDAG and GlobalISel now perform this check before lowering
target intrinsics. This allows targets to opt in by annotating intrinsic
definitions directly, rather than adding custom checks during lowering,
legalization, or instruction selection.

This PR uses one AMDGPU intrinsic as an example.
DeltaFile
+96-3llvm/lib/MC/MCSubtargetInfo.cpp
+38-0clang/lib/CodeGen/CodeGenAction.cpp
+33-1llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
+31-0llvm/lib/IR/DiagnosticInfo.cpp
+28-0llvm/test/TableGen/intrinsic-target-features.td
+25-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+251-414 files not shown
+361-920 files

LLVM/project 2705c08clang/docs LanguageExtensions.rst LanguageExtensions.md, llvm/test/CodeGen/ARM vector-lrint.ll

Merge branch 'main' into users/ikudrin/clang-findallocationfunction-simplify
DeltaFile
+10,260-9,388llvm/test/MC/AMDGPU/gfx11_asm_vopc.s
+0-7,392clang/docs/LanguageExtensions.rst
+0-7,069llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+6,970-0clang/docs/LanguageExtensions.md
+5,907-0llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc-fake16.txt
+1,833-1,841llvm/test/CodeGen/ARM/vector-lrint.ll
+24,970-25,6902,497 files not shown
+124,691-73,1252,503 files

NetBSD/src zBJ3HjXtests/bin/expr t_expr.sh

   tests/bin/expr - fix the regex & length tests for UTF-8 input

   If LC_CTYPE is to be set to a UTF-8 charset, the input must be
   valid UTF-8 encoded data, or the results will not be what is expected.

   0xFF as input is *not* ever valid in a UTF-8 string.   It cannot be
   the initial byte of a character (the biggest conceivable value for
   that is 0xFC and even that is beyond what current UTF-8 allows, the
   actual biggest is 0xF4), and it cannot be a trailing byte, as those
   always have 1 0 as the two higest bits (ie: range is 0x80..0xBF)
VersionDeltaFile
1.18+5-5tests/bin/expr/t_expr.sh
+5-51 files

OpenBSD/src vvUTsPSusr.bin/ssh sftp.c

   another ruser_name/ruser_group vs attrib_to_stat() ordering
   screwup. Coverity CID 910530 via dtucker@
VersionDeltaFile
1.257+3-3usr.bin/ssh/sftp.c
+3-31 files

NetBSD/src oRYYPuglib/libc/citrus/modules citrus_utf8.c

   mbrtowc() fix a stupid typo in the previous version.

   No idea how I managed to miss this previously.   This update should
   make at least some of the ATF tests (and other stuff) which failed
   after the previous change start working again.
VersionDeltaFile
1.21+4-4lib/libc/citrus/modules/citrus_utf8.c
+4-41 files

LLVM/project 71113ebclang/lib/Sema SemaExprCXX.cpp

[Sema][NFC] Extract allocation overload diagnostics (#206219)

This extracts the code that emits diagnostics when no viable function is
found for allocation overload resolution to reduce the diff in #203824.
DeltaFile
+68-65clang/lib/Sema/SemaExprCXX.cpp
+68-651 files

FreeBSD/ports 06a4b46sysutils/mackerel-agent distinfo Makefile

sysutils/mackerel-agent: Update to 0.87.0

Changes:        https://github.com/mackerelio/mackerel-agent/releases/tag/v0.87.0
DeltaFile
+5-5sysutils/mackerel-agent/distinfo
+1-2sysutils/mackerel-agent/Makefile
+6-72 files

LLVM/project efd5fe3clang/lib/Driver/ToolChains Linux.cpp, clang/test/Driver linux-ld.c

[Driver][RISCV] Fix musl dynamic linker path for RISC-V sf/sp ABI (#202513)

Musl adds -sf or -sp suffixes to the path of dynamic linker (e.g.,
ld-musl-riscv64-sf.so.1):


https://git.musl-libc.org/cgit/musl/tree/configure?h=v1.2.6&id=9fa28ece75d8a2191de7c5bb53bed224c5947417#n732

---------

Co-authored-by: Chih-Mao Chen <cmchen at andestech.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply at anthropic.com>
DeltaFile
+18-0clang/test/Driver/linux-ld.c
+8-0clang/lib/Driver/ToolChains/Linux.cpp
+26-02 files

LLVM/project 1d27dabllvm/lib/Transforms/IPO ThinLTOBitcodeWriter.cpp LowerTypeTests.cpp, llvm/test/ThinLTO/X86 devirt_function_alias2.ll

[CFI] Create an external linkage alias instead of promoting internals
DeltaFile
+19-33llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+35-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+29-0llvm/test/Transforms/LowerTypeTests/promoted-internal.ll
+20-5llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
+10-7llvm/test/Transforms/ThinLTOBitcodeWriter/comdat.ll
+6-4llvm/test/ThinLTO/X86/devirt_function_alias2.ll
+119-494 files not shown
+130-5610 files

LLVM/project df108f9clang/include/clang/ScalableStaticAnalysis/Core/EntityLinker StaticLibrary.h, clang/lib/ScalableStaticAnalysis/Core/Serialization/JSONFormat StaticLibrary.cpp

[clang][ssaf] Add `StaticLibrary` data structure (#205946)

This change introduces the `StaticLibrary` data structure, the SSAF analogue of `ar`, `libtool -static`, or `lib.exe`: a single-architecture bundle of `TUSummary` objects. `StaticLibrary` only stores `TUSummaryEncoding` because it will be used by `clang-ssaf-linker` that does not decode the summary data. We don't plan to create a decoded variant because there will be no consumer. Support for constructing and linking static libraries will be introduced in future PRs.

rdar://180665891
DeltaFile
+192-0clang/lib/ScalableStaticAnalysis/Core/Serialization/JSONFormat/StaticLibrary.cpp
+125-0clang/test/Analysis/Scalable/ssaf-format/StaticLibrary/top-level.test
+75-0clang/include/clang/ScalableStaticAnalysis/Core/EntityLinker/StaticLibrary.h
+49-0clang/test/Analysis/Scalable/ssaf-format/StaticLibrary/io.test
+43-0clang/test/Analysis/Scalable/ssaf-format/StaticLibrary/Inputs/unsorted-members-input.json
+43-0clang/test/Analysis/Scalable/ssaf-format/StaticLibrary/Inputs/rt-multiple-members.json
+527-044 files not shown
+1,009-1550 files

LLVM/project d9d66bdllvm/lib/Transforms/IPO ThinLTOBitcodeWriter.cpp WholeProgramDevirt.cpp, llvm/test/ThinLTO/X86 devirt_function_alias2.ll

[CFI] Create an external linkage alias instead of promoting internals
DeltaFile
+20-33llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+20-5llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
+10-7llvm/test/Transforms/ThinLTOBitcodeWriter/comdat.ll
+16-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+6-4llvm/test/ThinLTO/X86/devirt_function_alias2.ll
+4-2llvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc-internal.ll
+76-513 files not shown
+83-569 files

LLVM/project 55df97cllvm/include/llvm/IR GlobalValue.h, llvm/include/llvm/Transforms/Utils AssignGUID.h

Reland #184065
DeltaFile
+61-17llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+45-30llvm/lib/LTO/LTO.cpp
+64-2llvm/lib/IR/Globals.cpp
+49-3llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+45-5llvm/include/llvm/IR/GlobalValue.h
+49-0llvm/include/llvm/Transforms/Utils/AssignGUID.h
+313-57120 files not shown
+872-416126 files

LLVM/project 925378cllvm/lib/Target/RISCV RISCV.td

[RISCV][NFC] Use true/false for boolean fields in RISCV.td (#206399)
DeltaFile
+4-4llvm/lib/Target/RISCV/RISCV.td
+4-41 files

LLVM/project 55cffacllvm/lib/Target/LoongArch LoongArchISelLowering.cpp LoongArchISelLowering.h, llvm/test/CodeGen/LoongArch/ir-instruction double-convert.ll float-convert.ll

Revert "[LoongArch] Custom scalar UINT_TO_FP and FP_TO_UINT with LSX instruct…"

This reverts commit 9f0b22c61153e8390e3eed74e4a9cf1160bd71fe.
DeltaFile
+2-51llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+26-7llvm/test/CodeGen/LoongArch/ir-instruction/double-convert.ll
+25-7llvm/test/CodeGen/LoongArch/ir-instruction/float-convert.ll
+0-1llvm/lib/Target/LoongArch/LoongArchISelLowering.h
+53-664 files