FreeBSD/ports 3755519 — devel/radare2 Makefile distinfo

devel/radare2: Update version 6.2.4=>6.2.6

Changelog: https://github.com/radareorg/radare2/releases/tag/6.2.6
(cherry picked from commit 4ce2778a116dd7a963c1257f552db0b408becfbf)
DeltaFile
+11-2devel/radare2/pkg-plist
+3-3devel/radare2/distinfo
+1-1devel/radare2/Makefile
+15-63 files

FreeBSD/ports 0c3eaf7 — devel/radare2 pkg-plist Makefile

devel/radare2: Update version 6.2.2=>6.2.4

Changelog: https://github.com/radareorg/radare2/releases/tag/6.2.4
(cherry picked from commit 1b12c4306019442c235f2479c5082b1f34e58c9c)
DeltaFile
+7-7devel/radare2/distinfo
+3-3devel/radare2/Makefile
+3-1devel/radare2/pkg-plist
+13-113 files

FreeBSD/src afeeac4 — sys/powerpc/aim mmu_radix.c

powerpc/pmap: Use dcbz to zero pages in the radix pmap

pagezero() was a plain store loop (bzero), which under the kernel build
flags (-mno-vsx -msoft-float) compiles to byte stores.  dcbz
establishes a zeroed cache line directly in the cache without a
read-for-ownership fetch from memory, roughly halving the memory
transactions of page zeroing.

Measured on POWER9 (Raptor Blackbird, DD2.3, bare metal), zeroing a
cold 256 MB buffer with 128-byte scalar loops:

  byte stores (current libkern memset)     8.6 GB/s
  doubleword (std) stores                  26.8 GB/s
  dcbz                                     34.6 GB/s

dcbz raises an alignment interrupt on caching-inhibited mappings, and
the kernel does not emulate it, so mmu_radix_zero_page() falls back to
bzero() for any page whose memattr is not the write-back default.  The
internal pagezero() callers only touch freshly allocated page-table

    [11 lines not shown]
DeltaFile
+16-3sys/powerpc/aim/mmu_radix.c
+16-31 files

LLVM/project 2dbd582 — flang/include/flang/Optimizer/Builder Character.h, flang/lib/Optimizer/Builder Character.cpp

[flang] Address review comments on chained concatenation fusion

Let concatenation fusion cross operations that only allocate, like the
hlfir.declare of a character literal operand, so that chains ending with a
literal are fused into one buffer. Only operations that may write or free
memory, or whose effects are unknown, now prevent the fusion.

Remove CharacterExprHelper::createConcatenate, which no longer has users.

Add bufferization tests for concatenations whose operands all have a
compile-time length, and for character kind 4.
DeltaFile
+68-0flang/test/HLFIR/concat-bufferization.fir
+27-0flang/test/HLFIR/character-expression-lifetimes.fir
+0-25flang/lib/Optimizer/Builder/Character.cpp
+4-2flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
+0-4flang/include/flang/Optimizer/Builder/Character.h
+99-315 files

LLVM/project bb3fe9a — flang/lib/Optimizer/HLFIR/IR HLFIROps.cpp, flang/lib/Optimizer/HLFIR/Transforms BufferizeHLFIR.cpp

[flang] Fuse chained character concatenations into one buffer

Lowering creates one binary hlfir.concat per // operator, so a // b // c
was evaluated into an intermediate buffer that was then copied into the
result buffer. Add a canonicalization that folds a single-use hlfir.concat
into its user when no operation in between may modify or release its
operands, and bufferize hlfir.concat with any number of operands. The
buffer is now sized with the hlfir.concat length operand, which can be
computed outside of elemental loops, instead of the sum of the operand
lengths computed in the loop body.
DeltaFile
+57-60flang/test/HLFIR/concat-bufferization.fir
+59-0flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
+51-0flang/test/HLFIR/character-expression-lifetimes.fir
+22-15flang/test/HLFIR/associate-codegen.fir
+23-14flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
+10-10flang/test/Transforms/character-expression-storage.f90
+222-996 files not shown
+243-10512 files

LLVM/project 93ddc20 — flang/lib/Lower ConvertExprToHLFIR.cpp, flang/lib/Optimizer/Builder HLFIRTools.cpp

