LLVM/project dc744d9 — flang/lib/Lower Bridge.cpp, flang/lib/Optimizer/Transforms AddDebugInfo.cpp

 [flang][debug] Describe submodules in the debug info (#225852)

A submodule had no presence of its own in the debug info. Everything it
defined was attributed to the module at the root of its ancestry, so a
debugger showed one module per source file, every one of them carrying
the
name and the line of that ancestor, and it listed the variables of a
submodule as if the ancestor had declared them.

This PR describes a submodule in its own right. There are two
independent strands to it, and they meet only in that both decide which
module an entity is scoped in.

## Thread A: describing the submodule

### Recording the ancestry

A submodule is not a first class entity in FIR. It is not mangled into
the name of anything it declares in a way that distinguishes it from a

    [158 lines not shown]
DeltaFile
+136-72flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
+72-0flang/test/Transforms/debug-submodule.fir
+46-1flang/lib/Lower/Bridge.cpp
+47-0flang/test/Lower/debug-submodule.f90
+40-0flang/test/Integration/debug-submodule-nested.F90
+32-0flang/test/Integration/debug-submodule-ancestor.F90
+373-735 files not shown
+425-8211 files

LLVM/project 581edb7 — mlir/lib/Conversion/XeVMToLLVM XeVMToLLVM.cpp

[mlir][XeVM] Stop using `getAttrs()`: explicitly preserve properties when cloning operations (NFC) (#226420)

Pass raw attributes and serialized properties separately through
OperationState when cloning an operation.

Part of #155475

Assisted-by: Codex
DeltaFile
+2-1mlir/lib/Conversion/XeVMToLLVM/XeVMToLLVM.cpp
+2-11 files

LLVM/project 51b1c27 — llvm/lib/Transforms/Scalar SROA.cpp, llvm/test/Transforms/SROA load-store-overlap.ll

[SROA] Pre-split overlapping move slices within a partition (#210061)

When we have an overlapping load and store within an alloca, e.g. due to
a memmove that has been transformed into a load+store by InstCombine,
then currently SROA can't do anything with it. By pre-splitting such
loads and stores we eliminate any overlap between slices and thus SROA
can optimize them.
DeltaFile
+474-0llvm/test/Transforms/SROA/load-store-overlap.ll
+92-2llvm/lib/Transforms/Scalar/SROA.cpp
+566-22 files

LLVM/project bf16cf6 — mlir/include/mlir/Transforms GreedyPatternRewriteDriver.h, mlir/lib/Transforms/Utils GreedyPatternRewriteDriver.cpp

[mlir] Avoid rewriting unreachable blocks in the greedy driver

A rewrite can disconnect a block after the iteration's initial CFG sweep.
Track reachability through rewriter notifications and skip worklist operations
in unreachable blocks until the next iteration removes them.

Cache reachability per region. Compare the final successors of changed blocks
after each rewrite, preserving the cache for successor-equivalent changes and
block merges that keep surviving blocks reachable. Recompute for other CFG
changes. This avoids repeated full CFG scans during branch canonicalization.

Cover inserted and redirected blocks, blocks connected before rewrite
completion, nested regions, and explicit op-list behavior.

Assisted-by: Codex
DeltaFile
+192-1mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
+50-1mlir/test/lib/Dialect/Test/TestPatterns.cpp
+50-0mlir/test/Transforms/greedy-cfg-reachability.mlir
+41-0mlir/test/Transforms/canonicalize-dce.mlir
+18-2mlir/test/Transforms/test-strict-pattern-driver.mlir
+3-0mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h
+354-46 files

LLVM/project afa81ff — mlir/lib/Dialect/LLVMIR/IR LLVMDialect.cpp

[mlir][LLVM] Stop using Operation::getAttrs in custom printers (NCF) (#226418)

At the moment, the assembly format for these operations mixes
discardable and inherent attributes. We should fix it. But for now, stop
using the `getAttrs()` API that is on its way to deprecation.

Part of #155475

Assisted-by: Codex
DeltaFile
+27-5mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
+27-51 files

LLVM/project e6115bc — llvm/lib/Target/AMDGPU SILowerControlFlow.cpp

[AMDGPU] Make setImpSCCDefDead default to true. NFC. (#226406)

In SILowerControlFlow, in helper function setImpSCCDefDead, make
parameter IsDead default to true to match MachineOperand::setIsDead.
DeltaFile
+2-2llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
+2-21 files

NetBSD/pkgsrc lTCKV54 — doc CHANGES-2026

   doc: mention emacs framework improvements
VersionDeltaFile
1.6365+2-1doc/CHANGES-2026
+2-11 files

LLVM/project 0e23231 — mlir/lib/Dialect/Quant/Transforms NormalizeQuantTypes.cpp

[mlir][Quant] Stop using Operation::getAttrs (NFC) (#226413)

Pass raw attributes separately from property storage when recreating an
operation.

Part of #155475 

Assisted-by: Codex
DeltaFile
+4-3mlir/lib/Dialect/Quant/Transforms/NormalizeQuantTypes.cpp
+4-31 files

LLVM/project 7288130 — mlir/lib/Dialect/OpenACC/Transforms ACCRoutineLowering.cpp

[mlir][OpenACC] Stop using getAttrs() and copy function properties separately (NFC) (#226414)

Copy inherent properties and discardable attributes explicitly when
staging a device function.

Part of #155475 

Assisted-by: Codex
DeltaFile
+2-1mlir/lib/Dialect/OpenACC/Transforms/ACCRoutineLowering.cpp
+2-11 files

NetBSD/pkgsrc-wip e0bd910 — magit Makefile PLIST, magit-git Makefile PLIST

magit-git -> magit: not a git package
DeltaFile
+0-98magit-git/PLIST
+98-0magit/PLIST
+0-51magit-git/Makefile
+51-0magit/Makefile
+0-34magit-git/patches/patch-Makefile
+34-0magit/patches/patch-Makefile
+183-1839 files not shown
+242-24215 files

NetBSD/pkgsrc YtN1OAy — mk/pbulk pbulk-index.mk

   mk: adapt bulk build framework for emacs module framework changes
VersionDeltaFile
1.32+6-2mk/pbulk/pbulk-index.mk
+6-21 files

FreeBSD/ports 0282591 — archivers/plakar Makefile distinfo

archivers/plakar: Update 1.1.6 => 1.1.7

Changelog:
https://github.com/PlakarKorp/plakar/releases/tag/v1.1.7

PR:             298840
Sponsored by:   UNIS Labs (vvd, commit patch)
DeltaFile
+5-5archivers/plakar/distinfo
+1-1archivers/plakar/Makefile
+6-62 files

LLVM/project 7581175 — mlir/lib/Dialect/Tensor/Transforms ScalarizeFunctionResult.cpp

[mlir][Tensor] Stop using `getAttrs()` and only copy discardable call attributes explicitly (#226412)

Preserve discardable metadata when recreating a typed direct call; its
builder supplies the inherent fields.

Part of #155475 

Assisted-by: Codex
DeltaFile
+2-1mlir/lib/Dialect/Tensor/Transforms/ScalarizeFunctionResult.cpp
+2-11 files

NetBSD/pkgsrc-wip 90cf8c5 — csv-mode/patches patch-csv-mode.el, emacs-compat Makefile

*: adapt emacs packages to new framework
DeltaFile
+55-55tc/PLIST
+55-55tc-git/PLIST
+0-53magit-git/patches/patch-default.mk
+0-24csv-mode/patches/patch-csv-mode.el
+11-9magit-git/Makefile
+9-9emacs-compat/Makefile
+130-20540 files not shown
+262-29346 files

NetBSD/pkgsrc-wip 9c03e83 — . Makefile, ecb distinfo DESCR

ecb: remove, pkgsrc version is newer
DeltaFile
+0-246ecb/PLIST
+0-44ecb/Makefile
+0-8ecb/MESSAGE
+0-5ecb/distinfo
+0-5ecb/DESCR
+0-2Makefile
+0-3106 files

NetBSD/pkgsrc-wip b35a4ac — wl-git options.mk Makefile, wl-git/patches patch-aa patch-ab

wl-git: includes missing bl3.mk, we have wl-snapshot, use that
DeltaFile
+0-243wl-git/PLIST
+0-66wl-git/Makefile
+0-47wl-git/patches/patch-wl_wl-summary_el
+0-18wl-git/patches/patch-ab
+0-15wl-git/patches/patch-aa
+0-14wl-git/options.mk
+0-4035 files not shown
+0-42611 files

NetBSD/pkgsrc aB8SCn2 — devel/cqual PLIST, devel/rsltc PLIST

   *: adapt packages to new emacs framework

   With a lot of help from Showta Ishizaki.
VersionDeltaFile
1.2+72-72inputmethod/tamago-tsunagi/PLIST
1.22+34-34mail/mew/PLIST
1.5+15-15devel/cqual/PLIST
1.3+26-2mail/mu/patches/patch-mu4e_meson.build
1.40+15-9editors/emacs-packages/Makefile
1.3+9-9devel/rsltc/PLIST
+171-14180 files not shown
+490-33986 files

NetBSD/pkgsrc 8Y5KsMy — editors/emacs modules.mk

   emacs: improve module framework

   With a lot of help from Showta Ishizaki.

   It now supports the features we expect from a module framework:

   - allow specifying supported versions

   - allow specifying unsupported versions

   - reduce conflicts between versions (this is not as important as
     e.g. for Python, because the base emacs* and xemacs* packages still
     conflict with each other)

   - tag the PKGNAME with the version it was built for; so e.g. "magit"
     is now called "emacs30-magit" etc. depending on the version it was
     built for

   - build all supported versions of a module in bulk builds

    [11 lines not shown]
VersionDeltaFile
1.43+223-37editors/emacs/modules.mk
+223-371 files

LLVM/project 49290e8 — llvm/include/llvm/ExecutionEngine/Orc JITTargetMachineBuilder.h, llvm/lib/ExecutionEngine/Orc JITTargetMachineBuilder.cpp

Orc: Move getDefaultDataLayoutForTarget out of line

Try to fix link errors with shared library builds.
DeltaFile
+6-0llvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
+1-4llvm/include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h
+7-42 files

LLVM/project f4620e3 — lld/ELF MarkLive.cpp, lld/test/ELF why-live.test

[LLD][ELF] Skip symbols to dead mergeable section pieces for --why-live (#226238)

Before this change, `--why-live=*` in "why-live.test" incorrectly prints
`live symbol: b.o:(dead)`.
DeltaFile
+11-4lld/ELF/MarkLive.cpp
+2-0lld/test/ELF/why-live.test
+13-42 files

LLVM/project 0131390 — offload/liboffload/src OffloadImpl.cpp

Merge branch 'users/adurang/lazy_liboffload' of https://github.com/llvm/llvm-project into users/adurang/lazy_liboffload
DeltaFile
+2-2offload/liboffload/src/OffloadImpl.cpp
+2-21 files

LLVM/project ac368e5 — flang/include/flang/Lower PFTBuilder.h

[flang][NFC] Say which control successors are not incoming branches

The map records branches, not every control successor: a construct
transferring control between its own statements is not a branch
(F2023 11.2.1 p1), so the successors analyzeBranches sets directly are
absent from it. Say so, rather than calling the map a plain inverse.
DeltaFile
+4-2flang/include/flang/Lower/PFTBuilder.h
+4-21 files

LLVM/project e5ef9e4 — flang/lib/Lower PFTBuilder.cpp, flang/test/Lower pre-fir-tree-assigned-goto.f90

[flang] Resolve an assigned GO TO's targets from the completed assign map

An assigned GO TO reaches any label ASSIGNed to its variable, and a label
list does not bound that: lowering allows a branch to any ASSIGNed label
whether or not the list names it. Branch analysis only sees the ASSIGNs
preceding the GO TO in program order, so the successors it records, and the
incoming branches derived from them, can be incomplete.

The symbol-to-labels map is complete once branch analysis has finished,
which is when the classification runs. Ask it for the full target set
instead of trusting the recorded successors, so a loop whose assigned GO TO
stays within its body is still recognised.
DeltaFile
+45-0flang/test/Lower/pre-fir-tree-assigned-goto.f90
+22-2flang/lib/Lower/PFTBuilder.cpp
+67-22 files

LLVM/project ecc427f — flang/include/flang/Lower PFTDefs.h PFTBuilder.h, flang/lib/Lower PFTBuilder.cpp

[flang] Record the evaluations that branch to each evaluation

The PFT records where each branch goes, but not where it comes from, so
asking whether anything branches into a construct means walking the whole
procedure.

Record the reverse edges beside the forward ones, and print them in PFT
dumps so both directions of the branch graph are visible.
DeltaFile
+68-0flang/test/Lower/pre-fir-tree-incoming-branches.f90
+20-0flang/lib/Lower/PFTBuilder.cpp
+8-8flang/test/Lower/assigned-goto-labeled-end.f90
+3-3flang/test/Lower/trailing-cycle.f90
+3-0flang/include/flang/Lower/PFTDefs.h
+3-0flang/include/flang/Lower/PFTBuilder.h
+105-111 files not shown
+106-127 files

LLVM/project 4ef8979 — flang/lib/Lower Bridge.cpp, flang/test/Lower do-loop-branch-to-loop-header.f90 do_loop_unstructured.f90

[flang] Lower loops whose branching is confined to their body structurally

Such a loop was classified separately by a previous change but still
lowered as unstructured, so its structured form was lost.

Lower it structurally instead, with its body folded into a region that can
hold the branching. The loop keeps its bounds on the op, so it remains
available to whatever transforms or parallelizes it. Only the body is
folded: the loop control statements are emitted as they are for any
structured loop, since a branch from outside may target either of them.

Loops an OpenACC or OpenMP directive owns are lowered the same way, so
they keep their form too.
DeltaFile
+20-134flang/test/Lower/do_loop_unstructured.f90
+119-11flang/lib/Lower/Bridge.cpp
+73-0flang/test/Lower/OpenACC/acc-unstructured-internals.f90
+34-28flang/test/Lower/OpenMP/wsloop-unstructured-cycle.f90
+55-0flang/test/Lower/do-loop-branch-to-loop-header.f90
+50-0flang/test/Lower/OpenMP/metadirective-loop-unstructured.f90
+351-17310 files not shown
+453-24116 files

LLVM/project 6cc6a64 — flang/lib/Lower PFTBuilder.cpp

[flang] Honor the execute-region wrap flag when detecting loop internals

A loop whose branching is confined to its body is lowered with that body
in an scf.execute_region, since the CFG needs more than the single block
fir.do_loop's region admits. With the wrap disabled there is nowhere to
put those blocks, so skip the reclassification and leave the loop
unstructured.
DeltaFile
+7-0flang/lib/Lower/PFTBuilder.cpp
+7-01 files

LLVM/project a23f202 — flang/lib/Lower PFTBuilder.cpp, flang/test/Lower do-loop-infinite-body-cycle.f90

[flang] Keep loops with a non-terminating body unstructured

A loop body that cannot run to completion must not be folded into an
scf.execute_region: the region carries no memory effects, so DCE deletes
it outright, dropping the non-termination and letting execution fall past
the loop. Branches survive that, being terminators.

An infinite DO was already rejected. Follow chains of unconditional GO TOs
as well and reject a body whose chain closes on itself, which is the same
bound the cf.br canonicalization applies to cyclic branches.
DeltaFile
+49-0flang/test/Lower/do-loop-infinite-body-cycle.f90
+30-1flang/lib/Lower/PFTBuilder.cpp
+79-12 files

LLVM/project 6901ea0 — flang/include/flang/Lower PFTBuilder.h, flang/lib/Lower PFTBuilder.cpp

[flang] Detect loops whose branching is confined to their body

A DO loop is classified as either structured or unstructured, and a single
raw branch anywhere in its body forces the loop -- and every construct
enclosing it -- onto the unstructured path.

That is stronger than necessary. A loop keeps its structured control flow
as long as its branching neither leaves its body nor enters it from
outside. Classify such a loop separately from a fully unstructured one.

This only classifies: lowering is unchanged. PFT dumps mark the new
classification with '~', which is what the tests key on.
DeltaFile
+191-23flang/lib/Lower/PFTBuilder.cpp
+137-0flang/test/Lower/pre-fir-tree-unstructured-internals.f90
+51-6flang/include/flang/Lower/PFTBuilder.h
+9-6flang/test/Lower/trailing-cycle.f90
+388-354 files

LLVM/project 245f71a — flang/test/Lower do-loop-infinite-body-cycle.f90

[flang][Test] Cover the lowering of loops with a non-terminating body

A previous change leaves such a loop unstructured. Check what that produces:
the cycle survives as a block branching to itself, no fir.do_loop is emitted
for the loop control, and a loop that only needs a block of its own still
gets the structured form with its body in a region.
DeltaFile
+22-0flang/test/Lower/do-loop-infinite-body-cycle.f90
+22-01 files

LLVM/project af8da03 — orc-rt/include/orc-rt/bedrock Session.h, orc-rt/lib/bedrock NativeDylibManager.cpp

[orc-rt] Make more Session callbacks noexcept. (#226385)

Session's OnDisconnectFn, OnDetachFn, and OnShutdownFn callbacks should
not throw exceptions.
DeltaFile
+23-20orc-rt/test/unit/bedrock/SessionTest.cpp
+7-4orc-rt/test/unit/CommonTestUtils.h
+5-5orc-rt/test/unit/bedrock/sps/SimpleRemoteCATest.cpp
+3-3orc-rt/include/orc-rt/bedrock/Session.h
+1-1orc-rt/test/unit/bedrock/sps/SimpleRemoteCAOverSocketTest.cpp
+1-1orc-rt/lib/bedrock/NativeDylibManager.cpp
+40-341 files not shown
+41-357 files