LLVM/project 4307456clang/docs index.md MatrixTypes.md, clang/docs/CommandGuide clang.md

[docs] Finish MyST migration for remaining Clang docs (#220381)

This migrates all remaining clang/docs/**rst files to markdown. There
are still 2-3 remaining generated rst files, and I'm working on that
next. The pixel diff shows 0.4045% pixel differences after
longest-common-subsequence vertical alignment, and they all looked
intentional to me. I don't have a good process for serving that HTML, or
I'd share it.

Tracking issue: #201242
See the [migration guide] for more information. 

[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
This is a stacked PR based on #220380, which will be a standalone commit
that
renames *.rst -> *.md before this PR lands for history preservation
purposes.

This was prepared with rst2myst plus LLM-assisted cleanup.
DeltaFile
+644-643clang/docs/CommandGuide/clang.md
+324-347clang/docs/ObjectiveCLiterals.md
+316-307clang/docs/OffloadingDesign.md
+237-238clang/docs/PCHInternals.md
+120-137clang/docs/MatrixTypes.md
+122-120clang/docs/index.md
+1,763-1,7924 files not shown
+1,897-1,95710 files

LLVM/project c39fa41clang/docs PCHInternals.rst PCHInternals.md, clang/docs/CommandGuide clang.rst clang.md

[docs] Rename remaining Clang docs for MyST migration (#220380)

Tracking issue: #201242
See the [migration guide] for more information. 

[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines

This is the initial straight rename commit. It will probably break the
docs build, but it has to be a separate PR for blame preservation
purposes.
DeltaFile
+0-800clang/docs/CommandGuide/clang.rst
+800-0clang/docs/CommandGuide/clang.md
+0-606clang/docs/ObjectiveCLiterals.rst
+606-0clang/docs/ObjectiveCLiterals.md
+0-571clang/docs/PCHInternals.rst
+571-0clang/docs/PCHInternals.md
+1,977-1,97711 files not shown
+3,224-3,22417 files

LLVM/project 63f2d96clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeSafety.h, clang/include/clang/Basic DiagnosticSemaKinds.td DiagnosticGroups.td

[LifetimeSafety] Suppress global-escape warnings in `main` to reduce false positives (#218765)
DeltaFile
+10-5clang/lib/Sema/SemaLifetimeSafety.h
+12-2clang/test/Sema/LifetimeSafety/dangling-global.cpp
+6-3clang/lib/Analysis/LifetimeSafety/Checker.cpp
+7-0clang/include/clang/Basic/DiagnosticGroups.td
+4-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+2-1clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
+41-116 files

LLVM/project 56e03d6llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp

clang-format
DeltaFile
+8-8llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+8-81 files

LLVM/project 64d45fallvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU buffer-fat-pointer-atomicrmw-fmin.ll buffer-fat-pointer-atomicrmw-fmax.ll

[AMDGPU][SIInsertWaitcnts] Fix soft wait removal with loop-carried deps

The code that checked if a soft waitcnt (such as the one insterted by
a release fence on LDS) was redundant didn't correctly account for the
fact that that, for example, the previous iteration of a loop could
have introduced memory traffic that needs to be waited on. This bug
appeared to be fairly rare in practice (probably due to the
instruction scheduler shuffling around code in t bad form) but it can
happen.

The fix is that, instad of immediately erasing "redundant" waits, we
add them to a set of waits to be erased, and then remove them from the
set if they prove to be truly redundant.

This has the side effect of fixing a correctness issue around the CAS
loops we emit on gfx1250 - the global_inv we emit after the
`s_loadcnt 0x0` is itself a `loadcnt`-able event, and so needs to be
forced to completion before the next iteration of the CAS loop.


    [5 lines not shown]
DeltaFile
+43-11llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+41-0llvm/test/CodeGen/AMDGPU/local-atomicrmw-fsub.ll
+31-0llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
+31-0llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmax.ll
+20-8llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
+20-8llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
+186-278 files not shown
+229-3114 files

LLVM/project 73bc434llvm/test/CodeGen/AMDGPU waitcnt-loop-carried-fence-drain.mir waitcnt-loop-carried-fence-drain-gfx12.mir

[AMDGPU] Pre-commit tests for loop-carried memory waits (#220356)

SIInsertWaitcnts is currently dropping waits in a
(fence; read; write; branch) loop in some cases. Pre-commit tests to
show the problem.

AI disclosure: test generated by AI, but I poked them into not being
terrible.

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply at anthropic.com>
DeltaFile
+57-0llvm/test/CodeGen/AMDGPU/waitcnt-loop-carried-fence-drain-gfx12.mir
+53-0llvm/test/CodeGen/AMDGPU/waitcnt-loop-carried-fence-drain.mir
+110-02 files

LLVM/project faafb30llvm/docs/CommandGuide llvm-objcopy.md llvm-objcopy.rst

rebase

Created using spr 1.3.7
DeltaFile
+0-1,208llvm/docs/CommandGuide/llvm-mca.rst
+1,200-0llvm/docs/CommandGuide/llvm-mca.md
+0-751llvm/docs/CommandGuide/tblgen.rst
+739-0llvm/docs/CommandGuide/tblgen.md
+0-668llvm/docs/CommandGuide/llvm-objcopy.rst
+656-0llvm/docs/CommandGuide/llvm-objcopy.md
+2,595-2,627253 files not shown
+11,619-10,531259 files

LLVM/project 541bb45llvm/docs/CommandGuide llvm-pdbutil.rst llvm-objcopy.rst

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+0-1,208llvm/docs/CommandGuide/llvm-mca.rst
+1,200-0llvm/docs/CommandGuide/llvm-mca.md
+0-751llvm/docs/CommandGuide/tblgen.rst
+739-0llvm/docs/CommandGuide/tblgen.md
+0-668llvm/docs/CommandGuide/llvm-objcopy.rst
+0-656llvm/docs/CommandGuide/llvm-pdbutil.rst
+1,939-3,283253 files not shown
+11,619-10,531259 files

LLVM/project 9256584llvm/lib/IR Constants.cpp, llvm/test/Transforms/ThinLTOBitcodeWriter cfi_dso_local_equivalent.ll

[IR] `replaceUsesWith` when aliasing a GV and the use is `dso_local_equivalent` (#220336)

When we want to replace all uses of a GlobalValue `GV` with an alias to
it, the replacing should keep `dso_local_equivalent` semantics - i.e.
such use will be to a `dso_local_equivalent` of the alias of the GV.

Fixes an issue discovered during a certain configuration of chrome
builds, see https://issues.chromium.org/issues/552515375
DeltaFile
+33-0llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
+9-16llvm/lib/IR/Constants.cpp
+22-0llvm/unittests/IR/ConstantsTest.cpp
+64-163 files

LLVM/project 42c6303lld/MachO Driver.cpp SyntheticSections.cpp, lld/MachO/Arch ARM64.cpp

[lld][MachO] Support Objective-C class stubs

Teach Mach-O objc stubs to synthesize class-message stubs that load the class object, selector, and objc_msgSend target.

lld already supports the Apple clang _objc_msgSend$<selector> stub form, even though upstream clang does not currently expose a driver or cc1 flag for emitting it. Apple clang also emits _objc_msgSendClass$<selector>$_OBJC_CLASS_$_<class>; handling that form completes the existing selector-stub support.

Cover local classes, dylib classes, archives, dynamic lookup via -U, missing class symbols, malformed names, unsupported architectures, and dead stripping.
DeltaFile
+292-0lld/test/MachO/arm64-objc-class-stubs.s
+104-12lld/MachO/SyntheticSections.cpp
+92-0lld/MachO/Arch/ARM64.cpp
+75-0lld/test/MachO/arm64-objc-class-stubs-dead.s
+55-0lld/test/MachO/objc-class-stubs-unsupported.s
+33-6lld/MachO/Driver.cpp
+651-184 files not shown
+683-1910 files

LLVM/project 86cea58flang/lib/Optimizer/CodeGen CodeGen.cpp, mlir/lib/Conversion/MathToLLVM MathToLLVM.cpp

[mlir] Migrate aggregate builders to explicit properties

Pass typed property structs and discardable attributes separately at ODS
aggregate builder call sites.

Assisted-by: Codex
DeltaFile
+45-70mlir/unittests/Dialect/OpenACC/OpenACCUtilsTest.cpp
+83-26flang/lib/Optimizer/CodeGen/CodeGen.cpp
+71-35mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
+71-23mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
+33-42mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+38-25mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
+341-22164 files not shown
+908-42270 files

LLVM/project d9754edmlir/docs/DefiningDialects Operations.md, mlir/test/lib/Dialect/Test TestOps.td

[mlir][ODS] Populate properties in legacy aggregate builders (#219194)

Partition mixed aggregate attributes before operation creation and
deprecate the generated compatibility overloads for operations with
non-empty properties.

This is part of a general migration to use the "new" properties-based
APIs #155475

Assisted-by: Codex
DeltaFile
+155-85mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+110-2mlir/unittests/TableGen/OpBuildGen.cpp
+64-20mlir/test/mlir-tblgen/op-decl-and-defs.td
+51-0mlir/test/lib/Dialect/Test/TestOps.td
+42-0mlir/test/mlir-tblgen/op-error.td
+14-2mlir/docs/DefiningDialects/Operations.md
+436-1091 files not shown
+438-1117 files

LLVM/project 8fe4bbblld/MachO Driver.cpp, lld/test/MachO arm64-objc-stubs-autolink.s

[lld][MachO] Fix ObjC stubs from autolinked archives

Move ObjC stub preparation after LC_LINKER_OPTION processing so archive members loaded via autolink can contribute _objc_msgSend$ selector stubs before selector references are built.

Previously those stubs missed __objc_methname setup; assert builds could fail in makeSelRef, and release builds could form an invalid selector reference.
DeltaFile
+35-0lld/test/MachO/arm64-objc-stubs-autolink.s
+2-1lld/MachO/Driver.cpp
+37-12 files

LLVM/project 751c07clld/MachO SyntheticSections.h SyntheticSections.cpp

[lld][MachO] Prepare ObjC stubs for variable sizes

Track ObjC stub sizes explicitly so future changes can mix different stub layouts in one synthetic section.
DeltaFile
+10-10lld/MachO/SyntheticSections.cpp
+3-1lld/MachO/SyntheticSections.h
+13-112 files

FreeBSD/ports 7463879graphics/openxr Makefile, graphics/openxr/files patch-src_CMakeLists.txt

graphics/openxr: Fix build after update jsoncpp, improve port

After add devel/jsoncpp/patch-jsoncpp-namespaced-targets.cmake in
9d1b7732976723160adfd2c6c4240e34555ac30c graphics/openxr fails to build
with error:
ninja: error: 'jsoncpp_lib-NOTFOUND', needed by 'src/loader/libopenxr_loader.so', missing and no known rule to make it

- Switch to use shared library jsoncpp instead of static.
- Update compiler requirements in USES.
- Ensure that tests aren't picked up in some weird way (not included in
  repo).

PR:             298099
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
DeltaFile
+20-2graphics/openxr/files/patch-src_CMakeLists.txt
+10-4graphics/openxr/Makefile
+30-62 files

LLVM/project ced97f3mlir/include/mlir/Dialect/XeGPU/Utils XeGPUUtils.h, mlir/lib/Dialect/XeGPU/Transforms XeGPUPropagateLayout.cpp XeGPULayoutImpl.cpp

[mlir][xegpu] Resolve scf.while "after" region argument layouts (#220094)

This PR handles the layout conflict resolution and argument layout
access for scf.while. It limited the scf.while to pass-through use case:
when `scf.condition` forwards a "before" argument unchanged, the "after"
argument's layout can be accessed as scf.while's expected operand layout
for the init operands. In this way, the handling of scf.for is unified
with scf.while, the argument layout can be derived by the loop op's
operand's layout.

assited-by-claude

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+19-14mlir/test/Dialect/XeGPU/resolve-layout-conflicts.mlir
+24-0mlir/test/Dialect/XeGPU/propagate-layout-subgroup-invalid.mlir
+18-3mlir/lib/Dialect/XeGPU/Transforms/XeGPULayoutImpl.cpp
+14-5mlir/include/mlir/Dialect/XeGPU/Utils/XeGPUUtils.h
+14-3mlir/lib/Dialect/XeGPU/Utils/XeGPUUtils.cpp
+2-5mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+91-306 files

FreeBSD/ports 5f3d062net/rabbitmq Makefile distinfo

net/rabbitmq: Update 4.3.2 => 4.3.5

Changelog:
https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.3
https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.4
https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.5

Sponsored by:   UNIS Labs
MFH:            2026Q3

(cherry picked from commit 4a0d8265b8505638e8c684bc716f6da74fe0fba7)
DeltaFile
+175-161net/rabbitmq/pkg-plist
+3-3net/rabbitmq/distinfo
+1-1net/rabbitmq/Makefile
+179-1653 files

LLVM/project b7cd159bolt/include/bolt/Core BinaryFunction.h, bolt/lib/Core Exceptions.cpp BinaryEmitter.cpp

[BOLT] Preserve dynamic relocations for LSDA type tables

An LSDA type table entry can be supplied by a dynamic relocation instead of
being resolved at static link time -- for example a DW_EH_PE_absptr entry
naming a typeinfo from a shared library, in a binary linked with -z notext.
Such an entry is zero in the file and filled in by the loader at startup.

BOLT re-emitted .gcc_except_table with those entries as plain integers and
left the relocations pointing at the original section. At run time the loader
then populated .bolt.org.gcc_except_table, which nothing reads, while the live
table stayed zero. __gxx_personality_v0 treats a null type table entry as a
catch-all, so the first catch clause of the function silently swallowed every
exception -- e.g. a std::invalid_argument caught by catch (std::bad_alloc &).

Record such relocations while parsing the LSDA, label the corresponding entries
of the re-emitted table, and move the relocations onto them once the output
addresses are known.

The relocations are moved rather than added, because .rela.dyn is rewritten in

    [6 lines not shown]
DeltaFile
+69-0bolt/test/runtime/X86/exceptions-absptr-ttype-dynrelocs.cpp
+45-0bolt/lib/Core/BinaryFunction.cpp
+27-0bolt/include/bolt/Core/BinaryFunction.h
+14-1bolt/lib/Core/BinaryEmitter.cpp
+10-2bolt/lib/Passes/SplitFunctions.cpp
+6-0bolt/lib/Core/Exceptions.cpp
+171-36 files

LLVM/project 272ad5dclang/test/CodeGen fat-lto-objects-cfi.cpp, llvm/lib/Passes PassBuilderPipelines.cpp

Revert "[LTO] Enable `PrepareForLTO` for loop unrolling in pre-link pipelines" (#220057)

Reverts llvm/llvm-project#192155 due to
https://github.com/llvm/llvm-project/pull/192155#issuecomment-5481311618
DeltaFile
+2-4llvm/lib/Passes/PassBuilderPipelines.cpp
+1-1clang/test/CodeGen/fat-lto-objects-cfi.cpp
+3-52 files

FreeBSD/ports 4a0d826net/rabbitmq Makefile distinfo

net/rabbitmq: Update 4.3.2 => 4.3.5

Changelog:
https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.3
https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.4
https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.5

Sponsored by:   UNIS Labs
MFH:            2026Q3
DeltaFile
+175-161net/rabbitmq/pkg-plist
+3-3net/rabbitmq/distinfo
+1-1net/rabbitmq/Makefile
+179-1653 files

LLVM/project c0e52e8llvm/unittests/ProfileData SampleProfTest.cpp

[nfc][test][SampleProf] Add unittest coverage to getCanonicalFnName (#220319)

Assisted-by: Gemini
DeltaFile
+222-0llvm/unittests/ProfileData/SampleProfTest.cpp
+222-01 files

FreeNAS/freenas 1a8e947src/middlewared/middlewared/plugins/interface bond.py, src/middlewared/middlewared/pytest/unit/plugins test_interface_bond.py

Fix bond transmit hash policy never reaching the kernel

## Problem
The stored hash policy string was translated into the `truenas_pynetif` enum by member-name lookup. The stored values are `layer2`, `layer2+3` and `layer3+4`, while the enum members are `LAYER2`, `LAYER23` and `LAYER34` — `+` cannot appear in a Python identifier, so two of the three resolved to `None`, and `getattr`'s default swallowed the miss with no log or exception. The netlink attribute was then never packed and the kernel silently kept its default `layer2`, so outbound traffic could not spread across bond members. Every LACP/LOADBALANCE bond defaults to `layer2+3`, so this was not limited to people who picked a policy explicitly. `lacpdu_rate` goes through the identical construct and only works because `SLOW` and `FAST` happen to be valid identifiers.

## Solution
Map the choice enums to library members explicitly, behind two helpers that take the stored string and return an enum or `None`. Dict literals rather than a name lookup, so a rename on the library side becomes a static attribute error at import time instead of another silent `None`.

The call sites log the offending value and carry on rather than raising: `configure_bonds_impl` swallows per-bond exceptions, so raising here would abandon the bond before its members are enslaved and its MTU is set, turning a degraded network into an absent one on the boot path.

The helpers are pure — no context, no socket — which is what makes the mapping testable without a scaffold of mocks. The test pins the kernel integers literally, since `LAYER23` is 2 and `LAYER34` is 1 and that ordering is easy to get backwards.
DeltaFile
+47-0src/middlewared/middlewared/pytest/unit/plugins/test_interface_bond.py
+35-2src/middlewared/middlewared/plugins/interface/bond.py
+82-22 files

OpenBSD/ports Leee2fplang/gcc/16 distinfo Makefile, lang/gcc/16/patches patch-gcc_ada_Makefile_rtl

   lang/gcc/16: add dlang support and update plist at powerpc
VersionDeltaFile
1.17+4-4lang/gcc/16/Makefile
1.2+2-3lang/gcc/16/patches/patch-gcc_ada_Makefile_rtl
1.9+2-2lang/gcc/16/distinfo
1.3+1-0lang/gcc/16/pkg/PFRAG.powerpc-main
+9-94 files

OpenBSD/ports yxcAnzMlang/gcc/11 Makefile

   lang/gcc/11: add dlang support at powerpc
VersionDeltaFile
1.72+1-1lang/gcc/11/Makefile
+1-11 files

LLVM/project 169d56clld/test/MachO icf-safe-thunks.ll, llvm/lib/Target/AArch64 AArch64Processors.td

[AArch64] Remove FeatureFuseAddress from Apple targets (#219838)

As this kind of clustering has not proved to be beneficial.
DeltaFile
+8-8lld/test/MachO/icf-safe-thunks.ll
+0-6llvm/test/TableGen/aarch64-apple-tuning-features.td
+0-3llvm/test/CodeGen/AArch64/macro-fusion-cluster-conflict.mir
+0-1llvm/lib/Target/AArch64/AArch64Processors.td
+8-184 files

LLVM/project 41a1827lld/MachO Driver.cpp SyntheticSections.cpp, lld/MachO/Arch ARM64.cpp

[lld][MachO] Support Objective-C class stubs

Teach Mach-O objc stubs to synthesize class-message stubs that load the class object, selector, and objc_msgSend target.

lld already supports the Apple clang _objc_msgSend$<selector> stub form, even though upstream clang does not currently expose a driver or cc1 flag for emitting it. Apple clang also emits _objc_msgSendClass$<selector>$_OBJC_CLASS_$_<class>; handling that form completes the existing selector-stub support.

Cover local classes, dylib classes, archives, dynamic lookup via -U, missing class symbols, malformed names, unsupported architectures, and dead stripping.
DeltaFile
+292-0lld/test/MachO/arm64-objc-class-stubs.s
+99-10lld/MachO/SyntheticSections.cpp
+92-0lld/MachO/Arch/ARM64.cpp
+75-0lld/test/MachO/arm64-objc-class-stubs-dead.s
+55-0lld/test/MachO/objc-class-stubs-unsupported.s
+32-6lld/MachO/Driver.cpp
+645-164 files not shown
+673-1710 files

LLVM/project 4a47d17lld/MachO Driver.cpp, lld/test/MachO arm64-objc-stubs-autolink.s

[lld][MachO] Fix ObjC stubs from autolinked archives

Move ObjC stub preparation after LC_LINKER_OPTION processing so archive members loaded via autolink can contribute _objc_msgSend$ selector stubs before selector references are built.

Previously those stubs missed __objc_methname setup; assert builds could fail in makeSelRef, and release builds could form an invalid selector reference.
DeltaFile
+35-0lld/test/MachO/arm64-objc-stubs-autolink.s
+2-1lld/MachO/Driver.cpp
+37-12 files

LLVM/project dc80a91lld/MachO SyntheticSections.h SyntheticSections.cpp

[lld][MachO] Prepare ObjC stubs for variable sizes

Track ObjC stub sizes explicitly so future changes can mix different stub layouts in one synthetic section.
DeltaFile
+10-10lld/MachO/SyntheticSections.cpp
+3-1lld/MachO/SyntheticSections.h
+13-112 files

LLVM/project 6eeb314llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer Scheduler.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer Scheduler.cpp

[SandboxVec][Scheduler][NFC] Assert scheduling direction (#219544)

This patch implements a check that will cause a crash if we attempt to
schedule in the direction opposite to the one set when initializing the
scheduler. Crashing early with a helpful error message is better than
what we currently do, which is silently accepting the scheduling attempt
which may not even cause an immediate crash but could cause a crash
sometime later, providing few clues about what went wrong.

The vectorizer won't exercise switching directions, so this is tested
with unittests.
DeltaFile
+41-1llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SchedulerTest.cpp
+28-1llvm/lib/Transforms/Vectorize/SandboxVectorizer/Scheduler.cpp
+21-1llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Scheduler.h
+90-33 files

FreeBSD/ports 926b5d3lang/julia Makefile

lang/julia: Mark BROKEN

Build crashes

Reported by:    pkg-fallout
DeltaFile
+2-0lang/julia/Makefile
+2-01 files