LLVM/project 0f398c5mlir/lib/Dialect/SparseTensor/IR SparseTensorDialect.cpp, mlir/lib/Dialect/SparseTensor/Transforms/Utils CodegenUtils.cpp CodegenUtils.h

[mlir][SparseTensor] Reject sparse encoding on non-primary types (#209591)

SparseTensorConversion rewrite patterns assume element types are valid
primary types, but the dialect does not actually enforce this
restriction. This change makes it so that sparse tensor encodings
gracefully reject invalid primary types by verifying the encoding.

Closes #202787
Supersedes and closes #208913
DeltaFile
+80-80mlir/test/Dialect/SparseTensor/vectorize_reduction.mlir
+98-1mlir/test/Dialect/SparseTensor/conversion_invalid.mlir
+22-22mlir/test/Dialect/SparseTensor/constant_index_map.mlir
+14-0mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
+0-12mlir/lib/Dialect/SparseTensor/Transforms/Utils/CodegenUtils.cpp
+0-5mlir/lib/Dialect/SparseTensor/Transforms/Utils/CodegenUtils.h
+214-1202 files not shown
+218-1238 files

OpenZFS/src 484229atests/zfs-tests/tests Makefile.am

ZTS: ensure zfs_channel_program_support test is installed

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18836
DeltaFile
+1-0tests/zfs-tests/tests/Makefile.am
+1-01 files

LLVM/project 5b1fa37clang/lib/StaticAnalyzer/Core RegionStore.cpp ExprEngine.cpp, clang/test/Analysis issue-210183.cpp initializer.cpp

[analyzer] Fix crash in RegionStoreManager::bindArray from constructor array-to-pointer decay (#210649)

ProcessInitializer() strips implicit casts from a CXXCtorInitializer's
init expression via IgnoreImplicit(), then decides whether to treat the
initializer as a direct array-to-array member copy by checking
Init->getType()->isArrayType(). For a pointer member initialized via
array-to-pointer decay of a reference-to-array constructor parameter
(e.g. `Foo(T (&arr)[N]) : ptr_(arr) {}`), IgnoreImplicit() strips the
ArrayToPointerDecay cast, exposing the underlying array-typed
expression, so this check misfires even though the field itself is a
pointer, not an array. That branch fetches the raw region address of the
whole array, bypassing the normal decay logic (which produces an
ElementRegion), so the pointer member ends up holding the address of the
whole array typed as the array itself, instead of an ElementRegion at
index 0.

Later, dereferencing and storing through that mistyped pointer routes
into RegionStoreManager::bindArray() (instead of bindScalar()), which
unconditionally casts its Init value to nonloc::CompoundVal, asserting

    [35 lines not shown]
DeltaFile
+34-0clang/test/Analysis/issue-210183.cpp
+9-1clang/lib/StaticAnalyzer/Core/RegionStore.cpp
+3-5clang/test/Analysis/initializer.cpp
+1-1clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+47-74 files

LLVM/project 1982236mlir/lib/Analysis/Presburger IntegerRelation.cpp, mlir/unittests/Analysis/Presburger IntegerRelationTest.cpp

[mlir][Analysis][Presburger] Remove redundant local vars after composition (#211023)

Call `removeRedundantLocalVars()` at the end of
`IntegerRelation::compose` to simplify existential constraints generated
when projecting out intermediate dimensions.

Removing redundant local vars also happens in
`IntegerRelation::mergeAndCompose` and `FlatAffineRelation::compose`.

When composing A->B with B->C, intermediate vars B are converted to
local existential variables. When performing multiple compositions, this
causes bloat of existential variables that impact later performance,
bounds checks, and emptiness checks.

Signed-off-by: Asra Ali <asraa at google.com>
DeltaFile
+19-0mlir/unittests/Analysis/Presburger/IntegerRelationTest.cpp
+3-0mlir/lib/Analysis/Presburger/IntegerRelation.cpp
+22-02 files

LLVM/project a252743libc/utils/MPFRWrapper MPCommon.h

guard for LD
DeltaFile
+1-1libc/utils/MPFRWrapper/MPCommon.h
+1-11 files

LLVM/project f931df6libc/shared/math ceilf128.h, libc/src/__support/math ceilf128.h

formatting
DeltaFile
+2-2libc/test/shared/shared_math_test.cpp
+1-1libc/shared/math/ceilf128.h
+1-1libc/src/__support/math/ceilf128.h
+1-1libc/src/math/ceilf128.h
+1-1libc/src/math/generic/ceilf128.cpp
+1-1libc/test/src/math/ceilf128_test.cpp
+7-76 files

LLVM/project d4b0934libc/test/shared shared_math_constexpr_test.cpp, libc/test/src/math/smoke ceilf128_test.cpp

chore: format
DeltaFile
+5-5libc/utils/MPFRWrapper/MPFRUtils.cpp
+4-4libc/utils/MPFRWrapper/MPCommon.h
+2-3libc/test/shared/shared_math_constexpr_test.cpp
+1-1libc/test/src/math/smoke/ceilf128_test.cpp
+1-1libc/utils/MPFRWrapper/MPCommon.cpp
+13-145 files

LLVM/project 00877d0libc/utils/MPFRWrapper MPCommon.h

add template for Float128 separately
DeltaFile
+12-1libc/utils/MPFRWrapper/MPCommon.h
+12-11 files

LLVM/project 8b5cd24libc/utils/MPFRWrapper MPCommon.h

non-native mpfr_get_float128
DeltaFile
+5-0libc/utils/MPFRWrapper/MPCommon.h
+5-01 files

LLVM/project 57f6894libc/utils/MPFRWrapper CMakeLists.txt MPCommon.cpp

test mpfr_get_float128
DeltaFile
+61-61libc/utils/MPFRWrapper/CMakeLists.txt
+1-1libc/utils/MPFRWrapper/MPCommon.cpp
+62-622 files

LLVM/project bc1ed1alibc/utils/MPFRWrapper MPCommon.h

nit
DeltaFile
+1-1libc/utils/MPFRWrapper/MPCommon.h
+1-11 files

LLVM/project adc56a5libc/utils/MPFRWrapper MPFRUtils.cpp

nit
DeltaFile
+13-0libc/utils/MPFRWrapper/MPFRUtils.cpp
+13-01 files

LLVM/project dfceb17libc/utils/MPFRWrapper MPCommon.h

nit
DeltaFile
+1-1libc/utils/MPFRWrapper/MPCommon.h
+1-11 files

LLVM/project ed7e695libc/utils/MPFRWrapper MPCommon.h

nits
DeltaFile
+1-1libc/utils/MPFRWrapper/MPCommon.h
+1-11 files

LLVM/project e203d40libc/utils/MPFRWrapper MPCommon.h

nits
DeltaFile
+1-1libc/utils/MPFRWrapper/MPCommon.h
+1-11 files

LLVM/project 96f9888libc/utils/MPFRWrapper MPCommon.h

nits
DeltaFile
+1-1libc/utils/MPFRWrapper/MPCommon.h
+1-11 files

LLVM/project e5afb6clibc/test/shared shared_math_constexpr_test.cpp

nits
DeltaFile
+1-1libc/test/shared/shared_math_constexpr_test.cpp
+1-11 files

LLVM/project c25a19clibc/test/shared shared_math_constexpr_test.cpp CMakeLists.txt

shared_math_constexpr update
DeltaFile
+8-1libc/test/shared/shared_math_constexpr_test.cpp
+1-0libc/test/shared/CMakeLists.txt
+9-12 files

LLVM/project ad53585libc/utils/MPFRWrapper CMakeLists.txt MPCommon.h

test mpfr
DeltaFile
+61-59libc/utils/MPFRWrapper/CMakeLists.txt
+8-1libc/utils/MPFRWrapper/MPCommon.h
+7-0libc/utils/MPFRWrapper/MPCommon.cpp
+76-603 files

LLVM/project f033b47libc/src/__support/math ceilf128.h

nits
DeltaFile
+1-1libc/src/__support/math/ceilf128.h
+1-11 files

LLVM/project 974d4f5libc/src/__support/math ceilf128.h CMakeLists.txt, libc/src/math/generic CMakeLists.txt

cmake edits
DeltaFile
+4-1libc/test/src/math/smoke/ceilf128_test.cpp
+3-0libc/src/__support/math/ceilf128.h
+1-1libc/src/__support/math/CMakeLists.txt
+1-0libc/test/src/math/CMakeLists.txt
+1-0libc/test/src/math/smoke/CMakeLists.txt
+1-0libc/src/math/generic/CMakeLists.txt
+11-26 files

LLVM/project 4b195cclibc/test/shared CMakeLists.txt

nit
DeltaFile
+1-0libc/test/shared/CMakeLists.txt
+1-01 files

LLVM/project 16aab0elibc/src/__support/math ceilf128.h, libc/test/shared shared_math_test.cpp

test: float128
DeltaFile
+10-1libc/test/shared/shared_math_test.cpp
+0-3libc/src/__support/math/ceilf128.h
+10-42 files

LLVM/project 462a18elibc/shared/math ceilf128.h, libc/src/__support/math ceilf128.h

test: emulated float128 with ceilf128
DeltaFile
+4-7libc/src/__support/math/ceilf128.h
+3-6libc/shared/math/ceilf128.h
+4-1libc/src/math/ceilf128.h
+4-1libc/src/math/generic/ceilf128.cpp
+4-1libc/test/src/math/ceilf128_test.cpp
+19-165 files

LLVM/project b59caeflldb/test/API/tools/lldb-dap/breakpoint-events TestDAP_breakpointEvents.py, lldb/test/API/tools/lldb-dap/eventStatistic TestDAP_eventStatistic.py TestVSCode_eventStatistic.py

[lldb-dap] Migrate lldb-dap events tests. (#209285)

Migrate
- TestDAP_breakpointEvent.py
- TestDAP_eventStatistic.py
- TestDAP_invalidatedEvent.py
- TestDAP_sendEvent.py
- TestDAP_stopped_events.py
- TestDAP_terminatedEvent.py

Some test's helper methods are no longer necessary as there is already
existing session function doing something similar.
DeltaFile
+95-128lldb/test/API/tools/lldb-dap/stopped-events/TestDAP_stopped_events.py
+104-92lldb/test/API/tools/lldb-dap/breakpoint-events/TestDAP_breakpointEvents.py
+87-0lldb/test/API/tools/lldb-dap/eventStatistic/TestDAP_eventStatistic.py
+0-77lldb/test/API/tools/lldb-dap/eventStatistic/TestVSCode_eventStatistic.py
+42-35lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py
+29-32lldb/test/API/tools/lldb-dap/invalidated-event/TestDAP_invalidatedEvent.py
+357-3642 files not shown
+394-3958 files

LLVM/project ec8e379clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp

[NFC][Clang] Remove dead code from LifetimeSafety/FactsGenerator.cpp (#210830)

This PR removes dead code in
`clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp`. This was
discovered by a Coverity scan on clang.
DeltaFile
+0-2clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+0-21 files

LLVM/project f355f3clibcxx/src/include overridable_function.h

[PAC][libcxx] Fix build with `ptrauth_calls` feature

After partial revert of #208330 in #209928, the libcxx build started
failing because of missing `<cstdint>` include required for `uintptr_t`
declaration used only by code behind `ptrauth_calls` feature check.
See https://lab.llvm.org/buildbot/#/builders/227/builds/3358

This patch adds the missing include
DeltaFile
+1-0libcxx/src/include/overridable_function.h
+1-01 files

LLVM/project 56e68bbclang/lib/Driver/ToolChains CommonArgs.cpp, clang/test/Driver amdgpu-mcpu.cl hip-sanitize-options.hip

clang/AMDGPU: Stop passing redundant -target-cpu to cc1

Now that the exact target is encoded in the triple's subarch field,
-target-cpu is redundant. This avoids polluting the resultant IR with
unwanted "target-cpu" attributes. The net result is the desired codegen
when compiling libraries for a major subarch and linking it into a
program compiled for a specific arch. e.g., compiling for "gfx9-generic"
would pollute the IR with "target-cpu"="gfx9-generic", so codegen
would ultimately be performed for the generic target even after
linking into the concrete gfx9 cpu. The specialization will now be
achieved by merging the triples without the linker or optimization
passes needing to fixup function attributes.
DeltaFile
+62-62clang/test/Driver/amdgpu-mcpu.cl
+26-26clang/test/Driver/hip-sanitize-options.hip
+20-10clang/lib/Driver/ToolChains/CommonArgs.cpp
+12-16clang/test/Driver/hip-rdc-device-only.hip
+24-0clang/test/Preprocessor/amdgpu-subarch-cc1-target-cpu.cl
+10-10clang/test/Driver/amdgpu-xnack-sramecc-flags.c
+154-12427 files not shown
+214-21133 files

LLVM/project c24bbf6clang/lib/Basic OffloadArch.cpp, clang/lib/Driver Driver.cpp

clang: Start using new amdgpu subarch triples

Fixup invocations using --target=amdgcn + -mcpu to introduce
the subarch in the triple.

For offload toolchains, a single toolchain is constructed for the
top level amdgpu architecture, and the effective triple is used for
target specific tool invocations.

The specifics of the resource directory layout are tbd. This does
try to find resources in the subarch named directory. The paths
are searched at toolchain creation time, so that does not work
when there are multiple subarches.

Fixes #154925
DeltaFile
+234-2clang/lib/Basic/OffloadArch.cpp
+59-59clang/test/Driver/offload-arch-translation-amdgpu.cu
+43-43clang/test/Driver/hip-phases.hip
+33-33clang/test/Driver/hip-binding.hip
+48-14clang/lib/Driver/ToolChains/CommonArgs.cpp
+43-12clang/lib/Driver/Driver.cpp
+460-163106 files not shown
+1,260-494112 files

NetBSD/pkgsrc GC4dhj0graphics/chafa Makefile

   chafa: needs GNU make

   Otherwise:

   gcc -std=gnu23 -E -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -CC  -o chafa-term-seq-doc.h
   gcc: fatal error: no input files
VersionDeltaFile
1.20+2-2graphics/chafa/Makefile
+2-21 files