LLVM/project c5246de

Merge branch 'vplan-based-stride-mv-tests' into vplan-based-stride-mv-rt-guard
DeltaFile
+0-00 files

FreeBSD/ports ef198a2devel/R-cran-bit64 Makefile distinfo

devel/R-cran-bit64: Update to 4.8.4

Reported by:    portscout
DeltaFile
+3-3devel/R-cran-bit64/distinfo
+1-1devel/R-cran-bit64/Makefile
+4-42 files

LLVM/project b5ecaadllvm/test/Transforms/LoopVectorize vplan-based-stride-mv-btc.ll vplan-based-stride-mv.ll, llvm/test/Transforms/LoopVectorize/VPlan vplan-based-stride-mv.ll

[NFC][VPlan] Add extra tests for VPlan-based stride speculation
DeltaFile
+1,238-385llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv.ll
+688-1llvm/test/Transforms/LoopVectorize/VPlan/vplan-based-stride-mv.ll
+291-291llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv-btc.ll
+2,217-6773 files

LLVM/project 99cc988clang/lib/CIR/Dialect/Transforms CallConvLoweringPass.cpp

Update clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp

Co-authored-by: Andy Kaylor <akaylor at nvidia.com>
DeltaFile
+2-2clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
+2-21 files

LLVM/project 9cf1fbfllvm/lib/CodeGen LiveRegMatrix.cpp

