FreeBSD/ports 95e8580devel/esbuild Makefile

devel/esbuild: Add note for future updates

esbuild is tied to a source package used for chromium & iridium,
let chromium@ know as a courtesy to avoid breakage.

Reported by:    des
Sponsored by:   SkunkWerks, GmbH
DeltaFile
+1-1devel/esbuild/Makefile
+1-11 files

FreeBSD/ports c75af2fdevel/wasi-compiler-rt22 Makefile, devel/wasi-libcxx22 Makefile

devel/wasi-{compiler-rt,libcxx}22: sync to 22.1.5
DeltaFile
+1-1devel/wasi-compiler-rt22/Makefile
+1-1devel/wasi-libcxx22/Makefile
+2-22 files

LLVM/project 2b06414llvm/lib/Target/MSP430 MSP430ISelLowering.cpp, llvm/test/CodeGen/MSP430 cmp-imm-high-bit.ll

[MSP430] Compute c+1 at the operand bit width in EmitCMP (#195892)

EmitCMP folds `c CMP rhs` into `rhs CMP' c+1` for four condition codes.
The `c+1` must wrap modulo the i16 operand width, but the current code
does `DAG.getConstant(C->getSExtValue() + 1, dl, MVT::i16)`:
sign-extending to `int64_t`, adding there, then handing the result to
the unsigned
`getConstant(uint64_t, ..., MVT::i16)` overload. 

For constants with bit 15 set the negative `int64_t` is reinterpreted as
a huge `uint64_t`, which
trips the `isUIntN(16, val)` assertion in the APInt constructor under
`LLVM_ENABLE_ASSERTIONS` and yields an APInt with non-zero bits past its
declared width otherwise.

Switching to `DAG.getSignedConstant(C->getSExtValue() + 1, ...)` routes
through the signed `APInt` constructor, which checks `isIntN(16, val)`
and accepts the negative `c+1` produced when the high bit is set. The
four EmitCMP fold branches (SETUGE, SETULT, SETGE, SETLT) are updated
identically.
DeltaFile
+200-0llvm/test/CodeGen/MSP430/cmp-imm-high-bit.ll
+8-4llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
+208-42 files

LLVM/project 5c13976llvm/test/CodeGen/X86 vector-reduce-smin.ll vector-reduce-smax.ll, llvm/test/tools/llvm-mca/AArch64/Cortex C1Premium-sve-instructions.s C1Premium-writeback.s

address review comments, and add new test

Created using spr 1.3.5
DeltaFile
+6,873-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-sve-instructions.s
+2,928-1,388llvm/test/CodeGen/X86/vector-reduce-smin.ll
+2,924-1,389llvm/test/CodeGen/X86/vector-reduce-smax.ll
+3,979-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-writeback.s
+2,677-1,279llvm/test/CodeGen/X86/vector-reduce-umax.ll
+2,628-1,271llvm/test/CodeGen/X86/vector-reduce-umin.ll
+22,009-5,3272,394 files not shown
+103,251-36,1912,400 files

LLVM/project 04cacc9llvm/test/CodeGen/X86 vector-reduce-smin.ll vector-reduce-smax.ll, llvm/test/tools/llvm-mca/AArch64/Cortex C1Premium-sve-instructions.s C1Premium-writeback.s

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+6,873-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-sve-instructions.s
+2,928-1,388llvm/test/CodeGen/X86/vector-reduce-smin.ll
+2,924-1,389llvm/test/CodeGen/X86/vector-reduce-smax.ll
+3,979-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-writeback.s
+2,677-1,279llvm/test/CodeGen/X86/vector-reduce-umax.ll
+2,628-1,271llvm/test/CodeGen/X86/vector-reduce-umin.ll
+22,009-5,3272,388 files not shown
+103,222-36,1622,394 files

LLVM/project 7ec6f17llvm/test/Analysis/CostModel/AMDGPU insertelement.ll div.ll, llvm/test/CodeGen/AMDGPU i8-extract-cost-comparison.ll extract-i8-codegen.ll

[AMDGPU] Cost of i8 vector insert/extract is free in some cases (#194991)

Reduce the cost of i8 vector insert and extract elements to avoid
scalarization in VectorCombine.

It is impossible to know during VectorCombine if an extract element will
require additional instructions or be free. There is a lot of additional context
needed to make that assessment. For example, what instructions are using
the extract elements or what other extract element index values occur. This
patch chooses some cases that likely do not require instructions, which
reduces the overall cost and avoids scalarization. Because of this chance, there
are SLP vectorization opportunities that are missed. In general, those missed
SLP vectorization cases require scalarization during code generation, and the
compiler ends up generating the same code with and without SLP vectorization.
DeltaFile
+422-0llvm/test/CodeGen/AMDGPU/i8-extract-cost-comparison.ll
+253-0llvm/test/Transforms/VectorCombine/AMDGPU/no-scalarize-vector-extract.ll
+94-94llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
+150-0llvm/test/CodeGen/AMDGPU/extract-i8-codegen.ll
+42-42llvm/test/Analysis/CostModel/AMDGPU/div.ll
+42-42llvm/test/Analysis/CostModel/AMDGPU/rem.ll
+1,003-1785 files not shown
+1,113-21611 files

FreeBSD/src 48862dclibexec/nuageinit/tests nuageinit.sh

nuageninit: modify the test to show the issue fixed inc316ec259011

Ensure the script used is invalid when parsed by libyaml which
highlight the issue revealed in PR295062

while at here validate the mode of the file is properly changed

PR:             295062
MFC After:      1 day

(cherry picked from commit 2a86992ab5019b4997ccadf7427011ba44e33c97)
DeltaFile
+5-3libexec/nuageinit/tests/nuageinit.sh
+5-31 files

FreeBSD/src e7913c8libexec/nuageinit nuageinit

nuageinit: only parse user_data as yaml when necessary

This fixes a regression introduced in cae280931c9e which prevents
user_data as a shell script to be used

PR:             295062
Reported by:    Ross McKelvie <ross at exitzero.uk>
MFC After:      1 day

(cherry picked from commit c316ec259011e9e22e40eaa72d834f3bfac95c28)
DeltaFile
+1-1libexec/nuageinit/nuageinit
+1-11 files

FreeBSD/src 4211f28libexec/nuageinit nuageinit

nuageinit: only parse user_data as yaml when necessary

This fixes a regression introduced in cae280931c9e which prevents
user_data as a shell script to be used

PR:             295062
Reported by:    Ross McKelvie <ross at exitzero.uk>
MFC After:      1 day

(cherry picked from commit c316ec259011e9e22e40eaa72d834f3bfac95c28)
DeltaFile
+1-1libexec/nuageinit/nuageinit
+1-11 files

FreeBSD/src da3414alibexec/nuageinit/tests nuageinit.sh

nuageninit: modify the test to show the issue fixed inc316ec259011

Ensure the script used is invalid when parsed by libyaml which
highlight the issue revealed in PR295062

while at here validate the mode of the file is properly changed

PR:             295062
MFC After:      1 day

(cherry picked from commit 2a86992ab5019b4997ccadf7427011ba44e33c97)
DeltaFile
+5-3libexec/nuageinit/tests/nuageinit.sh
+5-31 files

FreeBSD/src ee2fc97share/man/man4 nlsysevent.4 Makefile

nlsysevent: add manpage

Reviewed by:    des

(cherry picked from commit 72d701eb1d83cfb3479e4c839412325ff9efc97c)
DeltaFile
+132-0share/man/man4/nlsysevent.4
+1-0share/man/man4/Makefile
+133-02 files

LLVM/project 6ad1db6llvm/runtimes CMakeLists.txt

[cmake] Forward MacOS sysroot to runtimes when not crosscompiling (#182501)

The LLVM build documentation says that setting CMAKE_OSX_SYSROOT should
be sufficient to correctly configure the sysroot, however this flag was
not forwarded to the build of runtimes: leading to failures in flang-rt
tests. https://llvm.org/docs/CMake.html#apple-osx

It is not safe to forward this flag in general because the runtime might
be cross-compiled. In this case I have tried to do this only for native
builds. My intention here is not to make the build more complex than
currently documented.
DeltaFile
+4-0llvm/runtimes/CMakeLists.txt
+4-01 files

LLVM/project f4c18a4llvm/utils/Reviewing find_interesting_reviews.py

[Utils] Delete find_interesting_reviews.py script (#196347)

This was phabricator specific which has not been around for a while now.
DeltaFile
+0-775llvm/utils/Reviewing/find_interesting_reviews.py
+0-7751 files

FreeNAS/freenas 509ec07tests/api2 test_300_nfs.py, tests/protocols pynfs_proto.py

Fix
DeltaFile
+757-0tests/protocols/pynfs_proto.py
+358-137tests/sharing_protocols/nfs/test_nfs_dacl_readdir.py
+90-52tests/sharing_protocols/nfs/test_nfs_xattr.py
+83-25tests/sharing_protocols/nfs/test_nfs_acl.py
+89-0tests/sharing_protocols/nfs/conftest.py
+52-34tests/api2/test_300_nfs.py
+1,429-2483 files not shown
+1,489-3589 files

LLVM/project 029d9fallvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64InstrInfo.td, llvm/test/MC/AArch64 armv8.7a-ls64.s

[AArch64][llvm] Add missing form for `LD64B`/`ST64B` instructions (#196301)

`LD64B` and `ST64B` are defined as follows[1]:
```
  LD64B <Xt>, [<Xn|SP> {,#0}]
```

but they're missing the form that allows a zero immediate offset,
for example:
```
  ld64b x2, [x13, #0]
  st64b x16, [x13, #0]
```

Add support for zero immediate offsets for these instructions.

[1] https://developer.arm.com/documentation/ddi0602/2022-09/Base-Instructions/LD64B--Single-copy-Atomic-64-byte-Load-
DeltaFile
+14-4llvm/test/MC/AArch64/armv8.7a-ls64.s
+10-0llvm/lib/Target/AArch64/AArch64InstrFormats.td
+4-6llvm/lib/Target/AArch64/AArch64InstrInfo.td
+28-103 files

LLVM/project 555aa19llvm/lib/TargetParser TargetDataLayout.cpp

[TargetDataLayout] Remove unused header. NFC (#196331)

This was added by #190806 but it isn't used.
DeltaFile
+0-1llvm/lib/TargetParser/TargetDataLayout.cpp
+0-11 files

LLVM/project 3a4063dllvm/utils/lit/lit TestRunner.py

Revert "[Lit] Open sub-processes with text=`False`" (#196329)

Reverts llvm/llvm-project#194577 due to breaking tests on z/OS
DeltaFile
+2-1llvm/utils/lit/lit/TestRunner.py
+2-11 files

LLVM/project d9872eallvm/include/llvm/Analysis CaptureTracking.h AliasAnalysis.h, llvm/lib/Analysis CaptureTracking.cpp BasicAliasAnalysis.cpp

[CaptureTracking] Compute results with and without return capture (#195857)

Currently PointerMayBeCaptured/FindEarliestEscape accept a
ReturnCaptures argument to determine whether returning the pointer
should be considered a capture. If you want to do a capture check for
both cases, you have to invoke the capture tracking API twice.

This PR instead changes the low level APIs to return a pair of capture
components, one where returns are considered non-capturing, and one
where they are considered capturing.

This is for use by https://github.com/llvm/llvm-project/pull/193939,
where AA wants both our usual captures-before (ignoring returns)
reasoning, and captures-anywhere (including returns). This will allow us
to do this in one (cached) query.
DeltaFile
+37-36llvm/lib/Analysis/CaptureTracking.cpp
+29-31llvm/lib/Analysis/BasicAliasAnalysis.cpp
+13-6llvm/include/llvm/Analysis/CaptureTracking.h
+8-6llvm/include/llvm/Analysis/AliasAnalysis.h
+6-6llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
+2-2llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+95-876 files

LLVM/project f320a0dllvm/utils/lit/lit InprocBuiltins.py ShellEnvironment.py, llvm/utils/lit/tests shtest-glob.py

Revert "[Lit] Change processRedirects to open all files in binary mode" (#196328)

Reverts llvm/llvm-project#194368 due to breaking tests on z/OS
DeltaFile
+13-13llvm/utils/lit/lit/InprocBuiltins.py
+8-9llvm/utils/lit/lit/ShellEnvironment.py
+3-3llvm/utils/lit/lit/TestRunner.py
+1-1llvm/utils/lit/tests/shtest-glob.py
+25-264 files

NetBSD/pkgsrc-wip 14619d3bob distinfo cargo-depends.mk

bob: Update to 0.99.4.

* Support new `summary` section in the config file to configure restricted
  package inclusion, `FILE_CKSUM` entries, and compression types for the
  `pkg_summary` file.

* Add `always_disk` table for dynamic WRKOBJDIR to force certain packages to
  always build on disk.  Useful for packages such as ansible that can use well
  over 1GB of temporary space that is not reflected by the WRKDIR usage stats.

* Improve `bob rebuild` package matching logic and error messages.

* Improve `bob status` to use actual values if available rather than predicted
  allocations, add a disk usage column, and a new `--sort` option.

* Ensure `bob publish -pe` sends the report email before starting the package
  sync.

* Improve shutdown handling and avoid the potential for packages to be marked

    [5 lines not shown]
DeltaFile
+30-30bob/distinfo
+9-9bob/cargo-depends.mk
+1-1bob/Makefile
+40-403 files

LLVM/project bb87d65llvm/lib/Target/AMDGPU SIInstrInfo.cpp AMDGPU.td

[AMDGPU] Add MovB64 subtarget feature
DeltaFile
+4-4llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+6-0llvm/lib/Target/AMDGPU/AMDGPU.td
+1-1llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+0-2llvm/lib/Target/AMDGPU/GCNSubtarget.h
+11-74 files

OpenBSD/ports NRPmvRFsysutils/consul distinfo Makefile

   Update to consul-1.22.7.
VersionDeltaFile
1.107+2-2sysutils/consul/distinfo
1.131+1-1sysutils/consul/Makefile
+3-32 files

LLVM/project 8ed8c3ellvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/InstSimplify ctpop-pow2.ll

[Analysis] use forward DFS in `isEphemeralValueOf`
DeltaFile
+22-23llvm/lib/Analysis/ValueTracking.cpp
+4-1llvm/test/Transforms/InstSimplify/ctpop-pow2.ll
+26-242 files

LLVM/project 0a3d376llvm/include/llvm/Transforms/IPO Instrumentor.h InstrumentorUtils.h, llvm/lib/Transforms/IPO Instrumentor.cpp

[llvm][Instrumentor] Fix memory leaks (#196317)

Should fix memory leaks introduced in #138958
DeltaFile
+11-12llvm/include/llvm/Transforms/IPO/Instrumentor.h
+12-8llvm/lib/Transforms/IPO/Instrumentor.cpp
+6-0llvm/include/llvm/Transforms/IPO/InstrumentorUtils.h
+29-203 files

OpenBSD/src 3YkrGnksys/netinet ipsec_input.c

   In ipsec_common_input_cb() ensure that the packet size does not overflow
   the maximum packet size before writing the value back to the IP header.
   IPv4 and IPv6 have slightly different rules and so do it per AF.

   OK millert@
VersionDeltaFile
1.223+9-1sys/netinet/ipsec_input.c
+9-11 files

OPNSense/core f648476src/opnsense/scripts/firmware connection.sh

firmware: partially rewritten
DeltaFile
+1-1src/opnsense/scripts/firmware/connection.sh
+1-11 files

OPNSense/core bfad19asrc/opnsense/scripts/wireguard wg-service-control.php

wireguard: use getValues() consistently in control script #10094

(cherry picked from commit 7c8bda9a0e7cdcc98909f2e272a7d08a466ba3cf)
(cherry picked from commit 732e0ddea190fc9fa933d956f4c2516acb4bcb77)
DeltaFile
+4-5src/opnsense/scripts/wireguard/wg-service-control.php
+4-51 files

OPNSense/core d432a4fsrc/opnsense/www/js opnsense_ui.js

ui: SimpleFileUploadDlg - add support for binary file uploads ( `SimpleFileUploadDlg({binary: true,...`), when set, files will be offered base64 encoded.

(cherry picked from commit 72a8f6b6f17c3bbf8967d39e6e63e4cc0ef480d7)
DeltaFile
+30-6src/opnsense/www/js/opnsense_ui.js
+30-61 files

OPNSense/core 732e0ddsrc/opnsense/scripts/wireguard wg-service-control.php

Revert "wireguard: sprint clean related to #10094"

This reverts commit 7c8bda9a0e7cdcc98909f2e272a7d08a466ba3cf.

This didn't add any value.  But keep the explode->getValues transformation.
DeltaFile
+14-16src/opnsense/scripts/wireguard/wg-service-control.php
+14-161 files

LLVM/project 655b7a4

[lldb] Include `<cstring>` for `memset` (#196335)

Fixes the failure on `lldb-aarch64-ubuntu`
(https://lab.llvm.org/buildbot/#/builders/59/builds/34161) after
#195514.
DeltaFile
+0-00 files