HardenedBSD/src 33a02b7 — libexec/rtld-elf rtld.c

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+5-3libexec/rtld-elf/rtld.c
+5-31 files

HardenedBSD/src ee548f1 — libexec/rtld-elf rtld.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+5-3libexec/rtld-elf/rtld.c
+5-31 files

HardenedBSD/ports 84c4f8c — devel/zizmor Makefile.crates distinfo, graphics/djvulibre pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+71-71devel/zizmor/distinfo
+34-34devel/zizmor/Makefile.crates
+0-60www/hypermail/files/patch-memory-fixes
+21-21graphics/djvulibre/pkg-plist
+25-17security/vault/distinfo
+17-19sysutils/leaf/distinfo
+168-22278 files not shown
+425-48784 files

FreeBSD/ports 6787630 — textproc/ast-grep Makefile Makefile.crates

textproc/ast-grep: Update to 0.51.0

Changelog: https://github.com/ast-grep/ast-grep/blob/0.51.0/CHANGELOG.md

Reported by:    GitHub (watch releases)
DeltaFile
+29-11textproc/ast-grep/distinfo
+13-4textproc/ast-grep/Makefile.crates
+1-2textproc/ast-grep/Makefile
+43-173 files

FreeBSD/ports fee08bd — audio/jamulus pkg-message

audio/jamulus: correct and add to pkg-message

(cherry picked from commit 62a2654216b31846dee6127490a7ac3f6ce0a6fa)
DeltaFile
+3-1audio/jamulus/pkg-message
+3-11 files

HardenedBSD/ports be8887c — math/faiss distinfo Makefile

math/faiss: fix build for CPUTYPE=znver4

... by backporting the GitHub pull request that I've created.

PR:             298198
Reported by:    Daniel Engberg <diizzy at FreeBSD.org>
DeltaFile
+3-1math/faiss/distinfo
+4-0math/faiss/Makefile
+7-12 files

FreeBSD/ports be8887c — math/faiss distinfo Makefile

math/faiss: fix build for CPUTYPE=znver4

... by backporting the GitHub pull request that I've created.

PR:             298198
Reported by:    Daniel Engberg <diizzy at FreeBSD.org>
DeltaFile
+3-1math/faiss/distinfo
+4-0math/faiss/Makefile
+7-12 files

FreeBSD/ports 6241e0a — misc/py-litellm Makefile distinfo

misc/py-litellm: Update to 1.105.1

Changelog: https://github.com/BerriAI/litellm/releases/tag/v1.105.1

Reported by:    portscout
DeltaFile
+3-3misc/py-litellm/distinfo
+1-2misc/py-litellm/Makefile
+4-52 files

HardenedBSD/ports 1438f56 — misc/py-litellm-proxy-extras Makefile distinfo

misc/py-litellm-proxy-extras: Update to 0.4.109

Reported by:    Repology
DeltaFile
+3-3misc/py-litellm-proxy-extras/distinfo
+1-1misc/py-litellm-proxy-extras/Makefile
+4-42 files

FreeBSD/ports 1438f56 — misc/py-litellm-proxy-extras Makefile distinfo

misc/py-litellm-proxy-extras: Update to 0.4.109

Reported by:    Repology
DeltaFile
+3-3misc/py-litellm-proxy-extras/distinfo
+1-1misc/py-litellm-proxy-extras/Makefile
+4-42 files

HardenedBSD/ports 6241e0a — misc/py-litellm Makefile distinfo

misc/py-litellm: Update to 1.105.1

Changelog: https://github.com/BerriAI/litellm/releases/tag/v1.105.1

Reported by:    portscout
DeltaFile
+3-3misc/py-litellm/distinfo
+1-2misc/py-litellm/Makefile
+4-52 files

LLVM/project 8cdfc2d — clang/lib/StaticAnalyzer/Checkers/WebKit RawPtrRefLocalVarsChecker.cpp RawPtrRefCallArgsChecker.cpp

