LLVM/project d16990b — libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs hard_link_count.pass.cpp file_type_obs.pass.cpp, libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent equivalent.pass.cpp

[libc++][Android] Guard SELinux filesystem subtests and forward stdin in adb_run.py

Follow-up to #243692 addressing the remaining Android filesystem and `std::{cin,wcin}` `LIBCXX-ANDROID-FIXME` tests:

- Add `has-no-{fifos,hardlinks,sockets}` lit features to guard filesystem subtests, including on Android where SELinux blocks them for the `shell` user in `/data/local/tmp` on Android N (API 24) and up, allowing the rest of those tests to run.
- Forward non-TTY stdin via a temporary file in `adb_run.py` when `shell_v2` is unavailable so `std::{cin,wcin}` tests don't hang waiting for EOF on API 23.

Assisted-by: Gemini
DeltaFile
+137-1libcxx/utils/libcxx/test/features/misc.py
+32-4libcxx/utils/adb_run.py
+9-7libcxx/test/support/filesystem_test_helper.h
+10-6libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp
+7-7libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/equivalent.pass.cpp
+6-6libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
+201-3116 files not shown
+223-11122 files

LLVM/project c385f7e — clang/docs ReleaseNotes.md, clang/lib/Frontend DependencyFile.cpp

[clang] Emit #embed missing file error even with -MD (#247362)

In 2e89b719 we accidentally made #embed silently ignore a missing file
if any dependency file was being emitted, when that behaviour should
only be when suppressing missing file errors (e.g. -MM -MG) to match
what we do for missing headers.

Fixes #247359

rdar://193739474
DeltaFile
+3-2clang/lib/Lex/PPDirectives.cpp
+1-2clang/lib/Frontend/DependencyFile.cpp
+1-0clang/test/Preprocessor/embed_file_not_found_quote.c
+1-0clang/test/Preprocessor/embed_file_not_found_chevron.c
+1-0clang/docs/ReleaseNotes.md
+7-45 files

LLVM/project 6bd1cb3 — libc/hdr/types char16_t.h, libc/src/__support/wchar character_converter.h

