LLVM/project 269e5f8utils/bazel/llvm-project-overlay/clang BUILD.bazel

[Bazel] Fixes a084633 (#204202)

This fixes a084633edf331f75412f966bc46cc1b35462c519.

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

FreeBSD/ports 56f0030ports-mgmt/poudriere-devel distinfo Makefile

ports-mgmt/poudriere-devel: Update to 3.3.0-2565-g0198103a3

Changes:
- options: Improve performance by loading ports_env.
- bulk: Revert not refetching on checksum failure (for distinfo-expected rerolled distfile cases).
- testport: do not check the parent directory of a port does not have Mk.
- Fix documented default for `CHECK_CHANGED_OPTIONS`.
- sh: Add simple command redirect vfork support from Jilles.

(cherry picked from commit b3d20953a01cb834f1c7fa06325784bc45136537)

PR:             295726
DeltaFile
+3-3ports-mgmt/poudriere-devel/distinfo
+2-2ports-mgmt/poudriere-devel/Makefile
+5-52 files

FreeBSD/ports e819fc2ports-mgmt/poudriere-devel distinfo Makefile

ports-mgmt/poudriere-devel: Update to 3.3.0-2556-gc7cb97106

Changes:
- Fix build on older releases

(cherry picked from commit dbaeaca2f3415d3da4b54d222c6f5054d4fb1b1a)
DeltaFile
+3-3ports-mgmt/poudriere-devel/distinfo
+2-2ports-mgmt/poudriere-devel/Makefile
+5-52 files

FreeBSD/ports 19943f4ports-mgmt/poudriere-devel distinfo Makefile

ports-mgmt/poudriere-devel: Update to 3.3.0-2554-g0324c5331

Changes:
- Pkg 2.7.0 support
- write_atomic: Add a C implementation
- Hooks: Remove example.org

(cherry picked from commit fbf89ea785c8f1a8e743d2beb3121f9aa4250174)
DeltaFile
+3-3ports-mgmt/poudriere-devel/distinfo
+2-2ports-mgmt/poudriere-devel/Makefile
+1-0ports-mgmt/poudriere-devel/pkg-plist
+6-53 files

FreeBSD/ports 361af4fports-mgmt/poudriere distinfo Makefile

ports-mgmt/poudriere: Update to 3.4.8

Changes:
- options: Improve performance by loading ports_env.
- bulk: Revert not refetching on checksum failure (for distinfo-expected rerolled distfile cases).
- testport: do not check the parent directory of a port does not have Mk.
- Fix documented default for `CHECK_CHANGED_OPTIONS`.

(cherry picked from commit be5f291f8356e2df1d65c37cfd2730f37b1dbae0)

PR:             295726
DeltaFile
+3-3ports-mgmt/poudriere/distinfo
+1-1ports-mgmt/poudriere/Makefile
+4-42 files

FreeBSD/ports 1fc2b19ports-mgmt/poudriere distinfo Makefile

ports-mgmt/poudriere: Update to 3.4.7

Changes:
- Improve pkg-2.7.0 compat
- jail -cu: Don't include make.conf into the jail's clean snapshot

(cherry picked from commit ec4de8b18d5d13be5ed1d0a289559938a05110b4)
DeltaFile
+3-3ports-mgmt/poudriere/distinfo
+1-1ports-mgmt/poudriere/Makefile
+4-42 files

FreeBSD/ports cd5a26bemulators/open-vm-tools distinfo Makefile, emulators/open-vm-tools/files patch-lib_rpcChannel_glib__stubs.c

emulators/open-vm-tools: Update to 13.1.0

While here, fix build with recent glib versions [1]

Obtained from:  https://github.com/vmware/open-vm-tools/pull/779 [1]
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+10-0emulators/open-vm-tools/files/patch-lib_rpcChannel_glib__stubs.c
+3-3emulators/open-vm-tools/distinfo
+1-1emulators/open-vm-tools/Makefile
+14-43 files

LLVM/project 8a3cc84clang/include/clang/Basic HLSLIntrinsics.td, clang/lib/CodeGen CGHLSLBuiltins.cpp

[HLSL][DXIL][SPIRV] QuadReadAcrossDiagonal intrinsic support (#188567)

This PR adds QuadReadAcrossDiagonal intrinsic support in HLSL with
codegen for both DirectX and SPIRV backends. Resolves
https://github.com/llvm/llvm-project/issues/99177.

- [x]  Implement `QuadReadAcrossDiagonal` clang builtin
- [x] Link `QuadReadAcrossDiagonal` clang builtin with
`hlsl_intrinsics.h`
- [x] Add sema checks for `QuadReadAcrossDiagonal` to
`CheckHLSLBuiltinFunctionCall` in `SemaChecking.cpp`
- [x] Add codegen for `QuadReadAcrossDiagonal` to `EmitHLSLBuiltinExpr`
in `CGBuiltin.cpp`
- [x] Add codegen tests to
`clang/test/CodeGenHLSL/builtins/QuadReadAcrossDiagonal.hlsl`
- [x] Add sema tests to
`clang/test/SemaHLSL/BuiltIns/QuadReadAcrossDiagonal-errors.hlsl`
- [x] Create the `int_dx_QuadReadAcrossDiagonal` intrinsic in
`IntrinsicsDirectX.td`

    [15 lines not shown]
DeltaFile
+169-0clang/test/CodeGenHLSL/builtins/QuadReadAcrossDiagonal.hlsl
+87-0llvm/test/CodeGen/DirectX/QuadReadAcrossDiagonal.ll
+50-0llvm/test/CodeGen/SPIRV/hlsl-intrinsics/QuadReadAcrossDiagonal.ll
+28-0clang/test/SemaHLSL/BuiltIns/QuadReadAcrossDiagonal-errors.hlsl
+12-1clang/include/clang/Basic/HLSLIntrinsics.td
+8-0clang/lib/CodeGen/CGHLSLBuiltins.cpp
+354-19 files not shown
+381-215 files

FreeNAS/freenas e90b2b6src/middlewared/middlewared/api/base/server doc.py, src/middlewared/middlewared/plugins auth.py

properly parse JSON examples and other text in public method descriptions
DeltaFile
+61-61src/middlewared/middlewared/plugins/webui/enclosure.py
+62-58src/middlewared/middlewared/plugins/nfs_/status.py
+40-39src/middlewared/middlewared/plugins/pool_/dataset_encryption_info.py
+64-0src/middlewared/middlewared/pytest/unit/api/base/server/test_reflow_docstring.py
+51-1src/middlewared/middlewared/api/base/server/doc.py
+18-16src/middlewared/middlewared/plugins/auth.py
+296-17511 files not shown
+343-21117 files

Dreckly/dreckly 7dc3fd3audio/furnace distinfo, audio/furnace/patches patch-extern_ESFMu_esfm.c

furnace: Disable invalid i386 assembler.

The NetBSD toolchain does not accept this as valid i386 assembler,
so remove it, and use the portable C fallback.
DeltaFile
+82-0audio/furnace/patches/patch-extern_ESFMu_esfm.c
+1-0audio/furnace/distinfo
+83-02 files

FreeBSD/src 6616c7alib/libc/gen exterr_cat_filenames.h, sys/sys exterr_cat.h

sys: Reserve EXTERR_CAT_LINKER for kld linker exterrors

Reviewed by:    imp, kib (in D57002)
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-0lib/libc/gen/exterr_cat_filenames.h
+1-0sys/sys/exterr_cat.h
+2-02 files

LLVM/project a0a8b41llvm/lib/Target/AMDGPU SIInstrInfo.h

Fix comment

Change-Id: I6d08b2c5189cb760ad7eda7f1b4a0ca9467525fb
DeltaFile
+3-4llvm/lib/Target/AMDGPU/SIInstrInfo.h
+3-41 files

LLVM/project 060b496llvm/lib/Target/AMDGPU SIInstrInfo.h

Document the new parameter

Change-Id: Iff72a66f46b00f838c86931e7bfc3a026d985da0
DeltaFile
+5-0llvm/lib/Target/AMDGPU/SIInstrInfo.h
+5-01 files

LLVM/project 6209c40llvm/lib/Target/AMDGPU SIInstrInfo.h

inline isVALU into isLDSDMA to avoid recursive calls

Change-Id: I5b7e0c09fd310639ebf918d0152a419dca415798
DeltaFile
+3-2llvm/lib/Target/AMDGPU/SIInstrInfo.h
+3-21 files

LLVM/project e1546a8llvm/lib/Target/AMDGPU SIISelLowering.cpp

Rebase for new isVALU calls

Change-Id: Id2280498a63994268e902d90b787e32fdccc912a
DeltaFile
+2-2llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2-21 files

LLVM/project 19417ballvm/lib/Target/AMDGPU GCNHazardRecognizer.cpp SIInstrInfo.cpp

Formatting

Change-Id: I0fbcad129f96986d2a448bfa4b5a027a2a5c07bd
DeltaFile
+27-16llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
+6-3llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+4-4llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
+2-2llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
+2-1llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp
+2-1llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
+43-271 files not shown
+45-287 files

LLVM/project ca0ac4ellvm/lib/Target/AMDGPU GCNHazardRecognizer.cpp SIInstrInfo.h

[AMDGPU] NFC: Obviously show isVALU includes LDSDMA instructions

Change-Id: I3854fe397cafad4484c5af53c739e2117287d2c9
DeltaFile
+42-42llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
+13-7llvm/lib/Target/AMDGPU/SIInstrInfo.h
+8-8llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+3-5llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+2-2llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
+2-2llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp
+70-667 files not shown
+79-7513 files

FreeBSD/ports 82cdfdddatabases/py-peewee Makefile distinfo

databases/py-peewee: Update 3.15.0 => 4.0.8

Changelog:
https://github.com/coleifer/peewee/blob/4.0.8/CHANGELOG.md

- Fix warnings from portclippy.

PR:             294796
Approved by:    Matthias Petermann <matthias at petermann-it.de> (maintainer, timeout 7 weeks)
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
DeltaFile
+8-10databases/py-peewee/Makefile
+3-3databases/py-peewee/distinfo
+11-132 files

LLVM/project 7f98c5fllvm/lib/Analysis MemoryBuiltins.cpp

[MemoryBuiltins][NFC] Consistently infer and use MallocFamily (#198221)

MallocFamily (the enum and StringRef) are used alongside AllocFnsTy. The
latter is picked up from the tables while the former is encoded in the
IR. While they should be merged at some point (see TODO), this commit
makes sure we consistently initialize the MallocFamily String and pass
it to users.
DeltaFile
+28-12llvm/lib/Analysis/MemoryBuiltins.cpp
+28-121 files

FreeBSD/src e15be25sbin/ping ping6.c

ping6: fix outpack overflow in pattern fill loop

The fill loop was bounded by packlen, which is sized for the receive
buffer (datalen + IP6LEN + ICMP6ECHOLEN + EXTRA), not for outpack.
With large datalen the loop wrote past outpack[MAXPACKETLEN].

Bound it to the actual data area in outpack instead.

Reported by:    Oculytic
Reviewed by:    des, markj
Differential Revision:  https://reviews.freebsd.org/D57441
DeltaFile
+10-10sbin/ping/ping6.c
+10-101 files

FreeBSD/src f81c82acontrib/llvm-project/clang/lib/Driver/ToolChains FreeBSD.h

Merge commit 93a67259cf23 from llvm git (by ShengYi Hung):

  [ToolChains][FreeBSD] Set default Linker to LLD for FreeBSD (#190596)

  When the linker is specified as ld, toolchain applies special handling
  by invoking (triple)-ld instead of resolving ld via standard PATH
  lookup. This causes GNU ld installed via the system package manager to
  take the precedence (since (triple)-ld appears earlier in the search
  path), effectively overriding ld.lld.

  As a result, we set the default Linker on FreeBSD to ld.lld to indicate
  we want to use lld by default.

PR:             292067
MFC after:      3 days

(cherry picked from commit 2b619b7c7b5300cbaf59e4e9d75bc8472df014e9)
DeltaFile
+4-0contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h
+4-01 files

FreeBSD/src 8d0154econtrib/llvm-project/clang/lib/Driver/ToolChains FreeBSD.h

Merge commit 93a67259cf23 from llvm git (by ShengYi Hung):

  [ToolChains][FreeBSD] Set default Linker to LLD for FreeBSD (#190596)

  When the linker is specified as ld, toolchain applies special handling
  by invoking (triple)-ld instead of resolving ld via standard PATH
  lookup. This causes GNU ld installed via the system package manager to
  take the precedence (since (triple)-ld appears earlier in the search
  path), effectively overriding ld.lld.

  As a result, we set the default Linker on FreeBSD to ld.lld to indicate
  we want to use lld by default.

PR:             292067
MFC after:      3 days

(cherry picked from commit 2b619b7c7b5300cbaf59e4e9d75bc8472df014e9)
DeltaFile
+4-0contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h
+4-01 files

LLVM/project 3deb17cllvm/include/llvm/MC MCDXContainerWriter.h

Add LLVM_ABI
DeltaFile
+1-1llvm/include/llvm/MC/MCDXContainerWriter.h
+1-11 files

LLVM/project 036ef97llvm/lib/IR Operator.cpp IRBuilder.cpp, llvm/lib/Transforms/InstCombine InstCombineCalls.cpp

[InstCombine] Move alignment assumptions to the base of a gep if alignment is preserved (#203032)
DeltaFile
+28-0llvm/test/Transforms/InstCombine/assume-i128.ll
+26-0llvm/test/Transforms/InstCombine/assume-i32.ll
+21-0llvm/test/Transforms/InstCombine/assume.ll
+8-0llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+3-2llvm/lib/IR/Operator.cpp
+1-3llvm/lib/IR/IRBuilder.cpp
+87-52 files not shown
+89-78 files

LLVM/project 170adecllvm/docs/PDB index.rst

[docs][pdb] Link to the pdb-rs docs (#204172)

They cover many topics which are not in the LLVM docs (yet).
DeltaFile
+3-0llvm/docs/PDB/index.rst
+3-01 files

FreeBSD/src 8b2b62busr.bin/sockstat main.c sockstat.1

sockstat: consolidate unix(4) protocols in the array of protocols

This makes it possible to list unix(4) protocols in -P, which was not
possible before.  Update the manual page and provide an example.

In 'struct sock' make member proto a pointer into the protocols table
instead of a number.  This removes namespace collision that mixed
IPPROTO_TCP and etc with SOCK_STREAM and etc.  There were no known bugs
due to this collision, though.

Preserve all current UI bugs for possible combinations of protocol
selection options.  Should be no UI changes outside the improved -P.

Reviewed by:            pouria, tuexen
Differential Revision:  https://reviews.freebsd.org/D57508
DeltaFile
+109-105usr.bin/sockstat/main.c
+11-1usr.bin/sockstat/sockstat.1
+120-1062 files

LLVM/project f6a1251libc/src/__support/math cbrtf16.h CMakeLists.txt, utils/bazel/llvm-project-overlay/libc BUILD.bazel

[libc][math][c23] Switch `static_cast` to `fputil::cast` in `cbrtf16` (#204189)

This avoids some failures w/ the compilers runtime
DeltaFile
+2-1libc/src/__support/math/cbrtf16.h
+1-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1-0libc/src/__support/math/CMakeLists.txt
+4-13 files

FreeBSD/src 3a58a50usr.bin/sockstat main.c sockstat.1

sockstat: don't use getprotoent(3)

This removes requirement for existence of obsolete IPPROTO_DIVERT in
<netinet/in.h> and the 'divert' entry in /etc/protocols.

Also, this avoids running through the nsdispatch(3) machinery on startup,
cutting down about 20 syscalls, three of which are open(2).  The code of
sockstat(1) itself is also reduced.

The only UI change for a normal execution is that now the divert(4)
sockets are reported as "divert4" instead of "div4".  The prefix "4"
itself is also incorrect, as divert(4) is not a part of IPv4.  This will
be addressed in a separate change.

There is small UI change for incorrect runs.  Previously protocols listed
in /etc/protocols, but not supported, would err out like this:

  # sockstat -P ggp
  sockstat: protocol 3 not supported

    [13 lines not shown]
DeltaFile
+78-132usr.bin/sockstat/main.c
+14-5usr.bin/sockstat/sockstat.1
+92-1372 files

LLVM/project 51ab3d8cross-project-tests/debuginfo-tests/dexter/dex/evaluation ExpectMatch.py, cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation eval_sublist_aggregates.cpp eval_sublist_aggregates_addresses.cpp

[Dexter] Allow matching lists of values for aggregate members

This patch slightly extends the matching of aggregate members to allow for
lists of expected values for individual members, functioning the same as
lists of expected values for scalar values.
DeltaFile
+136-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/eval_sublist_aggregates.cpp
+54-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/eval_sublist_aggregates_addresses.cpp
+8-3cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectMatch.py
+198-33 files

LLVM/project 84adda6cross-project-tests/debuginfo-tests/dexter/dex/evaluation ExpectMatch.py, cross-project-tests/debuginfo-tests/dexter/dex/test_script Nodes.py

[Dexter] Add ability to check float values within a range

Adds a new node type, !float, which can be used to match debugger ouptut as
float values rather than as strings, optionally allowing a range to be
specified for inexact matches. This new node allows a list of values to be
given, effectively a shorthand for a list of individual !float nodes.
DeltaFile
+109-1cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
+68-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/floats.cpp
+12-1cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectMatch.py
+189-23 files