LLVM/project 047d479mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

[MLIR][OpenMP] Support cancel taskgroup inside of taskloop

Implementation follows exactly what is done for omp.wsloop and omp.task.
See #137841.

The change to the operation verifier is to allow a taskgroup
cancellation point inside of a taskloop. This was already allowed for
omp.cancel.
DeltaFile
+419-0mlir/test/Target/LLVMIR/openmp-taskloop-cancel.mlir
+280-0mlir/test/Target/LLVMIR/openmp-taskloop-cancellation-point.mlir
+12-20mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+2-1mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+713-214 files

OPNSense/core 024a78dsrc/opnsense/mvc/app/models/OPNsense/Interfaces/ACL ACL.xml

interfaces: update ACL
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/Interfaces/ACL/ACL.xml
+1-11 files

OPNSense/core ea955f4src/opnsense/mvc/app/models/OPNsense/IDS IDS.php

suricata: for two small changes this isn't needed
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/IDS/IDS.php
+1-11 files

OPNSense/core 43eaa70src/opnsense/mvc/app/models/OPNsense/IDS IDS.xml

suricata: uppercase
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/IDS/IDS.xml
+1-11 files

OPNSense/core 8f918f5src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes BaseField.php, src/opnsense/mvc/tests/app/models/OPNsense/Base/FieldTypes TextFieldTest.php

mvc: BaseField: add isSet() and shift tests

Keeps isEmptyAndRequired() plus avoids other code changes for now.
DeltaFile
+18-9src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/BaseField.php
+8-5src/opnsense/mvc/tests/app/models/OPNsense/Base/FieldTypes/TextFieldTest.php
+26-142 files

LLVM/project ee3bc3dlibcxx/include/__charconv traits.h