[libc] Add UTF-16 support in CharacterConverter [1/6] (#230434)

This pull request adds support of UTF-16 in `CharacterConverter`. It
does not use the functionality yet. Follow-ups will add uses to the
functionality that this PR implements.

Aside from `push(char16_t)` and `pop_utf16()` that implements the
conversion, another function `isPartiallyPopping()` is added, which
distinguishes if the current state is "partially pushing" or "partially
popping". Since UTF-16 can have 2 code units for 1 code point, this
reporting function will be crucial to the follow-up uses.
For `isPartiallyPopping()` to work, UTF-8 overlong encodings must be
rejected. They pose a security hazard anyway. This PR adds new checks
that reject UTF-8 overlong encodings. This PR also adds new checks that
reject `>U+10FFFF` inputs.

Tests are added to cover the above-mentioned functionalities. This
includes testing that `isPartiallyPopping()` works in UTF-8 -> UTF-32
conversions, which the function is designed to work.

    [4 lines not shown]
DeltaFile
+243-0libc/test/src/__support/wchar/utf16_to_8_test.cpp
+191-0libc/test/src/__support/wchar/utf8_to_16_test.cpp
+173-13libc/src/__support/wchar/character_converter.h
+21-16libc/test/src/__support/wchar/utf32_to_8_test.cpp
+32-0libc/hdr/types/char16_t.h
+26-0libc/test/src/__support/wchar/CMakeLists.txt
+686-295 files not shown
+709-2911 files

LLVM/project 33da68d — llvm/lib/Transforms/IPO MergeFunctions.cpp, llvm/test/Transforms/MergeFunc coff-weak-alias.ll merge-unnamed-addr.ll

[MergeFunctions] Only merge functions that have address insignificance

Implements the semantics in #247279.

I haven't empirically measured the impact of this given this pass isn't
on in any of the default pass pipelines, but it should not be large.

Helps with #229138.

Assisted-By: LLM

Reviewers: efriedma-quic, nikic

Pull Request: https://github.com/llvm/llvm-project/pull/247311
DeltaFile
+45-3llvm/test/Transforms/MergeFunc/merge-unnamed-addr.ll
+14-11llvm/lib/Transforms/IPO/MergeFunctions.cpp
+3-3llvm/test/Transforms/MergeFunc/coff-weak-alias.ll
+62-173 files

LLVM/project 29710c4 — clang/test/OpenMP dims_modifier_ast_print.cpp

[Clang][OpenMP][NFC] Make dims AST print tests conforming (#247462)

OpenMP 6.1 specifies the following restriction for the `num_threads`
clause:
> If the dims-modifier is specified, its dimensionality argument must
not exceed the number of dimensions specified by the thread-limit-var
ICV.

Four AST print test cases specify `num_threads(dims(2): ...)` alongside
or inside a construct with `thread_limit(dims(1): ...)`. This commit
updates their thread limits to two dimensions so the test cases conform
to this restriction.

A separate PR can add Sema diagnostics for cases where the conflicting
dimensions are visible to the compiler.

Assisted by OpenAI Codex GPT-6 Sol.
DeltaFile
+8-8clang/test/OpenMP/dims_modifier_ast_print.cpp
+8-81 files

FreeBSD/doc fc3590f — website/content/en/cgi ports.cgi

ports.cgi: simplify readcoll function
DeltaFile
+7-10website/content/en/cgi/ports.cgi
+7-101 files

FreeBSD/src 293dac3 — usr.sbin/bhyve pci_virtio_console.c

bhyve: disable SIGPIPE for vtcons

Currently, if a virtio-console socket client closes the connection or
shuts down the read side, the next guest write to the socket
raises SIGPIPE and kills the VM.

Set SO_NOSIGPIPE on this socket to prevent that.

Reviewed by:    markj
Fixes:          13ee8dde0409 ("Add virtio-console support to bhyve.")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D62216
DeltaFile
+6-0usr.sbin/bhyve/pci_virtio_console.c
+6-01 files

HardenedBSD/src a3d5180 — contrib/llvm-project/clang/lib/Sema SemaDeclAttr.cpp, sys/dev/usb/controller/dwc3 dwc3.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+293-15tests/sys/netipsec/tunnel/bundle.sh
+117-106sys/powerpc/linux/linux_sysvec.c
+74-31sys/netipsec/ipsec_output.c
+43-0tests/sys/netipsec/tunnel/pmtu.sh
+29-6contrib/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp
+21-7sys/dev/usb/controller/dwc3/dwc3.c
+577-16516 files not shown
+628-19122 files

HardenedBSD/src 68819f3 — contrib/llvm-project/clang/lib/Sema SemaDeclAttr.cpp, sys/dev/usb/controller/dwc3 dwc3.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+293-15tests/sys/netipsec/tunnel/bundle.sh
+117-106sys/powerpc/linux/linux_sysvec.c
+74-31sys/netipsec/ipsec_output.c
+43-0tests/sys/netipsec/tunnel/pmtu.sh
+29-6contrib/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp
+21-7sys/dev/usb/controller/dwc3/dwc3.c
+577-16516 files not shown
+628-19122 files

HardenedBSD/ports de44d1a — devel/sdl2-compat Makefile, devel/sdl2-compat/files patch-CMakeLists.txt

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+242-0devel/sdl2-compat/files/patch-CMakeLists.txt
+111-111shells/powershell/distinfo
+84-1security/vuxml/vuln/2026.xml
+44-0devel/sdl2-compat/Makefile
+14-4www/nginx-module-cache-purge/Makefile
+9-7net-im/purple-gowhatsapp/distinfo
+504-12373 files not shown
+701-28379 files

NetBSD/src kruTt7T — sys/arch/aarch64/aarch64 genassym.cf

   aarch64: remove ID_AA64PFR0_EL1_GIC_CPUIF_EN from genassym.cf.

   It's no longer referrenced in assembly.
VersionDeltaFile
1.48+1-2sys/arch/aarch64/aarch64/genassym.cf
+1-21 files

FreeNAS/freenas 4abb61e — src/middlewared/middlewared/plugins truesearch.py

Fix mypy
DeltaFile
+1-1src/middlewared/middlewared/plugins/truesearch.py
+1-11 files

HardenedBSD/ports 564246f — audio/elevenlabs-cli Makefile Makefile.crates

audio/elevenlabs-cli: Update to 1.15.0
DeltaFile
+7-3audio/elevenlabs-cli/distinfo
+1-1audio/elevenlabs-cli/Makefile
+2-0audio/elevenlabs-cli/Makefile.crates
+10-43 files

FreeBSD/ports 564246f — audio/elevenlabs-cli Makefile Makefile.crates

audio/elevenlabs-cli: Update to 1.15.0
DeltaFile
+7-3audio/elevenlabs-cli/distinfo
+1-1audio/elevenlabs-cli/Makefile
+2-0audio/elevenlabs-cli/Makefile.crates
+10-43 files

LLVM/project 3e92a97 — clang/lib/CIR/Dialect/Transforms CIRABIClassifierAMDGPU.cpp, clang/lib/CIR/Lowering CIRPasses.cpp

[CIR][AMDGPU][SPIR-V] Wire AMDGCN SPIR-V into the call convention lowering pass (#238348)

Use the AMDGPU ABI for AMDGCN SPIR-V kernels, with SPIR-V address spaces

This matches classic codegen: structs pass byref in addrspace(2) and
pointers in addrspace(1)
DeltaFile
+61-0clang/test/CIR/CodeGenHIP/call-conv-lowering-amdgcnspirv-kernel-args.hip
+37-0clang/test/CodeGen/AMDGPU/abi-classify-kernel-args.hip
+27-0clang/test/CIR/CodeGenSYCL/call-conv-lowering-amdgcnspirv-kernel-args.cpp
+19-4clang/lib/CIR/Dialect/Transforms/CIRABIClassifierAMDGPU.cpp
+9-6clang/lib/CIR/Lowering/CIRPasses.cpp
+3-2clang/test/CIR/CodeGen/call-conv-lowering-spirv-target.c
+156-126 files

LLVM/project 619ed7b — llvm/lib/Target/X86 X86AsmPrinter.h, llvm/test/CodeGen/X86 win-import-call-optimization.ll

[X86] Emit the import call optimization table in a deterministic order (#247679)

X86AsmPrinter kept the import call sites per section in a DenseMap keyed
by MCSection pointers and emitted the .retplne table by iterating it, so
the order of the sections in the table depended on pointer values and
changed between runs. Use a MapVector, like AArch64AsmPrinter does.
Compile time and memory are unchanged on a module with 10000 such
sections.

The table checks in win-import-call-optimization.ll had no colons, so
FileCheck ignored them, and their call kinds were out of date. Fix both.

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+16-16llvm/test/CodeGen/X86/win-import-call-optimization.ll
+2-1llvm/lib/Target/X86/X86AsmPrinter.h
+18-172 files

LLVM/project a2e578b — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 avx512-trunc.ll

[X86] Add VMTRUNC/VMTRUNCS/VMTRUNCUS upper elements handling (#247633)

computeKnownBitsForTargetNode - the masked truncations zero the
elements above the truncated ones, like VTRUNC/VTRUNCS/VTRUNCUS.

isGuaranteedNotToBeUndefOrPoisonForTargetNode - these upper elements
are never undef/poison. #245048 adds the same handling for VTRUNC.

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+125-0llvm/test/CodeGen/X86/avx512-trunc.ll
+13-0llvm/lib/Target/X86/X86ISelLowering.cpp
+138-02 files

FreeNAS/freenas d9769a2 — src/middlewared/middlewared/common/event_source manager.py, src/middlewared/middlewared/plugins block_storage.py truesearch.py

Merge branch 'master' into mypy-ban-string-calls
DeltaFile
+577-0tests/api2/test_block_share_conflicts.py
+68-68src/middlewared/middlewared/plugins/iscsi_/scst.py
+111-13src/middlewared/middlewared/plugins/truesearch.py
+56-54src/middlewared/middlewared/plugins/zfs/resource_processes.py
+104-0src/middlewared/middlewared/plugins/block_storage.py
+50-38src/middlewared/middlewared/common/event_source/manager.py
+966-17365 files not shown
+1,879-51671 files

LLVM/project 7c45de0 — llvm/lib/Target/AMDGPU AMDGPUAttributor.cpp, llvm/test/CodeGen/AMDGPU duplicate-attribute-indirect.ll simple-indirect-call.ll

[AMDGPU] Re-enable AAInstanceInfo in AMDGPUAttributor

This was enabled and then disabled because of its compile time impact. This
recent changes, the compile time issue should have been resolved.
DeltaFile
+13-5llvm/test/CodeGen/AMDGPU/amdgpu-attributor-accesslist-offsetbins-out-of-sync.ll
+3-6llvm/test/CodeGen/AMDGPU/simple-indirect-call-2.ll
+5-3llvm/test/CodeGen/AMDGPU/direct-indirect-call.ll
+4-2llvm/test/CodeGen/AMDGPU/simple-indirect-call.ll
+2-3llvm/test/CodeGen/AMDGPU/duplicate-attribute-indirect.ll
+1-1llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+28-206 files

LLVM/project 5d53131 — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 prefer-avx256-trunc.ll

[X86] combineSelect - only create VMTRUNC from a legal source type

The select(c, trunc(x), y) -> VMTRUNC fold for targets without BWI
(#201339) runs before type legalization. With AVX512VL and a 256-bit
preferred vector width, v16i32 and v8i64 are illegal, and the type
legalizer can't split the operand of the target node: "Should not
custom lower this!". Reachable from C with -mavx512f -mavx512vl
-mprefer-vector-width=256; real code such as libwebp's sharpyuv hits
it. The same fold also crashed with "use-soft-float", where no vector
type is legal.

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+219-0llvm/test/CodeGen/X86/prefer-avx256-trunc.ll
+4-3llvm/lib/Target/X86/X86ISelLowering.cpp
+223-32 files

LLVM/project 6c3ce17 — clang/include/clang/CIR/Dialect/IR CIRTBAAAttrs.td, clang/lib/CIR/CodeGen CIRGenTBAA.h CIRGenExpr.cpp

[CIR] Add TBAA support for scalar loads and stores (#246079)

Port classic CodeGenTBAA to CIR. CIRGen attaches access tags to
`cir.load` and `cir.store`, following classic CodeGen at each site where
an access is built, and LowerToLLVM turns them into `!tbaa` metadata.

The attributes follow the ClangIR incubator, except that type
descriptors store no CIR type. Tags therefore survive passes that
rewrite types, and lowering does not need the AST.

Left for follow-ups: vtable-pointer tags, `tbaa.struct`, atomics,
`!llvm.errno.tbaa` (needed for `-fmath-errno`), and `-new-struct-path-tbaa`.

This relates to #160387 and #169226.

Co-authored-by: PikachuHy <pikachuhy at linux.alibaba.com>
DeltaFile
+391-0clang/lib/CIR/CodeGen/CIRGenTBAA.cpp
+170-69clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+190-0clang/test/CIR/CodeGen/tbaa-scalar.c
+185-0clang/test/CIR/CodeGen/tbaa-struct.cpp
+182-0clang/lib/CIR/CodeGen/CIRGenTBAA.h
+154-0clang/include/clang/CIR/Dialect/IR/CIRTBAAAttrs.td
+1,272-6948 files not shown
+2,102-27954 files

LLVM/project 72dd5b0 — llvm/include/llvm/CodeGen/MIRParser MIParser.h, llvm/lib/CodeGen MachineModuleSlotTracker.cpp MIRPrintingPass.cpp

[DebugInfo][FLMD] Add MIR printing/parsing support for !!dbgLoc

Extending from the IR printing/parsing support, this adds !!dbgLoc parsing
to the MIR parser, and has the MIR printing passes access the conversion
layer via the ModuleSlotTracker. Just as with regular debug-location
attachments in MIR, we print the attachments in their expanded/in-line form
if the same attachment did not appear in the IR, because the IR module may
have already been printed, and thus we cannot add new metadata IDs to the
printed output - in this case, we cannot add to the SrcLocs or InlinedAts
storage arrays.

Note that we can meaningfully print the SrcLoc in-line, but not the
InlinedAt, since that has a unique identity - this is a case that is very
unlikely to be stimulated however, and (I believe) already exists as a
deficiency in current IR, so we accept its absence for now. If this were
to become a significant issue, then we could implement in-line InlinedCall
printing.

AI assistance was used to partially generate the test input in this patch;
all test comments/checks were hand-written.
DeltaFile
+411-0llvm/test/CodeGen/MIR/X86/flmd-debuglocs.mir
+150-3llvm/lib/CodeGen/MIRParser/MIParser.cpp
+15-11llvm/lib/CodeGen/MIRPrintingPass.cpp
+19-2llvm/lib/CodeGen/MIRParser/MILexer.cpp
+19-0llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
+12-0llvm/include/llvm/CodeGen/MIRParser/MIParser.h
+626-168 files not shown
+661-2114 files

LLVM/project f93fbbb — llvm/include/llvm/CodeGen MachineModuleSlotTracker.h, llvm/include/llvm/CodeGen/MIRParser MIParser.h

clang-format
DeltaFile
+9-7llvm/lib/CodeGen/MIRParser/MIParser.cpp
+7-4llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
+4-2llvm/lib/IR/AsmWriter.cpp
+2-1llvm/include/llvm/CodeGen/MachineModuleSlotTracker.h
+2-1llvm/include/llvm/CodeGen/MIRParser/MIParser.h
+1-1llvm/lib/CodeGen/MIRPrintingPass.cpp
+25-166 files

LLVM/project de9ff1d — llvm/lib/Bitcode/Reader MetadataLoader.h BitcodeReader.cpp, llvm/lib/Bitcode/Writer BitcodeWriter.cpp

Add proper error check for mixed DILocation+FLDebugLoc
DeltaFile
+15-12llvm/lib/Bitcode/Reader/MetadataLoader.cpp
+2-2llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+0-3llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+1-1llvm/lib/Bitcode/Reader/MetadataLoader.h
+18-184 files

LLVM/project 5f333d3 — llvm/lib/Bitcode/Reader MetadataLoader.h MetadataLoader.cpp, llvm/lib/Bitcode/Writer ValueEnumerator.h ValueEnumerator.cpp

[DebugInfo][FLMD] Add Bitcode read/write support for !!dbgLoc

This patch adds support for reading and writing !!dbgLoc attachments to
instructions/debug records (FLDebugLoc), and also for !DIDbgLoc which
contains an FLDebugLoc argument. Besides adding the bitcode representation
itself, this adds support for converting from FLDebugLoc->DILocation in the
MetadataLoader.
DeltaFile
+129-8llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+102-11llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+59-2llvm/lib/Bitcode/Reader/MetadataLoader.cpp
+15-0llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
+10-0llvm/lib/Bitcode/Writer/ValueEnumerator.h
+8-0llvm/lib/Bitcode/Reader/MetadataLoader.h
+323-214 files not shown
+339-2110 files

LLVM/project 1dad3d5 — llvm/include/llvm/AsmParser LLParser.h, llvm/lib/AsmParser LLParser.cpp

[DebugInfo][FLMD] Add parsing for expanded !!dbgLoc attachments

This patch expands the textual IR parsing support added previously, to
also support parsing "expanded" FLDebugLocs, where the SrcLoc fields (line,
column, scope) are all printed in-line. This adds some complications to
parsing, primarily in that it requires us to read and write to the
MDFunctionLocalContext pre-verifier, and that we need yet another form of
"forward-reference" state tracking.
DeltaFile
+91-8llvm/lib/AsmParser/LLParser.cpp
+16-1llvm/include/llvm/AsmParser/LLParser.h
+2-1llvm/test/Assembler/flmd-dbglocs.ll
+2-1llvm/test/Assembler/flmd-dbglocs-loops.ll
+2-1llvm/test/Assembler/flmd-dbglocs-inlined.ll
+113-125 files

LLVM/project 7d2d94b — llvm/test/Assembler flmd-dbglocs-loops.ll

Remove unused FileCheck directive
DeltaFile
+0-11llvm/test/Assembler/flmd-dbglocs-loops.ll
+0-111 files

LLVM/project e4631c8 — llvm/include/llvm/AsmParser LLParser.h, llvm/lib/AsmParser LLParser.cpp

[DebugInfo][FLMD] Add !!dbgLoc and !DIDbgLoc textual IR parsing

This patch adds support for parsing !!dbgLoc attachments to Instructions
and DbgRecords, and also !DIDbgLoc nodes which contain !!dbgLoc fields.
This patch necessarily makes use of the DebugLoc Conversion Map, which is
used this time to read FLDebugLocs and convert to DILocations.

This patch doesn't add support for parsing the expanded form of !!dbgLoc;
that is added in the next patch, which extends the FLMDAttachment variant
to include expanded dbgLocs.

AI assistance was used in generating the test IR added in this commit; all
comments are human-written and the test expects are generated by
update_test_checks, and the IR is unmodified (besides comments) opt output.
DeltaFile
+471-0llvm/test/Assembler/flmd-dbglocs-loops.ll
+355-0llvm/test/Assembler/flmd-dbglocs-inlined.ll
+305-32llvm/lib/AsmParser/LLParser.cpp
+238-0llvm/test/Assembler/flmd-dbglocs.ll
+44-0llvm/include/llvm/AsmParser/LLParser.h
+1,413-325 files

LLVM/project 174d343 — llvm/lib/IR Module.cpp

clang-format
DeltaFile
+0-1llvm/lib/IR/Module.cpp
+0-11 files

LLVM/project 193640f — llvm/include/llvm/IR DebugLocConversion.h Module.h, llvm/lib/IR LLVMContextImpl.h LLVMContext.cpp

Move storage to Module, use IntrusiveRefCntPtr
DeltaFile
+0-12llvm/lib/IR/LLVMContextImpl.cpp
+10-0llvm/lib/IR/Module.cpp
+0-6llvm/lib/IR/LLVMContext.cpp
+3-3llvm/include/llvm/IR/DebugLocConversion.h
+6-0llvm/include/llvm/IR/Module.h
+0-5llvm/lib/IR/LLVMContextImpl.h
+19-262 files not shown
+21-328 files