LLVM/project 2219223llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPTypeUtils.h SLPTypeUtils.cpp

fixup! [SLP][modularisation][NFC] Move full-vector width helpers to SLPTypeUtils (2/2)
DeltaFile
+50-43llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+8-8llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.cpp
+4-4llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.h
+62-553 files

LLVM/project 8d0230bflang-rt/lib/runtime unit.cpp, flang-rt/test/Driver endian.f90

flang-rt: improve endian conversion performance (#218302)

Improve endian conversion performance in the flang runtime.

This patch updates the implementation of endian conversion in
flang-rt/lib/runtime/unit.cpp and adds a driver test for endian
conversion handling.

The modified helper functions were not unit-tested directly because
they have internal linkage.

Addresses #208193.
DeltaFile
+93-0flang-rt/test/Driver/endian.f90
+57-0flang-rt/lib/runtime/unit.cpp
+150-02 files

LLVM/project 783b01bllvm/lib/Transforms/Vectorize/SLPVectorizer SLPTypeUtils.h

fixup! [SLP][modularisation][NFC] Move full-vector width helpers to SLPTypeUtils (2/2)
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.h
+1-11 files

LLVM/project 064ca37llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPTypeUtils.h SLPTypeUtils.cpp

[SLP][modularisation][NFC] Move full-vector width helpers to SLPTypeUtils (2/2)

Move the following BoUpSLP-independent helpers out of SLPVectorizer.cpp
into SLPVectorizer/SLPTypeUtils.{h,cpp}:

  getFullVectorNumberOfElements
  getFloorFullVectorNumberOfElements
  getMaskedDivRemType
  hasFullVectorsOrPowerOf2

They build on the type helpers moved in (1/2). Behavior is unchanged.

Part of the SLPVectorizer.cpp modularization effort:
https://discourse.llvm.org/t/modularizing-slpvectorizer-cpp/90922
DeltaFile
+0-66llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+56-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.cpp
+28-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.h
+84-663 files

LLVM/project b7fb810clang/lib/ScalableStaticAnalysis/Analyses/EntityPointerLevel EntityPointerLevel.cpp

fix assertion
DeltaFile
+1-1clang/lib/ScalableStaticAnalysis/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+1-11 files

LLVM/project 761c47dllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPTypeUtils.cpp SLPTypeUtils.h

fixup! [SLP][modularisation][NFC] Move type/width helpers to SLPTypeUtils (1/2)
DeltaFile
+77-69llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+8-7llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.h
+4-8llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.cpp
+89-843 files

FreeBSD/ports 199c3a0security/libgcrypt Makefile

security/libgcrypt: Rephrase AVX512 description

It has been reported that the phrase "support for 14 and 15" is
ambiguous to some. Add "FreeBSD" to the description.
DeltaFile
+1-1security/libgcrypt/Makefile
+1-11 files

LLVM/project 54b32d3llvm/lib/Transforms/Vectorize/SLPVectorizer SLPTypeUtils.h

fixup! [SLP][modularisation][NFC] Move full-vector width helpers to SLPTypeUtils (2/2)
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.h
+1-11 files

LLVM/project 90efd40llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPTypeUtils.h SLPTypeUtils.cpp

[SLP][modularisation][NFC] Move full-vector width helpers to SLPTypeUtils (2/2)

Move the following BoUpSLP-independent helpers out of SLPVectorizer.cpp
into SLPVectorizer/SLPTypeUtils.{h,cpp}:

  getFullVectorNumberOfElements
  getFloorFullVectorNumberOfElements
  getMaskedDivRemType
  hasFullVectorsOrPowerOf2

They build on the type helpers moved in (1/2). Behavior is unchanged.

Part of the SLPVectorizer.cpp modularization effort:
https://discourse.llvm.org/t/modularizing-slpvectorizer-cpp/90922
DeltaFile
+0-66llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+56-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.cpp
+28-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.h
+84-663 files

LLVM/project ca3e4f9llvm/lib/Transforms/Vectorize CMakeLists.txt SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPTypeUtils.h SLPTypeUtils.cpp

[SLP][modularisation][NFC] Move type/width helpers to SLPTypeUtils (1/2)

Move the following BoUpSLP-independent type/width helpers out of
SLPVectorizer.cpp into a new SLPVectorizer/SLPTypeUtils.{h,cpp}:

  isValidElementType
  getValueType
  getWidenedType

SLPReVec is made non-static and extern-declared in SLPTypeUtils.cpp so
the moved helpers can reference it; behavior is unchanged.

Part of the SLPVectorizer.cpp modularization effort:
https://discourse.llvm.org/t/modularizing-slpvectorizer-cpp/90922
DeltaFile
+76-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.cpp
+4-60llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+46-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPTypeUtils.h
+1-0llvm/lib/Transforms/Vectorize/CMakeLists.txt
+127-604 files

LLVM/project e98637eclang/lib/StaticAnalyzer/Checkers/WebKit RawPtrRefLocalVarsChecker.cpp PtrTypesSemantics.cpp, clang/test/Analysis/Checkers/WebKit unretained-local-vars.mm objc-mock-types.h

[alpha.webkit.UncountedLocalVarsChecker] Support obtaining guardian's value via operator* (#219647)

This PR fixes a bug in alpha.webkit.UncountedLocalVarsChecker that it
wasn't allowing a guardian variable's getter to be called when
initializing a raw pointer/reference.

Also fix a bug that operator* wasn't recognized as a valid getter on a
smart pointer.

---------

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+18-1clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
+5-2clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
+4-0clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLocalVarsChecker.cpp
+0-3clang/test/Analysis/Checkers/WebKit/objc-mock-types.h
+2-1clang/test/Analysis/Checkers/WebKit/mock-types.h
+1-0clang/test/Analysis/Checkers/WebKit/unretained-local-vars.mm
+30-71 files not shown
+31-77 files

LLVM/project e448a89clang/lib/Driver/ToolChains CommonArgs.cpp, clang/lib/Frontend CompilerInvocation.cpp

[Clang][Flang] Enable loop interchange by default at >O1 opt levels (#216920)

PR #124911 enabled the LoopInterchange pass by default in the LLVM
optimization pipeline (the PipelineTuningOptions default used by opt),
but the clang and flang frontends override that default and keep it off.
As a result, driving the compiler through clang or flang never runs loop
interchange unless -floop-interchange is passed explicitly.

Default -floop-interchange on in both frontends so they match the LLVM
pipeline default. opt enables the pass unconditionally
(PipelineTuningOptions::LoopInterchange defaults to true); the
optimization level gating happens naturally because the pass only lives
in the module optimization pipeline, so it runs at -O1 and above and is
absent at -O0. The decision is made in the frontend (-cc1/-fc1) for both
clang and flang, mirroring -funroll-loops; the flang driver only
forwards an explicit -f[no-]loop-interchange. An explicit
-fno-loop-interchange keeps it off at any level.

Compile-time impact is largely due to enablement of the new pass:
https://llvm-compile-time-tracker.com/?config=Overview&stat=instructions%3Au&remote=madhur13490
DeltaFile
+10-7flang/test/Driver/loop-interchange.f90
+10-0clang/test/Driver/clang_f_opts.c
+4-3clang/lib/Driver/ToolChains/CommonArgs.cpp
+5-2flang/lib/Frontend/CompilerInvocation.cpp
+3-1clang/lib/Frontend/CompilerInvocation.cpp
+32-135 files

OpenBSD/src qpgwnicregress/lib/libcrypto/pkcs7 pkcs7test.c

   pkcs7test: add an empty line
VersionDeltaFile
1.9+2-1regress/lib/libcrypto/pkcs7/pkcs7test.c
+2-11 files

LLVM/project 80c9930.github/workflows issue-write.yml

[Github] Restrict issue-write workflow to llvm/llvm-project (#219875)
DeltaFile
+2-1.github/workflows/issue-write.yml
+2-11 files

FreeBSD/ports d073fb8www/opengist Makefile distinfo

www/opengist: Update to 1.15.2

Changes since 1.15.1:

v1.15.2

Added

  * Anonymous LDAP user search (#794).

Fixed

  * Prevent writes through symbolic links in gists (#799).
  * Prevent server crashes when rendering empty CSV files.
  * Invalid header handling in Git `cat-file` batch reader (#802).
  * Overlapping headers in narrow embeds (#803).
DeltaFile
+7-7www/opengist/distinfo
+1-2www/opengist/Makefile
+8-92 files

LLVM/project 4cfe874clang/lib/AST/ByteCode Interp.cpp

[clang][bytecode] Avoid `getSource()` calls in `diagnoseNonConstVariable()` (#219869)

There were some cases when `Loc` was not used. Avoid calling
`getSource()` in those cases.
DeltaFile
+3-3clang/lib/AST/ByteCode/Interp.cpp
+3-31 files

LLVM/project ad0d500clang/lib/AST/ByteCode Boolean.h

[clang][bytecode] Remove unused Boolean API (#219867)
DeltaFile
+0-6clang/lib/AST/ByteCode/Boolean.h
+0-61 files

LLVM/project a81d842clang/test/CodeGenCoroutines coro-unhandled-exception.cpp, llvm/include/llvm/IR Intrinsics.td

[Coro][IR] Model memory effects of coro.alloc and coro.begin more precisely (#219870)

Consider the following code:

``` LLVM
%hdl1 = call ptr @llvm.coro.begin(token %coro.outer, ptr %mem1)
store ptr %hdl1, ptr %alloca, align 8
call i1 @llvm.coro.alloc(token %coro.inner)
call ptr @llvm.coro.begin(token %coro.inner, ptr %mem2)
%hdl1.ld = load ptr, ptr %alloca, align 8
%resumer = call ptr @llvm.coro.subfn.addr(ptr %hdl1.ld, i8 0)
invoke void %resumer(ptr %hdl1.ld)
```

The pattern occurs inside nested coroutines. Adding `memory(none)`
attributes allows GVN to replace the store-load with direct references
to `coro.begin`, thus enabling further optimizations. We can simplify
#57852 into single `ret 0` after this change.
DeltaFile
+9-7llvm/test/Transforms/Coroutines/coro-byval-param.ll
+3-3llvm/include/llvm/IR/Intrinsics.td
+2-2clang/test/CodeGenCoroutines/coro-unhandled-exception.cpp
+1-2llvm/test/Transforms/Coroutines/coro-split-alloc.ll
+15-144 files

LLVM/project acfd1dallvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp, llvm/test/Transforms/InstCombine/RISCV riscv-vsetvli-range.ll

[RISCV] Add further constraints on vsetvli intrinsics range (#219417)

The spec also mandates:

- `ceil(AVL / 2) ≤ vl ≤ VLMAX if AVL < (2 * VLMAX)`
- `vl = VLMAX if AVL ≥ (2 * VLMAX)`

This also reworks the constraints to be based on ConstantRange so `vl =
AVL if AVL ≤ VLMAX` is no longer restricted to constants.
DeltaFile
+28-13llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+25-8llvm/test/Transforms/InstCombine/RISCV/riscv-vsetvli-range.ll
+53-212 files

NetBSD/pkgsrc-wip a76034eopenjdk25 options.mk DESCR

replace openjdk21 references with openjdk25
DeltaFile
+6-6openjdk25/Makefile
+3-3openjdk25/distinfo
+2-2openjdk25/hacks.mk
+1-1openjdk25/options.mk
+1-1openjdk25/DESCR
+13-135 files

NetBSD/pkgsrc-wip 0689cb7openjdk25 options.mk Makefile, openjdk25/patches patch-src_java.desktop_unix_native_common_awt_fontpath.c patch-src_hotspot_share_runtime_threadWXSetters.inline.hpp

add openjdk25

this is just a copy of openjdk21 for now, will iterate on it in future
commits
DeltaFile
+603-0openjdk25/PLIST
+215-0openjdk25/Makefile
+125-0openjdk25/options.mk
+119-0openjdk25/patches/patch-src_hotspot_os__cpu_bsd__aarch64_vm__version__bsd__aarch64.cpp
+63-0openjdk25/patches/patch-src_hotspot_share_runtime_threadWXSetters.inline.hpp
+51-0openjdk25/patches/patch-src_java.desktop_unix_native_common_awt_fontpath.c
+1,176-017 files not shown
+1,624-023 files

FreeBSD/ports a5b0b21net/samba424 Makefile

net/samba424: fix fortity and when python3 is disabled

Samba 4.24 doesn't build with Fortify feature.
When Python3 is disabled fix the cleanup commands

PR:     294595
Reported by:    Rafe <mondo.debater_0q at icloud.com>
Reported by:    Denis Shaposhnikov <dsh at bamus.cz>
Approved by:    samba (kiwi)
Sponsored by:   Klara, Inc.
DeltaFile
+4-3net/samba424/Makefile
+4-31 files

FreeBSD/src 447d4fe. aclocal.m4 configure, admin config.sub ltmain.sh

vendor/lutok: import 0.6.2

This version contains several minor changes related to documentation and
new C++ standards conformance (C++-20+ is now required to build the
project).

This change also uses the version from the official release tarball whereas
the prior imported version (0.4) was committed directly from a git clone.

Obtained from:  https://github.com/freebsd/lutok/releases/tag/lutok-0.6.2
DeltaFile
+23,387-0configure
+11,524-0admin/ltmain.sh
+8,488-0m4/libtool.m4
+2,007-0api-docs/html/doxygen.css
+1,802-0admin/config.sub
+1,733-0aclocal.m4
+48,941-0190 files not shown
+68,467-702196 files

LLVM/project d291bcdlibcxx/src new_helpers.cpp, libcxx/test/libcxx/vendor/clang-cl static-lib-nothrow.sh.cpp

[libc++] Do not define std::nothrow with VCRuntime ABI (#217694)

Avoid defining `std::nothrow` in libc++ when `_LIBCPP_ABI_VCRUNTIME` is
enabled.

VCRuntime already owns and provides `std::nothrow`, just as it owns the
global new/delete ABI.

Assisted-by: codex (for the test)
DeltaFile
+16-0libcxx/test/libcxx/vendor/clang-cl/static-lib-nothrow.sh.cpp
+2-2libcxx/src/new_helpers.cpp
+18-22 files

FreeBSD/ports d5d8ea2devel/terraform-ls Makefile distinfo

devel/terraform-ls: Update to 0.39.0

ChangeLog:
https://github.com/hashicorp/terraform-ls/releases/tag/v0.39.0
DeltaFile
+5-5devel/terraform-ls/distinfo
+1-2devel/terraform-ls/Makefile
+6-72 files

FreeBSD/ports a024461security/ffuf pkg-descr Makefile

security/ffuf: Update to 2.2.1

ChangeLog:
https://github.com/ffuf/ffuf/releases/tag/v2.2.1
DeltaFile
+5-21security/ffuf/distinfo
+2-14security/ffuf/Makefile
+10-1security/ffuf/pkg-descr
+17-363 files

FreeBSD/ports 23f5399net/k6 Makefile distinfo

net/k6: Update to 2.2.0

ChangeLog:
https://github.com/grafana/k6/releases/tag/v2.2.0
DeltaFile
+5-5net/k6/distinfo
+2-3net/k6/Makefile
+7-82 files

LLVM/project 09647c7clang/include/clang/AST ASTContext.h, llvm/include/llvm/ADT ImmutableSet.h FoldingSet.h

[ADT] Rename FoldingSet's RemoveNode and ComputeHash. NFC (#219864)

Rename `RemoveNode` to erase, matching the public name it implements,
and ComputeHash to computeHash, matching computeStableHash beside it.
DeltaFile
+6-6llvm/include/llvm/ADT/FoldingSet.h
+3-3clang/include/clang/AST/ASTContext.h
+1-1llvm/unittests/ADT/FoldingSet.cpp
+1-1llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
+1-1llvm/lib/Support/FoldingSet.cpp
+1-1llvm/include/llvm/ADT/ImmutableSet.h
+13-136 files not shown
+19-1912 files

FreeBSD/ports acf43d8net/samba424 Makefile

net/samba424: fix mampage plist

vfs fruit and glusterfs had bad plist entries. This fix this.

Reported by:    Paul <paul604 at protonmail.ch>
Approved by:    samba (kiwi)
Sponsored by:   Klara, Inc.
DeltaFile
+3-3net/samba424/Makefile
+3-31 files

LLVM/project 3f239e5llvm/include/llvm/CodeGen TargetRegisterInfo.h, llvm/lib/CodeGen TargetRegisterInfo.cpp AllocationOrder.cpp

Merge branch 'users/mssefat/anti-hints-pr3-amdgpu-apply' into users/mssefat/anti-hints-pr4-amdgpu-pre-ra
DeltaFile
+26-18llvm/lib/CodeGen/AllocationOrder.h
+18-13llvm/lib/CodeGen/AllocationOrder.cpp
+10-15llvm/lib/CodeGen/TargetRegisterInfo.cpp
+12-13llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+9-12llvm/unittests/CodeGen/AllocationOrderTest.cpp
+6-7llvm/include/llvm/CodeGen/TargetRegisterInfo.h
+81-781 files not shown
+83-807 files