LLVM/project ff83218clang/cmake/caches HLSL.cmake

[HLSL] Fix improper parsing of IN_LIST within if condition (#199276)

Cmake does not properly parse IN_LIST within the if condition, and
treats it as a token.
This is not desired behavior.
The CMP0057 policy supports the new [if() IN_LIST
](https://cmake.org/cmake/help/latest/command/if.html#command:if)
operator.
Enable this policy and resolve the build error.


Fixes https://github.com/llvm/llvm-project/issues/199282
Assisted by: Github Copilot
DeltaFile
+4-0clang/cmake/caches/HLSL.cmake
+4-01 files

LLVM/project 56bf985clang/include/clang/CIR/Dialect/IR CIRTypes.td, clang/lib/CIR/Dialect/IR CIRTypes.cpp

[CIR] Include union tail pad in getTypeSizeInBits (#198361)

Padded CIR unions (e.g. libstdc++ `std::string` SSO layout) carry a
trailing byte-array member so the record matches the AST layout size.
`RecordType::getTypeSizeInBits` was returning only the largest-aligned
member and ignored that tail, so the CIR view of the union was 8 bytes
smaller than what `LowerToLLVM` emits.  Parent structs then picked up
a spurious trailing pad via `insertPadding`, arrays of those structs
used the wrong stride, and heap allocations could be overrun (Eigen's
`array_of_string` hits this directly).

The fix adds the padding member's size when the union is marked
`padded`, so struct size, GEP strides, and `new T[n]` allocation sizes
match OGCG.  Regression test models the SSO-shaped record and checks
the 96-byte `new` for three elements.
DeltaFile
+32-0clang/test/CIR/CodeGen/record-with-padded-union.cpp
+26-1clang/lib/CIR/Dialect/IR/CIRTypes.cpp
+5-0clang/include/clang/CIR/Dialect/IR/CIRTypes.td
+63-13 files

LLVM/project 65e49a6clang/lib/Sema OpenCLBuiltins.td, clang/test/SemaOpenCL intel-subgroup-local-block-io-builtins.cl intel-subgroup-buffer-prefetch-builtins.cl

[OpenCL] Add Intel subgroup buffer prefetch and local block I/O builtins (#199258)

Add cl_intel_subgroup_buffer_prefetch and
cl_intel_subgroup_local_block_io
declarations to OpenCLBuiltins.td and cover them with header-free SPIR
tests.

This keeps the generated OpenCL builtins in sync with opencl-c.h for the
Intel subgroup buffer prefetch and local block I/O extensions.

Per the cl_intel_subgroup_local_block_io specification, the _ui local
aliases (intel_sub_group_block_read_ui*, intel_sub_group_block_write_ui*
with __local pointer) are declared under
FuncExtIntelSubgroupLocalBlockIO
alone, without a char/short/long prerequisite.  A dedicated test
(intel-subgroup-local-block-io-ui-without-char-short-long.cl) verifies
that
they resolve when only cl_intel_subgroup_local_block_io is active.


    [6 lines not shown]
DeltaFile
+165-0clang/test/SemaOpenCL/intel-subgroup-local-block-io-builtins.cl
+101-0clang/lib/Sema/OpenCLBuiltins.td
+47-0clang/test/SemaOpenCL/intel-subgroup-buffer-prefetch-builtins.cl
+40-0clang/test/SemaOpenCL/intel-subgroup-local-block-io-ui-without-char-short-long.cl
+353-04 files

LLVM/project 83c752fclang/lib/Headers opencl-c.h, clang/lib/Sema OpenCLBuiltins.td

[OpenCL] Fix image2d_t qualifier for intel_sub_group_block_write_ui (#199232)

The intel_sub_group_block_write_ui[2,4,8] overloads for image2d_t were
declared with a read_only qualifier, both in opencl-c.h and in
OpenCLBuiltins.td. A write operation cannot target a read_only image,
and
the base intel_sub_group_block_write together with the analogous _us,
_uc
and _ul aliases all correctly use write_only image2d_t.

Per the cl_intel_subgroups_short [1], cl_intel_subgroups_char [2] and
cl_intel_subgroups_long [3] specifications, the _ui aliases are added
"for
naming consistency [...] There is no change to the description or
behavior
of these functions" relative to the cl_intel_subgroups base, which uses
write_only image2d_t for writes.

The typo was introduced in b833bf6ae14f and preserved across all

    [18 lines not shown]
DeltaFile
+16-16clang/lib/Headers/opencl-c.h
+4-4clang/lib/Sema/OpenCLBuiltins.td
+1-1clang/test/SemaOpenCL/intel-subgroups-builtins.cl
+21-213 files

NetBSD/pkgsrc-wip a1982b4glsmac TODO

Add TODO file.
DeltaFile
+1-0glsmac/TODO
+1-01 files

FreeBSD/ports c8125ebdevel/aws-c-mqtt distinfo Makefile

devel/aws-c-mqtt: Update to 0.16.0

ChangeLog: https://github.com/awslabs/aws-c-mqtt/releases/tag/v0.16.0
DeltaFile
+3-3devel/aws-c-mqtt/distinfo
+1-1devel/aws-c-mqtt/Makefile
+4-42 files

FreeBSD/ports 40c2ee1devel/aws-crt-cpp distinfo Makefile

devel/aws-crt-cpp: Update to 0.39.1

ChangeLog:      https://github.com/awslabs/aws-crt-cpp/releases/tag/v0.39.1
                https://github.com/awslabs/aws-crt-cpp/releases/tag/v0.39.0
DeltaFile
+3-3devel/aws-crt-cpp/distinfo
+1-1devel/aws-crt-cpp/Makefile
+4-42 files

FreeBSD/ports ce1f81bsecurity/aws-c-auth distinfo Makefile

security/aws-c-auth: Update to 0.10.3

ChangeLog: https://github.com/awslabs/aws-c-auth/releases/tag/v0.10.3
DeltaFile
+3-3security/aws-c-auth/distinfo
+1-1security/aws-c-auth/Makefile
+4-42 files

FreeBSD/ports 644beafdevel/aws-c-http distinfo Makefile

devel/aws-c-http: Update to 0.11.0

ChangeLog: https://github.com/awslabs/aws-c-http/releases/tag/v0.11.0
DeltaFile
+3-3devel/aws-c-http/distinfo
+1-1devel/aws-c-http/Makefile
+4-42 files

FreeBSD/ports d220015devel/aws-c-event-stream distinfo Makefile

devel/aws-c-event-stream: Update to 0.7.1

ChangeLog: https://github.com/awslabs/aws-c-event-stream/releases/tag/v0.7.1
DeltaFile
+3-3devel/aws-c-event-stream/distinfo
+1-1devel/aws-c-event-stream/Makefile
+4-42 files

FreeBSD/ports 6b05902security/aws-c-cal distinfo Makefile

security/aws-c-cal: Update to 0.9.14

ChangeLog: https://github.com/awslabs/aws-c-cal/releases/tag/v0.9.14
DeltaFile
+3-3security/aws-c-cal/distinfo
+1-1security/aws-c-cal/Makefile
+4-42 files

FreeBSD/ports 6572d51devel/aws-c-common distinfo Makefile

devel/aws-c-common: Update to 0.13.1

ChangeLog: https://github.com/awslabs/aws-c-common/releases/tag/v0.13.1
DeltaFile
+3-3devel/aws-c-common/distinfo
+1-1devel/aws-c-common/Makefile
+4-42 files

OpenZFS/src 8f6f4bctests/runfiles sanity.run

ZTS: update sanity.run file

Several of the tests included in the sanity.run file are no
longer quick.  In fact, the pyzfs tests can take over 5 minutes
to run which exceeds the allowed default timeout resulting the
the testing being killed.

Perform a little housekeeping and drop any test which takes more
than 10 seconds to run.  This brings things back a little closer
to the original intent of having a battery of useful test cases
which can be run in ~10 minutes.

ZFS-CI-Type: quick
Reviewed-by: George Melikov <mail at gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18576
DeltaFile
+6-27tests/runfiles/sanity.run
+6-271 files

FreeBSD/ports 97511b9x11-wm/niri Makefile

x11-wm/niri: Add USES=egl

- Add an explicit dependency on libEGL.so to prevent a crash on startup
- Bump PORTREVISION

PR:             295063
Suggested by:   jbeich
DeltaFile
+2-2x11-wm/niri/Makefile
+2-21 files

LLVM/project cc92693offload/unittests/OffloadAPI/kernel olLaunchKernel.cpp

[offload] Use device memory for the multithreaded kernel lanuch test (#199132)

This commit modifies the multithreaded kernel launch test to use device
memory instead of managed memory. The test is reported to be failing
intermittently in systems where concurrent managed memory access is
not supported. This is the case for NVIDIA devices that do not support
CU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS.

The concept of concurrent and coherent managed memory access should
be exposed to liboffload users somehow, e.g., adding it as device property,
so it is clear what execution patterns are allowed with managed memory.
However, this test is just testing concurrent kernel launches. This commit
fixes it until we decide how to proceed with the guarantees on that type of
allocations.
DeltaFile
+12-7offload/unittests/OffloadAPI/kernel/olLaunchKernel.cpp
+12-71 files

LLVM/project d755b04llvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Analysis/LoopAccessAnalysis depend_diff_types.ll

[SCEV] Fold zext(C+A)<nsw> -> (sext(C) + zext(A))<nsw> if possible. (#142599)

Simplify zext(C+A)<nsw> -> (sext(C) + zext(A))<nsw> if
 * zext (C + A)<nsw> >=s 0 and
 * A >=s V.

For now this is limited to cases where the first operand is a constant,
so the SExt can be folded to a new constant. This can be relaxed in the
future.

The initial version checks for non-negative manually to limit compile-time,
supporting only A = smax(C2, ..) where C2 >= abs(C)

Alive2 proof of the general pattern and the test changes in zext-nuw.ll
(times out in the online instance but verifies locally)

https://alive2.llvm.org/ce/z/_BtyGy

PR: github.com/llvm/llvm-project/pull/142599
DeltaFile
+38-8llvm/test/Transforms/LoopUnroll/peel-last-iteration-with-guards.ll
+10-10llvm/test/Transforms/LoopVectorize/reduction.ll
+14-0llvm/lib/Analysis/ScalarEvolution.cpp
+1-7llvm/test/Analysis/LoopAccessAnalysis/depend_diff_types.ll
+2-2llvm/test/Transforms/LoopVectorize/AArch64/predicated-costs.ll
+2-2llvm/test/Analysis/ScalarEvolution/zext-add-nsw-fold.ll
+67-291 files not shown
+68-307 files

LLVM/project 90d4ed5clang-tools-extra/clang-doc YAMLGenerator.cpp

[clang-doc][nfc] Use static declarations to enforce internal linkage (#198072)
DeltaFile
+4-4clang-tools-extra/clang-doc/YAMLGenerator.cpp
+4-41 files

LLVM/project c61c880clang-tools-extra/clang-doc Serialize.cpp

[clang-doc][nfc] Silence tidy warning about anonymous namespace (#198071)

clang-tidy complains that we should prefer static over the anonymous
namespace, despite the API being static in addition to being in the
anonymous namespace. We can silence the diagnostic by simply removing
the namespace declaration.
DeltaFile
+0-2clang-tools-extra/clang-doc/Serialize.cpp
+0-21 files

LLVM/project f839261mlir/include/mlir/Dialect/NVGPU/IR CMakeLists.txt

[MLIR] Fix mlir-doc build, add missing "-dialect nvgpu" (#199279)

Was broken with

> when more than 1 dialect is present, one must be selected via
'-dialect'
DeltaFile
+1-1mlir/include/mlir/Dialect/NVGPU/IR/CMakeLists.txt
+1-11 files

OpenZFS/src 1d601ebtests/unit test_zap.c Makefile.am

unit/test_zap: a trivial ZAP unit test suite

This commit adds the bones of a unit test suite for the ZAP subsystem.
The actual tests themselves don't do much, just ZAP creation and
destruction and basic KV ops. At this point its intended to be enough to
demonstrate what tests under this framework would look like.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18564
DeltaFile
+273-0tests/unit/test_zap.c
+23-1tests/unit/Makefile.am
+2-0tests/unit/.gitignore
+298-13 files

OpenZFS/src a20ef9ctests/unit mock_dmu.c mock_dmu.h

unit: dnode/dbuf/dmu_tx mocks

Some simple initial mock for key DMU structures. It's hard to say this
early how generalisable these are, however they are enough for the ZAP
unit tests (next commit).

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18564
DeltaFile
+393-0tests/unit/mock_dmu.c
+47-0tests/unit/mock_dmu.h
+2-0tests/unit/Makefile.am
+442-03 files

OpenZFS/src 82b33c0tests/unit munit.c munit.h

unit: a unit testing framework

This commit establishes a unit test framework for OpenZFS, and
integrates it into the build.

It includes:
- the "munit" unit test framework (munit.c, munit.h)
- some light extensions to munit and glue for OpenZFS (unit.c, unit.h)
- make targets for running tests and generating coverage reports
- a document explaining the what, how and why

This is a first step; I expect we will extend all of this as we use it
more places and gain experience with it.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18564
DeltaFile
+2,458-0tests/unit/munit.c
+575-0tests/unit/munit.h
+189-0tests/unit/README.md
+85-0tests/unit/unit.c
+60-0tests/unit/unit.h
+60-0tests/unit/Makefile.am
+3,427-03 files not shown
+3,431-09 files

Linux/linux cca9543drivers/phy/apple atc.c, drivers/phy/eswin phy-eic7700-sata.c

Merge tag 'phy-fixes-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy

Pull phy fixes from Vinod Koul:

 - Big pile of Qualcomm DP/eDP config fixes and kaanapali PHY PLL
   lock failure fix

 - Apple typec switch/mux leak fix

 - Marvell incoorect register fix for mvebu utmi phy

 - Tegra per-pad calibration fix

* tag 'phy-fixes-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy:
  phy: qcom: qmp-usbc: Fix out-of-bounds array access in dp swing config
  phy: apple: atc: Fix typec switch/mux leak on unbind
  phy: spacemit: Remove incorrect clk_disable() in spacemit_usb2phy_init()
  phy: eswin: Fix incorrect error check in probe()
  phy: qcom-qmp-ufs: Fix kaanapali PHY PLL lock failure after SM8650 G4 fix

    [8 lines not shown]
DeltaFile
+181-43drivers/phy/qualcomm/phy-qcom-edp.c
+26-7drivers/phy/tegra/xusb-tegra186.c
+22-5drivers/phy/apple/atc.c
+4-3drivers/phy/samsung/phy-exynos5-usbdrd.c
+2-3drivers/phy/marvell/phy-mvebu-a3700-utmi.c
+2-2drivers/phy/eswin/phy-eic7700-sata.c
+237-634 files not shown
+240-6510 files

LLVM/project f10e1a8clang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

[CIR][CUDA] Emit global var registration
DeltaFile
+92-5clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+43-6clang/test/CIR/CodeGenCUDA/device-stub.cu
+0-1clang/include/clang/CIR/MissingFeatures.h
+135-123 files

Linux/linux e216d85Documentation/devicetree/bindings/spi fsl,spi-fsl-qspi.yaml, drivers/spi spi-qup.c spi-sprd.c

Merge tag 'spi-fix-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi

Pull spi fixes from Mark Brown:
 "Another batch of driver fixes from Johan fixing error handling paths,
  plus another from Felix. We also have a new device ID added in the DT
  bindings for SpacemiT K3"

* tag 'spi-fix-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
  spi: dt-bindings: fsl-qspi: support SpacemiT K3
  spi: ti-qspi: fix use-after-free after DMA setup failure
  spi: sprd: fix error pointer deref after DMA setup failure
  spi: qup: fix error pointer deref after DMA setup failure
  spi: mtk-snfi: Fix resource leak in mtk_snand_read_page_cache()
  spi: ep93xx: fix error pointer deref after DMA setup failure
DeltaFile
+3-0Documentation/devicetree/bindings/spi/fsl,spi-fsl-qspi.yaml
+3-0drivers/spi/spi-qup.c
+2-1drivers/spi/spi-sprd.c
+2-0drivers/spi/spi-ep93xx.c
+1-1drivers/spi/spi-mtk-snfi.c
+1-0drivers/spi/spi-ti-qspi.c
+12-26 files

LLVM/project 39d3090clang/test/Headers __clang_hip_math.hip, llvm/lib/Transforms/Utils SimplifyCFG.cpp

Reapply [SimplifyCFG] Extend jump-threading to allow live local defs (#197850)

Restore "Extend jump-threading to allow live local defs" #135079. Long
compilation time with reduce.cu in hipcub/warp was partially addressed
in #195744. Compilation time for reduce.cu with this PR (after #195744)
is 6 minutes 40 seconds. Without (#195744) compilation time was several
hours.

Long compilation time in reduce.cu was only exposed by jump-threading.
In my view the primary causes were due to inlining, SROA tripling the IR
code size, and SSA updating 26K phi-nodes resulting in an O(N^2) search
for duplicates. #195744 limits phi search times.

This reverts commit a76750e6de6aba2223097dc505578556ec245d50.

---------

Signed-off-by: John Lu <John.Lu at amd.com>
DeltaFile
+647-736clang/test/Headers/__clang_hip_math.hip
+195-0llvm/test/Transforms/SimplifyCFG/jump-threading-live-on-exit.ll
+167-0llvm/test/CodeGen/AMDGPU/sroa-phi-nodes.ll
+95-0llvm/test/Transforms/SimplifyCFG/jump-threading-max-jump-threading-live-blocks.ll
+61-10llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+16-20llvm/test/CodeGen/AArch64/avoid-free-ext-promotion.ll
+1,181-7661 files not shown
+1,190-7767 files

Linux/linux ddae104drivers/regulator tps65219-regulator.c Kconfig

Merge tag 'regulator-fix-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator

Pull regulator fixes from Mark Brown:
 "A couple of fixes here, one very minor Kconfig fix and a fix for a
  nasty issue with error reporting in the tps65219 driver"

* tag 'regulator-fix-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
  regulator: tps65219: fix irq_data.rdev not being assigned
  regulator: Kconfig: fix a typo in help
DeltaFile
+95-40drivers/regulator/tps65219-regulator.c
+1-1drivers/regulator/Kconfig
+96-412 files

FreeBSD/src 22fa41bcontrib/unbound configure config.h.in, contrib/unbound/doc unbound-host.1.in libunbound.3

unbound: Update to 1.24.2

Merge commit 'ec5b94f552d7cb2a9d456c67e9941bcf5e3698bf'

This is purely cosmetic as we already had the functional changes.

MFC after:      1 week
DeltaFile
+2,692-1,909contrib/unbound/configure
+8-8lib/libunbound/config.h
+5-5contrib/unbound/config.h.in
+2-2contrib/unbound/doc/unbound-host.1.in
+2-2contrib/unbound/doc/libunbound.3
+2-2contrib/unbound/doc/libunbound.3.in
+2,711-1,92815 files not shown
+2,738-1,95421 files

OpenZFS/src accb2b4.github/workflows/scripts generate-ci-type.py

CI: run full CI when a workflow YAML changes

FULL_RUN_REGEX in generate-ci-type.py covered .github/workflows/scripts/
but not the workflow YAML files, so a PR that only edited zfs-qemu.yml
got "quick" CI and never tested its own matrix change. Add the YAML
files to the list.

Reviewed-by: George Melikov <mail at gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Christos Longros <chris.longros at gmail.com>
Closes #18577
DeltaFile
+1-0.github/workflows/scripts/generate-ci-type.py
+1-01 files

FreeBSD/src 290190bcontrib/unbound/doc unbound.conf.5 unbound-control.8

unbound: Regenerate for 1.24.1

No functional changes intended.

Fixes:          8b29c373e6ab ("unbound: Vendor import 1.24.1")
DeltaFile
+5,042-2,546contrib/unbound/doc/unbound.conf.5
+1,203-637contrib/unbound/doc/unbound-control.8
+330-343contrib/unbound/doc/libunbound.3
+245-134contrib/unbound/doc/unbound-anchor.8
+157-85contrib/unbound/doc/unbound-host.1
+102-67contrib/unbound/doc/unbound.8
+7,079-3,8123 files not shown
+7,184-3,8669 files