LLVM/project b186bc2mlir/include/mlir/Dialect/XeGPU/IR XeGPUOps.td, mlir/lib/Dialect/XeGPU/Transforms XeGPUPropagateLayout.cpp XeGPUWgToSgDistribute.cpp

rename anchor_layout to layout
DeltaFile
+41-41mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
+40-40mlir/test/Dialect/XeGPU/propagate-layout.mlir
+16-18mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+8-8mlir/test/Dialect/XeGPU/propagate-layout-inst-data.mlir
+8-8mlir/lib/Dialect/XeGPU/Utils/XeGPUUtils.cpp
+7-7mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
+120-1227 files not shown
+144-14813 files

LLVM/project f5c2a59clang/test/CodeGen cfi-icall-trap-recover-runtime.c, clang/test/CodeGenCXX cfi-vcall-trap-recover-runtime.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+45-44clang/test/CodeGen/cfi-icall-trap-recover-runtime.c
+8-11clang/test/CodeGenCXX/cfi-vcall-trap-recover-runtime.cpp
+53-552 files

LLVM/project 5d38cddclang/docs LanguageExtensions.rst, clang/include/clang/Basic Builtins.td

[Clang] Add __scoped_atomic_uinc_wrap and __scoped_atomic_udec_wrap builtins (#168666)

This PR extends __scoped_atomic builtins with inc and dec functions.
They map to LLVM IR `atomicrmw uinc_wrap` and `atomicrmw udec_wrap`.
These enable implementation of OpenCL-style atomic_inc / atomic_dec with
wrap semantics on targets supporting scoped atomics (e.g. GPUs).

---------

Co-authored-by: Copilot <175728472+Copilot at users.noreply.github.com>
DeltaFile
+105-0clang/test/CodeGen/scoped-atomic-ops.c
+21-4clang/test/Sema/scoped-atomic-ops.c
+12-0clang/include/clang/Basic/Builtins.td
+11-0clang/lib/CodeGen/CGAtomic.cpp
+8-0clang/docs/LanguageExtensions.rst
+2-0clang/lib/AST/Expr.cpp
+159-42 files not shown
+163-48 files

LLVM/project 3f22ed1offload/include PerThreadTable.h, offload/include/OpenMP InteropAPI.h

[OFFLOAD] Add support for indexed per-thread containers (#164263)

Split from #158900 it adds a PerThreadContainer that can use STL-like
indexed containers based on a slightly refactored PerThreadTable.

---------

Co-authored-by: Joseph Huber <huberjn at outlook.com>
DeltaFile
+209-54offload/include/PerThreadTable.h
+1-7offload/include/OpenMP/InteropAPI.h
+210-612 files

LLVM/project bd04ef6clang-tools-extra/clangd/test index-tools.test include-cleaner-batch-fix.test

Revert "[clangd] Make lit tests work with the internal shell"

This reverts commit 9c414c428d8464c829d551d0d91029339e746842.

This one is causing buildbot failures too at CMake configure time:
1. https://lab.llvm.org/buildbot/#/builders/193/builds/12452
DeltaFile
+4-4clang-tools-extra/clangd/test/index-tools.test
+1-3clang-tools-extra/clangd/test/include-cleaner-batch-fix.test
+1-2clang-tools-extra/clangd/test/system-include-extractor.test
+0-1clang-tools-extra/clangd/test/CMakeLists.txt
+6-104 files

LLVM/project 4cfbc44clang-tools-extra/clangd/test lit.cfg.py

Revert "[clangd] Enable lit internal shell by default"

This reverts commit c51c382c8752e7ba5049ed3662fefb9ffe9283c3.

This breaks at least one buildbot:
1. https://lab.llvm.org/buildbot/#/builders/134/builds/30460
DeltaFile
+1-14clang-tools-extra/clangd/test/lit.cfg.py
+1-141 files

LLVM/project c51c382clang-tools-extra/clangd/test lit.cfg.py

[clangd] Enable lit internal shell by default

Enable it now that all of the tests pass under the internal shell. The
internal shell is slightly faster (10-15%) and also provides a better
debugging experience.

Reviewers: petrhosek, ilovepi, kadircet, HighCommander4

Reviewed By: ilovepi

Pull Request: https://github.com/llvm/llvm-project/pull/169540
DeltaFile
+14-1clang-tools-extra/clangd/test/lit.cfg.py
+14-11 files

LLVM/project fa1a7c2llvm/lib/Target/RISCV RISCVSchedTTAscalonD8.td, llvm/lib/Transforms/Scalar StraightLineStrengthReduce.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+4,734-0llvm/test/tools/llvm-mca/RISCV/tt-ascalon-d8/vlseg-vsseg.s
+1,560-19llvm/test/CodeGen/AMDGPU/constant-address-space-32bit.ll
+273-861llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
+1,016-0llvm/test/tools/llvm-mca/RISCV/tt-ascalon-d8/vdiv_vsqrt.s
+900-0llvm/test/tools/llvm-mca/RISCV/tt-ascalon-d8/vmv.s
+714-6llvm/lib/Target/RISCV/RISCVSchedTTAscalonD8.td
+9,197-886130 files not shown
+14,038-2,778136 files

LLVM/project 9c414c4clang-tools-extra/clangd/test index-tools.test include-cleaner-batch-fix.test

[clangd] Make lit tests work with the internal shell

This makes all of the clangd tests work with the internal shell.
Modifications needed for each test are as follows:
1. system-include-extractor.test was using variable expansion which is
   not supported in the internal shell. This patch rewrites it to use
   the readfile mechanism along with python. This isn't super pretty but
   is readily understandable and there are only two tests across the
   monorepo that use this construction, so making it prettier is hard to
   justify.
2. include-cleaner-batch-fix.test - Was using $'' construction to create
   new lines in a string. Simply replace it with multiple echo commands
   to be canonical with the rest of the repository.
3. index-tools.test - Just add IndexBenchmark to the clangd test
   depends, so the test now just works unconditionally. This should
   significantly increase test coverage at little cost.

Reviewers: ilovepi, HighCommander4, petrhosek, kadircet


    [3 lines not shown]
DeltaFile
+4-4clang-tools-extra/clangd/test/index-tools.test
+3-1clang-tools-extra/clangd/test/include-cleaner-batch-fix.test
+2-1clang-tools-extra/clangd/test/system-include-extractor.test
+1-0clang-tools-extra/clangd/test/CMakeLists.txt
+10-64 files

LLVM/project 4264dc6llvm/test/tools/opt invalid-target.ll, llvm/tools/opt optdriver.cpp

opt: Stop creating TargetMachine to infer the datalayout

The Triple directly has the datalayout string in it, so just
use that.

The logical flow here is kind of a mess. We were constructing
a temporary target machine in the asm parser to infer the datalayout,
throwing it away, and then creating another target machine for the
actual compilation. The flow of the Triple construction is still
convoluted, but we can at least drop the TargetMachine.
DeltaFile
+7-7llvm/tools/opt/optdriver.cpp
+2-2llvm/test/tools/opt/invalid-target.ll
+9-92 files

LLVM/project ec2a91blibc/src/stdio/generic printf_modular.cpp, libc/src/stdio/printf_core parser.h float_impl.cpp

[libc] Modular printf option (float only)

This adds LIBC_CONF_PRINTF_MODULAR, which causes floating point support
(later, others) to be weakly linked into the implementation.
__printf_modular becomes the main entry point of the implementaiton, an
printf itself wraps __printf_modular. printf it also contains a
BFD_RELOC_NONE relocation to bring in the float aspect.

See issue #146159 for context.
DeltaFile
+43-13libc/src/stdio/printf_core/parser.h
+41-0libc/src/stdio/printf_core/float_impl.cpp
+40-0libc/src/stdio/generic/printf_modular.cpp
+19-6libc/src/stdio/printf_core/float_dec_converter.h
+19-6libc/src/stdio/printf_core/float_dec_converter_limited.h
+14-4libc/src/stdio/printf_core/vfprintf_internal.h
+176-298 files not shown
+222-3614 files

LLVM/project cdae60dlibc/include stdio.yaml, libc/src/stdio vsprintf_modular.cpp CMakeLists.txt

Modularize vsprintf
DeltaFile
+51-0libc/src/stdio/vsprintf_modular.cpp
+6-1libc/src/stdio/CMakeLists.txt
+5-0libc/src/stdio/vsprintf.cpp
+2-0libc/include/stdio.yaml
+2-0libc/src/stdio/vsprintf.h
+66-15 files

LLVM/project 65c2a9dlibc/include stdio.yaml, libc/src/stdio asprintf_modular.cpp CMakeLists.txt

Modularize asprintf
DeltaFile
+43-0libc/src/stdio/asprintf_modular.cpp
+5-1libc/src/stdio/CMakeLists.txt
+4-1libc/src/stdio/printf_core/vasprintf_internal.h
+5-0libc/src/stdio/asprintf.cpp
+2-0libc/include/stdio.yaml
+1-0libc/src/stdio/asprintf.h
+60-26 files

LLVM/project efcd5b3libc/src/stdio/printf_core float_impl.cpp

Add missing file header
DeltaFile
+15-0libc/src/stdio/printf_core/float_impl.cpp
+15-01 files

LLVM/project 7d3b55blibc/include stdio.yaml, libc/src/stdio vsnprintf_modular.cpp CMakeLists.txt

Modularize vsnprintf
DeltaFile
+53-0libc/src/stdio/vsnprintf_modular.cpp
+6-1libc/src/stdio/CMakeLists.txt
+5-0libc/src/stdio/vsnprintf.cpp
+2-0libc/src/stdio/vsnprintf.h
+2-0libc/include/stdio.yaml
+68-15 files

LLVM/project e047ba3libc/include stdio.yaml, libc/src/stdio snprintf_modular.cpp CMakeLists.txt

Modularize snprintf
DeltaFile
+56-0libc/src/stdio/snprintf_modular.cpp
+5-1libc/src/stdio/CMakeLists.txt
+5-0libc/src/stdio/snprintf.cpp
+2-0libc/include/stdio.yaml
+2-0libc/src/stdio/snprintf.h
+70-15 files

LLVM/project d47e9f2libc/src/stdio/printf_core printf_main.h

Use LIBC_INLINE_ASM macro
DeltaFile
+1-1libc/src/stdio/printf_core/printf_main.h
+1-11 files

LLVM/project eb1efcdlibc/include stdio.yaml, libc/src/stdio sprintf_modular.cpp CMakeLists.txt

Modularize sprintf
DeltaFile
+55-0libc/src/stdio/sprintf_modular.cpp
+6-1libc/src/stdio/CMakeLists.txt
+5-0libc/src/stdio/sprintf.cpp
+2-0libc/src/stdio/sprintf.h
+2-0libc/include/stdio.yaml
+70-15 files

LLVM/project 94a9bb7libc/include stdio.yaml, libc/src/stdio vprintf.h

Modularize baremetal vprintf
DeltaFile
+67-0libc/src/stdio/baremetal/vprintf_modular.cpp
+5-1libc/src/stdio/baremetal/CMakeLists.txt
+5-0libc/src/stdio/baremetal/vprintf.cpp
+2-0libc/include/stdio.yaml
+1-0libc/src/stdio/vprintf.h
+80-15 files

LLVM/project 0420f03libc/include stdio.yaml, libc/src/stdio vasprintf_modular.cpp CMakeLists.txt

Modularize vasprintf
DeltaFile
+38-0libc/src/stdio/vasprintf_modular.cpp
+6-1libc/src/stdio/CMakeLists.txt
+5-0libc/src/stdio/vasprintf.cpp
+2-0libc/include/stdio.yaml
+2-0libc/src/stdio/vasprintf.h
+53-15 files

LLVM/project 8b7b3f6libc/include stdio.yaml CMakeLists.txt, libc/include/llvm-libc-macros CMakeLists.txt _LIBC_MODULAR_FORMAT_PRINTF.h

Add attribute to printf
DeltaFile
+21-1libc/include/llvm-libc-macros/CMakeLists.txt
+15-0libc/include/llvm-libc-macros/_LIBC_MODULAR_FORMAT_PRINTF.h
+14-0libc/include/llvm-libc-macros/_LIBC_MODULAR_FORMAT_PRINTF-disable.h
+2-0libc/include/stdio.yaml
+1-0libc/include/CMakeLists.txt
+53-15 files

LLVM/project 6f4b0b1libc/src/stdio/printf_core float_dec_converter.h float_dec_converter_limited.h

LIBC_INLINE for modular fn definitions
DeltaFile
+6-6libc/src/stdio/printf_core/float_dec_converter.h
+6-6libc/src/stdio/printf_core/float_dec_converter_limited.h
+6-5libc/src/stdio/printf_core/parser.h
+2-2libc/src/stdio/printf_core/float_hex_converter.h
+20-194 files

LLVM/project d15f369libc/src/stdio/printf_core vfprintf_internal.h

Fix missed SPLIT->MODULAR rename
DeltaFile
+1-1libc/src/stdio/printf_core/vfprintf_internal.h
+1-11 files

LLVM/project 4b4e98flibc/utils/hdrgen/hdrgen header.py, libc/utils/hdrgen/tests/expected_output test_header.h test_small.json

Allow function-style attribute macros
DeltaFile
+2-1libc/utils/hdrgen/tests/expected_output/test_header.h
+1-1libc/utils/hdrgen/hdrgen/header.py
+1-0libc/utils/hdrgen/tests/expected_output/test_small.json
+1-0libc/utils/hdrgen/tests/input/merge1.yaml
+5-24 files

LLVM/project c54d024libc/src/stdio/baremetal printf_modular.cpp CMakeLists.txt, libc/src/stdio/generic printf_modular.cpp CMakeLists.txt

Move support to baremetal only
DeltaFile
+55-0libc/src/stdio/baremetal/printf_modular.cpp
+0-40libc/src/stdio/generic/printf_modular.cpp
+3-4libc/src/stdio/generic/CMakeLists.txt
+5-1libc/src/stdio/baremetal/CMakeLists.txt
+5-0libc/src/stdio/baremetal/printf.cpp
+4-0libc/src/stdio/gpu/CMakeLists.txt
+72-456 files

LLVM/project bffbcb8llvm/test/CodeGen/AMDGPU minimumnum.bf16.ll maximumnum.bf16.ll, llvm/test/CodeGen/X86 bitcnt-big-integer.ll

rebase

Created using spr 1.3.7
DeltaFile
+4,734-0llvm/test/tools/llvm-mca/RISCV/tt-ascalon-d8/vlseg-vsseg.s
+1,529-1,529llvm/test/tools/llvm-mca/RISCV/SpacemitX60/rvv-fp.s
+838-838llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
+838-838llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
+1,560-19llvm/test/CodeGen/AMDGPU/constant-address-space-32bit.ll
+456-878llvm/test/CodeGen/X86/bitcnt-big-integer.ll
+9,955-4,102843 files not shown
+41,543-21,654849 files

LLVM/project 60245f2llvm/test/CodeGen/AMDGPU maximumnum.bf16.ll minimumnum.bf16.ll, llvm/test/CodeGen/X86 bitcnt-big-integer.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+4,734-0llvm/test/tools/llvm-mca/RISCV/tt-ascalon-d8/vlseg-vsseg.s
+1,529-1,529llvm/test/tools/llvm-mca/RISCV/SpacemitX60/rvv-fp.s
+838-838llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
+838-838llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
+1,560-19llvm/test/CodeGen/AMDGPU/constant-address-space-32bit.ll
+456-878llvm/test/CodeGen/X86/bitcnt-big-integer.ll
+9,955-4,102845 files not shown
+41,667-21,654851 files

LLVM/project 1c034a3clang/test/CodeGen cfi-icall-trap-recover-runtime.c, clang/test/CodeGenCXX cfi-vcall-trap-recover-runtime.cpp

[compiler-rt] [UBsan] precommit test (#169579)

DeltaFile
+73-0clang/test/CodeGen/cfi-icall-trap-recover-runtime.c
+51-0clang/test/CodeGenCXX/cfi-vcall-trap-recover-runtime.cpp
+124-02 files

LLVM/project f7a9fcaflang/include/flang/Optimizer/Builder CUDAIntrinsicCall.h, flang/lib/Optimizer/Builder CUDAIntrinsicCall.cpp

[flang][cuda] Use PTX instruction for atomicAdd with 4xf32 (#169581)

Implementation similar to the clang one in
`clang/lib/Headers/__clang_cuda_intrinsics.h`
DeltaFile
+51-1flang/lib/Optimizer/Builder/CUDAIntrinsicCall.cpp
+2-0flang/include/flang/Optimizer/Builder/CUDAIntrinsicCall.h
+1-1flang/test/Lower/CUDA/cuda-atomicadd.cuf
+54-23 files

LLVM/project d1652afmlir/include/mlir/Dialect/XeGPU/IR XeGPUOps.td, mlir/lib/Dialect/XeGPU/IR XeGPUDialect.cpp

address feedback and add more documentation
DeltaFile
+192-104mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
+8-8mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+0-2mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+200-1143 files