LLVM/project 7513fbdllvm/test/Transforms/LoopVectorize predicated-multiple-exits.ll predicated-single-exit.ll

[LV] Add tests with predicated early exits.

Add test coverage for predicated early exits, without instructions that
need predication after the early exits.
DeltaFile
+592-0llvm/test/Transforms/LoopVectorize/predicated-multiple-exits.ll
+444-0llvm/test/Transforms/LoopVectorize/predicated-single-exit.ll
+1,036-02 files

LLVM/project a49c1ccllvm/cmake/modules HandleLLVMOptions.cmake

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+10-0llvm/cmake/modules/HandleLLVMOptions.cmake
+10-01 files

LLVM/project 7f631bbclang/docs OverflowBehaviorTypes.rst, clang/lib/AST ASTContext.cpp

[Clang] Introduce OverflowBehaviorType for fine-grained overflow control (#148914)

Introduce `OverflowBehaviorType` (OBT), a new type attribute in Clang
that provides developers with fine-grained control over the overflow
behavior of integer types. This feature allows for a more nuanced
approach to integer safety, achieving better granularity than global
compiler flags like `-fwrapv` and `-ftrapv`. Type specifiers are also
available as keywords `__ob_wrap` and `__ob_trap`.

These can be applied to integer types (both signed and unsigned) as well
as typedef declarations, where the behavior is one of the following:

* `wrap`: Guarantees that arithmetic operations on the type will wrap on
overflow, similar to `-fwrapv`. This suppresses UBSan's integer overflow
checks for the attributed type and prevents eager compiler
optimizations.
* `trap`: Enforces overflow checking for the type, even when global
flags like `-fwrapv` would otherwise suppress it.


    [7 lines not shown]
DeltaFile
+832-0clang/docs/OverflowBehaviorTypes.rst
+190-114clang/lib/CodeGen/CGExprScalar.cpp
+254-0clang/test/Sema/attr-overflow-behavior.c
+226-9clang/lib/AST/ASTContext.cpp
+191-12clang/lib/Sema/SemaExpr.cpp
+190-0clang/test/Sema/attr-overflow-behavior.cpp
+1,883-13576 files not shown
+4,112-17982 files

LLVM/project 24cc278llvm/docs/TableGen ProgRef.rst, llvm/lib/TableGen TGParser.cpp

[TableGen] Add let append/prepend syntax for field concatenation
DeltaFile
+110-0llvm/test/TableGen/let-append.td
+68-7llvm/lib/TableGen/TGParser.cpp
+41-2llvm/docs/TableGen/ProgRef.rst
+0-42mlir/lib/TableGen/AttrOrTypeDef.cpp
+20-20mlir/test/mlir-tblgen/op-decl-and-defs.td
+14-14mlir/test/mlir-tblgen/attrdefs.td
+253-8514 files not shown
+307-18320 files

LLVM/project 7ec6c71llvm/include/llvm/Analysis ScalarEvolution.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Rewrite to always create canonical SCEV.
DeltaFile
+60-0llvm/lib/Analysis/ScalarEvolution.cpp
+9-1llvm/include/llvm/Analysis/ScalarEvolution.h
+69-12 files

LLVM/project 03983d5llvm/include/llvm/Analysis ScalarEvolution.h

[SCEV] Add canonical SCEV pointer
DeltaFile
+10-2llvm/include/llvm/Analysis/ScalarEvolution.h
+10-21 files

LLVM/project 4cdbb95lldb/source/Plugins/Platform/MacOSX PlatformDarwinDevice.cpp PlatformDarwin.cpp

[lldb] Check the shared cache binary provider for Simulator sessions (#182216)

The code to check with the shared cache binary provider was previously
in the native host platform (PlatformDarwinDevice), but it also needs to
be called from PlatformAppleSimulator for simulator debug sessions. Move
the code to the base class PlatformDarwin and call it from both
subclasses. No changes to the code itself, just moving it to the base
class.

rdar://170693756
DeltaFile
+5-44lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp
+46-0lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+7-1lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
+6-0lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
+64-454 files

LLVM/project 29d4feallvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 bool-mask.ll

[SLP]Handle mixed select-to-bicasts and general reductions

If the reduction tree represents mixed select-to-bitcasts and general
reductions, need to handle them correctly to avoid a compiler crash

Fixes https://github.com/llvm/llvm-project/pull/181940#issuecomment-3929220929
DeltaFile
+177-0llvm/test/Transforms/SLPVectorizer/X86/bool-mask.ll
+30-21llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+207-212 files

LLVM/project 216b44fllvm/include/llvm/Analysis ScalarEvolution.h ScalarEvolutionExpressions.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Introduce SCEVUse wrapper type (NFC)

Add SCEVUse as a PointerIntPair wrapper around const SCEV * to prepare
for storing additional per-use information.

This commit contains the mechanical changes of adding an intial SCEVUse
wrapper and updating all relevant interfaces to take SCEVUse. Note that
currently the integer part is never set, and all SCEVUses are
considered canonical.
DeltaFile
+162-104llvm/lib/Analysis/ScalarEvolution.cpp
+155-13llvm/include/llvm/Analysis/ScalarEvolution.h
+73-62llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
+24-24llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+16-18llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
+12-12polly/lib/Support/ScopHelper.cpp
+442-23314 files not shown
+500-27520 files

LLVM/project da1d1a7llvm/include/llvm/Analysis ScalarEvolution.h ScalarEvolutionExpressions.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Introduce SCEVUse wrapper type (NFC)

Add SCEVUse as a PointerIntPair wrapper around const SCEV * to prepare
for storing additional per-use information.

This commit contains the mechanical changes of adding an intial SCEVUse
wrapper and updating all relevant interfaces to take SCEVUse. Note that
currently the integer part is never set, and all SCEVUses are
considered canonical.
DeltaFile
+162-104llvm/lib/Analysis/ScalarEvolution.cpp
+155-13llvm/include/llvm/Analysis/ScalarEvolution.h
+73-62llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
+24-24llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+16-18llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
+12-12polly/lib/Support/ScopHelper.cpp
+442-23315 files not shown
+504-27921 files

LLVM/project 4c405ddllvm/include/llvm/Analysis ScalarEvolution.h

[SCEV] Add canonical SCEV pointer
DeltaFile
+10-2llvm/include/llvm/Analysis/ScalarEvolution.h
+10-21 files

LLVM/project f9d243ellvm/include/llvm/Analysis ScalarEvolution.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Rewrite to always create canonical SCEV.
DeltaFile
+60-0llvm/lib/Analysis/ScalarEvolution.cpp
+9-1llvm/include/llvm/Analysis/ScalarEvolution.h
+69-12 files

LLVM/project 650e898llvm/include/llvm/CodeGen TargetRegisterInfo.h

[NFC][CodeGen] Rewrite comment for `getSubRegisterClass` (#182339)

Change the description of `getSubRegisterClass` to be more accurate.
Additionally, reformat some existing comments to use `\p` to denote
function parameters.
DeltaFile
+12-7llvm/include/llvm/CodeGen/TargetRegisterInfo.h
+12-71 files

FreeNAS/freenas b95ead0src/middlewared/middlewared/plugins/truenas_connect hostname.py update.py

Improve error handling for failed register_update_ips
DeltaFile
+4-3src/middlewared/middlewared/plugins/truenas_connect/hostname.py
+1-3src/middlewared/middlewared/plugins/truenas_connect/update.py
+5-62 files

LLVM/project 79697b8mlir/lib/Target/LLVM CMakeLists.txt, mlir/lib/Target/LLVM/XeVM Target.cpp

[MLIR][XeVM] Revert PR179557 (#182373)

Revert #179557 as the change relies on private non export API.
DeltaFile
+8-93mlir/lib/Target/LLVM/XeVM/Target.cpp
+0-7mlir/lib/Target/LLVM/CMakeLists.txt
+8-1002 files

LLVM/project 35b5d13compiler-rt/lib/asan asan_poisoning.cpp, compiler-rt/lib/asan/tests asan_noinst_test.cpp

[ASan] Fix crash in __asan_region_is_poisoned at application memory boundaries (#180223)

`__asan_region_is_poisoned()` can crash when called on a region fully
contained in the last 8 bytes (shadow-granularity) before the end of an
ASan application memory range (kLowMemEnd / kMidMemEnd / kHighMemEnd).
    
The function performs a fast-path check by rounding UP the begin address
and rounding DOWN the end address of the region (aligned to
`ASAN_SHADOW_GRANULARITY`) and then scanning the corresponding shadow
range via `MemToShadow()` and `mem_is_zero()`. The implementation of
`MemToShadow()` assumes that `RoundUpTo(beg, ASAN_SHADOW_GRANULARITY)`
remains within the same application memory range. That assumption is
incorrect near upper bound of a range: for example, begin address within
the last 8 bytes of the high memory range
(`kHighMemEnd=0x0000'7fff'ffff'ffff`), which is the max user address of
VAS on x86_64, may be rounded UP so it crosses the upper bound
kHighMemEnd. In such cases MemToShadow() is invoked on an out-of-range
address and crashes.


    [23 lines not shown]
DeltaFile
+27-0compiler-rt/lib/asan/tests/asan_noinst_test.cpp
+12-9compiler-rt/lib/asan/asan_poisoning.cpp
+39-92 files

LLVM/project 0364443utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel][mlir] Fix bazel for a8f2e80d5f (#182372)

DeltaFile
+44-11utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+44-111 files

LLVM/project 9845f6allvm/include/llvm/LTO LTO.h, llvm/lib/LTO LTO.cpp

[LTO] Refactor LTO link optimization remarks handling (NFC) (#181269)

Centralize the setup and finalization of optimization remarks for LTO
link actions
outside of the pass pipeline. This ensures that remarks are correctly
captured across
all exit paths from the LTO pipeline. 

The motivation for this refactoring is to provide a cleaner and more
robust
interface for managing diagnostics, and to enable easier remark emission
during
the thin link phase in a follow-on PR.

Key changes:
- Added a setupOptimizationRemarks on the LTO class. Call it from
LTO::run
  and remove the existing setup from runRegularLTO.
- Added a unified diagnostic API to the LTO class (emitRemark) and use

    [4 lines not shown]
DeltaFile
+32-16llvm/lib/LTO/LTO.cpp
+8-1llvm/include/llvm/LTO/LTO.h
+40-172 files

LLVM/project f33f9a0mlir/include/mlir/Dialect/Vector/TransformOps VectorTransformOps.td, mlir/lib/Dialect/Vector/TransformOps VectorTransformOps.cpp

[mlir][vector] Add apply_patterns.vector.multi_reduction_unrolling. (#182113)

* Adds vector transform op
`apply_patterns.vector.multi_reduction_unrolling`
* Adds test for `populateVectorMultiReductionUnrollingPatterns`
* Deletes old test files `vector-multi-reduction-lowering.mlir` and
`vector-multi-reduction-lowering-outer.mlir`. Tests that exercise these
patterns exist in `vector-multi-reduction-flattening.mlir`,
`vector-multi-reduction-reorder-and-expand.mlir` and
`vector-multi-reduction-unrolling.mlir`

Assisted-by: claude
DeltaFile
+0-255mlir/test/Dialect/Vector/vector-multi-reduction-lowering.mlir
+0-192mlir/test/Dialect/Vector/vector-multi-reduction-outer-lowering.mlir
+115-0mlir/test/Dialect/Vector/vector-multi-reduction-unrolling.mlir
+23-0mlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
+8-0mlir/test/python/dialects/transform_vector_ext.py
+8-0mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
+154-4476 files

LLVM/project 5462443llvm/lib/Target/SPIRV SPIRVTypeInst.cpp

[SPIRV] Mark function only used in assert maybe_unused

https://lab.llvm.org/staging/#/builders/227/builds/519
DeltaFile
+1-1llvm/lib/Target/SPIRV/SPIRVTypeInst.cpp
+1-11 files

LLVM/project 76525a8mlir/lib/Dialect/Linalg/IR LinalgOps.cpp, mlir/test/Dialect/Linalg canonicalize.mlir

[MLIR] Fix canonicalization of extract_slice(unpack) (#181840)

DeltaFile
+46-0mlir/test/Dialect/Linalg/canonicalize.mlir
+12-0mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
+58-02 files

LLVM/project 6233c4ellvm/utils/gn/build driver_executable.gni, llvm/utils/gn/secondary/clang/tools/driver BUILD.gn

gn build: Port 15488a7f78ce
DeltaFile
+10-1llvm/utils/gn/build/driver_executable.gni
+1-0llvm/utils/gn/secondary/clang/tools/driver/BUILD.gn
+11-12 files

FreeNAS/freenas 2b72c90src/middlewared/middlewared/plugins/truenas_connect acme.py

Reuse output from register_update_ips

This commit adds changes to reflect changed function signature of create_cert where we now pass in hostname details instead of querying them separately.
DeltaFile
+3-2src/middlewared/middlewared/plugins/truenas_connect/acme.py
+3-21 files

LLVM/project 3d71201lldb/test/API/functionalities/postmortem/FreeBSDKernel TestFreeBSDKernelVMCore.py

[lldb][tests/FreeBSDKernel] Skip tests on non-FreeBSD hosts (#182363)

#181283 removed fvc but it still remains in tests. This causes testing
on non-FreeBSD hosts. Thus add `skipUnlessPlatform` decorator.

Signed-off-by: Minsoo Choo <minsoochoo0122 at proton.me>
DeltaFile
+1-1lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py
+1-11 files

LLVM/project 3c60be2utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel] Fix build for 8e85a42d5b (#182359)

DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-01 files

FreeBSD/src c721ceeusr.sbin/syslogd/tests syslogd_format_test_common.sh

syslogd/tests: use kern.features to detect INET support

This fixes INET feature detection with kernel configs
that do not include the kern.conftxt sysctl, such as
riscv64 currently[0].

[0] https://ci.freebsd.org/view/Test/job/FreeBSD-main-riscv64-test/16514/testReport/usr.sbin.syslogd/syslogd_forwarded_format_test/O_flag_bsd_forwarded_legacy/

Reviewed by:    markj
Approved by:    emaste (mentor)
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55383
DeltaFile
+1-2usr.sbin/syslogd/tests/syslogd_format_test_common.sh
+1-21 files

LLVM/project dcd2b08llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rv64p.ll

[RISCV] Use FSHR in LowerShiftRightParts for P extension on RV64. (#181234)

We can't do the NSRLI trick on RV64, but we can use srx similar to what
we do in LowerShiftLeftParts. We need an additional fixup step for the
FSHR result that NSRLI doesn't need.

Assisted-by: claude
DeltaFile
+40-14llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+11-29llvm/test/CodeGen/RISCV/rv64p.ll
+51-432 files

LLVM/project 3c6523dflang/lib/Optimizer/Transforms FIRToMemRef.cpp, flang/test/Transforms/FIRToMemRef array-coor-block-arg.mlir no-declare.mlir

Revert "[flang] Lowering a ArrayCoorOp to arithmetic computations whe… (#182365)

This reverts commit 2bd23d3fa688d0e25c8492ceeaa251af4759d559.
DeltaFile
+15-14flang/lib/Optimizer/Transforms/FIRToMemRef.cpp
+0-28flang/test/Transforms/FIRToMemRef/array-coor-block-arg.mlir
+6-7flang/test/Transforms/FIRToMemRef/no-declare.mlir
+21-493 files

OpenBSD/src s1UJpJ7sys/sys videoio.h

   sys/videoio.h: sync with Linux

   1. media: v4l2-ctrls: Add hevc_ext_sps_[ls]t_rps controls
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fa05705107a40131a8335ad37817153709261738

   2. media: uapi: videodev2: Add support for AV1 stateful decoder
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=406fc2e9ca65e0df345ebf4ce95aa87cb6416f35

   3. media: v4l: ctrls: add a control for flash/strobe duration
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d89ccbf3dde727d91a242a5a3f3b70a90579b057

   4. media: v4l: ctrls: add a control for enabling strobe output
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5be4154f6255d92d9d2ad5da658d7d33a655386f

   Here no ABI or API changes.

   Scope limited to few new defines, new struct and new enum value only.

   OK deraadt@
VersionDeltaFile
1.29+67-1sys/sys/videoio.h
+67-11 files

LLVM/project b26c617mlir/lib/Target/LLVM/ROCDL Target.cpp

Change AMDGPU target initialization condition
DeltaFile
+1-1mlir/lib/Target/LLVM/ROCDL/Target.cpp
+1-11 files