LLVM/project 0d30fcbcompiler-rt/lib/asan asan_mapping.h asan_shadow_setup.cpp

[ASan][Darwin] Support gapless shadow layout for iOS 27.0

When the shadow can be placed entirely above app memory (as on the
new iOS 27.0 embedded VM layout, where debug memory pushes shadow
past kHighMemEnd), there is no need to split shadow into low/high
halves with a middle gap.

- Add kGaplessShadow (Apple-only) to detect this configuration.
- Teach InitializeShadowMemory to reserve one contiguous shadow
  region and protect only the shadow-of-shadow when kGaplessShadow
  is true, with CHECKs asserting the mapping preconditions.
- Update PrintAddressSpaceLayout to print the single-region layout.

rdar://167657399
DeltaFile
+41-35compiler-rt/lib/asan/asan_rtl.cpp
+39-1compiler-rt/lib/asan/asan_shadow_setup.cpp
+9-0compiler-rt/lib/asan/asan_mapping.h
+89-363 files

LLVM/project 2661b4bcompiler-rt/test/asan/TestCases/Darwin sandbox-vm-region-recurse.cpp

Fixup macos sandbox test
DeltaFile
+1-1compiler-rt/test/asan/TestCases/Darwin/sandbox-vm-region-recurse.cpp
+1-11 files

LLVM/project 82aaae7compiler-rt/lib/sanitizer_common sanitizer_win.cpp

fix: FindAvailableMemoryRange on windows
DeltaFile
+15-15compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
+15-151 files

LLVM/project c850dcaflang/include/flang/Optimizer/Builder/Runtime Assign.h, flang/lib/Optimizer/Builder/Runtime Assign.cpp

[flang] - Call _FortranAAssignSimple instead of _FortranAAssign for intrinsic-type array assignments.

This patch adds support for calling _FortranAAssignSimple, a faster-path for array assignments.
`_FortranAAssignSimple` is called when ALL the following conditions are true:
1. Intrinsic element type (not derived type)
2. Matching ranks (no scalar-to-array broadcasting)
3. Non-volatile
4. Not polymorphic
5. Not explicit-length character
6. Not temporary LHS

Otherwise, uses `_FortranAAssign` (or specialized variants like `_FortranAAssignPolymorphic`, `_FortranAAssignExplicitLengthCharacter`).

This is a (perhaps final) part of the fix for https://github.com/llvm/llvm-project/issues/203915
DeltaFile
+287-0flang/test/HLFIR/assign-simple-routing.fir
+46-4flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
+19-13flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
+13-0flang/lib/Optimizer/Builder/Runtime/Assign.cpp
+12-0flang/include/flang/Optimizer/Builder/Runtime/Assign.h
+2-2flang/test/HLFIR/assign-codegen.fir
+379-192 files not shown
+381-218 files

FreeBSD/src 8d83b10share/examples/jails rc.conf.jails rcjail.xxx.conf

New version of jng (9.1)

Update examples and comments to return eifaces in exec.prestop
with ifconfig -vnet (before jng shutdown in poststop).

Reported by:    jlduran
PR:             268397
MFC after:      1 week
Reviewed by:    kfv, jlduran
Differential Revision:  https://reviews.freebsd.org/D58939
DeltaFile
+12-6share/examples/jails/jng
+2-1share/examples/jails/rcjail.xxx.conf
+2-1share/examples/jails/jail.xxx.conf
+2-0share/examples/jails/rc.conf.jails
+18-84 files

LLVM/project c0dba49.github/workflows release-documentation.yml

Add back environment
DeltaFile
+3-0.github/workflows/release-documentation.yml
+3-01 files

LLVM/project 88a7adeflang-rt/lib/runtime assign.cpp, flang-rt/unittests/Runtime Assign.cpp

Reject CHARACTER types in AssignSimple and add death tests

AssignSimple is only intended for trivial intrinsic types (integer, real,
complex, logical). Add a guard that crashes on CHARACTER type input,
matching the existing derived-type guard.