[libc++][NFC] Simplify the implementation of __mul_overflowed (#174956)

`__builtin_mul_overflow` does the right thing, even for `char` and
`short`, so the overloads for these types can simply be dropped. We can
also merge the remaining two overloads into a single one now, since we
don't do any dispatching for `char` and `short` anymore.
DeltaFile
+3-24libcxx/include/__charconv/traits.h
+3-241 files

LLVM/project e91447flld/ELF AArch64ErrataFix.cpp Relocations.cpp, lld/ELF/Arch AArch64.cpp

Fix lld crash using --fix-cortex-a53-843419 (#170495)

Original crash was observed in Chromium, in [1]. The problem occurs in
elf::isAArch64BTILandingPad because it didn't handle synthetic sections,
which can have a nullptr as a buf, so it crashed while trying to read
that buf.

After fixing that, a second issue occurs: When the patched code grows
too
much, it gets far away from the short jump, and the current
implementation
assumes a R_AARCH64_JUMP26 will be enough.

This PR changes the implementation to:
(a) In isAArch64BTILandingPad, checks if a section is synthetic, and
assumes that it'll NOT contain a landing pad, avoiding the buffer check;
(b) Suppress the size rounding for thunks that preceeds section
(Making the situation less likely to happen);
(c) Reimplements the patch by using a R_AARCH64_ABS64 in case the

    [6 lines not shown]
DeltaFile
+107-0lld/test/ELF/aarch64-cortex-a53-843419-thunk-relocation-crash.s
+26-17lld/ELF/AArch64ErrataFix.cpp
+9-3lld/ELF/Relocations.cpp
+7-4lld/ELF/AArch64ErrataFix.h
+5-0lld/ELF/Arch/AArch64.cpp
+1-1lld/ELF/Relocations.h
+155-256 files

OPNSense/core 1c9a2a1src/opnsense/scripts/suricata setup.sh

suricata: mask "error" on loaded module
DeltaFile
+1-1src/opnsense/scripts/suricata/setup.sh
+1-11 files

LLVM/project a5cab90libcxx/src new.cpp, libcxx/src/include overridable_function.h

[libc++][NFC] Refactor _LIBCPP_OVERRIDABLE_FUNCTION to be a normal attribute macro (#174964)

Currently `_LIBCPP_OVERRIDABLE_FUNCTION` takes the return type, function
name and argument list, but simply constructs the function and adds
attributes without modifying the signature in any way. We can replace
this with a normal attribute macro, making the signature easier to read
and simpler to understand what's actually going on. Since it's an
internal macro we can also drop the `_LIBCPP_` prefix.
DeltaFile
+8-10libcxx/src/include/overridable_function.h
+4-4libcxx/src/new.cpp
+4-4libcxxabi/src/stdlib_new_delete.cpp
+16-183 files

LLVM/project b6bfb19libcxx/include deque, libcxx/include/__vector vector.h

[libc++] Fix {deque,vector}::append_range assuming too much about the types (#162438)

Currently, `deque` and `vector`'s `append_range` is implemented in terms
of `insert_range`. The problem with that is that `insert_range` has more
preconditions, resulting in us rejecting valid code.

This also significantly improves performance for `deque` in some cases.
DeltaFile
+55-0libcxx/test/std/containers/sequences/insert_range_sequence_containers.h
+48-1libcxx/test/benchmarks/containers/sequence/sequence_container_benchmarks.h
+18-23libcxx/include/deque
+16-1libcxx/include/__vector/vector.h
+3-0libcxx/test/std/containers/insert_range_helpers.h
+2-0libcxx/test/std/containers/sequences/deque/deque.modifiers/prepend_range.pass.cpp
+142-256 files not shown
+148-2512 files

LLVM/project 66fa2f9libcxx/test/benchmarks variant.bench.cpp VariantBenchmarks.h

[libc++] Refactor variant benchmarks (#174743)

The variant benchmarks are incredibly slow to compile and run currently.
This is due to them being incredibly exhaustive. This is usually a good
thing, but the exhaustiveness makes it prohibitive to actually run the
benchmarks. Even the new, incredibly reduced, set still requires almost
40 seconds to just compile on my system.
DeltaFile
+55-0libcxx/test/benchmarks/variant.bench.cpp
+0-55libcxx/test/benchmarks/VariantBenchmarks.h
+0-37libcxx/test/benchmarks/variant_visit_1.bench.cpp
+0-32libcxx/test/benchmarks/variant_visit_2.bench.cpp
+0-30libcxx/test/benchmarks/variant_visit_3.bench.cpp
+55-1545 files

LLVM/project 484ee42libcxx/docs VendorDocumentation.rst ABIGuarantees.rst, libcxx/include streambuf istream

[libc++] Introduce the notion of a minimum header version (#166074)

Introducing the notion of a minimum header version has multiple
benefits. It allows us to merge a bunch of ABI macros into a single one.
This makes configuring the library significantly easier, since, for a
stable ABI, you only need to know which version you started distributing
the library with, instead of checking which ABI flags have been
introduced at what point. For platforms which have a moving window of
the minimum version a program has been compiled against, this also makes
it simple to remove symbols from the dylib when they can't be used by
any program anymore.
DeltaFile
+19-19libcxx/include/streambuf
+31-0libcxx/docs/VendorDocumentation.rst
+0-22libcxx/docs/ABIGuarantees.rst
+11-11libcxx/include/istream
+8-8libcxx/include/__ostream/basic_ostream.h
+0-15libcxx/include/__configuration/abi.h
+69-7516 files not shown
+123-10922 files

OPNSense/core f52c58csrc/opnsense/mvc/app/library/OPNsense/OpenVPN ArchiveOpenVPN.php

openvpn: fix archive export

(cherry picked from commit 00687dbeb5489ad2708ef7924c34186a38db2168)
DeltaFile
+1-1src/opnsense/mvc/app/library/OPNsense/OpenVPN/ArchiveOpenVPN.php
+1-11 files

FreeBSD/ports 3b606b6x11-fm/xfe distinfo Makefile

x11-fm/xfe: Update to 2.1.2
DeltaFile
+3-3x11-fm/xfe/distinfo
+1-2x11-fm/xfe/Makefile
+4-52 files

FreeBSD/ports cda4b2fmultimedia/uxplay distinfo Makefile

multimedia/uxplay: Update to 1.72.3
DeltaFile
+3-3multimedia/uxplay/distinfo
+1-1multimedia/uxplay/Makefile
+4-42 files

OPNSense/core 00687dbsrc/opnsense/mvc/app/library/OPNsense/OpenVPN ArchiveOpenVPN.php

openvpn: fix archive export
DeltaFile
+1-1src/opnsense/mvc/app/library/OPNsense/OpenVPN/ArchiveOpenVPN.php
+1-11 files

LLVM/project ddb706bmlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-task-no-context-struct.mlir openmp-taskloop-no-context-struct.mlir

[mlir][OpenMP] Don't allocate task context structure if not needed (#174588)

Don't allocate a task context structure if none of the private variables
needed it. This was already skipped when there were no private variables
at all.
DeltaFile
+48-0mlir/test/Target/LLVMIR/openmp-task-no-context-struct.mlir
+15-31mlir/test/Target/LLVMIR/openmp-taskloop-no-context-struct.mlir
+7-4mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+70-353 files

LLVM/project 6c942d8llvm/lib/Target/AArch64 AArch64InstrInfo.cpp, llvm/test/CodeGen/AArch64 sme-streaming-mode-fpr-copy.ll

[AArch64] Fix using NEON copies in streaming-mode-enable regions. (#174738)

The current checks for if we're allowed to use a NEON copy works based on
the function attributes, which works most of the time. However in one
particular case where a normal function calls a streaming one, there's a
window of time where we enable SM at the call site and the emit a copy for
an outgoing parameter. This copy was lowered to a NEON move which is illegal.

There's also another case where we could end up generating these,
related to zero cycle move tuning features.

Both of these cases is fixed in this patch by walking back from the copy
to look for any streaming mode changes (within the current block). I know
this is pretty ugly but I don't have a better solution right now.

rdar://167439642
DeltaFile
+312-0llvm/test/CodeGen/AArch64/sme-streaming-mode-fpr-copy.ll
+46-6llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+358-62 files

LLVM/project ae25f12mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

[MLIR][OpenMP] Support cancel taskgroup inside of taskloop

Implementation follows exactly what is done for omp.wsloop and omp.task.
See #137841.

The change to the operation verifier is to allow a taskgroup
cancellation point inside of a taskloop. This was already allowed for
omp.cancel.
DeltaFile
+419-0mlir/test/Target/LLVMIR/openmp-taskloop-cancel.mlir
+280-0mlir/test/Target/LLVMIR/openmp-taskloop-cancellation-point.mlir
+12-20mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+2-1mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+713-214 files

FreeBSD/src d53d7b4sys/dev/bnxt/bnxt_en bnxt_mgmt.h bnxt_mgmt.c

bnxt: Fix up ioctl opcodes to support IOC_VOID along with IOC_IN

The driver and applications currently use hard-coded numeric ioctl command
opcodes. These opcodes are interpreted as having the IOC_IN direction (data
copied from the user application to the driver), regardless of the actual packet
size. Consequently, when the packet size is zero and the direction is set to
IOC_IN, the kernel fails these ioctls if COMPAT is disabled.

While the driver and applications should ideally set the direction correctly—
for example, using IOC_VOID when the packet size is zero—the driver will now
be updated to define ioctl opcodes using the _IOC macro to support both
IOC_VOID and IOC_IN. This change ensures backward compatibility with older
applications that exclusively use IOC_IN.

Reviewed by: gallatin
Differential Revision: https://reviews.freebsd.org/D54601
MFC after: 3 days
DeltaFile
+8-3sys/dev/bnxt/bnxt_en/bnxt_mgmt.h
+6-3sys/dev/bnxt/bnxt_en/bnxt_mgmt.c
+14-62 files

LLVM/project a484de1llvm/lib/Target/X86 X86InstrSSE.td X86InstrAVX512.td, llvm/test/CodeGen/X86 avx512fp16-arith.ll vec_floor.ll

[X86] Add rewrite pattern for SSE41/AVX1 roundss/sd + blendps/pd (#172056)

Due to a previous PR (https://github.com/llvm/llvm-project/pull/171227),
operations like `_mm_ceil_sd` compile to suboptimal assembly:
```asm
roundsd xmm1, xmm1, 10
blendpd xmm0, xmm1, 1
```
This PR introduces a rewrite pattern to mitigate this, and fuse the corresponding operations.
DeltaFile
+47-0llvm/test/CodeGen/X86/avx512fp16-arith.ll
+16-24llvm/test/CodeGen/X86/vec_floor.ll
+25-0llvm/lib/Target/X86/X86InstrSSE.td
+19-0llvm/lib/Target/X86/X86InstrAVX512.td
+107-244 files

LLVM/project 4e1928fmlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-task-no-context-struct.mlir openmp-taskloop-no-context-struct.mlir

[mlir][OpenMP] Don't allocate task context structure if not needed

Don't allocate a task context structure if none of the private variables
needed it. This was already skipped when there were no private variables
at all.
DeltaFile
+48-0mlir/test/Target/LLVMIR/openmp-task-no-context-struct.mlir
+15-31mlir/test/Target/LLVMIR/openmp-taskloop-no-context-struct.mlir
+7-4mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+70-353 files

FreeBSD/ports 65d1803misc/freebsd-doc-all Makefile, misc/freebsd-doc-en distinfo Makefile

misc/freebsd-doc-*: Update to rev. f01d6d9 from FreeBSD docset

Approved by:    doceng (implicit)
DeltaFile
+3-3misc/freebsd-doc-en/distinfo
+1-1misc/freebsd-doc-en/Makefile
+2-0misc/freebsd-doc-en/pkg-plist
+1-1misc/freebsd-doc-all/Makefile
+7-54 files

LLVM/project b7c17abllvm/lib/Frontend/OpenMP OMPIRBuilder.cpp, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

[MLIR][OpenMP] Add Initial Taskloop Clause Support (#174623)

Following on from the work to implement MLIR -> LLVM IR Translation for
Taskloop, this adds support for the following clauses to be used
alongside taskloop:
- if
- grainsize
- num_tasks
- untied
- Nogroup
- Final
- Mergeable
- Priority

These clauses are ones which work directly through the relevant OpenMP
Runtime functions, so their information just needed collecting from the
relevant location and passing through to the appropriate runtime
function.

Remaining clauses retain their TODO message as they have not yet been
implemented.
DeltaFile
+0-104mlir/test/Target/LLVMIR/openmp-todo.mlir
+49-21llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+63-0mlir/test/Target/LLVMIR/openmp-taskloop-untied.mlir
+20-41mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+49-0mlir/test/Target/LLVMIR/openmp-taskloop-if.mlir
+46-0mlir/test/Target/LLVMIR/openmp-taskloop-nogroup.mlir
+227-1666 files not shown
+450-16912 files

FreeNAS/freenas 42c06f8src/middlewared/middlewared/api/base model.py, src/middlewared/middlewared/api/base/handler accept.py inspect.py

NAS-139235 / 26.04 / Reduce resident memory size of parent process > 100MB (#17982)

DeltaFile
+28-4src/middlewared/middlewared/api/base/model.py
+5-4src/middlewared/middlewared/api/base/server/doc.py
+6-0src/middlewared/middlewared/utils/pydantic_.py
+6-0src/middlewared/middlewared/utils/typing_.py
+4-1src/middlewared/middlewared/api/base/handler/accept.py
+2-2src/middlewared/middlewared/api/base/handler/inspect.py
+51-1110 files not shown
+72-1716 files

LLVM/project 1be04b7llvm/lib/Target/XCore XCoreISelLowering.h, llvm/test/CodeGen/Generic half-op.ll

[XCore] Use `softPromoteHalfType` (#175142)

Follow suite from other targets.

Fixes the XCore portion of
https://github.com/llvm/llvm-project/issues/97975
Fixes the XCore portion of
https://github.com/llvm/llvm-project/issues/97981
DeltaFile
+7-5llvm/test/CodeGen/XCore/llvm.sincos.ll
+2-2llvm/test/CodeGen/XCore/llvm.exp10.ll
+1-1llvm/test/CodeGen/XCore/llvm.frexp.ll
+1-1llvm/test/CodeGen/Generic/half-op.ll
+2-0llvm/lib/Target/XCore/XCoreISelLowering.h
+13-95 files

LLVM/project bcea722bolt/test/AArch64 epilogue-determination.s

[BOLT] Fix label in epilogue-determination.s test (#174960)

On RHEL8 we get the following error that may originate from the changed
typo:
```
clang: warning: argument unused during compilation: '-ffreestanding' [-Wunused-command-line-argument]
ld.lld: error: relocation R_AARCH64_ADR_PREL_LO21 cannot be used against symbol '_jmptbl2'; recompile with -fPIC
>>> defined in /tmp/epilogue-determination-7bd9d4.o
>>> referenced by /tmp/epilogue-determination-7bd9d4.o:(.text+0x54)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
DeltaFile
+1-1bolt/test/AArch64/epilogue-determination.s
+1-11 files

FreeBSD/ports a80d3e0sysutils/py-hcloud distinfo Makefile

sysutils/py-hcloud: update to 2.14.0

Changes:        https://github.com/hetznercloud/hcloud-python/blob/v2.14.0/CHANGELOG.md
Reported by:    repology, portscout
DeltaFile
+3-3sysutils/py-hcloud/distinfo
+1-1sysutils/py-hcloud/Makefile
+4-42 files

FreeBSD/ports f0593a2databases/pgbarman distinfo Makefile, databases/pgbarman/files patch-docs___build_man_barman.5 patch-docs___build_man_barman-config-update.1

databases/pgbarman: update to 3.17.0

Updated and regenerated patches.

Changes:        https://github.com/EnterpriseDB/barman/blob/release/3.17.0/RELNOTES.md
Reported by:    portscout
DeltaFile
+16-5databases/pgbarman/files/patch-docs___build_man_barman.5
+3-3databases/pgbarman/distinfo
+2-2databases/pgbarman/files/patch-docs___build_man_barman-config-update.1
+2-2databases/pgbarman/files/patch-barman_config.py
+2-2databases/pgbarman/files/patch-docs___build_man_barman.1
+1-1databases/pgbarman/Makefile
+26-156 files

FreeBSD/ports 009299cdevel/py-pathspec distinfo Makefile

devel/py-pathspec: update to 1.0.2

Changes:        https://github.com/cpburnz/python-pathspec/blob/v1.0.2/CHANGES.rst
Reported by:    repology
DeltaFile
+3-3devel/py-pathspec/distinfo
+2-2devel/py-pathspec/Makefile
+5-52 files