LLVM/project 785caddclang/lib/AST/ByteCode Disasm.cpp

[clang][bytecode] Fix InterpFrame::dump() (#170682)

We should only call getThis() and getRVOPtr() if the frame has them.
DeltaFile
+8-2clang/lib/AST/ByteCode/Disasm.cpp
+8-21 files

LLVM/project 14bf95blibc/config/linux config.json

[libc] Remove extra commas in linux/config.json. (#170801)

DeltaFile
+2-2libc/config/linux/config.json
+2-21 files

LLVM/project eecdd4bclang-tools-extra/clang-tidy/bugprone UseAfterMoveCheck.cpp UseAfterMoveCheck.h, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Extend `bugprone-use-after-move` to allow custom invalidation functions (#170346)

DeltaFile
+50-26clang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
+60-2clang-tools-extra/test/clang-tidy/checkers/bugprone/use-after-move.cpp
+10-0clang-tools-extra/docs/clang-tidy/checks/bugprone/use-after-move.rst
+5-2clang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.h
+4-0clang-tools-extra/docs/ReleaseNotes.rst
+129-305 files

LLVM/project 290b32aflang/test/Lower/OpenMP wsloop-linear.f90 simd-linear.f90, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

[llvm][mlir][OpenMP] Support translation for linear clause in omp.wsloop and omp.simd (#139386)

This patch adds support for LLVM translation of linear clause on
omp.wsloop (except for linear modifiers).
DeltaFile
+80-53mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+74-0mlir/test/Target/LLVMIR/openmp-llvm.mlir
+60-0flang/test/Lower/OpenMP/wsloop-linear.f90
+57-0flang/test/Lower/OpenMP/simd-linear.f90
+0-26mlir/test/Target/LLVMIR/openmp-todo.mlir
+13-13mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+284-924 files not shown
+300-11410 files

LLVM/project e48d49fllvm/test/CodeGen/RISCV/rvv vfsub-sdnode.ll vfmul-sdnode.ll

[RISCV][llvm] Support VFADD, VFSUB, VFMUL codegen for Zvfbfa (#170612)

Support both fixed-length vectors and scalable vectors.

Note: VP version is not gonna be supported for trivial instructions
since they're going to be removed soon.
DeltaFile
+653-177llvm/test/CodeGen/RISCV/rvv/vfsub-sdnode.ll
+653-177llvm/test/CodeGen/RISCV/rvv/vfmul-sdnode.ll
+163-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfadd-sdnode.ll
+163-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfmul-sdnode.ll
+163-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfsub-sdnode.ll
+19-125llvm/test/CodeGen/RISCV/rvv/vfadd-sdnode.ll
+1,814-4796 files not shown
+2,031-49212 files

LLVM/project af4098bllvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rvp-ext-rv32.ll rvp-ext-rv64.ll

[RISCV][llvm] Support PSLL codegen for P extension (#170074)

There's no instruciton for vector shift amount, so we have to scalarize
it and rebuild the vector.
DeltaFile
+109-0llvm/test/CodeGen/RISCV/rvp-ext-rv32.ll
+36-0llvm/test/CodeGen/RISCV/rvp-ext-rv64.ll
+13-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+13-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+171-04 files

LLVM/project 71de783llvm/lib/Target/RISCV RISCVInstrInfo.cpp, llvm/test/CodeGen/RISCV branch-relaxation-rv32.ll branch-relaxation-rv64.ll

[RISCV] Inserting indirect jumps with X7 for Zicfilp (#170683)

`BranchRelxation` uses `RISCVInstrInfo::insertIndirectBranch` to insert
an indirect branch if the jump target is out of range. Currently it uses
register scavenging to find a free register to use for the indirect
target. If Zicfilp is enabled, we need to use X7 so that the jump will
be treated as a software guarded branch.

Co-authored-by: Yeting Kuo <46629943+yetingk at users.noreply.github.com>
DeltaFile
+794-7llvm/test/CodeGen/RISCV/branch-relaxation-rv32.ll
+788-0llvm/test/CodeGen/RISCV/branch-relaxation-rv64.ll
+7-1llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+1,589-83 files

LLVM/project d8ad3c1.github CODEOWNERS

Remove myself from CODEOWNERS (#170799)

DeltaFile
+7-7.github/CODEOWNERS
+7-71 files

LLVM/project edcb815.github CODEOWNERS

Remove myself from CODEOWNERS
DeltaFile
+7-7.github/CODEOWNERS
+7-71 files

LLVM/project c2242bdutils/bazel/llvm-project-overlay/clang-tools-extra/clang-doc BUILD.bazel

[bazel][clang-doc] Port 9349cb1523ddb88ca9d82bad497bb98082eb6c8d (#170797)

DeltaFile
+1-0utils/bazel/llvm-project-overlay/clang-tools-extra/clang-doc/BUILD.bazel
+1-01 files

LLVM/project 45af50dmlir/include/mlir/Interfaces TilingInterface.td, mlir/lib/Dialect/Linalg/Transforms TilingInterfaceImpl.cpp Tiling.cpp

[MLIR] Add fusability query to TilingInterface (#166502)

This introduces `isOpFusableWithProducer/Consumer` methods to the
TilingInterface that enable querying whether a tilable op can be fused
into a given set of producer slices or consumer slice without generating
IR. This is needed to enable use of the tiling interface in pattern
rewrites, as without this any pattern rewrite that tries to invoke the
method to tile is allowed to generate IR and fail.
DeltaFile
+105-0mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.cpp
+70-0mlir/test/Interfaces/TilingInterface/query-fusability.mlir
+45-1mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.td
+37-0mlir/include/mlir/Interfaces/TilingInterface.td
+27-1mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
+1-2mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
+285-46 files

LLVM/project b32e067compiler-rt/lib/ubsan_minimal ubsan_minimal_handlers.cpp

[compiler-rt] [UBSan] Fix missing preserve handlers (#170788)

DeltaFile
+3-3compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
+3-31 files

LLVM/project 79620d8libclc/clc/include/clc/float definitions.h, libclc/opencl/include/clc/opencl as_type.h types.h

[libclc] Add OpenCL atomic_*_explicit builtins (#168318)

Implement atomic_*_explicit (e.g. atomic_store_explicit) with
memory_order plus optional memory_scope.

OpenCL memory_order maps 1:1 to Clang (e.g. OpenCL memory_order_relaxed
== Clang __ATOMIC_RELAXED), so we pass it unchanged to clc_atomic_*
function which forwards to Clang _scoped_atomic* builtins.

Other changes:
* Add __opencl_get_clang_memory_scope helper in opencl/utils.h (OpenCL
scope -> Clang scope).
* Correct atomic_compare_exchange return type to bool.
* Fix atomic_compare_exchange to return true when value stored in the
pointer equals expected value.
* Remove volatile from CLC functions so that volatile isn't present in
LLVM IR.
* Add '-fdeclare-opencl-builtins -finclude-default-header' flag to
include

    [3 lines not shown]
DeltaFile
+115-19libclc/opencl/lib/generic/atomic/atomic_def.inc
+0-92libclc/opencl/include/clc/opencl/as_type.h
+82-9libclc/opencl/include/clc/opencl/atomic/atomic_decl.inc
+48-0libclc/clc/include/clc/float/definitions.h
+0-48libclc/opencl/include/clc/opencl/types.h
+0-18libclc/opencl/include/clc/opencl/synchronization/cl_mem_fence_flags.h
+245-18658 files not shown
+367-34064 files

LLVM/project 7f01d72llvm/unittests/IR ConstantsTest.cpp

[NFC] Fix memory leak in ConstantsTest (#170789)

Leak introduced with #164381.
DeltaFile
+1-0llvm/unittests/IR/ConstantsTest.cpp
+1-01 files

LLVM/project 711edb8compiler-rt/lib/ubsan_minimal ubsan_minimal_handlers.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+3-3compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
+3-31 files

LLVM/project 40ac8ebcompiler-rt/lib/ubsan_minimal ubsan_minimal_handlers.cpp, compiler-rt/test/ubsan_minimal/TestCases handlers-link.c

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+170-0compiler-rt/test/ubsan_minimal/TestCases/handlers-link.c
+3-3compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
+173-32 files

LLVM/project 9342d03clang-tools-extra/clang-tidy/readability UseStdMinMaxCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Preserve comments in `readability-use-std-min-max` (#169908)

Closes [#121613](https://github.com/llvm/llvm-project/issues/121613)
DeltaFile
+96-0clang-tools-extra/test/clang-tidy/checkers/readability/use-std-min-max.cpp
+60-8clang-tools-extra/clang-tidy/readability/UseStdMinMaxCheck.cpp
+5-0clang-tools-extra/docs/ReleaseNotes.rst
+161-83 files

LLVM/project 5deea85llvm/test/TableGen RegClassByHwMode.td RegClassByHwModeErrors.td, llvm/test/TableGen/Common RegClassByHwModeCommon.td

[𝘀𝗽𝗿] initial version

Created using spr 1.3.8-beta.1
DeltaFile
+6-53llvm/test/TableGen/RegClassByHwMode.td
+47-0llvm/test/TableGen/RegClassByHwModeErrors.td
+38-0llvm/test/TableGen/Common/RegClassByHwModeCommon.td
+16-16llvm/utils/TableGen/Common/CodeGenInstAlias.cpp
+8-6llvm/utils/TableGen/Common/CodeGenTarget.cpp
+8-6llvm/utils/TableGen/CompressInstEmitter.cpp
+123-813 files not shown
+137-859 files

LLVM/project 329a308llvm/utils/TableGen/Common CodeGenInstAlias.cpp CodeGenTarget.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.8-beta.1

[skip ci]
DeltaFile
+6-11llvm/utils/TableGen/Common/CodeGenInstAlias.cpp
+6-4llvm/utils/TableGen/Common/CodeGenTarget.cpp
+1-0llvm/utils/TableGen/Common/CodeGenTarget.h
+13-153 files

LLVM/project 2110db0lldb/include/lldb lldb-enumerations.h, lldb/include/lldb/Interpreter CommandOptionArgumentTable.h

Add a `breakpoint add` command to fix the option-madness that is `breakpoint set` (#156067)

Someone came up with a clever idea for a new breakpoint type, but we
couldn't figure out how to add it in an ergonomic way because
`breakpoint set` has used up all the short-option characters. And even
if they did find a way to add it, the help for `break set` is so
confusing - because of the way it is implemented - that very few people
would detect the addition.

The basic problem is that `break set` distinguishes amongst the
fundamental breakpoint types it offers by which "required option" you
provide. If you pass a `-a` you are setting an address breakpoint, if
`-n`, `-F`, etc. a symbol name based breakpoint. And so forth. That is
however pretty hard to discern from the option grouping printing from
`help break set`. `break set` also suffers from the problem that it uses
common options in different ways depending on which "required" option is
present, which makes documenting the various behaviors difficult. And as
we run out of single letters it makes extending it difficult to
impossible.

    [130 lines not shown]
DeltaFile
+1,277-73lldb/source/Commands/CommandObjectBreakpoint.cpp
+126-0lldb/source/Commands/Options.td
+51-10lldb/packages/Python/lldbsuite/test/lldbutil.py
+42-0lldb/source/Target/Language.cpp
+23-0lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h
+18-0lldb/include/lldb/lldb-enumerations.h
+1,537-837 files not shown
+1,555-9113 files

LLVM/project f50a079llvm/utils/release build_llvm_release.bat

build_llvm_release.bat: Use absolute path when building the tarball (#169951)

The rest of the script uses an absolute path for the llvm source
directory too.
DeltaFile
+1-1llvm/utils/release/build_llvm_release.bat
+1-11 files

LLVM/project fb7a0a7llvm/unittests/IR ConstantsTest.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+1-0llvm/unittests/IR/ConstantsTest.cpp
+1-01 files

LLVM/project 5c289daclang/lib/Headers opencl-c.h

[Clang][OpenCL] Add support for the cl_intel_subgroup_buffer_prefetch (#170532)

The commit adds support for the cl_intel_subgroup_buffer_prefetch OpenCL
extension. The extension introduces a new built-in functions that allow
prefetching data from a global memory to caches as a subgroup-level
operation.

The extension is defined here:
https://registry.khronos.org/OpenCL/extensions/intel/cl_intel_subgroup_buffer_prefetch.html

---------

Co-authored-by: Mészáros Gergely <maetveis at gmail.com>
DeltaFile
+30-0clang/lib/Headers/opencl-c.h
+30-01 files

LLVM/project 6d60d3dllvm/lib/Target/WebAssembly WebAssemblyISelLowering.cpp WebAssemblyInstrRef.td, llvm/test/CodeGen/WebAssembly addrspacecast-funcref.ll

Revert "[WebAssembly] Implement addrspacecast to funcref" (#170785)

Reverts llvm/llvm-project#166820
There was a failure in the ENABLE_EXPENSIVE_CHECKS configuration.
DeltaFile
+0-58llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+0-55llvm/test/CodeGen/WebAssembly/addrspacecast-funcref.ll
+1-6llvm/lib/Target/WebAssembly/WebAssemblyInstrRef.td
+0-1llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
+1-1204 files

LLVM/project b75e564llvm/docs RISCVUsage.rst

[RISCV][docs] Update url for SpacemiT xsmtvdot (#170598)

DeltaFile
+1-1llvm/docs/RISCVUsage.rst
+1-11 files

LLVM/project 2329002compiler-rt/lib/ubsan_minimal ubsan_minimal_handlers.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+3-3compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
+3-31 files

LLVM/project a2032f5clang-tools-extra/clang-doc Representation.h Representation.cpp

[clang-doc] Reorder struct fields to have less padding (#170222)

DeltaFile
+68-60clang-tools-extra/clang-doc/Representation.h
+1-1clang-tools-extra/clang-doc/Representation.cpp
+69-612 files

LLVM/project 8126baaclang-tools-extra/clang-doc BitcodeReader.cpp BitcodeReader.h

[clang-doc] Remove uses of consumeError (#168759)

In BitcodeReader, we were using consumeError(), which drops the error
and hides it from normal usage. To avoid that, we can just slightly
tweak the API to return an Expected<T>, and propagate the error
accordingly.
DeltaFile
+21-27clang-tools-extra/clang-doc/BitcodeReader.cpp
+1-1clang-tools-extra/clang-doc/BitcodeReader.h
+22-282 files

LLVM/project 3bea66bllvm/lib/Target/WebAssembly WebAssemblyISelLowering.cpp WebAssemblyInstrRef.td, llvm/test/CodeGen/WebAssembly addrspacecast-funcref.ll

Revert "[WebAssembly] Implement addrspacecast to funcref (#166820)"

This reverts commit d3b9fd0f86d2936b7ed8446f6d54817772753f52.
DeltaFile
+0-58llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+0-55llvm/test/CodeGen/WebAssembly/addrspacecast-funcref.ll
+1-6llvm/lib/Target/WebAssembly/WebAssemblyInstrRef.td
+0-1llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
+1-1204 files

LLVM/project da06d9ellvm/lib/CodeGen CFIInstrInserter.cpp

[CodeGen] Use insert idiom in CFIInstrInserter instead of find [nfc] (#170760)

DeltaFile
+2-4llvm/lib/CodeGen/CFIInstrInserter.cpp
+2-41 files