Add death tests covering all five crash paths in AssignSimple: rank
mismatch, element-bytes mismatch, derived type, character type, and
non-allocatable element count mismatch.

Co-Authored-By: Claude Opus 4 (1M context) <noreply at anthropic.com>
DeltaFile
+77-0flang-rt/unittests/Runtime/Assign.cpp
+3-0flang-rt/lib/runtime/assign.cpp
+80-02 files

LLVM/project b932e50clang/docs ClangFormatStyleOptions.rst ClangFormatStyleOptions.md, clang/include/clang/Basic AttrDocs.td

Merge remote-tracking branch 'origin/main' into HEAD
DeltaFile
+13,767-6,856llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-sve-instructions.s
+6,347-3,146llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-neon-instructions.s
+4,432-4,282clang/include/clang/Basic/AttrDocs.td
+8,235-0clang/docs/ClangFormatStyleOptions.md
+0-8,043clang/docs/ClangFormatStyleOptions.rst
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+36,596-26,1378,808 files not shown
+499,139-279,9398,814 files

LLVM/project bcf0093llvm/lib/ExecutionEngine/Orc ReOptimizeLayer.cpp COFFVCRuntimeSupport.cpp, llvm/lib/ExecutionEngine/Orc/Debugging PerfSupportPlugin.cpp

