LLVM/project 2ea7f10llvm/include/llvm/Support PerThreadBumpPtrAllocator.h, llvm/lib/DWARFLinker/Parallel DWARFLinkerTypeUnit.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.5-bogner
DeltaFile
+63-32llvm/include/llvm/Support/PerThreadBumpPtrAllocator.h
+26-1llvm/unittests/Support/PerThreadBumpPtrAllocatorTest.cpp
+10-0llvm/lib/Support/Allocator.cpp
+1-0llvm/lib/DWARFLinker/Parallel/DWARFLinkerTypeUnit.cpp
+100-334 files

LLVM/project a86a516libc/src/stdlib/linux realpath.cpp CMakeLists.txt, libc/test/src/stdlib realpath_test.cpp CMakeLists.txt

[libc][realpath] Support relative paths
DeltaFile
+84-3libc/test/src/stdlib/realpath_test.cpp
+16-1libc/src/stdlib/linux/realpath.cpp
+2-0libc/test/src/stdlib/CMakeLists.txt
+1-0libc/src/stdlib/linux/CMakeLists.txt
+103-44 files

LLVM/project d921be3libc/test/UnitTest HermeticTestUtils.cpp, libc/test/src/stdlib realpath_test.cpp CMakeLists.txt

[libc][realpath][test] Create test files/directories

Follow-up PRs will add path validation etc to `realpath`, which will require paths to exist in the filesystem.
DeltaFile
+239-13libc/test/src/stdlib/realpath_test.cpp
+13-0libc/test/src/stdlib/CMakeLists.txt
+1-1libc/test/UnitTest/HermeticTestUtils.cpp
+253-143 files

LLVM/project f65f52flibc/src/stdlib/linux realpath.cpp CMakeLists.txt, libc/test/src/stdlib realpath_test.cpp

[libc][realpath] Validate path components.

This PR updates `realpath` to validate paths and return `ENOTDIR` or `ENOENT` according to https://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html.

This PR also bumps the memory limit in `HermeticTestUtils.cpp`. The realpath unit tests allocate quite a few strings. Since memory in hermetic tests is never free'd, the unit test quickly reaches the limit.
DeltaFile
+49-0libc/test/src/stdlib/realpath_test.cpp
+34-0libc/src/stdlib/linux/realpath.cpp
+5-0libc/src/stdlib/linux/CMakeLists.txt
+88-03 files

LLVM/project c4830afclang-tools-extra/clangd ConfigYAML.cpp

