LLVM/project aadf395.github/workflows libcxx-build-and-test.yaml, libcxx/utils/ci run-buildbot

[libcxx][Github] Add generic-llvm-libc config to CI (#193822)

Add the generic-llvm-libc config for CI so that we can ensure we do not
regress the config and easily test changes as we do more work.

Only run libcxx/libxxabi tests for now as libunwind fails to build due
to a missing dl_iterate_phdr implementation. It technically passes when
we enable the stub implementation, but we should have a reasonable
implementation before actually enabling.
DeltaFile
+24-2libcxx/utils/ci/run-buildbot
+1-0.github/workflows/libcxx-build-and-test.yaml
+25-22 files

LLVM/project 5d4b17eclang/lib/CodeGen/Targets SPIR.cpp, clang/test/CodeGenCXX no-elide-constructors.cpp

[Clang][SPIRV] Add getSRetAddrSpace() for SPIRV (#193875)

Override getSRetAddrSpace() so that sret pointers for non-trivially-
copyable types use the generic address space (addrspace 4), matching the
"this" pointer convention on spirv64-amd-amdhsa.
DeltaFile
+5-6clang/test/CodeGenHIP/store-addr-space.hip
+11-0clang/lib/CodeGen/Targets/SPIR.cpp
+2-4clang/test/CodeGenHIP/sret-nontrivial-copyable.hip
+1-2clang/test/CodeGenCXX/no-elide-constructors.cpp
+2-1clang/test/CodeGenHIP/sret-lifetime-markers.cpp
+21-135 files

LLVM/project 104ee2aclang-tools-extra/clangd/unittests PrerequisiteModulesTest.cpp

[NFC] [clangd] [C++20] [Modules] Add a test for testing transtive change detection (#193888)
DeltaFile
+43-0clang-tools-extra/clangd/unittests/PrerequisiteModulesTest.cpp
+43-01 files

LLVM/project 560c681bolt/docs profiles.md

updated docs

Created using spr 1.3.4
DeltaFile
+25-13bolt/docs/profiles.md
+25-131 files

LLVM/project dbaa12allvm/test/MC/AMDGPU gfx1250_asm_vop3p.s, llvm/test/MC/Disassembler/AMDGPU gfx1250_dasm_vop3p.txt

[AMDGPU] Add MC tests for scalar operands for packed fp32 instructions (#193866)

To remind that a SGPR is acceptable only if op_sel = op_sel_hi = 0 for that operand.
Note that the default is op_sel = 0 and op_sel_hi = 1.
DeltaFile
+28-0llvm/test/MC/AMDGPU/gfx1250_asm_vop3p.s
+21-0llvm/test/MC/Disassembler/AMDGPU/gfx1250_dasm_vop3p.txt
+49-02 files

LLVM/project eef81b7lldb/test/API/functionalities/target-new-solib-notifications TestModuleLoadedNotifys.py

[lldb/test] Fix TestModuleLoadedNotifys duplicate module check (#193846)
DeltaFile
+5-1lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py
+5-11 files

LLVM/project 70fcb23lldb/packages/Python/lldbsuite/test lldbtest.py

[lldb/test] Fix TestCompletion on Windows after realpath change (#193878)
DeltaFile
+2-1lldb/packages/Python/lldbsuite/test/lldbtest.py
+2-11 files

LLVM/project b9fa9bdbolt/docs profiles.md

updated documentation

Created using spr 1.3.4
DeltaFile
+28-2bolt/docs/profiles.md
+28-21 files

LLVM/project 28d2537clang-tools-extra/clangd ModulesBuilder.cpp, clang-tools-extra/clangd/unittests PrerequisiteModulesTest.cpp

[clangd] [C++20] [Modules] Introduce persistent cache for clangd built module file (#193883)

Currently clangd lacks a persistent cache for clangd built module file.

It implies that every time a new clangd process starts, or a user close
all tabs and opening all a new tab. Clangd will build all the module
files required. This is a slow process. Especially, the building happens
in the building thread for the opening tab. That is, if the user only
opens a single tab, clangd needs to build all the module file in a
single thread. This is very slow in practice.

As clangd is basically a wrapper for clang, we can't do nothing to speed
the building process actually and the only thing we can do is to
introduce a better cache mechanism.

So everytime the user opens a new tab, now clangd won't try to build all
the needed module file at first but try to see if these module files are
already built and up-to-date. So clangd can try to avoid a lot of time
to rebuilding the same thing.

    [26 lines not shown]
DeltaFile
+484-145clang-tools-extra/clangd/ModulesBuilder.cpp
+198-2clang-tools-extra/clangd/unittests/PrerequisiteModulesTest.cpp
+682-1472 files

FreeBSD/src 74dff31sys/powerpc/pseries phyp_llan.c

pseries/llan: call init when ioctl sets interface UP

This should fix dhcp on an unitialized interface.  This solution was
found while comparing against another driver, SIOCSIFFLAGS is used by
dhclient to force the interface up before it has an IP address.
However, all setup work is done in llan_init(), so the interface would
not be enabled if configured via only the SIOCSIFFLAGS ioctl.  By
running llan_init() when the interface is forced up via SIOCSIFFLAGS,
the interface is initialized properly.

PR:             292164
DeltaFile
+4-0sys/powerpc/pseries/phyp_llan.c
+4-01 files

FreeBSD/src 32b0dfbusr.bin/du du.1

Explain relationship between file storage size and EOF.
DeltaFile
+10-2usr.bin/du/du.1
+10-21 files

LLVM/project af166f4llvm/test/CodeGen/LoongArch/lasx/ir-instruction fpext.ll, llvm/test/CodeGen/LoongArch/lsx/ir-instruction fpext.ll

[LoongArch][NFC] Pre-commit tests for vector fpext from vxf32 to vxf64 (#164740)
DeltaFile
+71-0llvm/test/CodeGen/LoongArch/lsx/ir-instruction/fpext.ll
+64-0llvm/test/CodeGen/LoongArch/lasx/ir-instruction/fpext.ll
+135-02 files

LLVM/project 1249cb6clang/test/ClangScanDeps p1689-mf-nested-dir.c, clang/tools/clang-scan-deps ClangScanDeps.cpp

[clang-scan-deps] Fixes an assertion in clang-scan-deps (#193619)

Please see ticket #191921 for detailed description of the issue and a reproducer.

clang-scan-deps crashes with an assertion failure if a compile_commands.json entry contains a depfile path (-MF) whose parent directory does not exist.

The fix is made so that clang-scan-deps tool create the directory if it doesn't exist and finish execution without failing.
DeltaFile
+30-7clang/tools/clang-scan-deps/ClangScanDeps.cpp
+34-0clang/test/ClangScanDeps/p1689-mf-nested-dir.c
+64-72 files

LLVM/project 61b0de5llvm/lib/Target/RISCV RISCVISelLowering.cpp

[RISCV] Remove codegen for vp_fneg, vp_fma. NFC (#193214)

Part of the work to remove trivial VP intrinsics from the RISC-V
backend, see
https://discourse.llvm.org/t/rfc-remove-codegen-support-for-trivial-vp-intrinsics-in-the-risc-v-backend/87999

We began expanding these nodes in #190589 since vp_fadd/vp_fmul/vp_fsub
could be combined into them. Now that these intrinsics are expanded too,
the lowering for these is dead and can be removed.
DeltaFile
+2-15llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+2-151 files

LLVM/project 67e1411llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize/RISCV iv-select-cmp.ll

[VPlan] Fold lhs | (headermask && rhs) -> vp.merge rhs, true, lhs, evl (#193511)

This is a combine on mask vectors that can show up with EVL tail
folding.

Split off from #190196
DeltaFile
+8-0llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-2llvm/test/Transforms/LoopVectorize/RISCV/iv-select-cmp.ll
+9-22 files

FreeBSD/ports 0e15513www/waterfox distinfo Makefile

www/waterfox: Update 6.6.11 => 6.6.12

Release Notes:
https://www.waterfox.com/releases/6.6.12/

PR:             294734
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit bd414cbdd02aaa5d05d11abddf1d8a90f7a26c5c)
DeltaFile
+5-5www/waterfox/distinfo
+3-3www/waterfox/Makefile
+8-82 files

FreeBSD/ports bd414cbwww/waterfox distinfo Makefile

www/waterfox: Update 6.6.11 => 6.6.12

Release Notes:
https://www.waterfox.com/releases/6.6.12/

PR:             294734
Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+5-5www/waterfox/distinfo
+3-3www/waterfox/Makefile
+8-82 files

FreeBSD/src c875afcrelease/packages/ucl pkgconf-all.ucl

packages: Register pkgconf

This should fix the creation of the new packages introduced by the
import of pkgconf into the base system.

Fixes:          b8352da33f34 ("pkgconf: import into the base system")
PR:             294724
Reviewed by:    ivy, ngie
Approved by:    ngie
Sponsored by:   The FreeBSD Foundation
Differential revision:  https://reviews.freebsd.org/D56589
DeltaFile
+38-0release/packages/ucl/pkgconf-all.ucl
+38-01 files

LLVM/project e3ab368clang/lib/Driver/ToolChains Clang.cpp, clang/test/Driver basic-block-address-map.c

[X86][COFF] Enable basic-block-address-map emission (#191347)

Enable -fbasic-block-address-map fo X86 COFF.
Add COFF section creation for .llvm_bb_addr_map.
DeltaFile
+33-14llvm/lib/MC/MCObjectFileInfo.cpp
+28-8llvm/test/CodeGen/X86/basic-block-address-map-function-sections.ll
+9-4llvm/test/CodeGen/X86/basic-block-address-map.ll
+2-1clang/lib/Driver/ToolChains/Clang.cpp
+2-0clang/test/Driver/basic-block-address-map.c
+74-275 files

NetBSD/pkgsrc k5hFgCRsysutils/lsof Makefile

   lsof: bump PKGREVISION for binary change
VersionDeltaFile
1.147+2-2sysutils/lsof/Makefile
+2-21 files

LLVM/project f4da38allvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

Merge branch 'main' into users/ylzsx/precommit-fpext
DeltaFile
+158,755-173,230llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+50,477-50,088llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+92,827-0llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+42,349-42,348llvm/test/MC/AMDGPU/gfx8_asm_vop3.s
+764,188-265,66645,091 files not shown
+6,916,728-3,318,75945,097 files

OpenZFS/src 546eca1config kernel-writeback.m4, module/os/linux/zfs zfs_vnops_os.c zpl_file.c

zpl: add HAVE_WRITEBACK_ITER and two separate zfs_putpage() implementations

Agent-Logs-Url: https://github.com/openzfs/zfs/sessions/0391b58c-83a1-430e-b0a7-ec34a79f7a31

Co-authored-by: behlendorf <148917+behlendorf at users.noreply.github.com>
DeltaFile
+265-40module/os/linux/zfs/zfs_vnops_os.c
+32-0config/kernel-writeback.m4
+6-8module/os/linux/zfs/zpl_file.c
+303-483 files

FreeBSD/src c2b4fbdsbin/ping ping6.c

ping6: treat setsockopt failures as fatal

ping6 needs IPV6_RECVPKTINFO and IPV6_RECVHOPLIMIT to process
incoming replies. When these options fail, replies are silently
dropped and ping6 appears to hang. Use err(3) instead of warn(3)
so the user gets a clear error and immediate exit.

Signed-off-by: Christos Longros <chris.longros at gmail.com>

Reviewed by:    pouria, jlduran, glebius
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56237

(cherry picked from commit 9a4a9f623bbaf991b3ba580593d47f2ee9f7b03b)
DeltaFile
+4-4sbin/ping/ping6.c
+4-41 files

FreeBSD/src 2d2f921sbin/ping ping6.c

ping6: treat setsockopt failures as fatal

ping6 needs IPV6_RECVPKTINFO and IPV6_RECVHOPLIMIT to process
incoming replies. When these options fail, replies are silently
dropped and ping6 appears to hang. Use err(3) instead of warn(3)
so the user gets a clear error and immediate exit.

Signed-off-by: Christos Longros <chris.longros at gmail.com>

Reviewed by:    pouria, jlduran, glebius
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56237

(cherry picked from commit 9a4a9f623bbaf991b3ba580593d47f2ee9f7b03b)
DeltaFile
+4-4sbin/ping/ping6.c
+4-41 files

FreeBSD/src 5fd7eb1sbin/ping ping6.c

ping6: treat setsockopt failures as fatal

ping6 needs IPV6_RECVPKTINFO and IPV6_RECVHOPLIMIT to process
incoming replies. When these options fail, replies are silently
dropped and ping6 appears to hang. Use err(3) instead of warn(3)
so the user gets a clear error and immediate exit.

Signed-off-by: Christos Longros <chris.longros at gmail.com>

Reviewed by:    pouria, jlduran, glebius
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56237

(cherry picked from commit 9a4a9f623bbaf991b3ba580593d47f2ee9f7b03b)
DeltaFile
+4-4sbin/ping/ping6.c
+4-41 files

LLVM/project 6e2f5e9clang/docs ReleaseNotes.rst, clang/include/clang/Basic DiagnosticSemaKinds.td

[OpenCL] Diagnose error for zero-length array (#193163)

OpenCL C is based on C99 and C11, which don't support zero-length array.

Update clang/docs/ReleaseNotes.rst for potential breaking change.
DeltaFile
+12-12clang/test/Misc/languageOptsOpenCL.cl
+14-0clang/test/SemaOpenCL/zero-length-array.cl
+6-0clang/docs/ReleaseNotes.rst
+6-0clang/lib/Sema/SemaType.cpp
+1-1clang/include/clang/Basic/DiagnosticSemaKinds.td
+39-135 files

LLVM/project 528e673clang/lib/CodeGen CGCall.cpp, clang/test/CodeGenHIP sret-lifetime-markers.cpp

[Clang][CodeGen] Fix sret lifetime marker AS mismatch after #186275 (#193850)

After #186275, the sret address space can differ from the alloca address
space (e.g., AS 0 vs AS 5 on AMDGPU). In CGCall.cpp EmitCall(), when a
discarded-value sret temporary is created, SRetPtr is allocated in the
alloca AS and a lifetime.start is emitted. The pointer is then
addrspacecast'd to match the sret AS, but the CallLifetimeEnd cleanup
was using the addrspacecast'd pointer, triggering an assertion in
EmitLifetimeEnd ("Pointer should be in alloca address space").

Saves the original alloca pointer before the addrspacecast and uses it
for the lifetime-end cleanup.

Fixes buildbot failure: hip-third-party-libs-tests
DeltaFile
+60-0clang/test/CodeGenHIP/sret-lifetime-markers.cpp
+10-2clang/lib/CodeGen/CGCall.cpp
+70-22 files

LLVM/project 969247clibclc CMakeLists.txt, libclc/test CMakeLists.txt

[libclc] Allow testing unresolved symbols on multiple libraries (#193647)

Our downstream generates multiple libraries for a single target. This
change allows testing multiple libraries.
DeltaFile
+19-18libclc/test/CMakeLists.txt
+2-0libclc/CMakeLists.txt
+21-182 files

LLVM/project f319238libclc/cmake/modules CMakeDetermineCLCCompiler.cmake

[libclc][CMake] Remove CMAKE_C_COMPILER_ID check (#186717)

When LLVM_TARGETS_TO_BUILD does not contain the host target, runtime
build can not identify a compatible target triple for the host compiler.
CMAKE_C_COMPILER is set to clang, and CMAKE_C_COMPILER_ID is empty
although the compiler is functional.

Remove CMAKE_C_COMPILER_ID check. CMakeTestCLCCompiler.cmake already
provides a real functional guard.

This change ensures valid configurations can proceed, e.g.:
LLVM_TARGETS_TO_BUILD=AMDGPU;
RUNTIMES_amdgcn-amd-amdhsa-llvm_LLVM_ENABLE_RUNTIMES=libclc;
LLVM_RUNTIME_TARGETS="amdgcn-amd-amdhsa-llvm".

Note CMAKE_C_COMPILER_WORKS is always true after `project(Runtimes C CXX
ASM)` in runtimes/CMakeLists.txt.
DeltaFile
+0-5libclc/cmake/modules/CMakeDetermineCLCCompiler.cmake
+0-51 files

LLVM/project a95a1c4llvm/lib/Analysis LazyValueInfo.cpp, llvm/test/Transforms/CorrelatedValuePropagation vectors.ll

[LazyValueInfo] Support vector types in ICmp condition handling (#192900)

Use m_APInt matcher instead of ConstantInt dyn_cast so splat vector
constants are handled, and relax the integer type check to accept
integer vector types.

Fixes https://github.com/llvm/llvm-project/issues/192094
DeltaFile
+27-0llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll
+3-3llvm/lib/Analysis/LazyValueInfo.cpp
+30-32 files