LLVM/project 7e2f789clang/include/clang/Support RISCVVIntrinsicUtils.h, clang/lib/Support RISCVVIntrinsicUtils.cpp

[RISCV][NFC] Use enum types to improve debuggability (#188418)

So that we can see the enum values instead of integral values when
dumping in debuggers.
DeltaFile
+14-16clang/lib/Support/RISCVVIntrinsicUtils.cpp
+7-6clang/include/clang/Support/RISCVVIntrinsicUtils.h
+21-222 files

LLVM/project 030ef70libc/docs build_and_test.rst

[libc][docs] Document libc-shared-tests ninja target (#189062)

Added a brief description of the libc-shared-tests target to the
Building and Testing page.

This target allows running tests for shared standalone components like
math primitives without the full libc runtime.
DeltaFile
+6-0libc/docs/build_and_test.rst
+6-01 files

LLVM/project bd947eaclang/lib/Sema SemaExpr.cpp, clang/test/SemaCXX cxx23-builtin-subscript.cpp

[Clang] [Sema] Don't diagnose multidimensional subscript operators on dependent types (#188910)

I forgot to check for dependent types in #187828; we somehow didn’t have
tests for this so CI didn’t catch this...
DeltaFile
+3-0clang/test/SemaCXX/cxx23-builtin-subscript.cpp
+2-1clang/lib/Sema/SemaExpr.cpp
+5-12 files

LLVM/project a5b6a4clibsycl/include/sycl/__impl/detail kernel_arg_helpers.hpp

removed invalid comment

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>
DeltaFile
+0-2libsycl/include/sycl/__impl/detail/kernel_arg_helpers.hpp
+0-21 files

LLVM/project cb58fe9mlir/lib/Dialect/SCF/Utils Utils.cpp, mlir/test/Dialect/SCF loop-unroll.mlir

[MLIR][SCF] Fix loopUnrollByFactor for unsigned loops with narrow integer types (#189001)

`loopUnrollByFactor` used `getConstantIntValue()` to read loop bounds,
which sign-extends the constant to `int64_t`. For unsigned `scf.for`
loops with narrow integer types (e.g. i1, i2, i3), this produces wrong
results: a bound such as `1 : i1` has `getSExtValue() == -1` but should
be treated as `1` (unsigned).

Two bugs were introduced by this:

1. **Wrong epilogue detection**: the comparison `upperBoundUnrolledCst <
ubCst` used signed int64, so e.g. `0 < -1` (where ubCst is the
sign-extended i1 value 1) evaluated to false, suppressing the epilogue
that should execute the remaining iterations.

2. **Zero step after overflow**: when `tripCountEvenMultiple == 0` (all
iterations go to the epilogue), `stepUnrolledCst = stepCst *
unrollFactor` can overflow the bound type's bitwidth and wrap to 0. A
zero step causes `constantTripCount` to return `nullopt`, preventing the

    [11 lines not shown]
DeltaFile
+142-0mlir/test/Dialect/SCF/loop-unroll.mlir
+29-5mlir/lib/Dialect/SCF/Utils/Utils.cpp
+171-52 files

LLVM/project 28e2fa3mlir/lib/Dialect/XeGPU/IR XeGPUOps.cpp, mlir/lib/Dialect/XeGPU/Transforms XeGPUUnroll.cpp XeGPUWgToSgDistribute.cpp

[MLIR][XeGPU] Extend convert_layout op to support scalar type (#188874)

This PR adds scalar type to convert_layout op's result and operand. It
also enhance convert_layout pattern in wg-to-sg, unrolling, and
sg-to-lane distribution.

It is to support reduction to scalar, whether currently the layout
propagation doesn't support scalar to carry any layout. The design
choice to insert convert_layout op after reduction-to-scalar op to
record the layout information permanently across the passes.
DeltaFile
+15-6mlir/lib/Dialect/XeGPU/Transforms/XeGPUUnroll.cpp
+10-8mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
+18-0mlir/test/Dialect/XeGPU/xegpu-blocking.mlir
+15-0mlir/test/Dialect/XeGPU/subgroup-distribute-unit.mlir
+14-0mlir/test/Dialect/XeGPU/xegpu-wg-to-sg-unify-ops.mlir
+10-3mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
+82-174 files not shown
+99-2010 files

LLVM/project 2af95b2libc/utils/docgen docgen.py

[libc][docs] Fix POSIX basedefs links for nested headers (#188738)

Fix broken POSIX basedefs links for nested headers in llvm-libc docs.

The docgen script currently emits paths like `sys/wait.h.html`, but the
Open Group uses `sys_wait.h.html`, for example:
-
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_wait.h.html

This updates nested-header link generation while leaving flat headers
unchanged.
DeltaFile
+7-3libc/utils/docgen/docgen.py
+7-31 files

OpenBSD/ports lh8900Xnet/tor distinfo Makefile

   SECURITY update to tor 0.4.8.23.

   ok sthen@
VersionDeltaFile
1.138.2.2+2-2net/tor/distinfo
1.173.2.2+1-1net/tor/Makefile
+3-32 files

NetBSD/pkgsrc EPT0PUsx11/qt6-qtbase Makefile distinfo, x11/qt6-qtbase/patches patch-src_corelib_thread_qyieldcpu.h

   qt6-qtbase: fix build with Xcode 26.4
VersionDeltaFile
1.1+19-0x11/qt6-qtbase/patches/patch-src_corelib_thread_qyieldcpu.h
1.71+2-2x11/qt6-qtbase/Makefile
1.31+2-1x11/qt6-qtbase/distinfo
+23-33 files

LLVM/project 22cfe6flldb/include/lldb/Breakpoint BreakpointLocation.h, lldb/source/Breakpoint BreakpointLocation.cpp

[lldb] Make single-argument Address constructor explicit (NFC) (#189035)

This is to highlight places where we (probably unintentionally)
construct an `Address` object from an already resolved address, making
it unresolved again.
See the changes in `DynamicLoaderDarwin.cpp` for a quick example.

Also, use this constructor instead of `Address(lldb::addr_t file_addr,
const SectionList *section_list)` when `section_list` is `nullptr`.
DeltaFile
+7-7lldb/source/Plugins/Language/ObjC/NSString.cpp
+6-4lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
+4-4lldb/include/lldb/Breakpoint/BreakpointLocation.h
+2-6lldb/source/Breakpoint/BreakpointLocation.cpp
+4-4lldb/source/Expression/DWARFExpression.cpp
+4-3lldb/source/Commands/CommandObjectTarget.cpp
+27-2826 files not shown
+59-6132 files

NetBSD/pkgsrc AlGSPMimultimedia/libde265 Makefile

   libde265: bulk build suggest SunOS needs alloca workaround too
VersionDeltaFile
1.19+2-2multimedia/libde265/Makefile
+2-21 files

LLVM/project 9e44babmlir/lib/Dialect/Vector/Transforms VectorTransforms.cpp, mlir/test/Dialect/Vector vector-transfer-collapse-inner-most-dims.mlir

[mlir][vector] Add support for dropping inner unit dims for transfer_read/write with masks. (#188841)

The revision clears a long-due TODO, which supports the lowering when
transfer_read/write ops have mask via inserting a vector.shape_cast op
for the masked value.

---------

Signed-off-by: hanhanW <hanhan0912 at gmail.com>
DeltaFile
+26-13mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
+31-0mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
+57-132 files

LLVM/project 104cceflibsycl/include/sycl/__impl index_space_classes.hpp queue.hpp, libsycl/include/sycl/__impl/detail kernel_arg_helpers.hpp

draft

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>

add tests for parallel_for

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>

remove operators from index space classes

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>
DeltaFile
+413-0libsycl/include/sycl/__impl/index_space_classes.hpp
+192-31libsycl/include/sycl/__impl/queue.hpp
+187-0libsycl/include/sycl/__impl/detail/kernel_arg_helpers.hpp
+111-0libsycl/test/basic/wrapped_usm_pointers.cpp
+75-0libsycl/include/sycl/__spirv/spirv_vars.hpp
+47-0libsycl/test/basic/queue_parallel_for_generic.cpp
+1,025-312 files not shown
+1,031-328 files

LLVM/project a125d9bllvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[SLP][NFC] Reapply "Refactor to prepare for constant stride stores" (#188689)

Refactor to proceed #185964.

Much of this is a refactor to address this issues. Instead of iterating over one chain at a time, attempting all VFs for that given change, we now iterate over VFs, trying each chain for the current VF.

Includes fix for use after free bug.
DeltaFile
+471-258llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+471-2581 files

LLVM/project 87bec47llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.div.fixup.f16.ll llvm.amdgcn.div.fixup.ll

AMDGPU/GlobalISel: RegBankLegalize rules for div_fmas/fixup/scale (#188305)
DeltaFile
+197-276llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.fmas.ll
+218-47llvm/test/CodeGen/AMDGPU/llvm.amdgcn.div.fixup.f16.ll
+20-12llvm/test/CodeGen/AMDGPU/GlobalISel/constant-bus-restriction.ll
+20-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+17-2llvm/test/CodeGen/AMDGPU/llvm.amdgcn.div.fixup.ll
+4-5llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.div.fmas.mir
+476-3422 files not shown
+481-3488 files

LLVM/project f52797ccompiler-rt/cmake/Modules CompilerRTUtils.cmake

[compiler-rt] Fix irrelevant warning on the builtins target (#189055)

Summary:
Currently, building through runtimes will yield this warning:
```
  CMake Warning at compiler-rt/cmake/Modules/CompilerRTUtils.cmake:335 (message):
    LLVMTestingSupport not found in LLVM_AVAILABLE_LIBS
  Call Stack (most recent call first)
```

This is due to the fact that the builtins target does not go through the
s tandard runtimes patch and sets them as BUILDTREE_ONLY so they do not
show up. These are not used in this case, so just guard the condition to
suppress the warning.
DeltaFile
+15-11compiler-rt/cmake/Modules/CompilerRTUtils.cmake
+15-111 files

LLVM/project 15bfc06offload CMakeLists.txt, offload/cmake OpenMPTesting.cmake

[Offload][NFC] Various minor changes to Offload CMake (#189029)

Summary:
Most of these just remove some redundancy or rename `openmp` ->
`offload` where the variable is purely internal.
DeltaFile
+15-20offload/cmake/OpenMPTesting.cmake
+5-24offload/cmake/Modules/LibomptargetGetDependencies.cmake
+6-8offload/tools/CMakeLists.txt
+2-9offload/CMakeLists.txt
+3-3offload/test/lit.site.cfg.in
+1-1offload/plugins-nextgen/CMakeLists.txt
+32-653 files not shown
+34-689 files

LLVM/project 9238b0fllvm/test/CodeGen/SPIRV/passes SPIRVEmitIntrinsics-infer-ptr-type.ll

[NFC][SPIRV] New test for untested case in SPIRVEmitIntrinsics (#188950)

[This
case](https://github.com/llvm/llvm-project/blob/bc3571569685bfa4671e80d112dc0d5c8fc7b25d/llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp#L2815-L2818)
is not covered by any existing test (checked via code coverage and
inserting an `abort`). New test proposed that covers this line, as
demonstrated by test failure when an `abort` is present in that line.
DeltaFile
+28-0llvm/test/CodeGen/SPIRV/passes/SPIRVEmitIntrinsics-infer-ptr-type.ll
+28-01 files

LLVM/project d340a68clang/lib/AST MicrosoftMangle.cpp, clang/test/CodeGenCXX mangle-ms.cpp cfi-icall.cpp

Produce back-references for anonymous namespaces (#188843)

The Microsoft mangle implementation does not produce back-references for
anonymous namespaces, which results in nonsensical output from both
`undname` and `llvm-undname`. Consider the following example:

```
namespace {
    struct X {};
    X foo(X, X);
}

int main() {
    foo({}, {});
}
```

Clang 22.1.0
```

    [30 lines not shown]
DeltaFile
+13-1clang/test/CodeGenCXX/mangle-ms.cpp
+3-1clang/lib/AST/MicrosoftMangle.cpp
+1-1clang/test/CodeGenCXX/cfi-icall.cpp
+17-33 files

LLVM/project 7603603clang/lib/AST/ByteCode Interp.h, clang/test/Frontend fixed_point_sub_const.c

[clang][bytecode] Fix an assertion failure with fixed-point types (#189033)

Negation can also fail for fixed-point values.
DeltaFile
+3-0clang/test/Frontend/fixed_point_sub_const.c
+1-1clang/lib/AST/ByteCode/Interp.h
+4-12 files

LLVM/project 1a08f41lldb/packages/Python/lldbsuite/test decorators.py

[lldb] Disable arm64e tests under ASan (#189052)

Technically ASan is supported, but we need an arm64e sanitizer runtime.
It's still enabled when the whole test suite runs as arm64e, assuming
that you need arm64e runtimes regardless.

This will fix
https://ci.swift.org/view/all/job/llvm.org/job/lldb-cmake-sanitized-os-verification/

rdar://173313715
DeltaFile
+7-0lldb/packages/Python/lldbsuite/test/decorators.py
+7-01 files

LLVM/project 5c1ddabclang/lib/Driver Driver.cpp, clang/test/Driver pseudo-probe.c

[clang][Darwin] Externalize pseudoprobe and debug info (#186873)
DeltaFile
+22-0clang/test/Driver/pseudo-probe.c
+13-5clang/lib/Driver/Driver.cpp
+35-52 files

LLVM/project fa7ce27clang/docs OpenMPSupport.rst

[Clang][OpenMP][NFC] Fix status color mismatches in OpenMPSupport.rst (#189050)

Correct the colors used in the OpenMP support tables so they
consistently match their status text:

- :good: (green) is for 'done' only
- :part: (yellow) is for in-progress states ('partial', 'worked on', 'in
progress', 'prototyped', etc.)
- :none: (red) is for 'unclaimed' only

Assisted with copilot
DeltaFile
+10-10clang/docs/OpenMPSupport.rst
+10-101 files

LLVM/project 166f996libc/include/sys socket.yaml, utils/bazel/llvm-project-overlay/libc BUILD.bazel libc_build_rules.bzl

[libc][bazel] Add generation for public headers (#184889)

Previously there was a single rule for stdbit, this PR adds generated
header targets for the rest of the linux headers. It also adds a
cc_library
for all of the public headers which also includes the types and macros
headers.
DeltaFile
+275-12utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+14-2utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
+1-1libc/include/sys/socket.yaml
+290-153 files

FreeBSD/ports 559988ddevel/wasi-compiler-rt22 Makefile, devel/wasi-libcxx22 Makefile

devel/wasi-{compiler-rt,libcxx}22: sync to 22.1.2
DeltaFile
+1-2devel/wasi-compiler-rt22/Makefile
+1-2devel/wasi-libcxx22/Makefile
+2-42 files

NetBSD/src MDevrgMshare/mk bsd.own.mk

   Turn on MKZFS for riscv64
VersionDeltaFile
1.1472+6-4share/mk/bsd.own.mk
+6-41 files

LLVM/project 5688acallvm/lib/Target/AMDGPU AMDGPUCodeGenPrepare.cpp

AMDGPU: Simplify synthesis of nextdown(1.0) constant (#189039)
DeltaFile
+3-5llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
+3-51 files

OpenBSD/ports XcqYqX5lang/ruby/3.3 Makefile, lang/ruby/3.4 Makefile

   remove USE_NOBTCFI-aarch64 again, libffi is mended thanks to kettenis@
VersionDeltaFile
1.8+1-4lang/ruby/4.0/Makefile
1.14+1-4lang/ruby/3.4/Makefile
1.21+1-4lang/ruby/3.3/Makefile
+3-123 files

NetBSD/src l3pfeD9sys/arch/riscv/include param.h

   Apply __HIDE_DELAY
VersionDeltaFile
1.9+3-1sys/arch/riscv/include/param.h
+3-11 files

OpenBSD/ports PLG8faydevel/libffi Makefile, devel/libffi/patches patch-src_aarch64_ffi_c

   libffi: MFC fix for aarch64 bti (this chunk was not part of the upstream
   commit d93c0be8a0f11)
VersionDeltaFile
1.57.2.1+1-0devel/libffi/Makefile
1.5.2.1+0-0devel/libffi/patches/patch-src_aarch64_ffi_c
+1-02 files