[flang] Track character temporary lifetimes for safe stack placement

Dynamic character expression buffers could grow the stack on every
iteration of an unstructured loop because their lifetimes were hidden
from allocation placement. Emit hlfir.destroy for them, add an explicit
cleanup region to hlfir.yield_element, and preserve both through array
constructor lowering, elemental inlining, WHERE lowering and
bufferization, which now allocates these buffers with fir.allocmem.
When such an allocation cannot be hoisted out of the loop, reclaim its
stack space with one stacksave/stackrestore pair per block. Allocation
placement then keeps these temporaries on the stack in every mode,
including offload regions (except under -fdynamic-heap-array).
DeltaFile
+136-102flang/lib/Lower/ConvertExprToHLFIR.cpp
+142-0flang/test/Transforms/character-expression-storage.f90
+132-0flang/test/HLFIR/inline-elemental-cleanup-cfg.fir
+83-31flang/lib/Optimizer/Builder/HLFIRTools.cpp
+105-0flang/test/Transforms/stack-arrays-block-lifetime.fir
+86-0flang/test/Transforms/character-temporary-placement.fir
+684-13353 files not shown
+1,588-46959 files

LLVM/project cafc979 — flang/lib/Optimizer/HLFIR/IR HLFIROps.cpp, flang/lib/Optimizer/Transforms StackArrays.cpp

[flang] Address review comments on character temporary lifetimes

- stack-arrays: accept blocks with properly nested stacksave/stackrestore
  pairs, such as the ones around calls with a runtime-length result, as
  long as the allocations made inside a pair are freed before its end.
  These allocations then reuse that pair.
  Document that the block scope makes the peak stack the sum of the
  promoted allocations.
- Only create a cleanup region from the current statement context scope,
  so that array constructors do not get empty cleanup regions that block
  elemental inlining.
- Always allocate kind conversion buffers on the heap and let allocation
  placement move them to the stack, so that constant-length ones are
  hoisted out of loops.
- Canonicalize away the hlfir.concat, hlfir.char_trim, hlfir.set_length
  and hlfir.char_extremum results whose only uses are hlfir.destroy, such
  as the SET_LENGTH bypassed by structure constructor lowering.
- Do not let hlfir.associate take over the storage of an hlfir.no_reassoc
  operand that has other uses.
- Use %flang_fc1 in the new Fortran tests.
DeltaFile
+105-0flang/test/Transforms/stack-arrays-block-lifetime.fir
+63-21flang/lib/Optimizer/Transforms/StackArrays.cpp
+63-0flang/test/HLFIR/destroy-canonicalize.fir
+32-1flang/test/Lower/HLFIR/character-expression-cleanup.f90
+25-0flang/test/HLFIR/associate-codegen.fir
+23-0flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
+311-2211 files not shown
+362-4917 files

OpenBSD/src uv50ouu — regress/usr.bin/ssh addrmatch.sh

   Query addressfamily for inet6 before running IPv6 tests.
VersionDeltaFile
1.9+8-2regress/usr.bin/ssh/addrmatch.sh
+8-21 files

pkgng/pkgng 9bdef83 — . NEWS configure.def, libpkg pkg.h.in

build: take the OS major from the target headers

OSMAJOR is the compiler builtin __FreeBSD__, which describes the compiler
target: with a cross compiler, such as the native-xtools toolchain of a
poudriere jail, it holds the version of the host instead of the version of
the system pkg is built for. The comparison with the ABI of the running
userland then fails and pkg warns about a major OS upgrade on every call,
and the default INDEX file name is wrong as well.

Query the version from the target headers at configure time and inject it
as a literal, the value is also stringified to build the INDEX file name.

Fixes:  #1695
DeltaFile
+25-0configure.def
+2-2libpkg/pkg.h.in
+4-0NEWS
+31-23 files

LLVM/project 75111f3 — llvm/lib/Target/AArch64 AArch64ISelDAGToDAG.cpp, llvm/test/CodeGen/AArch64 multi-vector-load-size.ll extbinopload.ll