[3/3][RegAlloc][LiveRegMatrix] Added validity check between VRM and LRM. (#197778)

Check that every VRM-assigned vreg with a non-empty live interval must
have its segments in the Matrix for its assigned physical reg.

Depends on https://github.com/llvm/llvm-project/pull/197773 and
https://github.com/llvm/llvm-project/pull/197776. While there are no
source conflicts, adding this verification without the other 2 patches
would make the following LIT tests fail.
CodeGen/X86/AMX/amx-gemm.ll
CodeGen/X86/apx/push2-pop2.ll
CodeGen/X86/udivmodei5.ll
CodeGen/X86/apx/pr191368.ll

Assisted-by: Cursor/Claude Opus
DeltaFile
+45-1llvm/lib/CodeGen/LiveRegMatrix.cpp
+45-11 files

LLVM/project c79c73doffload/languages/include/kernel DefineLanguageNames.inc UndefineLanguageNames.inc, offload/languages/kernel/src LanguageRuntime.cpp

add StreamCreateWithFlags
DeltaFile
+27-0offload/test/offloading/CUDA/stream_api.cu
+25-1offload/languages/kernel/src/LanguageRuntime.cpp
+26-0offload/test/offloading/HIP/stream_api.hip
+10-1offload/languages/include/kernel/LanguageRuntime.h
+3-1offload/languages/include/kernel/UndefineLanguageNames.inc
+3-0offload/languages/include/kernel/DefineLanguageNames.inc
+94-36 files

LLVM/project bfad103clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenModule.cpp

[CIR] Use target int and size_t widths in cir.libc.memchr (#217153)

This patch adds support for target sized operands on cir.libc.memchr.
The operation previously required a 32 bit pattern and a 64 bit length,
which made __builtin_memchr fail verification when size_t was 32 bits.
CIRGen now records the target int and size_t widths on the module as
cir.int_type_width and cir.size_type_width. The operands take any
fundamental width of the matching signedness. The verifier checks them
against the record, requires src to be in the default address space and
requires the result type to match src. The textual form prints the
operand types, so the previous textual form no longer parses. The
sizeTypeSize computation uses TargetInfo::getSizeType() now that it
feeds cir.size_type_width, which preserves the width while making the
source type explicit.

DirectToLLVM accepts x86_64 and AArch64 with a 32 bit int and a 64 bit
size_t, and x32 with a 32 bit int and size_t. AArch64 with 32 bit
pointers is rejected. The Linux and Darwin signatures are checked
against classic CodeGen and other target and width combinations are

    [4 lines not shown]
DeltaFile
+119-0clang/test/CIR/IR/invalid-memchr.cir
+48-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+42-1clang/test/CIR/CodeGenBuiltins/builtin-memchr.c
+16-4clang/include/clang/CIR/Dialect/IR/CIROps.td
+9-5clang/lib/CIR/CodeGen/CIRGenModule.cpp
+4-3clang/test/CIR/IR/libc-memchr.cir
+238-131 files not shown
+240-137 files

LLVM/project df054cclldb/packages/Python/lldbsuite/test/tools/lldb_dap types.py, lldb/test/API/tools/lldb-dap/coreFile TestDAP_coreFile.py

[lldb-dap] Migrate core file test (#217403)

- TestDAP_save_core.py
- TestDAP_coreFile.py

There is a bug in the number of modules reported from the core file in
TestDAP_save_core.py. The test previously assertsTrue instead of
assertsEqual.
DeltaFile
+130-139lldb/test/API/tools/lldb-dap/coreFile/TestDAP_coreFile.py
+60-57lldb/test/API/tools/lldb-dap/save-core/TestDAP_save_core.py
+4-4lldb/packages/Python/lldbsuite/test/tools/lldb_dap/types.py
+194-2003 files

LLVM/project 8e1bfa1llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer shufflebuilder-bug.ll jumbled_store_crash.ll

[SLP]Keep originals when uniques do not reduce register uses

When the vector of unqiues occupies the same register width as the
original (counting a sub-register vector as a full one), packing only
adds the reshuffle cost; keep the original vector. Loads are excluded
since packing may instead enable a wider contiguous load.

Reviewers: RKSimon, bababuck

Pull Request: https://github.com/llvm/llvm-project/pull/218294
DeltaFile
+68-34llvm/test/Transforms/SLPVectorizer/jumbled_store_crash.ll
+51-1llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+29-13llvm/test/Transforms/SLPVectorizer/shufflebuilder-bug.ll
+17-17llvm/test/Transforms/SLPVectorizer/X86/reorder-reused-subvector.ll
+7-7llvm/test/Transforms/SLPVectorizer/X86/split-node-reorder-node-with-ops.ll
+5-5llvm/test/Transforms/SLPVectorizer/X86/shl-to-add-transformation5.ll
+177-775 files not shown
+187-8911 files

LLVM/project cce464cclang/lib/Driver/ToolChains CommonArgs.cpp, clang/test/Driver cuda-via-liboffload.cu

add PerThreadDefaultStream
DeltaFile
+28-0offload/languages/kernel/CMakeLists.txt
+14-0clang/test/Driver/cuda-via-liboffload.cu
+12-0offload/languages/kernel/src/PerThreadDefaultStream.cpp
+6-3offload/languages/kernel/src/State.cpp
+5-0clang/lib/Driver/ToolChains/CommonArgs.cpp
+1-0offload/languages/kernel/exports
+66-36 files

LLVM/project 554dd47clang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/lib/CIR/CodeGen CIRGenCXX.cpp

[CIR] Add cir.cxx_module_init_fn_name and cir.static_local_info attributes (#215921)

Adds two CIR attributes that record specific declaration facts, so
passes that consume them don't have to query the AST for those particular
facts.
DeltaFile
+85-0clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+33-20clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+43-0clang/lib/CIR/CodeGen/CIRGenCXX.cpp
+33-0clang/test/CIR/CodeGen/static-local-info.cpp
+22-0clang/test/CIR/CodeGen/cxx20-module-initializer.cppm
+21-0clang/test/CIR/IR/static-local-info.cir
+237-203 files not shown
+260-209 files

NetBSD/pkgsrc WondLm4devel/fossil Makefile

   devel/fossil: Wire up test target.

   No change to build of package, hence no revbump.
VersionDeltaFile
1.96+28-1devel/fossil/Makefile
+28-11 files

LLVM/project d75923dllvm/lib/Target/DirectX DXILShaderFlags.cpp, llvm/test/CodeGen/DirectX/ShaderFlags uavs-at-every-stage-vs-heap.ll heap-resources-max64uavs.ll

[DirectX] Add shader flags for heap resources (#216461)

Descriptor-heap usage must be recorded in the shader feature flags. The
`DXILShaderFlags` pass inspects each `llvm.dx.resource.handlefromheap`
call and sets the `SamplerDescriptorHeapIndexing` shader flag when
`IsSamplerHeap` is `true`, or `ResourceDescriptorHeapIndexing` flag when
it is `false`.

Fixes #213825
DeltaFile
+52-0llvm/test/CodeGen/DirectX/ShaderFlags/heap-resources.ll
+42-0llvm/test/CodeGen/DirectX/ShaderFlags/heap-resources-max64uavs.ll
+36-0llvm/test/CodeGen/DirectX/ShaderFlags/uavs-at-every-stage-vs-heap.ll
+21-2llvm/lib/Target/DirectX/DXILShaderFlags.cpp
+151-24 files

LLVM/project 1ac7d0cllvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize vplan-based-stride-mv.ll

Go through casts outside VPlan recursively
DeltaFile
+197-40llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv.ll
+78-1llvm/test/Transforms/LoopVectorize/VPlan/vplan-based-stride-mv.ll
+24-23llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+299-643 files

LLVM/project fb45cecoffload/languages/kernel/include OffloadErrors.h State.h, offload/languages/kernel/src LanguageRuntime.cpp State.cpp

add interal StreamTy
DeltaFile
+260-92offload/languages/kernel/src/State.cpp
+73-37offload/languages/kernel/include/State.h
+32-26offload/languages/kernel/src/LanguageRuntime.cpp
+34-9offload/test/offloading/CUDA/stream_api.cu
+33-8offload/test/offloading/HIP/stream_api.hip
+38-0offload/languages/kernel/include/OffloadErrors.h
+470-1725 files not shown
+556-20411 files

LLVM/project 13a62aellvm/lib/Target/X86 X86FixupInstTuning.cpp, llvm/test/CodeGen/X86 sink-hoist.ll break-false-dep.ll

[X86] Rewrite MOVUPD/MOVAPD to MOVUPS/MOVAPS in X86FixupInstTuning (#217676)

MOVUPD/MOVUPS and MOVAPD/MOVAPS perform identical 16-byte moves, but the
packed double forms carry a mandatory 0x66 prefix, making them one byte
larger. We rewrite only when no domain delay would happen after this
replacement. VEX/EVEX VMOVUPD/VMOVAPD are deliberately left alone, the
0x66 requirement is folded into the pp field of the prefix, so both
encode to the same size as their packed single versions and there is
nothing to gain.
DeltaFile
+180-0llvm/test/CodeGen/X86/inst-tuning-movpd.mir
+25-0llvm/lib/Target/X86/X86FixupInstTuning.cpp
+3-3llvm/test/CodeGen/X86/2011-10-21-widen-cmp.ll
+2-2llvm/test/CodeGen/X86/sink-hoist.ll
+2-2llvm/test/CodeGen/X86/break-false-dep.ll
+212-75 files

LLVM/project cd6ceaflibc/include/sys resource.yaml, libc/src/__support/OSUtil/linux/syscall_wrappers getrusage.h

[libc] Implement getrusage and corresponding unit tests. (#217684)

Provide Linux implementation for POSIX function getrusage from <sys/resource.h>.
DeltaFile
+39-0libc/test/src/sys/resource/getrusage_test.cpp
+37-0libc/src/__support/OSUtil/linux/syscall_wrappers/getrusage.h
+33-0libc/src/sys/resource/linux/getrusage.cpp
+26-0libc/src/sys/resource/getrusage.h
+16-0libc/include/sys/resource.yaml
+14-0libc/test/src/sys/resource/CMakeLists.txt
+165-08 files not shown
+207-014 files

LLVM/project faa6602offload/languages/kernel/include OffloadErrors.h State.h, offload/languages/kernel/src LanguageRuntime.cpp State.cpp

add interal StreamTy
DeltaFile
+260-92offload/languages/kernel/src/State.cpp
+73-37offload/languages/kernel/include/State.h
+32-26offload/languages/kernel/src/LanguageRuntime.cpp
+34-9offload/test/offloading/CUDA/stream_api.cu
+33-8offload/test/offloading/HIP/stream_api.hip
+38-0offload/languages/kernel/include/OffloadErrors.h
+470-1726 files not shown
+557-20412 files

LLVM/project 84c81a9llvm/lib/Target/AMDGPU SIInsertHardClauses.cpp, llvm/test/CodeGen/AMDGPU hard-clauses-gfx1250.mir

[AMDGPU] Prevent clauses with incompatible scopes on gfx1250-strict
DeltaFile
+168-8llvm/test/CodeGen/AMDGPU/hard-clauses-gfx1250.mir
+20-1llvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp
+188-92 files

Linux/linux 45c13f3. MAINTAINERS, drivers/hwspinlock hwspinlock_core.c

Merge tag 'hwlock-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux

Pull hwspinlock updates from Bjorn Andersson:
 "Propagate single-lock registration failures from radix_tree_insert(),
  making caller sanity checks effective.

  Update the hwspinlock MAINTAINERS repository URL to the current
  remoteproc tree"

* tag 'hwlock-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
  hwspinlock: propagate errno when registering single lock
  MAINTAINERS: Update remoteproc repo url for hwspinlock
DeltaFile
+1-1drivers/hwspinlock/hwspinlock_core.c
+1-1MAINTAINERS
+2-22 files

LLVM/project 192e1acllvm/docs AMDGPUUsage.rst

[AMDGPU] Document gfx1250-strict. NFC
DeltaFile
+46-34llvm/docs/AMDGPUUsage.rst
+46-341 files

LLVM/project 9854532utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[Bazel] Remove WinHTTP from LLVMSupport link options (#218182)

LLVMSupport has no WinHTTP API references and CMake does not link it
with WinHTTP.
DeltaFile
+0-3utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+0-31 files

LLVM/project 8939dd7llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp, llvm/test/CodeGen/AArch64 fcvt-fixed.ll

Rebase

Created using spr 1.3.7
DeltaFile
+1,217-1,125llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
+853-1,375llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask-phi-extend.ll
+815-788llvm/test/CodeGen/AMDGPU/bypass-div.ll
+753-757llvm/test/CodeGen/AMDGPU/memmove-var-size.ll
+376-1,106llvm/test/CodeGen/AArch64/fcvt-fixed.ll
+17-1,275llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+4,031-6,426348 files not shown
+20,010-13,464354 files

LLVM/project 8da070dutils/bazel/llvm-project-overlay/llvm config.bzl, utils/bazel/llvm-project-overlay/llvm/include/llvm/Config config.h

[Bazel] Configure macOS Support capabilities (#218186)

Match CMake and LLVM GN for 3 macOS capablities.

These are safe to assume because these are invariants of the macOS SDK
and Darwin: arc4random is declared, the __crashreporter_info__
annotation is supported, and struct stat exposes st_mtimespec.tv_nsec.
DeltaFile
+12-3utils/bazel/llvm-project-overlay/llvm/config.bzl
+2-2utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
+14-52 files

LLVM/project 0c706f8clang/lib/CIR/Dialect/Transforms CallConvLoweringPass.cpp, clang/test/CIR/Transforms/abi-lowering x86_64-aggregate-nyi.cir x86_64-incomplete-record-declaration.cir

[CIR] Skip ABI classification for an incomplete-record declaration

A `cir.func` declaration whose signature carries an incomplete record
by value caused the pass to fail the whole module.

C++ requires a complete type at any call or definition, so only a declaration
can carry this shape, and no translation unit anywhere can ever call or define
it with real argument data.  Classic CodeGen skips full ABI lowering rather than
attempting one.  We now leave such a declaration unclassified and match classic.

Assisted-by: Cursor / claude-opus-5
DeltaFile
+54-0clang/test/CIR/Transforms/abi-lowering/x86_64-incomplete-record-declaration.cir
+23-0clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
+10-0clang/test/CIR/Transforms/abi-lowering/x86_64-aggregate-nyi.cir
+87-03 files

Linux/linux f2ed28dDocumentation/staging rpmsg.rst, drivers/rpmsg qcom_smd.c qcom_glink_native.c

Merge tag 'rpmsg-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux

Pull rpmsg updates from Bjorn Andersson:
 "Fix a GLINK endpoint teardown deadlock during driver detach and order
  SMEM FIFO reads after the remote-updated availability check.

  Prevent duplicate rpmsg character endpoint teardown when remoteproc
  shutdown races with RPMSG_DESTROY_EPT_IOCTL.

  Replace unsafe string and sysfs formatting helpers, and correct the
  unregister_rpmsg_driver() return value documentation"

* tag 'rpmsg-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
  rpmsg: glink: smem: order FIFO read after availability check
  rpmsg: glink: fix deadlock in endpoint destroy during driver detach
  rpmsg: char: Check for ongoing chrdev destroy
  rpmsg: glink: Replace strcpy() with strscpy()
  rpmsg: core: Fix incorrect return value documentation
  rpmsg: Replace sprintf() with sysfs_emit() in sysfs show
DeltaFile
+8-3drivers/rpmsg/rpmsg_char.c
+7-0drivers/rpmsg/qcom_glink_smem.c
+2-4drivers/rpmsg/rpmsg_core.c
+1-4drivers/rpmsg/qcom_glink_native.c
+1-1drivers/rpmsg/qcom_smd.c
+0-1Documentation/staging/rpmsg.rst
+19-136 files

LLVM/project 0905c44flang/lib/Semantics check-acc-structure.cpp, flang/test/Lower/OpenACC acc-loop.f90 acc-serial-loop.f90

[flang][OpenACC] Reject valued gang/worker/vector outside kernels (#218695)

`gang(num:)`, `worker(n)`, and `vector(n)` are only valid on a loop
associated with kernels, and then only if that kernels construct does
not already specify `num_gangs`, `num_workers`, or `vector_length`.
DeltaFile
+513-0flang/test/Semantics/OpenACC/acc-loop-vector-value.f90
+119-1flang/lib/Semantics/check-acc-structure.cpp
+6-76flang/test/Lower/OpenACC/acc-parallel-loop.f90
+6-74flang/test/Lower/OpenACC/acc-serial-loop.f90
+22-6flang/test/Lower/OpenACC/acc-loop.f90
+21-0flang/test/Semantics/OpenACC/acc-loop.f90
+687-1572 files not shown
+697-1578 files

FreeBSD/ports 2a6ef48math/octave-forge-mqtt Makefile

math/octave-forge-mqtt: Bump PORTREVISION. net/libpaho-mqtt3 was updated to 1.3.16
DeltaFile
+1-1math/octave-forge-mqtt/Makefile
+1-11 files

FreeBSD/ports cc01218net/libpaho-mqtt3 Makefile distinfo

net/libpaho-mqtt3: Update to 1.3.16
DeltaFile
+4-4net/libpaho-mqtt3/pkg-plist
+3-3net/libpaho-mqtt3/distinfo
+1-1net/libpaho-mqtt3/Makefile
+8-83 files

NetBSD/src hjvI2EFsys/arch/x86/x86 identcpu.c

   Decode L2 cache associativity for VIA CPUs using the AMD cache lookup table for
   the 0x80000006 CPUID function associativity value.

   Use `cpuid leaf 4' to get cache parameters for Zhaoxin and late VIA CPU models.

   VIA datasheets mention that associativity is stored as a decimal value. However,
   in practice, it is encoded the AMD way and does not store the actual value.
   Using the raw value leads to an incorrect CPU colors calculation, causing a
   panic on KX-7000 (since the result is not a power of two) and incorrect CPU
   colors values on other CPU models (e.g. as visible in `vmstat -s').
   Decoding value using the AMD cache lookup table produces correct values in all
   cases I have tested or verified using CPUID dumps available online.

   Additionally, Zhaoxin and late VIA CPUs (CNQ and newer) prefer the Intel
   `cpuid leaf 4' function to get cache parameters. Check whether cpuid_level
   is equal to or greater than 4 to identify these CPUs and override cache values
   (including L1) by calling cpu_dcp_cacheinfo(ci, 4). L3 cache information is
   available only through this method.


    [7 lines not shown]
VersionDeltaFile
1.142+25-7sys/arch/x86/x86/identcpu.c
+25-71 files