[ORC] Move simple lookupAndRecordAddrs uses to lookupAndApply (#217509)

Mechanical conversions in ReOptimizeLayer, PerfSupportPlugin,
COFFVCRuntimeSupport and COFFPlatform::bootstrapCOFFRuntime: each (name,
ExecutorAddr *) pair becomes a recordAddr.

NFCI.
DeltaFile
+13-16llvm/lib/ExecutionEngine/Orc/COFFPlatform.cpp
+8-10llvm/lib/ExecutionEngine/Orc/COFFVCRuntimeSupport.cpp
+5-7llvm/lib/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.cpp
+5-6llvm/lib/ExecutionEngine/Orc/ReOptimizeLayer.cpp
+31-394 files

FreeBSD/src ba99013sys/fs/tarfs tarfs_vfsops.c, usr.sbin/jail jail.8

tarfs: allow mounting inside jails

Reviewed by:    des
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58833
DeltaFile
+9-1usr.sbin/jail/jail.8
+1-1sys/fs/tarfs/tarfs_vfsops.c
+10-22 files

FreeBSD/src 4d52491sys/fs/tarfs tarfs_vfsops.c

tarfs: remove PRIV_VFS_MOUNT_PERM check

The backing file is already opened successfully, so there is
no need to override the permissions.

Reviewed by:    des
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58832
DeltaFile
+0-5sys/fs/tarfs/tarfs_vfsops.c
+0-51 files

LLVM/project a160d90.github/workflows commit-access-review.yml

workflows/commit-access-review: Limit token to current repository (#216880)

The token had access to all llvm repositories which was unnecessary
since it was only used for llvm-project.

https://github.com/llvm/llvm-project/security/code-scanning/1860
DeltaFile
+1-0.github/workflows/commit-access-review.yml
+1-01 files

LLVM/project 25a993cclang/docs ReleaseNotes.md, clang/lib/Sema SemaDeclCXX.cpp

[clang][Sema] Warn on explicit conversion functions in C++20 with -Wc++98-compat (#217342)

The explicit(bool) patch (76b9027f352a) added a
`!getLangOpts().CPlusPlus20` guard here, so this `-Wc++98-compat`
warning stopped firing in C++20 and later. C++11 through C++17 still
warn, and the test even has a FIXME asking for the warning in C++20.

Drop the guard so every mode behaves the same, update the test, and
remove the FIXME.

Fixes #161689
DeltaFile
+1-2clang/test/SemaCXX/cxx98-compat.cpp
+3-0clang/docs/ReleaseNotes.md
+1-1clang/lib/Sema/SemaDeclCXX.cpp
+5-33 files

LLVM/project 01da06dllvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv fixed-vectors-strided-load-combine.ll

[RISCV] Fix incorrect stride computation in concat_vectors-of-loads combine (#217401)

performCONCAT_VECTORSCombine's computed the stride between two loads as
BIO2.getOffset() - BIO1.getOffset(), but getOffset() only returns each
load's own trailing offset component, not the base-to-base displacement.
For loads based on two distinct fixed FrameIndex objects (e.g. an
illegal, non-power-of-2 vector argument scalarized into per-element
stack slots), this always computed 0 regardless of the true distance
between the slots, since equalBaseIndex computes the correct relative
offset separately and returns it via an out-parameter that was being
discarded.

Use the 3 argument equalBaseIndex overload and its computed offset
instead.

Fixes #217369.

Assisted-by: Claude
DeltaFile
+350-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-load-combine.ll
+3-2llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+353-22 files

LLVM/project c4e2411clang/include/clang/StaticAnalyzer/Core/PathSensitive SMTConstraintManager.h, clang/test/Analysis/z3 z3-constraint-liveness.c

[analyzer][z3] Fix SMTConstraintManager.h removeDeadBindings (#215240)

removeDeadBindings did not properly keep track of constraint
dependencies, causing still-in-use constraints to be incorrectly
removed.

This PR stops constraints that are indirectly related to a live symbol
from being removed by removeDeadBindings.

Assisted-by: Codex
DeltaFile
+37-5clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
+13-0clang/test/Analysis/z3/z3-constraint-liveness.c
+50-52 files

LLVM/project e5b8a7clld/ELF Relocations.cpp, lld/test/ELF aarch64-gnu-ifunc-nonpreemptible-pauth.s

[PAC][ELF] Make non-preemptible IFUNC GOT assertion an error and extend (#214456)

Support for R_AARCH64_AUTH_IRELATIVE is not yet present in LLD, but we
accept various input that would give rise to needing it. For the direct
reloc case, replaceWithDefined asserts (rather than give an error
message) this was not requested, whilst for the non-direct reloc case it
silently ignores which GOT type was requested. In the latter case, and
the former when assertions are disabled, this results in mis-linking the
object, producing one with a non-AUTH GOT entry, that would presumably
then fail the AUTDA operation in any user of it (aside from the IPLT
entry generated by LLD).

Fixes: 417d2d7ce694 ("[PAC][lld][AArch64][ELF] Support signed GOT
(#113815)")
DeltaFile
+21-0lld/test/ELF/aarch64-gnu-ifunc-nonpreemptible-pauth.s
+9-4lld/ELF/Relocations.cpp
+30-42 files

LLVM/project 9344320libc/src/__support/OSUtil/linux/syscall_wrappers execve.h, libc/src/unistd execle.h

[libc] Implement `execle` (#217213)

This implements `execle` and also creates a syscall wrapper for `execve`.
DeltaFile
+61-0libc/test/integration/src/unistd/execle_test.cpp
+55-0libc/src/unistd/linux/execle.cpp
+44-0libc/src/__support/OSUtil/linux/syscall_wrappers/execve.h
+35-6libc/test/integration/src/unistd/CMakeLists.txt
+29-0libc/test/integration/src/unistd/execle_test_normal_exit.cpp
+25-0libc/src/unistd/execle.h
+249-611 files not shown
+318-2017 files

LLVM/project d0e8f5fllvm/lib/Passes CMakeLists.txt, llvm/utils/gn/secondary/llvm/lib/Passes BUILD.gn

[CMake] Add AsmPrinter link dependency to LLVMPasses (#217524)

After #216468
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/lib/Passes/BUILD.gn
+1-0llvm/lib/Passes/CMakeLists.txt
+2-02 files

LLVM/project 050470ellvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/lib/Passes CodeGenPassBuilder.cpp

[CodeGen] Replace CodeGenPassBuilder CRTP with virtual hooks (#216468)

Make the hooks that were dispatched through derived() virtual, drop both
template parameters, and outline the pipeline into
lib/Passes/CodeGenPassBuilder.cpp, mirroring TargetPassConfig. The pass
headers move out of CodeGenPassBuilder.h.

The outlined bodies are moved verbatim, apart from dropping
now-redundant
std::move on returned Errors.

MSP430CodeGenPassBuilder.cpp.o .text: 84685 -> 11240 (-87%); compile
time: 1.75s -> 0.64s. llc .text: -293824 bytes; .data.rel.ro: +2784 (the
9 new vtables). The vtable slots are link-time constants in the default
non-PIE llc; with -pie they become 333 relative relocations, which RELR
packs into 40 bytes.

Overriding is now compiler-checked, which surfaced
AMDGPUCodeGenPassBuilder::addPreEmitRegAlloc (not a hook, never defined

    [6 lines not shown]
DeltaFile
+77-998llvm/include/llvm/Passes/CodeGenPassBuilder.h
+928-1llvm/lib/Passes/CodeGenPassBuilder.cpp
+65-56llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+40-37llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+37-34llvm/lib/Target/NVPTX/NVPTXCodeGenPassBuilder.cpp
+34-32llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+1,181-1,15811 files not shown
+1,290-1,25817 files

LLVM/project a84425bclang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema SemaRISCV.cpp

[Clang][RISC-V] Warn on duplicate interrupt attribute types (#217358)

The RISC-V interrupt attribute previously accepted the same type more
than once. This commit emits a warning instead (since a duplicate is
almost certainly a mistake).

The warning is emitted at most once per attribute and is controlled by
the new `-Wduplicate-interrupt-type` flag.

Follow up of #216159
DeltaFile
+8-24clang/test/Sema/riscv-interrupt-attr-qci.c
+6-13clang/test/Sema/riscv-interrupt-attr-sifive.c
+4-12clang/test/Sema/riscv-interrupt-attr-rnmi.c
+6-5clang/test/Sema/riscv-interrupt-attr.c
+6-1clang/lib/Sema/SemaRISCV.cpp
+3-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+33-551 files not shown
+36-557 files

OpenBSD/ports 9fe17Uxnet/kismet Makefile, net/kismet/patches patch-fmt_format_h

   kismet: fix build of bundled fmt with libcxx22: stdlib.h for malloc/free
VersionDeltaFile
1.1+14-0net/kismet/patches/patch-fmt_format_h
1.57+1-1net/kismet/Makefile
+15-12 files

FreeBSD/ports b75ce91devel/py-grpcio Makefile

devel/py-grpcio: remove BROKEN_SSL, BROKEN_SSL_REASON.

- replace PYTHON_TAG with PYTHON_SOABI to fix plist issue with
  python313t/python314t.
DeltaFile
+2-4devel/py-grpcio/Makefile
+2-41 files

LLVM/project b1c24eallvm/lib/Target/Mips MipsSEISelLowering.cpp, llvm/test/CodeGen/Mips/msa buildvector-undef-loop.ll

[Mips] Legalize vector UNDEF instead of expanding to zero BUILD_VECTOR (#211503)

Currently, MIPS MSA expands ISD::UNDEF into a BUILD_VECTOR of all zeros
during legalization. This creates an infinite loop in DAGCombiner when
the following occurs:
1.Mips lower BUILD_VECTOR expands non-splat vectors into
INSERT_VECTOR_ELT with creating undef node
2.Then legalization expands UNDEF back to BUILD_VECTOR zero 
3.Mips lower BUILD_VECTOR converts zero vector to BITCAST 
4.DAGCombiner optimizes BITCAST(zero) to UNDEF
5.Back to step 2, infinite loop

Fix #210229.
DeltaFile
+37-0llvm/test/CodeGen/Mips/msa/buildvector-undef-loop.ll
+1-0llvm/lib/Target/Mips/MipsSEISelLowering.cpp
+38-02 files

LLVM/project fe2500cllvm/unittests/CodeGen/GlobalISel CMakeLists.txt, llvm/utils/gn/secondary/llvm/unittests/CodeGen/GlobalISel BUILD.gn

[GISel] Fix link error when dylib is enabled

This is to fix link error caused by e21cfc08414e.
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/unittests/CodeGen/GlobalISel/BUILD.gn
+1-0llvm/unittests/CodeGen/GlobalISel/CMakeLists.txt
+2-02 files

LLVM/project a97f512llvm/lib/Target/Mips MipsInstrInfo.cpp

[Mips] Fix getInstSizeInBytes for instructions with delay slots (#216665)

MIPS branch/jump instructions (B, BEQ, JALR64Pseudo, PseudoReturn64,
etc.) have a delay slot. The actual encoded size is 8 bytes (instr +
NOP). This fixes "out of range PC16 fixup" errors on large functions.

This issue was exposed in llvm 23 by commit pr #191460 which changed
MipsBranchExpansion to use MBB::iterator instead of instr_iterator,
making the MBB size calculation more accurate and revealing the
pre-existing bug.

Thanks for the pr #187703 `AllowOverEstimate` to help find instr which
actual size mismatch expected size .

Fix #112010.
DeltaFile
+4-0llvm/lib/Target/Mips/MipsInstrInfo.cpp
+4-01 files

LLVM/project 85651c2bolt/lib/Core BinaryEmitter.cpp, bolt/test/runtime/X86 lsda-absolute-udata4.test

[BOLT] Fix overflow issue when using absolute addressing in LSDA (#216654)

Currently, in the emitLSDA() flow, signed data is used when using
absolute addresses to update the LSDA for non PIE/DSO. But when the PC
is higher than 0x7fffffff(2GB), this will be sign-extended into an
invalid 64-bit address. Especially when the output binary is large,
silent errors can easily occur (we have met this problem in real
scenarios).

So this patch changes the signed data to unsigned data, thereby fixing
the incorrect address extension like this:
```
.gcc_except_table
  LSDA:
    LPStartEncoding: DW_EH_PE_omit   // No LPStart
    CallSiteEncoding: DW_EH_PE_sdata4 -> udata4   // Changed from sdata4 to udata4
    call-site table:
      call-site 1:
        start = ...

    [4 lines not shown]
DeltaFile
+18-0bolt/test/runtime/X86/lsda-absolute-udata4.test
+1-1bolt/lib/Core/BinaryEmitter.cpp
+19-12 files

LLVM/project 8d59b0bclang/include/clang/Basic BuiltinsAMDGPUDocs.td BuiltinsAMDGPU.td, clang/test/CodeGenCXX dynamic-cast-address-space.cpp

[NFC][AMDGPU] Introduce a new target feature for N=16 WMMAs
DeltaFile
+30-28llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+28-28clang/include/clang/Basic/BuiltinsAMDGPU.td
+20-0clang/include/clang/Basic/BuiltinsAMDGPUDocs.td
+10-5llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+7-1llvm/lib/Target/AMDGPU/AMDGPU.td
+2-2clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
+97-642 files not shown
+99-668 files

LLVM/project 2e81e9fclang/include/clang/Basic BuiltinsAMDGPUDocs.td BuiltinsAMDGPU.td, clang/test/CodeGenCXX dynamic-cast-address-space.cpp

[NFC][AMDGPU] Introduce a new target feature for N=16 WMMAs
DeltaFile
+30-28llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+28-28clang/include/clang/Basic/BuiltinsAMDGPU.td
+20-0clang/include/clang/Basic/BuiltinsAMDGPUDocs.td
+10-5llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+7-1llvm/lib/Target/AMDGPU/AMDGPU.td
+2-2clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
+97-642 files not shown
+99-668 files

NetBSD/pkgsrc Ea8IP8Idoc CHANGES-pkgsrc-2026Q2

   doc: Include more pullups
VersionDeltaFile
1.1.2.13+67-1doc/CHANGES-pkgsrc-2026Q2
+67-11 files

LLVM/project 72988dellvm/lib/Target/AMDGPU AMDGPURegBankLegalizeHelper.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-amdgcn.ptr.s.buffer.load.ll regbankselect-mui-salu-float.mir

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+17-17llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
+4-4llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-mui-salu-float.mir
+4-4llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-icmp.mir
+4-4llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-copy.mir
+4-4llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.else.32.mir
+3-3llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.ptr.s.buffer.load.ll
+36-36375 files not shown
+495-495381 files