[AArch64] Transfer memoperands in Select(Post)LoadLane. (#242391)

This avoids assuming that structure lane loads may have an ordered
memory reference.
DeltaFile
+208-210llvm/test/CodeGen/AArch64/extbinopload.ll
+4-4llvm/test/CodeGen/AArch64/multi-vector-load-size.ll
+8-0llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
+220-2143 files

FreeBSD/ports 547717a — net/mvfst pkg-plist

net/mvfst: Fix plist

Approved by:    portmgr (fixit blanket)
DeltaFile
+2-0net/mvfst/pkg-plist
+2-01 files

LLVM/project 8445b52 — clang-tools-extra/clang-tidy/bugprone ArgumentCommentCheck.cpp, clang-tools-extra/docs/clang-tidy/checks/bugprone argument-comment.md

[clang-tidy] Make bugprone-argument-comment useful for C code (#237623)

systemd wants a /*name=*/ comment on every argument that is passed as a
bare
NULL, 0, true or false, and proposes a libclang script to check it
(https://github.com/systemd/systemd/pull/43725).
bugprone-argument-comment
can't do this for C code. It skips literals that come from a macro, and
C
spells NULL, and true and false before C23, with macros. It also skips
calls
in macro arguments such as assert_se(f(NULL)).

Let's add an IgnoreMacros option. When it's false, the check also adds
missing
comments to calls in macro arguments. CommentNullPtrs and
CommentBoolLiterals
now match the macros in the new NullPtrMacros and BoolLiteralMacros
options,

    [18 lines not shown]
DeltaFile
+72-11clang-tools-extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp
+72-0clang-tools-extra/test/clang-tidy/checkers/bugprone/argument-comment-macros.cpp
+64-0clang-tools-extra/test/clang-tidy/checkers/bugprone/argument-comment-c.c
+46-0clang-tools-extra/test/clang-tidy/checkers/bugprone/argument-comment-macro-names.c
+28-4clang-tools-extra/docs/clang-tidy/checks/bugprone/argument-comment.md
+18-0clang-tools-extra/test/clang-tidy/checkers/bugprone/argument-comment-gnu98.cpp
+300-152 files not shown
+307-188 files

LLVM/project 75a0b01 — mlir/lib/Conversion/ComplexToStandard ComplexToStandard.cpp, mlir/test/Conversion/ComplexToStandard convert-to-standard.mlir

[mlir][ComplexToStandard] Preserve sign of zero im part in exp lowering (#242359)

The current logic sets `isYZero` to true when `y == +0` or `y == -0`,
and then sets the imaginary part to `+0`, discarding the initial sign.
This PR fixes this by instead setting the im part to y when `isYZero` is
true.
DeltaFile
+13-3mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
+4-4mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
+2-2mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
+19-93 files

LLVM/project 76ccb80 — llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/lib/Target/SystemZ SystemZISelLowering.cpp

[AArch64][SystemZ] Don't crash on inline asm non-simple reg ops (#242225)

An aggregate operand whose size is not 1, 8, 16, 32, 64 or 128 bits has
ConstraintVT == MVT::Other. getRegForInlineAsmConstraint called
getSizeInBits() on it for the 'r' and 'x' constraints on AArch64 and the
'r', 'd', 'f' and 'v' constraints on SystemZ, hitting llvm_unreachable.

Return no register class for MVT::Other so the usual "cannot handle
indirect register inputs" / "could not allocate output register"
diagnostics are reported instead.

This is in line with already existing checks, e.g. on AArch64 for other
asm constraints (`w`).

Fixes #239086
Assisted-by: IBM Bob
DeltaFile
+55-0llvm/test/CodeGen/SystemZ/inline-asm-indirect-aggregate-reg.ll
+43-0llvm/test/CodeGen/AArch64/inline-asm-indirect-aggregate-reg.ll
+8-0llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+6-0llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+112-04 files

FreeBSD/src 870e5b8 — sys/powerpc/aim mmu_radix.c

powerpc/pmap: Use dcbz to zero pages in the radix pmap

pagezero() was a plain store loop (bzero), which under the kernel build
flags (-mno-vsx -msoft-float) compiles to byte stores.  dcbz
establishes a zeroed cache line directly in the cache without a
read-for-ownership fetch from memory, roughly halving the memory
transactions of page zeroing.

Measured on POWER9 (Raptor Blackbird, DD2.3, bare metal), zeroing a
cold 256 MB buffer with 128-byte scalar loops:

  byte stores (current libkern memset)     8.6 GB/s
  doubleword (std) stores                  26.8 GB/s
  dcbz                                     34.6 GB/s

dcbz raises an alignment interrupt on caching-inhibited mappings, and
the kernel does not emulate it, so mmu_radix_zero_page() falls back to
bzero() for any page whose memattr is not the write-back default.  The
internal pagezero() callers only touch freshly allocated page-table

    [11 lines not shown]
DeltaFile
+16-3sys/powerpc/aim/mmu_radix.c
+16-31 files

FreeBSD/ports 1453670 — mail/rubygem-aws-actionmailer-ses-gitlab Makefile

mail/rubygem-aws-actionmailer-ses-gitlab: fixed license
DeltaFile
+1-1mail/rubygem-aws-actionmailer-ses-gitlab/Makefile
+1-11 files

FreeBSD/ports c3778ea — audio/TonieToolbox Makefile

audio/TonieToolbox: fixed license
DeltaFile
+1-1audio/TonieToolbox/Makefile
+1-11 files

FreeBSD/ports 4331f25 — devel/rubygem-zstd-ruby-gitlab Makefile

devel/rubygem-zstd-ruby-gitlab: fixed license
DeltaFile
+1-1devel/rubygem-zstd-ruby-gitlab/Makefile
+1-11 files

FreeBSD/ports 682f092 — devel/rubygem-sorted_set Makefile

devel/rubygem-sorted_set: fixed license
DeltaFile
+1-1devel/rubygem-sorted_set/Makefile
+1-11 files

FreeBSD/ports a1225ee — mail/imapgoose distinfo Makefile, mail/imapgoose/files extra-patch-i386-internal_watcher_backend__bsd.go

mail/imapgoose: Fix build on i386

While here, adopt the new USE_FORGEJO helper to simplify the Makefile.

PR:             300811
Approved by:    osa, vvd (mentors, implicit)
DeltaFile
+38-0mail/imapgoose/files/extra-patch-i386-internal_watcher_backend__bsd.go
+8-13mail/imapgoose/Makefile
+3-3mail/imapgoose/distinfo
+49-163 files

LLVM/project 038bad3 — llvm/include/llvm/CodeGen TargetSubtargetInfo.h, llvm/lib/CodeGen CodeGenOptions.td CodeGenPrepare.cpp

[CGP] Drop support for non-gep address sinking (#242387)

We had two address sinking implementations, one using geps and the other
using ptrtoint + add + inttoptr. There was a TTI hook to control this,
but due to the way the check was performed, the gep mode was effectively
always enabled.

There is no good reason to ever use the non-gep sinking logic (which
does not preserve provenance information) and the code is effectively
dead right now, so delete it entirely.
DeltaFile
+1-97llvm/lib/CodeGen/CodeGenPrepare.cpp
+0-26llvm/test/Transforms/CodeGenPrepare/X86/baseoffs-sext-bug.ll
+0-6llvm/lib/Target/AArch64/AArch64Subtarget.h
+0-6llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
+0-2llvm/lib/CodeGen/CodeGenOptions.td
+0-1llvm/test/Transforms/CodeGenPrepare/X86/nonintegral.ll
+1-1386 files

LLVM/project 7e331d9 — llvm/lib/Transforms/Scalar JumpTableToSwitch.cpp, llvm/test/Transforms/JumpTableToSwitch callee-type-mismatch.ll gep-flags.ll

[JumpTableToSwitch] Use ConstGlobalIterator to read jump table entries

Replace JTTS's own jump table parsing with the `ConstGlobalIterator` helper,
which is also used by instcombine's `foldCmpLoadFromIndexedGlobal`.

As a result JTTS now also handles GEPs without nusw/nuw flags, by masking the
index the same way instcombine does.

Note that the helper requires the indices to be in canonical index type, so
JTTS only works with canonical index types now. This is not a problem in
practice as JTTS only runs after instcombine.
DeltaFile
+51-51llvm/test/Transforms/JumpTableToSwitch/basic.ll
+38-39llvm/test/Transforms/JumpTableToSwitch/skip.ll
+21-42llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
+14-14llvm/test/Transforms/JumpTableToSwitch/profile-no-guid-metadata.ll
+16-2llvm/test/Transforms/JumpTableToSwitch/gep-flags.ll
+8-8llvm/test/Transforms/JumpTableToSwitch/callee-type-mismatch.ll
+148-1565 files not shown
+171-17911 files

LLVM/project d5c981b — clang/lib/Headers riscv_packed_simd.h, clang/test/CodeGen/RISCV rvp-intrinsics.c

[RISCV][P-ext] Add scalar comparison intrinsics (#239245)

Add the scalar Comparison intrinsics from the P-extension intrinsic spec:
https://github.com/riscv/riscv-p-spec/blob/master/P-ext-intrinsics.adoc#comparison

- `__riscv_mseq_i32_u32` / `__riscv_mseq_u32_u32`
- `__riscv_mslt_u32` / `__riscv_msgt_u32`
- `__riscv_msltu_u32` / `__riscv_msgtu_u32`
- `__riscv_msne_i32_u32` / `__riscv_msne_u32_u32`
- `__riscv_msge_u32` / `__riscv_msle_u32`
- `__riscv_msgeu_u32` / `__riscv_msleu_u32`
DeltaFile
+206-0clang/test/CodeGen/RISCV/rvp-intrinsics.c
+190-0llvm/test/CodeGen/RISCV/rvp-scalar.ll
+97-0cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c
+61-0clang/lib/Headers/riscv_packed_simd.h
+36-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+34-0llvm/test/CodeGen/RISCV/rvp-scalar-rv64.ll
+624-04 files not shown
+659-010 files

pkgng/pkgng 7a6cf2b — docs pkg-upgrade.8

pkg-upgrade.8: document the downgrade of --force

Every installed package is upgraded to the version offered by the
repositories when -f is given, including when that version is older than
the installed one.
DeltaFile
+6-1docs/pkg-upgrade.8
+6-11 files

LLVM/project 58a97ec — llvm/include/llvm/Analysis Loads.h, llvm/lib/Analysis Loads.cpp

[InstCombine] Make a helper for iterating globals elements
DeltaFile
+13-72llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+79-0llvm/lib/Analysis/Loads.cpp
+36-0llvm/include/llvm/Analysis/Loads.h
+128-723 files

FreeBSD/ports 3c6c14a — sysutils Makefile

sysutils/Makefile: Fix port name

Typo when commiting.

Fixes:  3862a72b6e8b ("sysutils/u-boot-cm3588-nas: new port")
DeltaFile
+1-1sysutils/Makefile
+1-11 files

LLVM/project aaeed7b — utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes 8345985 (#242984)

This fixes 8345985565b9c9eb8bc9199eac2242dc5af1acbc (#204311).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=8345985565b9c9eb8bc9199eac2242dc5af1acbc

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+5-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+5-01 files

FreeBSD/src 7d43e93 — sys/kern sched_ule.c

sched_ule: Fix two typos in comments introduced in previous commit

Reported by:    kib
Fixes:          538c48bf6247 ("sched_ule: Fix rare deadlock on stealing a migrated lock-blocked thread")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3sys/kern/sched_ule.c
+3-31 files

pkgng/pkgng 433f94f — . NEWS, libpkg pkg_printf.c

pkg_vasprintf: clear the result pointer on failure

fixes: #2783
DeltaFile
+38-36libpkg/pkg_printf.c
+22-0tests/lib/pkg_printf_test.c
+2-0NEWS
+62-363 files

LLVM/project 8345985 — mlir/lib/Dialect/Vector/Transforms VectorDistribute.cpp, mlir/test/Dialect/Vector vector-warp-distribute-cfg-loop.mlir vector-warp-distribute.mlir

[mlir][Vector] Reuse args buffers in WarpOpToScfIfPattern (#204311)

Args buffers are unused after lane 0 reads them inside the scf.if (the
Step 3 barrier fences other lanes), so reuse their storage for yielded
values via `memref.subview` when sizes are compatible. Reduces shared
memory footprint with no runtime overhead.
DeltaFile
+126-6mlir/test/Dialect/Vector/vector-warp-distribute.mlir
+103-6mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
+34-0mlir/test/Dialect/Vector/vector-warp-distribute-cfg-loop.mlir
+263-123 files