LLVM/project 679d5a2libc/docs full_host_build.md full_cross_build.md, libc/docs/dev builtin_compatibility.md code_style.md

[docs] Rewrite libc docs from reST to markdown (#208374)

Tracking issue: https://github.com/llvm/llvm-project/issues/201242
Migration guide docs:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
RFC:
https://discourse.llvm.org/t/rfc-make-myst-markdown-the-llvm-docs-format-rip-rest/90840

This was prepared with rst2myst plus LLM-assisted cleanup. I paged
through all the generated HTML looking for migration artifacts, and all
of the differences I could find appear to be formatting error
corrections. Please spot check my work and approve if it looks good. You
can use the HTML links below to confirm it renders properly.

-----

Before/after validation links:

| Source file | Before HTML | After HTML |

    [109 lines not shown]
DeltaFile
+175-345libc/docs/dev/builtin_compatibility.md
+206-217libc/docs/dev/code_style.md
+162-164libc/docs/full_host_build.md
+135-145libc/docs/full_cross_build.md
+87-91libc/docs/dev/undefined_behavior.md
+84-88libc/docs/talks.md
+849-1,05024 files not shown
+1,808-2,11630 files

LLVM/project 9a4ad0alibc/src/__support/OSUtil/linux/syscall_wrappers setitimer.h getitimer.h, libc/src/sys/time/linux setitimer.cpp

[libc] Assorted improvements to [gs]etitimer (#206974)

This started out as a patch adding a syscall wrapper for the two
functions. It still does that, but along the way I (or rather AI)
discovered an edge case in the truncation of microsecond values, where
we could turn bogus values into seemingly valid ones by throwing away
the high-order bits.

Additionally, when writing a test case, I noticed that the (64-bit)
kernel returns EINVAL for these out-or-range values. Our check returns
EOVERFLOW in this case, so I also change our error code in order to
provide an uniform behavior for the test case.

Neither of these (the check and the EINVAL error code) are present in
glibc (which lets truncated usec values through and returns EOVERFLOW on
second truncation), but I think it's better to be consistent with the
64-bit behavior. The EOVERFLOW error also has no foundation in POSIX
whereas EINVAL is mentioned as an error for invalid microseconds.


    [4 lines not shown]
DeltaFile
+82-0libc/src/__support/OSUtil/linux/syscall_wrappers/setitimer.h
+55-0libc/src/__support/OSUtil/linux/syscall_wrappers/getitimer.h
+5-48libc/src/sys/time/linux/setitimer.cpp
+49-0libc/src/__support/OSUtil/linux/syscall_wrappers/alarm.h
+5-38libc/src/unistd/linux/alarm.cpp
+43-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+239-8610 files not shown
+327-12016 files

NetBSD/pkgsrc-wip 739d163teamtype Makefile

teamtype: remove commented lines
DeltaFile
+0-2teamtype/Makefile
+0-21 files

NetBSD/pkgsrc-wip 546e87dethersync distinfo cargo-depends.mk, teamtype distinfo cargo-depends.mk

ethersync: rename to teamtype (https://github.com/teamtype/teamtype/pull/436), update to 0.9.2
DeltaFile
+1,706-0teamtype/distinfo
+0-1,664ethersync/distinfo
+569-0teamtype/cargo-depends.mk
+0-555ethersync/cargo-depends.mk
+27-0teamtype/Makefile
+0-24ethersync/Makefile
+2,302-2,2437 files not shown
+2,319-2,26013 files

LLVM/project 24ce77eclang/lib/CodeGen CGStmtOpenMP.cpp, clang/test/OpenMP teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp target_teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp

[Clang][OpenMP] Fix `if` clause not affecting `teams` construct on host (#207444)

In #205345, it was discovered that the `if` clause for the `teams`
construct
does not actually create a serial league when the code is built with
Clang.
Looking at the emitted IR, no call to `__kmpc_push_num_teams` was added
for an `if` clause. Hence, `__kmpc_fork_teams` always created the number
of
teams specified via the `num_teams` clause, or the _nteams-var_ ICV.

During `emitCommonOMPTeamsDirective`, only the `num_teams` and
`thread_limit`
clauses were checked, whereas the `if` clause was missing.
To fix the missing code, check for an `if` clause mapped to `teams` or
`unknown`. If the clause is present, and false, emit
`__kmpc_push_num_teams`
with the number of teams set to 1. The `thread_limit` clause is
unaffected.

    [21 lines not shown]
DeltaFile
+12,190-0clang/test/OpenMP/teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+12,098-0clang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+41-8clang/lib/CodeGen/CGStmtOpenMP.cpp
+24,329-83 files

LLVM/project c1d66b5clang/www cxx_dr_status.html

[clang] Update C++ DR status page (#208641)
DeltaFile
+59-10clang/www/cxx_dr_status.html
+59-101 files

LLVM/project 0faf45clibcxx/include/__cxx03/__configuration abi.h, libcxx/include/__ranges chunk_by_view.h drop_while_view.h

[libc++] Rename the macro for the LLVM 18 ABI tag used in ranges (#208464)

We typically use macros like _LIBCPP_ABI_XYZ for ABI settings that can
be configured by the user. Since _LIBCPP_ABI_LLVM18_NO_UNIQUE_ADDRESS is
not one of those, rename it to make it clearer it's an ABI tag
attribute.

As a drive-by remove the definition in the frozen C++03 config header
since it should never be needed (Ranges are not provided in C++03).
DeltaFile
+0-10libcxx/include/__cxx03/__configuration/abi.h
+1-1libcxx/include/__ranges/chunk_by_view.h
+1-1libcxx/include/__ranges/drop_while_view.h
+1-1libcxx/include/__ranges/filter_view.h
+1-1libcxx/include/__ranges/repeat_view.h
+1-1libcxx/include/__ranges/single_view.h
+5-153 files not shown
+8-189 files

LLVM/project c93aefblibcxx/include/__configuration abi.h

[libc++] Remove diagnostic about _LIBCPP_ABI_NO_ITERATOR_BASES (#208460)

This was slated for removal in LLVM 22 but we hadn't removed it yet.
DeltaFile
+0-9libcxx/include/__configuration/abi.h
+0-91 files

LLVM/project 3c59a21lldb/test/API/lang/cpp/builtin_types/int TestIntTypes.py main.cpp

[lldb][test] Add a new test for integer types (#208441)

This is a new modern test for integer types that replaces the test logic
from `API/types` test that is about to be deleted.

See also #208402

assisted-by: claude
DeltaFile
+43-0lldb/test/API/lang/cpp/builtin_types/int/TestIntTypes.py
+23-0lldb/test/API/lang/cpp/builtin_types/int/main.cpp
+3-0lldb/test/API/lang/cpp/builtin_types/int/Makefile
+69-03 files

LLVM/project 6ec6a77llvm/lib/Target/SPIRV SPIRVLegalizerInfo.cpp

[NFC][SPIR-V] Remove unused GR parameter from vector elt legalizers (#208495)
DeltaFile
+5-6llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
+5-61 files

LLVM/project 445d6c3clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/CodeGen/AArch64 v8.2a-fp16-intrinsics.c

[CIR][AArc64] Add lowering for fp16 intrinsics (sqrt + max + min) (#207786)

This PR adds lowering for the following intrinsic groups:
* https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#markdown-toc-square-root-1
* https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#maximum-1O
* https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#markdown-toc-minimum-1

It also moves the corresponding tests from:

* clang/test/CodeGen/AArch64/v8.2a-fp16-intrinsics.c

to:
* clang/test/CodeGen/AArch64/neon/fullfp16.c

The lowering follows the existing implementation in
CodeGen/TargetBuiltins/ARM.cpp.
DeltaFile
+60-1clang/test/CodeGen/AArch64/neon/fullfp16.c
+20-21clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+0-35clang/test/CodeGen/AArch64/v8.2a-fp16-intrinsics.c
+80-573 files

FreeBSD/ports 3c88ac8graphics/wayland-protocols Makefile distinfo

graphics/wayland-protocols: Update to 1.49

PR:             296449
(cherry picked from commit 531401c73c872d6f93785e0b150d3299d510b31a)
DeltaFile
+8-3graphics/wayland-protocols/Makefile
+3-3graphics/wayland-protocols/distinfo
+5-0graphics/wayland-protocols/pkg-plist
+16-63 files

FreeBSD/ports 531401cgraphics/wayland-protocols Makefile distinfo

graphics/wayland-protocols: Update to 1.49

PR:             296449
DeltaFile
+8-3graphics/wayland-protocols/Makefile
+3-3graphics/wayland-protocols/distinfo
+5-0graphics/wayland-protocols/pkg-plist
+16-63 files

LLVM/project 380c581offload/plugins-nextgen/amdgpu/src rtl.cpp, offload/plugins-nextgen/common/include OffloadError.h PluginInterface.h

[Offload] Fix warn-unused function (#208642)

Unblock the `-Werror` build in pre-merge by adding a few
[[maybe_unused]] here and there.
DeltaFile
+2-2offload/plugins-nextgen/common/include/OffloadError.h
+2-2offload/plugins-nextgen/amdgpu/src/rtl.cpp
+2-1offload/plugins-nextgen/host/src/rtl.cpp
+2-1offload/plugins-nextgen/common/include/PluginInterface.h
+8-64 files

LLVM/project 09fbfb5llvm/lib/Transforms/Vectorize VPlan.cpp LoopVectorizationPlanner.h

[VPlan] Remove FoldTail argument for createConsecutiveVecPtr (NFC). (#208550)

The argument is no longer needed now that we can look up the information
directly from VPlan.
DeltaFile
+4-4llvm/lib/Transforms/Vectorize/VPlan.cpp
+1-2llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+1-2llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+6-83 files

LLVM/project 4516eb3clang/test/AST/HLSL Texture2D-AST.hlsl, clang/test/CodeGenHLSL/resources Texture2D-Load.hlsl Texture2DArray-GetDimensions.hlsl

[HLSL] Implement RWTexture2D (#208267)

Add HLSL front-end support for RWTexture2D and related test cases.

Where appropriate test cases have been parameterized across the
Texture2D types (and redundant Texture2DArray tests removed).

Assisted by Cursor

Fixes: #194742

---------

Co-authored-by: Tim Corringham <tcorring at amd.com>
DeltaFile
+112-103clang/test/CodeGenHLSL/resources/Texture2D-Load.hlsl
+178-0clang/test/AST/HLSL/Texture2D-AST.hlsl
+0-103clang/test/CodeGenHLSL/resources/Texture2DArray-GetDimensions.hlsl
+46-37clang/test/CodeGenHLSL/resources/Texture2D-GetDimensions.hlsl
+58-0clang/test/SemaHLSL/Resources/Texture2D-Load-errors.hlsl
+0-44clang/test/SemaHLSL/Texture2DArray-Load-errors.hlsl
+394-2875 files not shown
+489-33211 files

LLVM/project a1409edclang/docs UsersManual.md, llvm/docs LangRef.rst LangRef.md

Merge branch 'main' into users/jmmartinez/fix_illegal_Trunc
DeltaFile
+20,241-21,265llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+0-33,206llvm/docs/LangRef.rst
+30,305-0llvm/docs/LangRef.md
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+5,013-5,520llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+6,460-0clang/docs/UsersManual.md
+70,901-67,7213,661 files not shown
+222,093-158,9163,667 files

LLVM/project e27fa2cclang/lib/Driver/ToolChains FreeBSD.cpp, clang/test/Driver freebsd-pie.c freebsd-mips-as-pie.c

[Clang] Switch to Default PIE on FreeBSD

We have started to compile the binary in our base as PIE by defualt. It
makes sense to compile the binary to PIE by default in toolchain as
Linux now. Also, extended testcases to support default PIE and no-pie
parameter in freebsd-pie.c, freebsd-mips-as-pie.c and hip-fpie-option-freebsd.hip.
DeltaFile
+275-0clang/test/Driver/freebsd-pie.c
+94-0clang/test/Driver/freebsd-mips-as-pie.c
+38-0clang/test/Driver/hie-fpie-option-freebsd.hip
+16-16flang/test/Driver/linker-options.f90
+7-0clang/test/Driver/freebsd-default-pie.c
+3-4clang/lib/Driver/ToolChains/FreeBSD.cpp
+433-2011 files not shown
+453-2017 files

FreeBSD/ports 71dfaednet-im/teams Makefile, x11/waveterm Makefile

*/*: Bump port revision after electron41 update (aea2ec2e3f73)
DeltaFile
+1-1x11/waveterm/Makefile
+1-1net-im/teams/Makefile
+2-22 files

FreeBSD/ports aea2ec2devel/electron41 distinfo Makefile.version

devel/electron41: Update to 41.10.1

Changelog: https://github.com/electron/electron/releases/tag/v41.10.1

Reported by:    GitHub (watch releases)
DeltaFile
+5-5devel/electron41/distinfo
+1-1devel/electron41/Makefile.version
+6-62 files

FreeBSD/ports c328c3daccessibility/darkman Makefile, sysutils/govmomi Makefile

various: Bump go ports for go-1.25.12 / 1.26.5
DeltaFile
+1-1sysutils/nomad-pot-driver/Makefile
+1-1accessibility/darkman/Makefile
+1-1sysutils/govmomi/Makefile
+1-1sysutils/hared/Makefile
+1-1sysutils/helm/Makefile
+1-1sysutils/helmfile/Makefile
+6-6796 files not shown
+802-637802 files

FreeBSD/ports 823e39alang/go125 distinfo Makefile

lang/go125: Update to 1.25.12

Changes:
  go1.25.12 (released 2026-07-07) includes security fixes to the
  crypto/tls and os packages, as well as bug fixes to the compiler, the
  go command, and the net and os packages.

MFH:            2026Q3
Reviewed by:    adamw
Differential Revision:  https://reviews.freebsd.org/D58111

(cherry picked from commit ad07846e079b7cab4167daaf2bbd9a1cd35f8603)
DeltaFile
+3-3lang/go125/distinfo
+1-1lang/go125/Makefile
+4-42 files

FreeBSD/ports 5e12b49lang/go126 distinfo Makefile

lang/go126: Update to 1.26.5

Changes:
  go1.26.5 (released 2026-07-07) includes security fixes to the
  crypto/tls and os packages, as well as bug fixes to the compiler, the
  runtime, the go command, and the net, os, and syscall packages.

MFH:            2026Q3
Reviewed by:    adamw
Differential Revision:  https://reviews.freebsd.org/D58112

(cherry picked from commit 2ca64d7d9babf5e87f07fb85261f499f67ae5e1c)
DeltaFile
+13-13lang/go126/distinfo
+2-2lang/go126/Makefile
+15-152 files

NetBSD/pkgsrc-wip 91c6512foliate Makefile

foliate: add CONFLICTS.
DeltaFile
+2-1foliate/Makefile
+2-11 files

NetBSD/pkgsrc-wip 8959a5ehtop-git Makefile

htop-git: sync with upstream changes.
DeltaFile
+1-1htop-git/Makefile
+1-11 files

NetBSD/pkgsrc-wip 9778010btop-git distinfo Makefile, btop-git/patches patch-Makefile patch-src_btop.cpp

btop-git: sync with upstream changes.
DeltaFile
+10-10btop-git/patches/patch-Makefile
+5-15btop-git/patches/patch-src_btop.cpp
+4-4btop-git/patches/patch-src_netbsd_btop__collect.cpp
+3-3btop-git/distinfo
+3-1btop-git/Makefile
+25-335 files

NetBSD/src RypS9PAusr.bin/xinstall xinstall.c

   PR bin/58577  - install(1) -d issues

   Fix issues where "install -d" (with no directory) simply
   exit(0)s.   That one is kind of marginal, installing nothing
   when nothing is needed could be treated as OK, but the man
   page does indicate in the SYNOPSIS that with -d, at least
   one directory is needed (it says nothing at all about that
   in the text).

   Second, after creating a directory, if a later operation
   (chown, chmod) fails, that is not success, a warning was
   issued (good), a bad metalog was being created (bad).
   That is clearly a bug (though probably doesn't happen
   very often).

   And third, when install -d fails, and issues an error,
   (warn()) the exit status from install(1) should not be zero.
   This only applies after the (rare, I'd assume) errors
   from the 2nd fix (which were not previously regarded as

    [22 lines not shown]
VersionDeltaFile
1.131+25-12usr.bin/xinstall/xinstall.c
+25-121 files

LLVM/project 977f4d6llvm/lib/Target/AMDGPU AMDGPURewriteOutArguments.cpp

[AMDGPU] Employ MemorySSA when rewriting out arguments (NFCI) (#207922)

While transitioning away from MemoryDependenceAnalysis, replace MDA
`getPointerDependencyFrom` query with a reverse traversal of the memory
accesses of the return basic block (MemoryDefs and MemoryUses), looking
for the must-aliasing store to the out argument. The existing behaviour
is meant to be preserved.
DeltaFile
+60-17llvm/lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
+60-171 files

FreeBSD/ports 4ea3547sysutils/gdu Makefile, sysutils/go-wtf Makefile

various: Bump go ports for go-1.25.12 / 1.26.5
DeltaFile
+1-1sysutils/nomad-pot-driver/Makefile
+1-1sysutils/gdu/Makefile
+1-1sysutils/go-wtf/Makefile
+1-1sysutils/goawk/Makefile
+1-1sysutils/gol/Makefile
+1-1sysutils/gomplate/Makefile
+6-6796 files not shown
+802-631802 files

LLVM/project 03aca1allvm/test/CodeGen/AMDGPU rewrite-out-arguments-2.ll

[AMDGPU] Introduce tests for PR207922 (NFC) (#208640)
DeltaFile
+349-0llvm/test/CodeGen/AMDGPU/rewrite-out-arguments-2.ll
+349-01 files