FreeNAS/freenas 458f871src/middlewared/middlewared/plugins/smb_ util_smbconf.py

NAS-139203 / 26.04 / Disable SMB3 unix extensions by default (#17971)

This commit disables the SMB3 unix extensions by default. They will be
exposed as a configurable option in a future PR.
DeltaFile
+1-0src/middlewared/middlewared/plugins/smb_/util_smbconf.py
+1-01 files

LLVM/project 75ec177llvm/lib/Target/SPIRV SPIRVLegalizeZeroSizeArrays.cpp SPIRVLegalizeZeroSizeArrays.h, llvm/test/CodeGen/SPIRV legalize-zero-size-arrays-insertvalue.ll legalize-zero-size-arrays-alloca.ll

[SPIRV] Add legalization pass for zero-size arrays (#172367)

This adds a legalization pass to convert zero size arrays to legal types
for common cases. It doesn't handle all cases, but if we see real use
cases for other cases, we can add them in the future.

For globals, and their initializers, we generally replace `[0 x T]` with
`ptr`.

For instructions, we either replace `[0 x T]` with `poision`, for
`alloca` we just allocate `T`.

This is motivated by IR generated by the OpenMP front end.

Issue: https://github.com/llvm/llvm-project/issues/170150

---------

Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
DeltaFile
+359-0llvm/lib/Target/SPIRV/SPIRVLegalizeZeroSizeArrays.cpp
+29-0llvm/lib/Target/SPIRV/SPIRVLegalizeZeroSizeArrays.h
+19-0llvm/test/CodeGen/SPIRV/legalize-zero-size-arrays-insertvalue.ll
+14-0llvm/test/CodeGen/SPIRV/legalize-zero-size-arrays-alloca.ll
+13-0llvm/test/CodeGen/SPIRV/legalize-zero-size-arrays-extractvalue.ll
+13-0llvm/test/CodeGen/SPIRV/legalize-zero-size-arrays-store.ll
+447-014 files not shown
+547-620 files

LLVM/project 88788dcclang/lib/CodeGen CGExpr.cpp CGValue.h, clang/test/CodeGenHLSL/BasicFeatures MatrixSingleSubscriptDynamicSwizzle.hlsl

[HLSL][Matrix] Implement dynamic single subscript swizzle (#173201)

fixes #170777

If we don't use vector type and instead continue to pass on the matrix
type when we enter `EmitExtVectorElementExpr` Then we don't need to
store the row and column length on the LValue.

Using the Matrix type means we can reuse the isMatrixRow() cases in
EmitLoadOfLValue and EmitStoreThroughLValue and not have to support a
new lValue that is a hybrid between the ExtVectorElt and MatrixRow
cases.

All we need to do to support this is pass the list of column indices as
a `ConstantDataVector` and check the size of this Vector to know how
many column iterations we need to do. Further just index into the vector
to fetch the right encoded element index value.
DeltaFile
+144-2clang/test/CodeGenHLSL/BasicFeatures/MatrixSingleSubscriptDynamicSwizzle.hlsl
+46-14clang/lib/CodeGen/CGExpr.cpp
+22-12clang/lib/CodeGen/CGValue.h
+4-0clang/test/SemaHLSL/matrix_single_subscript_errors.hlsl
+216-284 files

LLVM/project 971b823mlir/include/mlir/Dialect/SPIRV/IR SPIRVControlFlowOps.td SPIRVStructureOps.td

[mlir][spirv][nfc] Escape < and > with ` in description and summary (#174786)

Not escaping < and > was causing the text not to get displayed in the
documentation.
DeltaFile
+6-6mlir/include/mlir/Dialect/SPIRV/IR/SPIRVControlFlowOps.td
+3-3mlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td
+2-2mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMemoryOps.td
+1-1mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMiscOps.td
+1-1mlir/include/mlir/Dialect/SPIRV/IR/SPIRVGraphOps.td
+13-135 files

LLVM/project 57b0d83llvm/lib/Target/DirectX DXILResourceAccess.cpp, llvm/test/CodeGen/DirectX/ResourceAccess load-cbuffer-vectors.ll

[DirectX] Account for GlobalOffset in CurrentIndex calculation for cbuffer loads with GEPs in DXILResourceAccess pass (#174666)

Fixes #174656

---------

Co-authored-by: Alex Sepkowski <alexsepkowski at gmail.com>
DeltaFile
+28-7llvm/test/CodeGen/DirectX/ResourceAccess/load-cbuffer-vectors.ll
+3-4llvm/lib/Target/DirectX/DXILResourceAccess.cpp
+31-112 files

OpenBSD/ports ECtw6Hdnet/wget2 Makefile distinfo, net/wget2/patches patch-lib_fseeko_c

   update to wget2-2.2.1

   there is an ABI break (major shlib bump), but as nothing depends on the
   library in ports, let's just roll with it as suggested by jca.
VersionDeltaFile
1.1.2.1+3-13net/wget2/patches/patch-lib_fseeko_c
1.3.4.1+2-6net/wget2/Makefile
1.2.4.1+2-2net/wget2/distinfo
1.2.4.1+1-0net/wget2/pkg/PLIST
+8-214 files

LLVM/project c6e0e7dclang/lib/Serialization ASTReader.cpp ASTWriter.cpp, clang/unittests/Serialization NamespaceLookupTest.cpp CMakeLists.txt

Revert "[C++20][Modules] Improve namespace look-up performance for modules. (#171769)" (#174783)

This reverts commit 1928c1ea9b57e9c44325d436bc7bb2f4585031f3.

We have at least one repro, but I won't be able to work on this until
next week. Also with Clang 22 cut upcoming, we probably need to revert
for now.
DeltaFile
+0-247clang/unittests/Serialization/NamespaceLookupTest.cpp
+11-47clang/lib/Serialization/ASTReader.cpp
+5-23clang/lib/Serialization/ASTWriter.cpp
+0-1clang/unittests/Serialization/CMakeLists.txt
+16-3184 files

LLVM/project 28de3c1llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle fmul in SimplifyDemandedFPClass (#173872)

DeltaFile
+152-44llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
+138-1llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+18-63llvm/lib/Analysis/ValueTracking.cpp
+53-0llvm/lib/Support/KnownFPClass.cpp
+34-3llvm/include/llvm/Support/KnownFPClass.h
+1-2llvm/test/Transforms/InstCombine/simplify-demanded-fpclass.ll
+396-1136 files

LLVM/project d34e08clibc/src/__support/wctype/conversion/utils utils.h CMakeLists.txt

[libc][wctype] Upstream common utils header file from PtrHash-cc prototype to LLVM libc
DeltaFile
+212-0libc/src/__support/wctype/conversion/utils/utils.h
+12-0libc/src/__support/wctype/conversion/utils/CMakeLists.txt
+224-02 files

LLVM/project 52f85b0clang-tools-extra/docs/clang-tidy/checks list.rst

[docs] [clang-tidy] add abseil-unchecked-statusor-access to list (#174796)

DeltaFile
+1-0clang-tools-extra/docs/clang-tidy/checks/list.rst
+1-01 files

LLVM/project 8fb7ed7cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb CMakeLists.txt

[cross-project-tests][formatters] Factor out setting the LLDB test options into helper function
DeltaFile
+11-5cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/CMakeLists.txt
+11-51 files

FreeBSD/ports e1232ccwww/freenginx-devel distinfo Makefile.extmod

www/freenginx-devel: update third-party cache_purge module to v2.5.5
DeltaFile
+3-3www/freenginx-devel/distinfo
+1-1www/freenginx-devel/Makefile.extmod
+1-1www/freenginx-devel/Makefile
+5-53 files

LLVM/project 7490901clang/lib/AST/ByteCode InterpBuiltin.cpp

[ByteCode] InterpBuiltin.cpp - consistently use castAs<> if dereferencing the result (#174781)

castAs<> will at least assert the cast is valid while getAs<> will always just return nullptr and then explode
DeltaFile
+3-3clang/lib/AST/ByteCode/InterpBuiltin.cpp
+3-31 files

LLVM/project a23f7efclang-tools-extra/docs ReleaseNotes.rst

[clang-tidy][NFC] Improve readabilty of Release Notes (#174686)

Instead of long text, use bullet points for readability.
DeltaFile
+81-48clang-tools-extra/docs/ReleaseNotes.rst
+81-481 files

LLVM/project abbd1ebclang-tools-extra/clang-tidy/bugprone OptionalValueConversionCheck.cpp UnusedReturnValueCheck.cpp, clang-tools-extra/clang-tidy/readability ContainerSizeEmptyCheck.cpp RedundantParenthesesCheck.cpp

[clang-tidy] Rename clang::tidy::matchers::matchesAnyListedName() to matchesAnyListedRegexName (#174414)

This clarifies that patterns are regular expressions.

Closes: #174229
DeltaFile
+37-35clang-tools-extra/clang-tidy/bugprone/OptionalValueConversionCheck.cpp
+12-12clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
+11-10clang-tools-extra/clang-tidy/bugprone/SuspiciousStringviewDataUsageCheck.cpp
+8-7clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
+7-7clang-tools-extra/clang-tidy/readability/RedundantParenthesesCheck.cpp
+7-7clang-tools-extra/clang-tidy/bugprone/UnusedLocalNonTrivialVariableCheck.cpp
+82-7824 files not shown
+135-12830 files

OpenBSD/ports jdiwWVqdevel/maturin distinfo crates.inc, devel/maturin/patches patch-src_target_mod_rs

   update to maturin-1.11.2
VersionDeltaFile
1.23+570-532devel/maturin/distinfo
1.15+284-265devel/maturin/crates.inc
1.41+4-5devel/maturin/Makefile
1.2+1-1devel/maturin/patches/patch-src_target_mod_rs
+859-8034 files

LLVM/project b5f5567mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

Fix argument names
DeltaFile
+2-2mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+2-21 files

LLVM/project 7584db7cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb CMakeLists.txt

[cross-project-tests] Unset _FORTIFY_SOURCE when building the LLDB formatter tests (#174770)

When building `cross-project-tests` with `_FORTIFY_SOURCE` set, we get
following warnings:
```
In file included from /app/gcc/14.2.0/include/c++/14.2.0/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /app/gcc/14.2.0/include/c++/14.2.0/x86_64-pc-linux-gnu/bits/c++config.h:680,
                 from /app/gcc/14.2.0/include/c++/14.2.0/type_traits:38,
                 from ../include/llvm/ADT/ADL.h:12,
                 from ../include/llvm/ADT/Hashing.h:47,
                 from ../include/llvm/ADT/ArrayRef.h:12,
                 from ../../cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/arrayref.cpp:1:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  381 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
```

This patch works around this by undefining the macro when compiling the
LLDB formatter tests.

    [2 lines not shown]
DeltaFile
+2-1cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/CMakeLists.txt
+2-11 files

NetBSD/src D2Qx4AAdistrib/amd64/cdroms/bootcd Makefile, distrib/amd64/cdroms/installcd Makefile

   distrib: Bail out if CD-ROMs are larger than 700MB.

   PR port-i386/59889 i386 cd-rom iso for -current is overflowing 700MB limit
VersionDeltaFile
1.6+4-1distrib/macppc/cdroms/installcd/Makefile
1.5+3-1distrib/amd64/cdroms/bootcd/Makefile
1.9+3-1distrib/amd64/cdroms/installcd/Makefile
1.8+3-1distrib/i386/cdroms/bootcd-com/Makefile
1.17+3-1distrib/i386/cdroms/installcd/Makefile
1.37+3-1distrib/sparc64/cdroms/installcd/Makefile
+19-62 files not shown
+25-88 files

LLVM/project 3690b1eclang-tools-extra/docs/clang-tidy/checks list.rst

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+1-0clang-tools-extra/docs/clang-tidy/checks/list.rst
+1-01 files

NetBSD/src 6ME9Fbpusr.sbin/makefs cd9660.c

   makefs: cd9660: Honour the -m option to set the maximum disc size.

   PR port-i386/59889 i386 cd-rom iso for -current is overflowing 700MB limit
VersionDeltaFile
1.61+5-2usr.sbin/makefs/cd9660.c
+5-21 files

OPNSense/core ba18303src/opnsense/scripts/system sysctl_defaults.php

system: provide util.inc for is_ipv6_allowed()
DeltaFile
+1-0src/opnsense/scripts/system/sysctl_defaults.php
+1-01 files

FreeNAS/freenas 62ad5a7src/middlewared/middlewared/api/base model.py, src/middlewared/middlewared/api/base/handler accept.py result.py

reduce parent process memory by > 100MB
DeltaFile
+11-1src/middlewared/middlewared/api/base/model.py
+4-1src/middlewared/middlewared/api/base/handler/accept.py
+2-0src/middlewared/middlewared/api/base/handler/result.py
+2-0src/middlewared/middlewared/api/base/server/legacy_api_method.py
+2-0src/middlewared/middlewared/api/base/handler/dump_params.py
+21-25 files

FreeNAS/freenas 17c3261src/middlewared/middlewared main.py, src/middlewared/middlewared/api/base model.py

Explicitly process submodels in `ensure_model_ready`
DeltaFile
+15-2src/middlewared/middlewared/api/base/model.py
+5-0src/middlewared/middlewared/utils/typing_.py
+2-1src/middlewared/middlewared/api/base/handler/inspect.py
+2-1src/middlewared/middlewared/api/base/handler/remove_secrets.py
+2-0src/middlewared/middlewared/main.py
+26-45 files

LLVM/project 1355111llvm/lib/Target/AMDGPU VOPCInstructions.td

[AMDGPU] Remove some redundant SubtargetPredicate settings. NFC. (#174788)

Setting SubtargetPredicate around these multiclasses is redundant since
it is always explicitly overridden for every def inside the multiclass.
DeltaFile
+0-4llvm/lib/Target/AMDGPU/VOPCInstructions.td
+0-41 files

LLVM/project 9d9d57amlir/lib/Interfaces ControlFlowInterfaces.cpp

address comments
DeltaFile
+37-37mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+37-371 files

LLVM/project f12b9c6mlir/include/mlir/Interfaces ControlFlowInterfaces.h ControlFlowInterfaces.td, mlir/lib/Dialect/SCF/IR SCF.cpp

[mlir][draft] Consolidate patterns into RegionBranchOpInterface patterns

fix some tests

reorganize code
DeltaFile
+17-813mlir/lib/Dialect/SCF/IR/SCF.cpp
+496-0mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+11-13mlir/test/Dialect/SCF/canonicalize.mlir
+9-0mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
+4-4mlir/test/Transforms/remove-dead-values.mlir
+5-0mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
+542-8306 files

LLVM/project 28d2772lld/COFF Driver.cpp Driver.h, lld/docs ReleaseNotes.rst

[lld][COFF] Add /linkreprofullpathrsp flag (#165449)

This patch adds the /linkreprofullpathrsp flag with the same behaviour
as link.exe. This flag emits a file containing the full paths to each
object passed to the link line.

This is used in particular when linking Arm64X binaries, as you need the
full path to all the Arm64 objects that were used in a standard Arm64
build.

See:

https://learn.microsoft.com/en-us/cpp/build/reference/link-repro-full-path-rsp
for the Microsoft documentation of the flag.
DeltaFile
+46-11lld/COFF/Driver.cpp
+43-0lld/test/COFF/linkreprofullpathrsp.test
+11-2lld/COFF/Driver.h
+3-0lld/COFF/Options.td
+2-0lld/docs/ReleaseNotes.rst
+105-135 files

OPNSense/core f9b8043src/etc/inc interfaces.inc

interfaces: make a note via @adschellevis
DeltaFile
+1-0src/etc/inc/interfaces.inc
+1-01 files

FreeBSD/ports 32e81c0net/google-cloud-sdk distinfo Makefile

net/google-cloud-sdk: Update version 550.0.0=>551.0.0
DeltaFile
+3-3net/google-cloud-sdk/distinfo
+1-1net/google-cloud-sdk/Makefile
+4-42 files