[WebKit checkers] Use different bug description for unborrowed local variables and call arguments (#232913)
DeltaFile
+2-2clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLocalVarsChecker.cpp
+2-2clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefCallArgsChecker.cpp
+4-42 files

LLVM/project 5a2f2c1 — libc/src/__support/math exp2_accurate_128.h exp_utils.h, libc/test/src/math exp_test.cpp

[libc][math] Optimize exp and share double-precision evaluation with exp2.

Refactor double-precision exp to share most of the computations with exp2,
and adding support for `LIBC_MATH_HAS_SMALL_TABLES` and
`LIBC_MATH_HAS_SKIP_ACCURATE_PATH.

Assisted by: Gemini is used for performance and code size analysis and refactoring.
DeltaFile
+13-433libc/src/__support/math/exp.h
+155-91libc/test/src/math/exp_test.cpp
+153-0libc/src/__support/math/exp_double_eval.h
+83-44libc/test/src/math/smoke/exp_test.cpp
+72-17libc/src/__support/math/exp_utils.h
+50-13libc/src/__support/math/exp2_accurate_128.h
+526-5988 files not shown
+614-64714 files

LLVM/project 068c1af — clang/tools/driver cc1as_main.cpp

cc1as: Parse library options into a context. NFC (#233017)

Follow-up to #231407: move tools off cl::ParseCommandLineOptions, which
sets the libraries' `XXXOptions::Global`, to
`cl::parseCommandLineOptions(LibraryOptionsContext &, ...)`.

This prepares for removing the T::Global fallback in
`LibraryOptionsContext::get<T>()`.
DeltaFile
+16-8clang/tools/driver/cc1as_main.cpp
+16-81 files

LLVM/project 3b40709 — llvm/lib/Target/AMDGPU AMDGPUTargetMachine.cpp

[AMDGPU] Fix sramecc value in subtarget cache key (#232983)
DeltaFile
+1-1llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+1-11 files

LLVM/project b6121a1 — llvm/tools/llvm-mc llvm-mc.cpp, llvm/tools/llvm-mca llvm-mca.cpp

Parse library options into a context. NFC (#233013)

Follow-up to #231407: move tools off cl::ParseCommandLineOptions, which
sets the libraries' `XXXOptions::Global`, to
`cl::parseCommandLineOptions(LibraryOptionsContext &, ...)`.

This prepares for removing the T::Global fallback in
`LibraryOptionsContext::get<T>()`.
DeltaFile
+6-3llvm/tools/llvm-mca/llvm-mca.cpp
+5-1llvm/tools/llvm-mc/llvm-mc.cpp
+3-1llvm/tools/llvm-split/llvm-split.cpp
+14-53 files

LLVM/project d792ae9 — llvm/tools/llc/lib llcdriver.cpp, llvm/tools/llvm-extract llvm-extract.cpp

Parse library options into a context in more tools. NFC

Follow-up to #231407: move tools off cl::ParseCommandLineOptions, which
sets the libraries' `XXXOptions::Global`, to
`cl::parseCommandLineOptions(LibraryOptionsContext &, ...)`.

This prepares for removing the T::Global fallback in
`LibraryOptionsContext::get<T>()`.
DeltaFile
+7-4llvm/tools/llvm-extract/llvm-extract.cpp
+6-3llvm/tools/llvm-profgen/llvm-profgen.cpp
+6-3llvm/tools/llvm-profgen/ProfiledBinary.cpp
+7-1llvm/tools/llvm-profgen/ProfiledBinary.h
+4-2llvm/tools/llc/lib/llcdriver.cpp
+30-135 files

LLVM/project 5d53453 — llvm/tools/llc/lib llcdriver.cpp, llvm/tools/llvm-extract llvm-extract.cpp

Parse library options into a context in more tools. NFC (#233016)

Follow-up to #231407: move tools off cl::ParseCommandLineOptions, which
sets the libraries' `XXXOptions::Global`, to
`cl::parseCommandLineOptions(LibraryOptionsContext &, ...)`.

This prepares for removing the T::Global fallback in
`LibraryOptionsContext::get<T>()`.
DeltaFile
+5-4llvm/tools/llvm-extract/llvm-extract.cpp
+6-3llvm/tools/llvm-profgen/llvm-profgen.cpp
+6-3llvm/tools/llvm-profgen/ProfiledBinary.cpp
+7-1llvm/tools/llvm-profgen/ProfiledBinary.h
+4-2llvm/tools/llc/lib/llcdriver.cpp
+28-135 files

LLVM/project fe3f16a — clang/docs/CIR/_raw PostProcessCIRDocs.py, llvm/lib/ObjectYAML BBAddrMapYAML.cpp

Merge branch 'main' into users/chinmaydd/amdgpu-sramecc-subtarget-key
DeltaFile
+146-307llvm/test/CodeGen/NVPTX/mulwide.ll
+30-138llvm/test/CodeGen/AMDGPU/hard-clauses-gfx1250.mir
+6-116llvm/tools/obj2yaml/elf2yaml.cpp
+121-0llvm/lib/ObjectYAML/BBAddrMapYAML.cpp
+54-53llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+72-19clang/docs/CIR/_raw/PostProcessCIRDocs.py
+429-633144 files not shown
+1,667-1,246150 files

LLVM/project 90a3063 — llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/InstCombine fpclass-from-dom-cond.ll

[ValueTracking] Require full nan/inf masks when propagating FMA class exclusions (#232675)

Fixes https://github.com/llvm/llvm-project/issues/232565, which is
introduced by https://github.com/llvm/llvm-project/pull/175999.
`KnownNotFromFlags & fcInf` is nonzero even when only one infinity class
is excluded. Require `(KnownNotFromFlags & fcInf) == fcInf` to exclude
both +inf and -inf. Same for nan.
DeltaFile
+26-0llvm/test/Transforms/InstCombine/fpclass-from-dom-cond.ll
+4-4llvm/lib/Analysis/ValueTracking.cpp
+30-42 files

LLVM/project 383ff59 — libc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt getcpu.h, libc/src/sched/linux CMakeLists.txt sched_getcpu.cpp

[libc] Use a syscall wrapper for sched_getcpu
DeltaFile
+38-0libc/src/__support/OSUtil/linux/syscall_wrappers/getcpu.h
+28-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+12-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+4-7libc/src/sched/linux/sched_getcpu.cpp
+4-1libc/src/sched/linux/CMakeLists.txt
+86-85 files

HardenedBSD/ports 62a2654 — audio/jamulus pkg-message

audio/jamulus: correct and add to pkg-message
DeltaFile
+3-1audio/jamulus/pkg-message
+3-11 files

FreeBSD/ports 62a2654 — audio/jamulus pkg-message

audio/jamulus: correct and add to pkg-message
DeltaFile
+3-1audio/jamulus/pkg-message
+3-11 files

LLVM/project 55180e5 — .github/workflows libcxx-lnt-pipeline.yml libcxx-lnt-pipeline-libstdcxx.yml

[libc++] Properly pass the LNT submission token to the submit workflow (#233010)

Reusable worklows don't automatically get their environment secrets
passed, they need to declare them and their callers to pass them
explicitly.
DeltaFile
+4-0.github/workflows/libcxx-lnt-submit.yml
+2-0.github/workflows/libcxx-lnt-pipeline.yml
+2-0.github/workflows/libcxx-lnt-pipeline-libstdcxx.yml
+8-03 files

LLVM/project 5b79bc4 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPMemoryUtils.cpp

[SLP] Handle REVEC when costing expanded compress mask

With REVEC the scalars are vectors. The masked-load-compress shuffle that is
emitted uses the compress mask expanded to the elements of those vectors
(transformScalarShuffleIndiciesToVector), but the cost was computed with the
unexpanded per-vector mask, so a shuffle such as <24 x i8> -> <16 x i8> was
costed as a <2 x i8> shuffle. This made the compress sequence looked cheaper
than it is.

Assisted-By: Claude Sonnet 5.5
DeltaFile
+13-9llvm/test/Transforms/SLPVectorizer/RISCV/revec-compress-mask-cost.ll
+7-2llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+6-2llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPMemoryUtils.cpp
+26-133 files

LLVM/project 58db2aa — mlir/lib/Transforms/Utils GreedyPatternRewriteDriver.cpp

[mlir] Check greedy rewrite fingerprints and changed flag (#232576)

Under EXPENSIVE_CHECKS, compare operation fingerprints before and after
greedy rewriting. If the IR changes but the driver reports no change,
emit a fatal error.

Assisted-by: gpt 6.1 sol
DeltaFile
+31-2mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
+31-21 files

LLVM/project b58f8b4 — libc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt getcpu.h, libc/src/sched/linux CMakeLists.txt sched_getcpu.cpp

[libc] Use a syscall wrapper for sched_getcpu
DeltaFile
+37-0libc/src/__support/OSUtil/linux/syscall_wrappers/getcpu.h
+28-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+12-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+4-7libc/src/sched/linux/sched_getcpu.cpp
+4-1libc/src/sched/linux/CMakeLists.txt
+85-85 files

LLVM/project 7f658fb — llvm/lib/Transforms/InstCombine InstCombineAtomicRMW.cpp, llvm/test/Transforms/InstCombine atomicrmw-add-neg.ll

Support vector
DeltaFile
+4-3llvm/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp
+3-3llvm/test/Transforms/InstCombine/atomicrmw-add-neg.ll
+7-62 files

LLVM/project 075886b — clang/test/CodeGen ms-intrinsics-other.c ms-intrinsics.c

Fix clang lit test
DeltaFile
+12-12clang/test/CodeGen/ms-intrinsics.c
+4-4clang/test/CodeGen/ms-intrinsics-other.c
+16-162 files

LLVM/project 88487fb — llvm/lib/Transforms/InstCombine InstCombineAtomicRMW.cpp, llvm/test/Transforms/InstCombine atomicrmw-add-neg.ll

[InstCombine] Canonicalize atomicrmw sub of a constant to add

Rewrite `atomicrmw sub ptr, C` as `atomicrmw add ptr, -C`. This
matches the canonical form InstCombine already uses for plain `sub`.
In wrapping arithmetic $old - C = old + (-C)$, so both the stored
value and the returned old value stay the same, including when C is
`INT_MIN`. Ordering, syncscope and metadata are kept.

```llvm
; before
%old = atomicrmw sub ptr %p, i32 1 syncscope("agent") monotonic
; after
%old = atomicrmw add ptr %p, i32 -1 syncscope("agent") monotonic
```
This benefits AMDGPU, for example: https://godbolt.org/z/39xsYro3o
DeltaFile
+7-0llvm/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp
+2-2llvm/test/Transforms/InstCombine/atomicrmw-add-neg.ll
+9-22 files