LLVM/project c1121dc — flang/lib/Semantics check-declarations.cpp, flang/test/Semantics resolve67.f90 resolve65.f90

[flang] Reject INTENT on non-pointer dummy procedure (#240042)

### Summary

Fix missing semantic diagnostic for INTENT on non-pointer dummy
procedures. The existing check only covered `ProcEntityDetails`, missing
procedures represented by `SubprogramDetails`. Moved the validation to
the shared `CheckHelper::Check()` path to ensure consistent enforcement
across both representations, with regression tests added.


Fixes #229220.

---------

Co-authored-by: Jay Satish Kumar Patel <kumarpat at pe31.hpc.amslabs.hpecorp.net>
Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
DeltaFile
+30-0flang/test/Semantics/intent-procedure.f90
+8-6flang/lib/Semantics/check-declarations.cpp
+1-0flang/test/Semantics/resolve67.f90
+1-0flang/test/Semantics/resolve65.f90
+40-64 files

LLVM/project 2a6c428 — llvm/lib/Transforms/IPO LowerTypeTests.cpp, llvm/test/Transforms/SimplifyTypeTests preserve-function-analyses.ll

fixup! LowerTypeTests: Only invalidate analyses of modified functions in SimplifyTypeTests

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+60-23llvm/test/Transforms/SimplifyTypeTests/preserve-function-analyses.ll
+8-3llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+68-262 files

LLVM/project 13e71e5 — llvm/lib/MC MCObjectStreamer.cpp, llvm/test/MC/ELF mc-dump.s

[MC] Fold CFI advance_loc when applicable. NFC (#245130)

In many cases both labels are in the fixed part of a fragment without
linker relaxation. We should fold the advance_loc to save space and
time.

https://reviews.llvm.org/D150004 removed a fast path because it folded
deltas across linker-relaxable instructions. `absoluteSymbolDiff` now
rejects such fragments.
DeltaFile
+8-0llvm/lib/MC/MCObjectStreamer.cpp
+4-0llvm/test/MC/ELF/mc-dump.s
+12-02 files

FreeBSD/ports ca70e83 — misc/codex Makefile Makefile.crates, misc/codex/files patch-codex-rs_core_src_tools_runtimes_apply__patch.rs patch-codex-rs_Cargo.toml

misc/codex: Update to 0.171.0 and fix file descriptor leakage

While here, update notify crate to 9.0.0 (from 8.2.0) to prevent file
descriptor leakage.

Changelog: https://github.com/openai/codex/releases/tag/rust-v0.171.0

Reported by:    @lin72h
Pull Request:   https://github.com/freebsd/freebsd-ports/pull/676
Closes:         https://github.com/freebsd/freebsd-ports/pull/676
Co-authored-by: Hiroki Tagato <tagattie at FreeBSD.org>
DeltaFile
+153-0misc/codex/files/patch-codex-rs_Cargo.lock
+65-45misc/codex/distinfo
+31-21misc/codex/Makefile.crates
+11-0misc/codex/files/patch-codex-rs_Cargo.toml
+4-4misc/codex/files/patch-codex-rs_core_src_tools_runtimes_apply__patch.rs
+6-2misc/codex/Makefile
+270-724 files not shown
+279-8110 files

LLVM/project 9714a85 — libc/src/__support/FPUtil FMA.h nearest_integer.h, libc/src/__support/FPUtil/arm FEnvImpl.h

[libc][FPUtil] Make hardware helpers usable in constant expressions (#242283)

## Summary

Part of #195623 (split 1/2). Makes the `FPUtil` hardware helpers usable
in constant expressions, which is the foundation the shared math
functions build on in #242285.

## What this PR does

- Guards the hardware/intrinsic paths in `FEnvImpl`, `sqrt`, `FMA`,
`nearest_integer`, and `multiply_add` behind `is_constant_evaluated()`,
so they fall through to the generic implementation during constant
evaluation while still using the hardware path at runtime.
- Applies this across all supported architectures: aarch64, arm,
hexagon, riscv, and x86_64.

## Compatibility


    [10 lines not shown]
DeltaFile
+39-20libc/src/__support/FPUtil/nearest_integer.h
+37-4libc/src/__support/FPUtil/x86_64/sqrt.h
+24-14libc/src/__support/FPUtil/FMA.h
+19-13libc/src/__support/FPUtil/arm/FEnvImpl.h
+29-2libc/src/__support/FPUtil/x86_64/nearest_integer.h
+29-2libc/src/__support/FPUtil/riscv/sqrt.h
+177-5516 files not shown
+409-14322 files

LLVM/project 4af54d7 — mlir/lib/Dialect/Affine/Utils LoopUtils.cpp, mlir/test/Dialect/SCF loop-unroll.mlir

[mlir][Affine] Fix crash in loopUnrollUpToFactor on zero-trip loops (#245019)

When the constant trip count was lower than the unroll factor,
loopUnrollUpToFactor clamped the factor to the trip count. For a
zero-trip loop (e.g. `affine.for %i = 0 to 0`) this called
loopUnrollByFactor with factor 0 and tripped its "unroll factor should
be positive" assertion. Return early for zero-trip loops as
loopUnrollFull does, since there is nothing to unroll. Fixes #220458.

Assisted-by: MiMo-V2.6-Pro
DeltaFile
+25-1mlir/test/Dialect/SCF/loop-unroll.mlir
+5-1mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
+30-22 files

FreeBSD/ports f7213d3 — devel/etcd35 Makefile distinfo

devel/etcd35: update to 3.5.36

Reported by:    portscout
Sponsored by:   Klara, Inc.
DeltaFile
+25-25devel/etcd35/distinfo
+2-2devel/etcd35/Makefile
+27-272 files

LLVM/project c620a42 — llvm/include/llvm/MC MCContext.h, llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp

[MC] Change section group name from Twine to StringRef. NFC (#245125)

str() conversions are expensive. All but one caller
(MCObjectFileInfo::getPseudoProbeDescSection) pass a StringRef. Take a
StringRef.
DeltaFile
+5-5llvm/lib/MC/MCContext.cpp
+4-4llvm/include/llvm/MC/MCContext.h
+2-2llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+2-1llvm/lib/MC/MCObjectFileInfo.cpp
+13-124 files

LLVM/project 142a031 — llvm/lib/Transforms/Coroutines CoroCleanup.cpp, llvm/test/Transforms/Coroutines coro-cleanup-async-size-replace-analyses.ll

fixup! Coroutines: Only invalidate analyses of lowered functions in CoroCleanup
DeltaFile
+41-0llvm/test/Transforms/Coroutines/coro-cleanup-async-size-replace-analyses.ll
+5-2llvm/lib/Transforms/Coroutines/CoroCleanup.cpp
+46-22 files

LLVM/project 425b311 — llvm/lib/Target/ARM/AsmParser ARMAsmParser.cpp, llvm/lib/Target/AVR/AsmParser AVRAsmParser.cpp

[nspr] update
DeltaFile
+3-2llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
+3-2llvm/lib/Target/AVR/AsmParser/AVRAsmParser.cpp
+3-2llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+9-63 files

FreeBSD/src 318895d — sys/security/audit audit_bsm.c

pdptrace(2): handle audit

Reported by:    llm-postcr
Fixes:  b2f300ee8fc0 ("sys/bsm/audit_kevents.h: add AUE_PDPTRACE")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+16-0sys/security/audit/audit_bsm.c
+16-01 files

LLVM/project 097146c — llvm/lib/Transforms/Coroutines CoroCleanup.cpp, llvm/test/Transforms/Coroutines coro-cleanup-preserve-function-analyses.ll

Coroutines: Only invalidate analyses of lowered functions in CoroCleanup

CoroCleanupPass already invalidates the analyses of the functions it
lowers, but then reported no preserved analyses, which clears every
cached function.

Also stop preserving CFG analyses for lowered functions, since noop
coroutine elision can change the CFG.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+57-0llvm/test/Transforms/Coroutines/coro-cleanup-preserve-function-analyses.ll
+12-5llvm/lib/Transforms/Coroutines/CoroCleanup.cpp
+69-52 files

LLVM/project c3b40cb — llvm/include/llvm/MC MCContext.h, llvm/lib/MC MCContext.cpp

[MC] Hash section names once in recordELFMergeableSectionInfo. NFC (#245122)

Key both ELFSeenGenericMergeableSections and ELFEntrySizeMap by
CachedHashStringRef so that hash lookups don't need to recompute the
section name hash. ELFSeenGenericmergeableSections contains most
sections and the long C++ mangled names are expensive.
DeltaFile
+10-6llvm/lib/MC/MCContext.cpp
+4-2llvm/include/llvm/MC/MCContext.h
+14-82 files

LLVM/project fb18f4f — llvm/include/llvm/IR RuntimeLibcallsImpl.td RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls arm64ec.ll aarch64.ll

RuntimeLibcalls: Add SME attributes to the AArch64 SME support routines

SMEAttrs currently assumes these attributes based on the function
name. Add them to the function definition so this code can be cleaned
up in the future.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+104-82llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+22-12llvm/include/llvm/IR/RuntimeLibcalls.td
+10-7llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm64ec.ll
+3-0llvm/include/llvm/IR/RuntimeLibcallsImpl.td
+139-1014 files

LLVM/project 70f8e96 — orc-rt/include/orc-rt-c/bedrock/sys/posix DlfcnLoaderAdapter.h dlfcn-types.h, orc-rt/include/orc-rt/bedrock/sys/posix DlfcnLoaderAdapter.h

[orc-rt] Add DlfcnLoaderAdapter. (#245120)

DlfcnLoaderAdapter simplifies exposing an ORC runtime loader through the
dlfcn.h APIs. Subclasses implement dlopen, dlclose, dlsym, and dladdr in
terms of their underlying loader, reporting failures with Error and
Expected as usual in the ORC runtime. The adapter takes care of
translating those results into dlfcn.h's error-reporting scheme: each
failure returns the operation's POSIX failure value, and its message is
made available to the calling thread through dlerror. Failures are also
logged, under a new LoaderAPIs logging category.

JIT'd code reaches an adapter through C entry points
(orc_rt_DlfcnLoaderAdapter_*) and an instance symbol,
orc_rt_DlfcnLoaderAdapter_Instance, which the adapter adds to a symbol
table supplied by its creator. The creator publishes that table to the
session once the whole loader system has been constructed.

Supporting changes:
- orc-rt-c/bedrock/sys/posix/dlfcn-types.h provides orc_rt_Dl_info and

    [6 lines not shown]
DeltaFile
+442-0orc-rt/test/unit/bedrock/sys/posix/DlfcnLoaderAdapterTest.cpp
+216-0orc-rt/lib/bedrock/sys/posix/DlfcnLoaderAdapter.cpp
+135-0orc-rt/include/orc-rt/bedrock/sys/posix/DlfcnLoaderAdapter.h
+72-0orc-rt/include/orc-rt-c/bedrock/sys/posix/dlfcn-types.h
+56-0orc-rt/include/orc-rt-c/bedrock/sys/posix/DlfcnLoaderAdapter.h
+49-0orc-rt/test/unit/bedrock/sys/posix/DlfcnLoaderAdapterCTest.c
+970-07 files not shown
+989-113 files

LLVM/project c980be0 — llvm/lib/Transforms/IPO LowerTypeTests.cpp, llvm/test/Transforms/SimplifyTypeTests preserve-function-analyses.ll

LowerTypeTests: Only invalidate analyses of modified functions in SimplifyTypeTests

SimplifyTypeTests tried to preserve the CFG analyses, but did not
preserve the function analysis manager proxy, so all function analyses
were invalidated.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+48-0llvm/test/Transforms/SimplifyTypeTests/preserve-function-analyses.ll
+16-5llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+64-52 files

LLVM/project f0acbb9 — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls arm64ec.ll aarch64.ll

RuntimeLibcalls: Add attributes to __arm_sc_memcpy, memmove and memset

The streaming-compatible variants behave like memcpy, memmove and
memset. Omit captures(none) since these can be used to implement volatile
memory intrinsics.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+20-20llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+18-3llvm/include/llvm/IR/RuntimeLibcalls.td
+4-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm64ec.ll
+42-273 files

NextBSD/src ae5be95 — . build.sh

build.sh: retry the Pi device-tree downloads (#688)

Run 45103400295's Server rpi5 image failed because
raw.githubusercontent.com answered one of the eight BCM2712 device-tree
downloads (bcm2712d0-rpi-5-b.dtb) with "Service Unavailable"; build.sh
made a single attempt per file, so one transient error failed the job.
The Desktop rpi5 job fetched the same files a minute earlier without
trouble.

Add fetch_retry: up to five tries with a growing wait (5, 10, 15, 20 s),
writing OUT.part and renaming it only on success so a failed try never
leaves a half-written file that a later build would treat as cached. Use
it for the device trees; the existing check that each file starts with
the flattened-device-tree magic stays.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+26-2build.sh
+26-21 files

LLVM/project 568736e — llvm/lib/Transforms/Instrumentation PGOForceFunctionAttrs.cpp, llvm/test/Instrumentation/PGOForceFunctionAttrs preserve-function-analyses.ll

PGOForceFunctionAttrs: Only clear analyses of changed functions (#244985)

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+26-0llvm/test/Instrumentation/PGOForceFunctionAttrs/preserve-function-analyses.ll
+10-1llvm/lib/Transforms/Instrumentation/PGOForceFunctionAttrs.cpp
+36-12 files

LLVM/project 1e0049e — llvm/lib/Transforms/Utils NameAnonGlobals.cpp CanonicalizeAliases.cpp, llvm/test/Transforms/CanonicalizeAliases preserve-function-analyses.ll

Utils: Preserve function analyses in CanonicalizeAliases and NameAnonGlobals (#244987)

These passes only change aliases and the names of globals, so they do
not need to invalidate any function analyses.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+16-0llvm/test/Transforms/CanonicalizeAliases/preserve-function-analyses.ll
+14-0llvm/test/Transforms/NameAnonGlobals/preserve-function-analyses.ll
+5-1llvm/lib/Transforms/Utils/NameAnonGlobals.cpp
+5-1llvm/lib/Transforms/Utils/CanonicalizeAliases.cpp
+40-24 files

LLVM/project 09ca80c — llvm/lib/Transforms/IPO GlobalSplit.cpp, llvm/test/Transforms/GlobalSplit preserve-function-analyses.ll

GlobalSplit: Preserve CFG analyses (#244959)

GlobalSplit only changes global variables, so it does not need to
invalidate every function analysis.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+37-0llvm/test/Transforms/GlobalSplit/preserve-function-analyses.ll
+6-1llvm/lib/Transforms/IPO/GlobalSplit.cpp
+43-12 files

LLVM/project cc454d8 — llvm/lib/MC MCContext.cpp, llvm/test/MC/ELF reloc-same-name-section.s

[MC] Allow relocation section to share name with a label (#245121)

We currently reject the new case in reloc-same-name-section.s as
"invalid symbol redefinition" while GAS allows it. Allow it by creating
a MCSectionELF directly with a null `Begin` symbol.
DeltaFile
+22-17llvm/test/MC/ELF/reloc-same-name-section.s
+3-5llvm/lib/MC/MCContext.cpp
+25-222 files

LLVM/project 8731687 — llvm/test/CodeGen/SPIRV loop-unroll-nonshader.ll llc-pipeline.ll, llvm/test/CodeGen/SPIRV/instructions undef-composite.ll

Revert "[SPIR-V] Default to NewPM" (#245119)

Reverts llvm/llvm-project#239489

Breaks https://lab.llvm.org/buildbot/#/builders/225/builds/26922. Looks
like a latent machine code verification bug where the legacy pipeline
wasn't running the machine verifier.
DeltaFile
+18-0llvm/unittests/Target/SPIRV/SPIRVAPITest.cpp
+4-4llvm/test/CodeGen/SPIRV/llc-pipeline.ll
+2-0llvm/test/CodeGen/SPIRV/structurizer/do-continue.ll
+2-0llvm/test/CodeGen/SPIRV/structurizer/cf.while.continue.ll
+2-0llvm/test/CodeGen/SPIRV/loop-unroll-nonshader.ll
+2-0llvm/test/CodeGen/SPIRV/instructions/undef-composite.ll
+30-48 files not shown
+38-614 files

FreeBSD/ports 2294470 — net-mgmt/tcpreplay Makefile distinfo

net-mgmt/tcpreplay: Update to 4.6.4

Changelog:
https://github.com/appneta/tcpreplay/releases/tag/v4.6.3
https://github.com/appneta/tcpreplay/releases/tag/v4.6.4

MFH: 2026Q4
(cherry picked from commit 51d9b075ddf25c4fd63664aea5a2d36b2ab7fdd2)
DeltaFile
+3-3net-mgmt/tcpreplay/distinfo
+1-1net-mgmt/tcpreplay/Makefile
+4-42 files

FreeBSD/ports ad57bd6 — net-mgmt/tcpreplay Makefile distinfo

net-mgmt/tcpreplay: Update to 4.6.2

Changelog: https://github.com/appneta/tcpreplay/releases/tag/v4.6.2

Approved by: osa, fluffy (mentors, implicit)

(cherry picked from commit 651a2ce987a2f009544afad529c3d0e533829d96)
DeltaFile
+3-3net-mgmt/tcpreplay/distinfo
+2-2net-mgmt/tcpreplay/Makefile
+5-52 files

LLVM/project e754191 — llvm/test/CodeGen/SPIRV loop-unroll-nonshader.ll llc-pipeline.ll, llvm/test/CodeGen/SPIRV/instructions undef-composite.ll

[SPIR-V] Default to NewPM (#239489)

SPIR-V CodeGen now works with the NewPM, so make clang and llc default
to it
DeltaFile
+0-18llvm/unittests/Target/SPIRV/SPIRVAPITest.cpp
+4-4llvm/test/CodeGen/SPIRV/llc-pipeline.ll
+0-2llvm/test/CodeGen/SPIRV/structurizer/do-continue.ll
+0-2llvm/test/CodeGen/SPIRV/structurizer/cf.while.continue.ll
+0-2llvm/test/CodeGen/SPIRV/loop-unroll-nonshader.ll
+0-2llvm/test/CodeGen/SPIRV/instructions/undef-composite.ll
+4-308 files not shown
+6-3814 files

FreeBSD/ports 51d9b07 — net-mgmt/tcpreplay Makefile distinfo

net-mgmt/tcpreplay: Update to 4.6.4

Changelog:
https://github.com/appneta/tcpreplay/releases/tag/v4.6.3
https://github.com/appneta/tcpreplay/releases/tag/v4.6.4

MFH: 2026Q4
DeltaFile
+3-3net-mgmt/tcpreplay/distinfo
+1-1net-mgmt/tcpreplay/Makefile
+4-42 files

NextBSD/src e00043f — . build.sh

build.sh: retry the Pi device-tree downloads

Run 45103400295's Server rpi5 image failed because
raw.githubusercontent.com answered one of the eight BCM2712 device-tree
downloads (bcm2712d0-rpi-5-b.dtb) with "Service Unavailable"; build.sh
made a single attempt per file, so one transient error failed the job.
The Desktop rpi5 job fetched the same files a minute earlier without
trouble.

Add fetch_retry: up to five tries with a growing wait (5, 10, 15, 20 s),
writing OUT.part and renaming it only on success so a failed try never
leaves a half-written file that a later build would treat as cached. Use
it for the device trees; the existing check that each file starts with
the flattened-device-tree magic stays.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+26-2build.sh
+26-21 files

FreeBSD/ports 65a2b83 — mail/tidemail Makefile distinfo

mail/tidemail: Update to 1.10.1
DeltaFile
+5-5mail/tidemail/distinfo
+1-1mail/tidemail/Makefile
+6-62 files

LLVM/project ff97e97 — llvm/lib/Target/X86/MCTargetDesc X86AsmBackend.cpp, llvm/test/MC/X86 align-branch-enhanced-relaxation.s

[X86] Skip finishLayout without MCBoundaryAlignFragment. NFC (#245114)

-x86-pad-for-branch-align defaults to true, so `finishLayout` walks
every text section even when branch alignment is disabled. Skip
it in the majority of cases when AllowAutoPadding is false.

Also add a test for -x86-pad-for-branch-align=0, which was uncovered.
DeltaFile
+5-0llvm/test/MC/X86/align-branch-enhanced-relaxation.s
+2-1llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
+7-12 files