LLVM/project 3e18eb0mlir/lib/Interfaces/Utils InferIntRangeCommon.cpp

[MLIR] Move bitwise bounds into local arrays (NFC) (#221082)

Materialize bitwise-and and bitwise-or candidate bounds in fixed-size
arrays by moving local APInt values. This avoids initializer-list copies
before min/max inference.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+6-4mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
+6-41 files

LLVM/project 79ad4f8mlir/lib/Target/SPIRV/Deserialization Deserializer.cpp

[MLIR][SPIRV] Move deferred struct information into storage (NFC) (#221077)

Transfer the locally accumulated member and decoration information into
the deferred struct record when forward references require it.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+4-2mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
+4-21 files

LLVM/project d90f6c3mlir/lib/Dialect/XeGPU/IR XeGPUOps.cpp

[MLIR][XeGPU] Avoid copies in shape helpers (NFC) (#221080)

Pass shapes by reference to the read-only diagnostic formatter. Move
local shape vectors into the owning layout helper when they are no
longer needed.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+5-3mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
+5-31 files

LLVM/project dde327amlir/lib/Dialect/Linalg/TransformOps LinalgTransformOps.cpp

[MLIR][linalg] Move transform options at their last use (NFC) (#221076)

Move locally assembled tiling and padding options into their owning
destinations at their last use. Remove a self-copy assignment around
setTileSizes while preserving its mutation.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+10-9mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
+10-91 files

NetBSD/pkgsrc-wip f914d9eqgis Makefile PLIST

qgis: Update to 4.2.2

Tested on NetBSD 10 amd64.

Upstream NEWS: micro release
DeltaFile
+3-3qgis/distinfo
+3-0qgis/PLIST
+1-1qgis/Makefile
+7-43 files

LLVM/project 0e307f1mlir/lib/Dialect/GPU/Pipelines GPUToXeVMPipeline.cpp

[MLIR][GPU] Move XeVM pipeline options into passes (NFC) (#221074)

Move locally assembled pass options into pass constructors at their last
use. Keep the lane-layout options intact until the second propagation
pass, then move them as well.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+14-11mlir/lib/Dialect/GPU/Pipelines/GPUToXeVMPipeline.cpp
+14-111 files

LLVM/project a9ef5bcmlir/lib/Interfaces/Utils InferIntRangeCommon.cpp

[MLIR] Avoid copies in xor range inference (NFC) (#221083)

Borrow the input ranges and move local APInt values into bitwise
operations at their last use while computing varying-bit masks and
inferred xor bounds.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+4-3mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
+4-31 files

LLVM/project 85bb734mlir/lib/Conversion/AMDGPUToROCDL AMDGPUToROCDL.cpp

[MLIR][amdgpu] Pass descriptor adaptors by reference (NFC) (#221078)

Pass the descriptor adaptor (136-byte struct) by reference through the
tensor-dimension helper chain. These generated adaptors are read-only in
practice but expose non-const accessors, so use a non-const reference to
avoid copying them.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+41-41mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
+41-411 files

LLVM/project 39b68d5lldb/tools/debugserver/source RNBRemote.cpp

[lldb][debugserver] Don't overwrite the attach error with a hint (#220993)

When the attach fails with "unable to start the exception thread",
debugserver snprintf'd advice about checking Console.app over err_str,
destroying the real error before it reached both the packet sent to lldb
and the DNBLogError below it. That step can fail for reasons other than
a denied attach, so the hint replaced an authoritative error with a
guess.
DeltaFile
+10-10lldb/tools/debugserver/source/RNBRemote.cpp
+10-101 files

LLVM/project de261e3mlir/lib/Target/IRDLToCpp IRDLToCpp.cpp

[MLIR][IRDL] Move generated dialect strings into storage (NFC) (#221072)

Move locally assembled C++ names and namespace fragments into the
dialect string table. Their temporary strings are not used after the
table entry is built, so copying their allocations is unnecessary.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+6-6mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp
+6-61 files

FreeBSD/src 813eb5asys/kern subr_devstat.c

devstat: Fix a kernel stack disclosure

The 16-byte "device_name" field was not zero-filled, so could contain
uninitialized stack data.  Zero the whole struct, as that's the
prevailing pattern for this kind of conversion code, and it's more
robust in the face of future revisions to struct devstat.

Approved by:    re (cperciva)
Reviewed by:    olce, kib
Reported by:    Reo Shiseki
Fixes:          a11d132f6c62 ("devstat: Provide 32-bit compatibility")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59309

(cherry picked from commit 7cb1a76f88158fb690418336b736e66c238cd4f7)
(cherry picked from commit 6e94e0734b9d3036df8c7d94d827f8eb1119905b)
DeltaFile
+1-0sys/kern/subr_devstat.c
+1-01 files

LLVM/project 28b0727mlir/lib/Dialect/OpenACC/IR OpenACCCG.cpp, mlir/test/Dialect/OpenACC compute-region-canonicalize.mlir

[MLIR][OpenACC] Track compute region canonicalization updates (#221031)

The compute-region canonicalizations mutate block arguments, operands,
and the operand segment attribute. Route these updates through
modifyOpInPlace so pattern-rewriter listeners observe every mutation.

Assisted-by: Codex
DeltaFile
+60-41mlir/lib/Dialect/OpenACC/IR/OpenACCCG.cpp
+30-2mlir/test/Dialect/OpenACC/compute-region-canonicalize.mlir
+90-432 files

LLVM/project a1ac4a7mlir/lib/Dialect/GPU/TransformOps Utils.cpp

[MLIR][GPU] Move ID-builder results into place (NFC) (#221071)

Move locally owned error strings, mapping IDs, and predicate operations
into IdBuilderResult at the end of each builder callback. These values
are not used after the return, so copying their storage is unnecessary.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+14-12mlir/lib/Dialect/GPU/TransformOps/Utils.cpp
+14-121 files

LLVM/project a80edbdmlir/lib/Interfaces/Utils InferIntRangeCommon.cpp

[MLIR] Move affine range operands into inference helpers (NFC) (#221070)

Move recursively inferred ranges into fixed-size operand arrays before
calling arithmetic inference helpers. Initialize the affine modulo lower
bound directly instead of copying a local APInt.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+15-7mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
+15-71 files

LLVM/project cf9a253clang/lib/Driver Driver.cpp, clang/test/Driver hip-phases.hip

cleanups

Created using spr 1.3.7
DeltaFile
+2,496-0llvm/test/Transforms/LoopVectorize/PowerPC/partial-red.ll
+517-1,418llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+28-1,047clang/lib/Driver/Driver.cpp
+8-599clang/test/Driver/hip-phases.hip
+337-5llvm/test/CodeGen/AArch64/vec-combine-compare-to-bitmask.ll
+109-176mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+3,495-3,245172 files not shown
+5,048-6,630178 files

LLVM/project ecda99fmlir/include/mlir/Analysis/Presburger GeneratingFunction.h, mlir/unittests/Analysis/Presburger GeneratingFunctionTest.cpp

[mlir][presburger] Move generating-function storage (NFC) (#221069)

Move by-value constructor parameters into the generating function and
move the locally accumulated term storage when returning a sum. Borrow
storage from lvalue getters, transfer it from mutable rvalue getters,
and preserve value semantics for const rvalues.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+33-0mlir/unittests/Analysis/Presburger/GeneratingFunctionTest.cpp
+20-6mlir/include/mlir/Analysis/Presburger/GeneratingFunction.h
+53-62 files

LLVM/project 365e5a3clang/lib/Driver Driver.cpp, clang/test/Driver hip-phases.hip

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+2,496-0llvm/test/Transforms/LoopVectorize/PowerPC/partial-red.ll
+517-1,418llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+28-1,047clang/lib/Driver/Driver.cpp
+8-599clang/test/Driver/hip-phases.hip
+337-5llvm/test/CodeGen/AArch64/vec-combine-compare-to-bitmask.ll
+109-176mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+3,495-3,245171 files not shown
+4,969-6,567177 files

LLVM/project 324275dclang/lib/Driver Driver.cpp, clang/test/Driver hip-phases.hip

cleanups

Created using spr 1.3.7
DeltaFile
+2,496-0llvm/test/Transforms/LoopVectorize/PowerPC/partial-red.ll
+517-1,418llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+28-1,047clang/lib/Driver/Driver.cpp
+8-599clang/test/Driver/hip-phases.hip
+337-5llvm/test/CodeGen/AArch64/vec-combine-compare-to-bitmask.ll
+109-176mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+3,495-3,245171 files not shown
+4,969-6,567177 files

LLVM/project 7108d78clang/lib/Driver Driver.cpp, clang/test/Driver hip-phases.hip

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+2,496-0llvm/test/Transforms/LoopVectorize/PowerPC/partial-red.ll
+517-1,418llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+28-1,047clang/lib/Driver/Driver.cpp
+8-599clang/test/Driver/hip-phases.hip
+337-5llvm/test/CodeGen/AArch64/vec-combine-compare-to-bitmask.ll
+109-176mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+3,495-3,245171 files not shown
+4,969-6,567177 files

LLVM/project c11ca04clang/lib/Driver Driver.cpp, clang/test/Driver hip-phases.hip

cleanups

Created using spr 1.3.7
DeltaFile
+2,496-0llvm/test/Transforms/LoopVectorize/PowerPC/partial-red.ll
+517-1,418llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+28-1,047clang/lib/Driver/Driver.cpp
+8-599clang/test/Driver/hip-phases.hip
+337-5llvm/test/CodeGen/AArch64/vec-combine-compare-to-bitmask.ll
+109-176mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+3,495-3,245171 files not shown
+4,969-6,567177 files

LLVM/project 30a35aaclang/lib/Driver Driver.cpp, clang/test/Driver hip-phases.hip

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+2,496-0llvm/test/Transforms/LoopVectorize/PowerPC/partial-red.ll
+517-1,418llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+28-1,047clang/lib/Driver/Driver.cpp
+8-599clang/test/Driver/hip-phases.hip
+337-5llvm/test/CodeGen/AArch64/vec-combine-compare-to-bitmask.ll
+109-176mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+3,495-3,245171 files not shown
+4,969-6,567177 files

LLVM/project 0edd1b0mlir/include/mlir/Dialect/LLVMIR NVVMOps.td, mlir/include/mlir/Dialect/OpenACC OpenACCOps.td

[MLIR][ODS] Default EnumAttr to angle-bracket assembly (#220608)

Make angle brackets the default assembly format for EnumAttr.

Use explicit enum directives where operations retain bare symbolic
syntax.

This is possible now because of the newly added `enum` directive in
#220412 ; which allows to use the raw enum value in the declarative
assembly format, preserving the ability for the enum to use `<` `>`
consistently in the generic form.

You can restore the previous behavior for a given enum attribute with:

```
 let assemblyFormat = "$value";
``` 

Assisted-by: Codex
DeltaFile
+109-176mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+75-20mlir/test/mlir-tblgen/op-format.td
+64-27mlir/tools/mlir-tblgen/OpFormatGen.cpp
+13-39mlir/include/mlir/Dialect/OpenMP/OpenMPEnums.td
+18-30mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
+20-25mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
+299-31772 files not shown
+586-65578 files

LLVM/project feea42cclang/lib/Driver Driver.cpp, clang/test/Driver hip-toolchain-rdc-separate.hip hip-rdc-device-only.hip

[Clang] Remove the old LLVM offloading driver entirely (#211924)

Summary:
The 'new' offloading driver is the unified set of steps to produce
merged host and device output. OpenMP offloading has used it by default
since Clang 13, CUDA since Clang 21, and HIP / SYCL since Clang 23. The
support has matured in the 23 release and should now cover the remaining
use-cases.

This PR completely removes the support so we stop needing to support
both when making updates to the driver.
DeltaFile
+28-1,047clang/lib/Driver/Driver.cpp
+8-599clang/test/Driver/hip-phases.hip
+5-216clang/test/Driver/cuda-phases.cu
+1-184clang/test/Driver/hip-toolchain-rdc.hip
+0-180clang/test/Driver/hip-rdc-device-only.hip
+0-153clang/test/Driver/hip-toolchain-rdc-separate.hip
+42-2,37968 files not shown
+215-4,19874 files

LLVM/project b59258fllvm/lib/Target/AMDGPU AMDGPUPromoteAlloca.cpp, llvm/test/CodeGen/AMDGPU eliminate-frame-index-select.ll promote-alloca-homogeneous-struct.ll

Revert "[AMDGPU] PromoteAlloca: flatten homogeneous structs to vector… (#221058)

Reverts llvm/llvm-project#217055

unblock bot: https://lab.llvm.org/buildbot/#/builders/10
DeltaFile
+0-152llvm/test/CodeGen/AMDGPU/promote-alloca-homogeneous-struct.ll
+6-23llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
+1-6llvm/test/CodeGen/AMDGPU/eliminate-frame-index-select.ll
+7-1813 files

LLVM/project 708017dclang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.cpp, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

[CIR] Widen memory effects for ABI-introduced argument memory

Both memory-effect sites in LowerToLLVM now check `arg_attrs` and add
argument memory, as classic does in `AddPotentialArgAccess`.  Variadic
definitions widen too, since their parameters do not cover every
argument.  CallConvLowering also carries `side_effect` across when it
rebuilds a call.

Assisted-by: Cursor / claude-opus-5
DeltaFile
+118-21clang/test/CIR/CodeGen/side-effect.cpp
+132-0clang/test/CIR/Transforms/abi-lowering/side-effect-argmem.cir
+64-62clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+16-7clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+330-904 files

FreeBSD/ports df82ec5www/lycheeorg Makefile distinfo

www/lycheeorg: Update to 7.8.3

* Add DIST_SUBDIR so that Lychee updates correctly when the distfile is
  cached in ${DISTDIR}.
* Add missing intl dependency.
DeltaFile
+7,546-1,288www/lycheeorg/pkg-plist
+3-3www/lycheeorg/distinfo
+3-2www/lycheeorg/Makefile
+7,552-1,2933 files

LLVM/project c3a9d93llvm/lib/Target/AMDGPU SIPeepholeSDWA.cpp, llvm/test/CodeGen/AMDGPU sdwa-ops.mir

[AMDGPU] Fix for SDWA assertion fail / compiler crash (#220798)

Iterator increment went beyond the end of MBB
DeltaFile
+37-0llvm/test/CodeGen/AMDGPU/sdwa-ops.mir
+2-0llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp
+39-02 files

LLVM/project 61cedc7utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[Bazel] Fixes 54a5233 (#221059)

This fixes 54a5233a5fa64d983b982d41fff0f5f2ad78bbb8 (#220776).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=54a5233a5fa64d983b982d41fff0f5f2ad78bbb8

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

LLVM/project d107cc3llvm/include/llvm/Transforms/IPO LowerTypeTests.h, llvm/lib/Transforms/IPO LowerTypeTests.cpp

[NFC][LowerTypeTests] Make GlobalLayoutBuilder a class with build() method (#221043)

Encapsulate GlobalLayoutBuilder into a class with private members and an
explicit build() method.

This separates fragment accumulation from final layout assembly and
flattening, preparing GlobalLayoutBuilder for ordering customization
in https://github.com/llvm/llvm-project/pull/221044.

PR Stack:
* https://github.com/llvm/llvm-project/pull/220776
* ➤ https://github.com/llvm/llvm-project/pull/221043
* https://github.com/llvm/llvm-project/pull/221044
* https://github.com/llvm/llvm-project/pull/221045
* https://github.com/llvm/llvm-project/pull/221046

Assisted-by: Gemini
DeltaFile
+17-7llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+7-3llvm/include/llvm/Transforms/IPO/LowerTypeTests.h
+1-5llvm/unittests/Transforms/IPO/LowerTypeTests.cpp
+25-153 files

LLVM/project 4392bebllvm/lib/Target/PowerPC PPCTargetTransformInfo.h PPCTargetTransformInfo.cpp, llvm/test/Transforms/LoopVectorize/PowerPC cost-partial-red.ll partial-red.ll

[PowerPC] Add PPC cost model support for partial reductions (#214760)

PPC has some multiply-add partial reduction instructions, for i8 and i16
elements. Provide cost info so the vectorizers can make use of them.
DeltaFile
+2,496-0llvm/test/Transforms/LoopVectorize/PowerPC/partial-red.ll
+177-0llvm/test/Transforms/LoopVectorize/PowerPC/cost-partial-red.ll
+43-0llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
+1-3llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
+2,717-34 files