LLVM/project 9dfd097clang/lib/CodeGen CGOpenMPRuntime.cpp, clang/test/OpenMP target_map_nested_ptr_member_mapper_codegen.cpp

[OpenMP] Propagate PRESENT to pointee entries in mapper codegen

Extend map-type-modifier propagation in emitUserDefinedMapper to the PRESENT
modifier, but only for entries that have an attach ptr (the pointee data, whose
storage differs from the struct's own). A present modifier on the outer clause
must require that pointee to be present on the device.

This is gated on a new PropagatePresentToPointee argument, which Clang sets from
CGM.getLangOpts().OpenMP >= 60. Before 6.0 the present modifier is treated as
not applying to the pointee: the spec committee confirmed the divergence
between the present motion modifier (to/from) and the present map-type modifier
(map) was unintentional, to be fixed as an OpenMP 6.0 erratum. Only propagation
is gated; present written directly in a mapper's own clause applies at all
versions.

A TODO notes PRESENT should also propagate to the struct's own members, which
is blocked while pointer members use PTR_AND_OBJ.

Update the present-check tests to their final 6.0-gated behavior.

    [2 lines not shown]
DeltaFile
+36-11llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+10-17offload/test/mapping/mapper_target_update_present_ptee.c
+14-13offload/test/mapping/mapper_map_mbr_then_present_mbr_ptee.c
+13-4llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+6-9clang/test/OpenMP/target_map_nested_ptr_member_mapper_codegen.cpp
+12-3clang/lib/CodeGen/CGOpenMPRuntime.cpp
+91-576 files

LLVM/project dc7adf8clang/lib/CodeGen CGOpenMPRuntime.cpp, clang/test/OpenMP declare_mapper_codegen.cpp target_map_nested_ptr_member_mapper_codegen.cpp

[OpenMP][Clang] Enable ATTACH-style maps for mappers.

Track per-entry attach-ptr info (HasAttachPtr) through mapper codegen so that
emitUserDefinedMapper does not add a new outer MEMBER_OF to pointee/combined
entries (which occupy different storage than the struct) or to ATTACH entries.
Clang and the MLIR translator populate the per-entry array in parallel with the
other MapInfosTy arrays.

Address review:
  - Rename MapSkipMemberOfArrayTy to MapHasAttachPtrArrayTy to match the
    HasAttachPtr field it backs.
  - Restructure the emitUserDefinedMapper comment into a bulleted (*)/(**)/(***)
    list keyed to the example entries.
  - Reword the Clang comments: HasAttachPtr marks pointee entries that have a
    base attach-ptr; a combined entry has a base attach-ptr if its constituents
    do; cross-reference emitUserDefinedMapper for the MEMBER_OF rationale.
  - Update the moved present-check tests to their now-correct behavior (the
    attach-style maps make the inbounds present checks pass and remove the
    "explicit extension" errors).

    [2 lines not shown]
DeltaFile
+196-160clang/test/OpenMP/target_map_nested_ptr_member_mapper_codegen.cpp
+68-60clang/test/OpenMP/declare_mapper_codegen.cpp
+56-15llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+65-5clang/lib/CodeGen/CGOpenMPRuntime.cpp
+18-24offload/test/mapping/mapper_enter_data_always_present_ptee.c
+18-22offload/test/mapping/mapper_map_mbr_then_present_mbr_ptee.c
+421-28611 files not shown
+493-36117 files

LLVM/project 187c39bclang/test/OpenMP declare_mapper_codegen.cpp target_map_array_section_of_structs_with_nested_mapper_codegen.cpp, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[OpenMP] Propagate ALWAYS/DELETE/CLOSE map-type modifiers to mapper entries (#210210)

Per OpenMP, when a map/motion clause uses a mapper, any
map-type-modifying modifier on that clause applies to each map the
declared mapper specifies.

This change propagates the `ALWAYS`, `DELETE`, and `CLOSE` bits from the
outer clause's map type into every entry emitted by
emitUserDefinedMapper, except `ATTACH` entries (`ATTACH`|`ALWAYS` is
reserved for `attach(always)`, and the other bits have no meaning for an
`ATTACH` entry).

`PRESENT` is intentionally NOT propagated here: it requires
distinguishing pointee entries from the struct's own storage and is
handled in a follow-up.

Co-authored-by: Claude Opus 4.8 <noreply at anthropic.com>
DeltaFile
+152-136clang/test/OpenMP/target_map_nested_ptr_member_mapper_codegen.cpp
+87-77clang/test/OpenMP/target_map_array_section_of_structs_with_nested_mapper_codegen.cpp
+87-77clang/test/OpenMP/target_map_array_of_structs_with_nested_mapper_codegen.cpp
+38-2llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+27-9clang/test/OpenMP/declare_mapper_codegen.cpp
+11-17offload/test/offloading/fortran/mapper-map-always-to-enter-data.f90
+402-3187 files not shown
+443-37013 files

LLVM/project 278b9afllvm/test/MC/RISCV xqciio-invalid.s xqcilsm-invalid.s, llvm/test/MC/RISCV/corev XCVmem-invalid.s

[RISCV][MC] Emit Better Token Diagnostics (#209700)

This implements an old FIXME in the AsmMatcherEmitter, which can now
emit a token-specific match error diagnostic id, and potentially a
token-specific error message to go along with the diagnostic id.

For RISC-V, the overall effect is to have fewer "invalid operand for
instruction" diagnostics and have more "expected '<TOKEN>'" diagnostics,
which, with multiple near miss support, gives the user the location that
token was expected (but not found).

The rejig to the order of checks in `validateOperandClass` do not
prevent backends from having custom operand kinds which can accept
tokens, as was available before.

The TableGen parts have been implemented in an opt-in way.

---

This was implemented with the assistance of AI. 
DeltaFile
+57-19llvm/test/MC/RISCV/corev/XCVmem-invalid.s
+76-0llvm/test/TableGen/AsmMatcherTokens.td
+45-15llvm/utils/TableGen/AsmMatcherEmitter.cpp
+6-6llvm/test/MC/RISCV/xqcilo-pseudos-invalid.s
+5-5llvm/test/MC/RISCV/xqcilsm-invalid.s
+4-4llvm/test/MC/RISCV/xqciio-invalid.s
+193-498 files not shown
+208-5714 files

HardenedBSD/src 1cfa1f1contrib/netbsd-tests/lib/libpthread t_condwait.c, lib/libsys _umtx_op.2

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+92-18contrib/netbsd-tests/lib/libpthread/t_condwait.c
+55-35sys/kern/kern_umtx.c
+50-22lib/libthr/thread/thr_cond.c
+35-3share/man/man3/pthread_cond_timedwait.3
+22-6lib/libthr/thread/thr_umtx.c
+21-2lib/libsys/_umtx_op.2
+275-868 files not shown
+309-9514 files

HardenedBSD/ports eee9c5daudio/sonic-visualiser Makefile, audio/sonic-visualiser/files patch-acinclude.m4 patch-meson_options.txt

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+227-109www/dokuwiki/pkg-plist
+225-0audio/sonic-visualiser/files/patch-meson.build
+97-0audio/sonic-visualiser/files/patch-freebsd-fixes
+23-39audio/sonic-visualiser/Makefile
+45-0audio/sonic-visualiser/files/patch-meson_options.txt
+0-42audio/sonic-visualiser/files/patch-acinclude.m4
+617-19040 files not shown
+711-63046 files

HardenedBSD/ports 68b63aadevel/mimalloc Makefile distinfo

devel/mimalloc: Update to 3.4.4
DeltaFile
+3-3devel/mimalloc/distinfo
+1-1devel/mimalloc/Makefile
+4-42 files

FreeBSD/ports 68b63aadevel/mimalloc Makefile distinfo

devel/mimalloc: Update to 3.4.4
DeltaFile
+3-3devel/mimalloc/distinfo
+1-1devel/mimalloc/Makefile
+4-42 files

LLVM/project 4f607e3llvm/test/CodeGen/AMDGPU arbitrary-fp-from-float-fp8-f16-hw.ll arbitrary-fp-to-float-fp8-hw.ll, llvm/test/MC/ELF cfi-vector-registers.s cfi-vector-offset.s

AMDGPU: Migrate misc. tests to subarch triples (#213593)
DeltaFile
+3-3llvm/test/MC/ELF/AMDGPU/cfi.s
+3-3llvm/test/CodeGen/AMDGPU/arbitrary-fp-to-float-fp8-hw.ll
+2-2llvm/test/MC/ELF/cfi-vector-registers.s
+2-2llvm/test/MC/ELF/cfi-vector-offset.s
+2-2llvm/test/MC/ELF/cfi-register-pair.s
+2-2llvm/test/CodeGen/AMDGPU/arbitrary-fp-from-float-fp8-f16-hw.ll
+14-143 files not shown
+17-179 files

LLVM/project 04ea62bllvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU amdgcn-simplify-image-buffer-stores.ll

[AMDGPU] Fix miscompile trimming sparse DMask on image stores (#213586)

Dropping a channel from a sparse DMask removes that write entirely

It does not zero-fill like a contiguous trim does

Only simplify stores when DMask is a contiguous prefix
DeltaFile
+29-6llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-simplify-image-buffer-stores.ll
+3-0llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+32-62 files

LLVM/project 4b6a8d8llvm/test/tools/llvm-objdump/ELF/AMDGPU kd-gfx1250.s kd-vgpr.s

AMDGPU: Migrate most llvm-objdump tests to use subarch triple (#213589)
DeltaFile
+8-8llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-gfx11.s
+8-8llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-gfx10.s
+6-6llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-vgpr.s
+6-6llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-sgpr.s
+6-6llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-gfx90a.s
+4-4llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-gfx1250.s
+38-387 files not shown
+54-5413 files

FreeBSD/ports 16b92b6audio/fooyin Makefile distinfo

audio/fooyin: Update to 0.12.1

Changelog: https://github.com/fooyin/fooyin/releases/tag/v0.12.1
DeltaFile
+3-3audio/fooyin/distinfo
+1-1audio/fooyin/Makefile
+4-42 files

HardenedBSD/ports 16b92b6audio/fooyin Makefile distinfo

audio/fooyin: Update to 0.12.1

Changelog: https://github.com/fooyin/fooyin/releases/tag/v0.12.1
DeltaFile
+3-3audio/fooyin/distinfo
+1-1audio/fooyin/Makefile
+4-42 files

LLVM/project 773ff67llvm/test/CodeGen/AMDGPU arbitrary-fp-from-float-fp8-f16-hw.ll arbitrary-fp-to-float-fp8-hw.ll, llvm/test/MC/ELF cfi-vector-registers.s cfi-vector-offset.s

AMDGPU: Migrate misc. tests to subarch triples
DeltaFile
+3-3llvm/test/MC/ELF/AMDGPU/cfi.s
+3-3llvm/test/CodeGen/AMDGPU/arbitrary-fp-to-float-fp8-hw.ll
+2-2llvm/test/MC/ELF/cfi-vector-registers.s
+2-2llvm/test/MC/ELF/cfi-vector-offset.s
+2-2llvm/test/MC/ELF/cfi-register-pair.s
+2-2llvm/test/CodeGen/AMDGPU/arbitrary-fp-from-float-fp8-f16-hw.ll
+14-143 files not shown
+17-179 files

FreeBSD/doc 2b800f3documentation/content/en/articles/license-guide _index.adoc

license-guide: fix doubled word

full takes takes -> full text takes

Sponsored by:           Netflix
DeltaFile
+1-1documentation/content/en/articles/license-guide/_index.adoc
+1-11 files

FreeBSD/ports e5f699awww/dokuwiki Makefile

www/dokuwiki: pet portlint / portclippy.
DeltaFile
+13-15www/dokuwiki/Makefile
+13-151 files

HardenedBSD/ports e5f699awww/dokuwiki Makefile

www/dokuwiki: pet portlint / portclippy.
DeltaFile
+13-15www/dokuwiki/Makefile
+13-151 files

LLVM/project 891d130llvm/test/tools/llvm-objdump/ELF/AMDGPU kd-gfx1250.s kd-vgpr.s

AMDGPU: Migrate most llvm-objdump tests to use subarch triple
DeltaFile
+8-8llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-gfx11.s
+8-8llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-gfx10.s
+6-6llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-vgpr.s
+6-6llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-sgpr.s
+6-6llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-gfx90a.s
+4-4llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-gfx1250.s
+38-387 files not shown
+54-5413 files

FreeBSD/ports 5c1d203devel/ammonite Makefile

devel/ammonite: Deprecate and set EXPIRATION_DATE

Upstream ceased development and noted to use lang/scala for REPL and
devel/mill for scripting.

PR:             294680
Approved by:    freebsd-ports at jan0sch.de (maintainer)
DeltaFile
+3-0devel/ammonite/Makefile
+3-01 files

HardenedBSD/ports 5c1d203devel/ammonite Makefile

devel/ammonite: Deprecate and set EXPIRATION_DATE

Upstream ceased development and noted to use lang/scala for REPL and
devel/mill for scripting.

PR:             294680
Approved by:    freebsd-ports at jan0sch.de (maintainer)
DeltaFile
+3-0devel/ammonite/Makefile
+3-01 files

LLVM/project 4148d0bflang/lib/Semantics check-declarations.cpp, flang/test/Semantics bindings08.f90

[flang] Reject type bound procedure overrides with mismatched passed-object dummy names (#210876)

Fixes #206913

Issue:
Flang wrongly accepts a type-bound procedure override when the
implementing procedure uses a different dummy name than the parent
deferred interface.

Root cause:
The PASS override check uses CanOverride, which compares dummy types but
not dummy names for the passed-object argument.

Fix:
Check that dummy names match before CanOverride and report a clear error
DeltaFile
+118-0flang/test/Semantics/bindings08.f90
+21-1flang/lib/Semantics/check-declarations.cpp
+139-12 files

LLVM/project 87e45f4llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes BundleVec.h BottomUpVec.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes BundleVec.cpp BottomUpVec.cpp

[SBVec] Rename BottomUpVec to BundleVec
DeltaFile
+0-791llvm/test/Transforms/SandboxVectorizer/bottomup_basic.ll
+791-0llvm/test/Transforms/SandboxVectorizer/bundle_basic.ll
+0-610llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.cpp
+609-0llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BundleVec.cpp
+0-131llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.h
+130-0llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/BundleVec.h
+1,530-1,53227 files not shown
+1,664-1,65333 files

LLVM/project 99c3964clang/test/SemaOpenCL builtins-image-store-param-gfx942-err.cl builtins-image-store-image-feature-err.cl

clang/AMDGPU: Fix confused image builtin availability tests (#213567)

These tests appear to have been copy paste from other image error
tests, which were checking for invalid argument validation. The point
of these tests were to reject image builtins on unsupported targets,
and not just gfx942. Rename the tests, and fix the invalid argument
usage. Each builtin should be used in a valid way.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+0-230clang/test/SemaOpenCL/builtins-extended-image-param-gfx942-err.cl
+230-0clang/test/SemaOpenCL/builtins-extended-image-err.cl
+0-219clang/test/SemaOpenCL/builtins-image-load-param-gfx942-err.cl
+219-0clang/test/SemaOpenCL/builtins-image-load-image-feature-err.cl
+0-129clang/test/SemaOpenCL/builtins-image-store-param-gfx942-err.cl
+129-0clang/test/SemaOpenCL/builtins-image-store-image-feature-err.cl
+578-5786 files

LLVM/project 2ab8e28llvm/include/llvm/IR RuntimeLibcalls.td, llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp

RuntimeLibcalls: Add generic FCMP3_F* three-way compare for single-symbol ABIs

MSP430's __mspabi_cmpd/__mspabi_cmpf are one three-way compare symbol serving
every predicate, previously modeled as six suffixed impls each. Replace them
with a single generic operator FCMP3_*, and give softenSetCCOperands a 3rd
lowering option. After the boolean O*_F* and the per-predicate FCMP3_<pred>_F*
helpers, use the generic FCMP3_F* helper tested with the predicate's condition
code.

Also opt __nedf2 out of the MSP430 default set: it was the only libgcc F64
compare not already opted out, so it would otherwise provide FCMP3_UNE_F64 and
win over __mspabi_cmpd for not-equal.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+45-40llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+10-25llvm/include/llvm/IR/RuntimeLibcalls.td
+14-14llvm/lib/Target/MSP430/MSP430Subtarget.cpp
+69-793 files

LLVM/project 43e41e9clang-tools-extra/docs/clang-tidy/checks/abseil unchecked-statusor-access.md

[clang-tidy][docs] Replace invisible characters in unchecked-statusor-access. NFC. (#213562)
DeltaFile
+3-3clang-tools-extra/docs/clang-tidy/checks/abseil/unchecked-statusor-access.md
+3-31 files

FreeBSD/ports b4008cdwww/dokuwiki distinfo Makefile, www/dokuwiki/files patch-wrong-2388-fix

www/dokuwiki: update to 2026-07-14a

- Remove patch-wrong-2388-fix: upstream rewrote X-Accel-Redirect handling
  in http_xaccel_url() which properly handles relocated savedir (FS#2895)
- Fix LICENSE_FILE_BSD3CLAUSE path: simplepie moved LICENSE.txt to
  LICENSES/BSD-3-Clause.txt
- Add TEST option (off by default) to control installation of test suites,
  PHPStan static analysis files, and the testing plugin
- Update pkg-plist for new/removed/reorganized files in this release
- Remove ldap and pdo_mysql from USE_PHP: these are only required by the
  optional authldap and authpdo plugins, not core functionality

PR:             ports/296898
PR:             ports/271538 (ldap/pdo_mysql removal)
DeltaFile
+227-109www/dokuwiki/pkg-plist
+15-3www/dokuwiki/Makefile
+0-11www/dokuwiki/files/patch-wrong-2388-fix
+3-3www/dokuwiki/distinfo
+245-1264 files

HardenedBSD/ports b4008cdwww/dokuwiki distinfo Makefile, www/dokuwiki/files patch-wrong-2388-fix

www/dokuwiki: update to 2026-07-14a

- Remove patch-wrong-2388-fix: upstream rewrote X-Accel-Redirect handling
  in http_xaccel_url() which properly handles relocated savedir (FS#2895)
- Fix LICENSE_FILE_BSD3CLAUSE path: simplepie moved LICENSE.txt to
  LICENSES/BSD-3-Clause.txt
- Add TEST option (off by default) to control installation of test suites,
  PHPStan static analysis files, and the testing plugin
- Update pkg-plist for new/removed/reorganized files in this release
- Remove ldap and pdo_mysql from USE_PHP: these are only required by the
  optional authldap and authpdo plugins, not core functionality

PR:             ports/296898
PR:             ports/271538 (ldap/pdo_mysql removal)
DeltaFile
+227-109www/dokuwiki/pkg-plist
+15-3www/dokuwiki/Makefile
+0-11www/dokuwiki/files/patch-wrong-2388-fix
+3-3www/dokuwiki/distinfo
+245-1264 files

FreeBSD/ports e4ee3b2audio/sonic-visualiser Makefile, audio/sonic-visualiser/files patch-svgui_acinclude.m4 patch-svcore_acinclude.m4

audio/sonic-visualiser: update 4.0.1 → 5.2.1 and take maintainership

PR:             289533
DeltaFile
+225-0audio/sonic-visualiser/files/patch-meson.build
+97-0audio/sonic-visualiser/files/patch-freebsd-fixes
+23-39audio/sonic-visualiser/Makefile
+45-0audio/sonic-visualiser/files/patch-meson_options.txt
+0-42audio/sonic-visualiser/files/patch-svgui_acinclude.m4
+0-42audio/sonic-visualiser/files/patch-svcore_acinclude.m4
+390-12316 files not shown
+394-42522 files

HardenedBSD/ports e4ee3b2audio/sonic-visualiser Makefile, audio/sonic-visualiser/files patch-svgui_acinclude.m4 patch-svcore_acinclude.m4

audio/sonic-visualiser: update 4.0.1 → 5.2.1 and take maintainership

PR:             289533
DeltaFile
+225-0audio/sonic-visualiser/files/patch-meson.build
+97-0audio/sonic-visualiser/files/patch-freebsd-fixes
+23-39audio/sonic-visualiser/Makefile
+45-0audio/sonic-visualiser/files/patch-meson_options.txt
+0-42audio/sonic-visualiser/files/patch-svgui_acinclude.m4
+0-42audio/sonic-visualiser/files/patch-svcore_acinclude.m4
+390-12316 files not shown
+394-42522 files

FreeBSD/ports 1da63beaudio/vamp-plugin-sdk pkg-plist distinfo

audio/vamp-plugin-sdk: update 2.9.0 → 2.10.0 and take maintainership

PR:             297232
DeltaFile
+5-5audio/vamp-plugin-sdk/Makefile
+3-3audio/vamp-plugin-sdk/distinfo
+2-2audio/vamp-plugin-sdk/pkg-plist
+10-103 files