[clangd] Use unique_function for config handlers (#203008)

`ConfigYAML.cpp`'s `DictParser` owns its callbacks for one parse and
never copies them, so this replaces `std::function` with move-only
`llvm::unique_function` and removes the unused copy machinery for each
lambda.

In a matched Release AArch64 build, `ConfigYAML.cpp.o` shrank by 94,560
bytes, stripped clangd shrank by 16,848 bytes, unstripped clangd shrank
by 82,512 bytes, and dyld fixups fell by 336.

Validated with the 16 `ParseYAML` unit tests and `clangd --check`; 12
paired runs of 100,000 parses improved mean user CPU time by 3.46% (95%
CI: 1.31% to 5.61%).

Work towards #202616

AI tool disclosure: Co-authored with OpenAI Codex.
DeltaFile
+10-4clang-tools-extra/clangd/ConfigYAML.cpp
+10-41 files

LLVM/project 74822b4clang/docs ReleaseNotes.md, clang/lib/Sema SemaType.cpp

[clang][Sema] Fix rejected-valid for explicit object parameters in dependent nested classes context (#209107)

In #89078, we banned explicit object parameters from several invalid
contexts. This patch proposes we relax the restriction and allow
entering contexts so that nested classes can be visited correctly.

Close #136472
DeltaFile
+13-0clang/test/SemaCXX/cxx2b-deducing-this.cpp
+2-1clang/lib/Sema/SemaType.cpp
+1-0clang/docs/ReleaseNotes.md
+16-13 files

LLVM/project ffa026flibunwind/test aix_vapi_signal_unwind.pass.cpp

Adjust comment style for LIT directives
DeltaFile
+8-8libunwind/test/aix_vapi_signal_unwind.pass.cpp
+8-81 files

LLVM/project 424421aorc-rt/include CMakeLists.txt, orc-rt/lib/executor CMakeLists.txt

[orc-rt] Sort header and source lists in CMakeLists. NFC. (#209685)
DeltaFile
+11-11orc-rt/include/CMakeLists.txt
+1-1orc-rt/lib/executor/CMakeLists.txt
+12-122 files

LLVM/project d766b7dllvm/lib/Transforms/Coroutines MaterializationUtils.cpp

address review comment
DeltaFile
+1-1llvm/lib/Transforms/Coroutines/MaterializationUtils.cpp
+1-11 files

LLVM/project f102dcfllvm/test/Transforms/Coroutines coro-materialize-check-operands.ll

additional test case
DeltaFile
+37-0llvm/test/Transforms/Coroutines/coro-materialize-check-operands.ll
+37-01 files

NetBSD/src aH2xvaVtests/usr.bin/xlint/lint1 c11_generic_expression.c, usr.bin/xlint/lint1 tree.c

   lint: clean up comments
VersionDeltaFile
1.27+4-3tests/usr.bin/xlint/lint1/c11_generic_expression.c
1.716+3-3usr.bin/xlint/lint1/tree.c
+7-62 files

FreeBSD/ports 2bddc75devel/py-genson distinfo Makefile

devel/py-genson: Update to 1.4.0
DeltaFile
+3-3devel/py-genson/distinfo
+1-1devel/py-genson/Makefile
+4-42 files

FreeBSD/ports 58f68efdevel/mimalloc distinfo Makefile

devel/mimalloc: Update to 3.4.1
DeltaFile
+3-3devel/mimalloc/distinfo
+1-1devel/mimalloc/Makefile
+4-42 files

FreeBSD/ports 792cd26devel/py-websockets distinfo Makefile

devel/py-websockets: Update to 16.1
DeltaFile
+3-3devel/py-websockets/distinfo
+1-1devel/py-websockets/Makefile
+4-42 files

NetBSD/pkgsrc-wip 586fc5ccargo-c distinfo cargo-depends.mk, cargo-c/patches patch-.._vendor_memchr-2.8.3_src_memchr.rs patch-.._vendor_memchr-2.8.3_src_memmem_searcher.rs

cargo-c: add update
DeltaFile
+1,265-0cargo-c/distinfo
+420-0cargo-c/cargo-depends.mk
+128-0cargo-c/patches/patch-.._vendor_memchr-2.8.3_src_memchr.rs
+78-0cargo-c/patches/patch-.._vendor_memchr-2.8.3_src_memmem_searcher.rs
+38-0cargo-c/Makefile
+24-0cargo-c/patches/patch-.._vendor_memchr-2.8.3_src_arch_aarch64_memchr.rs
+1,953-07 files not shown
+2,014-013 files

FreeBSD/ports ebd98ccsysutils/fastfetch distinfo Makefile

sysutils/fastfetch: update to 2.66.0

Changelog:      https://github.com/fastfetch-cli/fastfetch/releases/tag/2.66.0
DeltaFile
+3-3sysutils/fastfetch/distinfo
+1-1sysutils/fastfetch/Makefile
+4-42 files

FreeBSD/ports e0a451bsysutils/UEFITool distinfo Makefile

sysutils/UEFITool: update to A75

Changelog:      https://github.com/LongSoft/UEFITool/releases/tag/A75
DeltaFile
+3-3sysutils/UEFITool/distinfo
+1-1sysutils/UEFITool/Makefile
+4-42 files

NetBSD/src wZQhZf6sys/arch/m68k/include pmap_68k.h

   No longer need to provide kvtopte() to generic code.
VersionDeltaFile
1.21+1-2sys/arch/m68k/include/pmap_68k.h
+1-21 files

FreeBSD/ports f0c1f73sysutils/py-director distinfo Makefile

sysutils/py-director: Update to 0.18.0

ChangeLog: https://github.com/DtxdF/director/releases/tag/v0.18.0
DeltaFile
+3-3sysutils/py-director/distinfo
+1-1sysutils/py-director/Makefile
+4-42 files

LLVM/project 06fdb69llvm/lib/Target/RISCV RISCVInstrInfoZilx.td RISCVISelDAGToDAG.h

Address comments: remove AddedComplexity, use iota, ...

Created using spr 1.3.6-beta.1
DeltaFile
+58-53llvm/lib/Target/RISCV/RISCVInstrInfoZilx.td
+4-6llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
+1-1llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+63-603 files

LLVM/project 94ea3f4llvm/lib/Target/RISCV RISCVInstrInfoZilx.td

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+58-45llvm/lib/Target/RISCV/RISCVInstrInfoZilx.td
+58-451 files

LLVM/project 454a66allvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/include/llvm/Target TargetOptions.h TargetMachine.h

[CodeGen][NPM] Disable Machine verifier at the end of default pipelines (#208357)

keeping discussions in https://github.com/llvm/llvm-project/pull/176693.
Adds target option to disable machine verifier at the end of default
pilelines (O0,O1..). Also ref.
https://github.com/llvm/llvm-project/pull/201004 for discussions
regarding why this is required (temporarily atleast) so that NPM
migration is unblocked. should be removed once we have fixed all the
latent verifier issues.
DeltaFile
+9-5llvm/include/llvm/Target/TargetOptions.h
+3-1llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+3-0llvm/include/llvm/Target/TargetMachine.h
+0-3llvm/test/CodeGen/AMDGPU/llc-pipeline-npm.ll
+1-1llvm/include/llvm/Passes/CodeGenPassBuilder.h
+16-105 files

LLVM/project 11ebc0ellvm/lib/Target/AMDGPU AMDGPUInstructionSelector.cpp AMDGPUInstructionSelector.h, llvm/test/CodeGen/AMDGPU/GlobalISel select-merge-values-build-vector-s16.mir merge-values-s16-true16.ll

 [AMDGPU][GlobalISel] Select s16 G_MERGE_VALUES into wider scalars (#207999)

With real-true16 (default on `gfx11`/`gfx12`), a scalar `s16` is a
register type, so the `G_MERGE_VALUES` legality rule started accepting
scalar merges built from `s16` pieces, e.g. `s64 = G_MERGE_VALUES(4 x
s16)`. The instruction selector has no pattern for that shape. So this
aborts with `cannot select` on something like:

```mlir
define amdgpu_kernel void @k(ptr %p) {
    store i136 0, ptr %p, align 8
    ret void
}
```

Make it selectable rather than restricting legalization: Pack pairs of
`s16` with `S_PACK_LL_B32_B16` then `REG_SEQUENCE`.

Assisted-by: Claude

Signed-off-by: Keshav Vinayak Jha <keshavvinayakjha at gmail.com>
DeltaFile
+92-0llvm/test/CodeGen/AMDGPU/GlobalISel/select-merge-values-build-vector-s16.mir
+54-0llvm/test/CodeGen/AMDGPU/GlobalISel/merge-values-s16-true16.ll
+48-1llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+1-0llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
+195-14 files

FreeBSD/ports 1249877devel/glab distinfo Makefile

devel/glab: update to 1.108.0

Changes:        https://gitlab.com/gitlab-org/cli/-/releases
DeltaFile
+5-5devel/glab/distinfo
+1-2devel/glab/Makefile
+6-72 files

LLVM/project 9a1ee19llvm/lib/Target/BPF BPFCheckAndAdjustIR.cpp, llvm/test/CodeGen/BPF sink-min-max.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+146-118llvm/test/CodeGen/BPF/sink-min-max.ll
+4-0llvm/lib/Target/BPF/BPFCheckAndAdjustIR.cpp
+0-1llvm/utils/profcheck-xfail.txt
+150-1193 files

LLVM/project 9b1e021llvm/test/CodeGen/BPF sink-min-max.ll

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+138-116llvm/test/CodeGen/BPF/sink-min-max.ll
+138-1161 files

LLVM/project 24c693bllvm/test/CodeGen/BPF sink-min-max.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+138-116llvm/test/CodeGen/BPF/sink-min-max.ll
+138-1161 files

LLVM/project f8d8dc1llvm/lib/Support raw_ostream.cpp, llvm/unittests/Support raw_ostream_test.cpp

[Support] Treat Windows "NUL" as the null device in writeToOutput (#208179)

llvm-objcopy (via writeToOutput) only special-cased "/dev/null", so on
Windows an output path of "NUL" fell through to TempFile::create() +
rename. Windows reserves "NUL" as a device name, so the rename fails
with "permission denied". This broke clang-offload-bundler's SYCL fat
object step when the driver is invoked with `-o nul` in downstream test
https://github.com/intel/llvm/blob/sycl/sycl/test/include_deps/header_reach.cpp

Assisted by: Claude
DeltaFile
+29-0llvm/unittests/Support/raw_ostream_test.cpp
+9-1llvm/lib/Support/raw_ostream.cpp
+38-12 files

LLVM/project f859de8llvm/test lit.cfg.py

[LLVM] Use kwargs for ShTest constructor (#209676)

Since extra_substitutions is not the first argument (although it will be
soon).

Fixes https://lab.llvm.org/buildbot/#/builders/223/builds/7170.

This was broken by 3f46a5e91cdf2ade1d8ca350f4a57af8221407ea.
DeltaFile
+1-1llvm/test/lit.cfg.py
+1-11 files

LLVM/project 897abc0llvm/include/llvm/ADT GenericCycleImpl.h GenericCycleInfo.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.5-bogner
DeltaFile
+3-9llvm/include/llvm/ADT/GenericCycleImpl.h
+1-5llvm/include/llvm/ADT/GenericCycleInfo.h
+4-142 files