LLVM/project 51e8f76lldb/source/Target Target.cpp, lldb/test/API/functionalities/postmortem/elf-core TestLinuxCore.py

[lldb] Clear stale error in Target::ReadMemory on file-cache fallback (#213451)

Load the checked-in core `linux-aarch64-pac.core` from
`lldb/test/API/functionalities/postmortem/elf-core/` with its binary and ask for
a `char16_t *` summary at the start of `.text`:

```
(lldb) settings set target.max-string-summary-length 8
(lldb) expression -l c++ -- (char16_t *)0x400140
(char16_t *) $0 = 0x0000000000400140 unable to read data
(lldb) memory read -s1 -c16 0x400140
0x00400140: 3f 23 03 d5 ff 83 00 d1 fd 7b 01 a9 fd 43 00 91  ?#.......{...C..
```

`memory read` prints the very bytes the summary just claimed it could not read.
Both go through `Target::ReadMemory()`, which reuses a single `Status &error` for
the process read and for the file-cache fallback at the end of the function, and
`Target::ReadMemoryFromFileCache()` only ever sets that `Status`, it never clears
it.  So when the process read fails outright and the fallback then satisfies the

    [37 lines not shown]
DeltaFile
+103-0lldb/unittests/Target/MemoryTest.cpp
+11-1lldb/source/Target/Target.cpp
+7-0lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
+1-0lldb/unittests/Target/CMakeLists.txt
+122-14 files

LLVM/project 010bd79clang-tools-extra/clang-tidy/tool clang-tidy-diff.py, clang-tools-extra/test/clang-tidy/infrastructure clang-tidy-diff.cpp

[clang-tidy] Fix clang-tidy-diff with not producing blank lines (#213873)

clang-tidy-diff.py unconditionally wrote `stdout + "\n"` for every file
it processed, even when clang-tidy produced no output so this bloated
output with needless blank line (happened with `-quiet` flag enabled
which made tidy produce 0 diagnostics).
DeltaFile
+8-0clang-tools-extra/test/clang-tidy/infrastructure/clang-tidy-diff.cpp
+3-2clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
+1-0clang-tools-extra/test/clang-tidy/infrastructure/Inputs/clang-tidy-diff/test.cpp
+12-23 files

LLVM/project 0d3f129clang-tools-extra/docs/clang-tidy Contributing.rst

[clang-tidy][Docs] write guidline about -or-later suffix (#213962)
DeltaFile
+6-2clang-tools-extra/docs/clang-tidy/Contributing.rst
+6-21 files

LLVM/project 48a2c65clang-tools-extra/test/clang-tidy/checkers/bugprone signal-handler.c easily-swappable-parameters.c, clang-tools-extra/test/clang-tidy/checkers/readability non-const-parameter.c implicit-bool-conversion-c99.c

[clang-tidy][NFC] Use 'or-earlier' suffix in tests (#213835)
DeltaFile
+2-2clang-tools-extra/test/clang-tidy/checkers/readability/use-concise-preprocessor-directives.cpp
+1-1clang-tools-extra/test/clang-tidy/checkers/readability/non-const-parameter.c
+1-1clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion-c99.c
+1-1clang-tools-extra/test/clang-tidy/checkers/bugprone/signal-handler.c
+1-1clang-tools-extra/test/clang-tidy/checkers/bugprone/easily-swappable-parameters.c
+1-1clang-tools-extra/test/clang-tidy/checkers/bugprone/easily-swappable-parameters-relatedness.c
+7-76 files

LLVM/project 953318dllvm/lib/Target/SPIRV SPIRVUtils.cpp, llvm/test/CodeGen/SPIRV/linkage groupshared-no-import-linkage.ll

 [SPIRV][HLSL] Fix Vulkan-invalid SPIR-V for Interlocked* on groupshared/UAV memory  (#212663)

Compiling HLSL `InterlockedOr`/`InterlockedAdd`/`InterlockedXor` against
`groupshared` (or UAV) destinations through the clang HLSL -> SPIR-V
path produced SPIR-V that `spirv-val` rejects for Vulkan.

Illegal OpCapability Linkage: groupshared variables are emitted
as `external hidden addrspace(3)` (Workgroup)
declarations. `getSpirvLinkageTypeFor` gave any non-interface
declaration `Import` linkage, which adds a
`LinkageAttributes` decoration and forces `OpCapability` Linkage, which
is illegal in a Vulkan shader.
Fix: in a shader environment (no linker), Workgroup/Private declarations
get no linkage.

Fixes: https://github.com/llvm/offload-test-suite/issues/1404
Assisted by: Github Copilot
DeltaFile
+25-0llvm/test/CodeGen/SPIRV/linkage/groupshared-no-import-linkage.ll
+6-1llvm/lib/Target/SPIRV/SPIRVUtils.cpp
+31-12 files

LLVM/project bb2ff1eflang/docs FlangDriver.md, flang/examples/HLFIRPipelinePlugin CMakeLists.txt HLFIRPipelinePlugin.cpp

[flang] Add an example plugin exercising the HLFIR pipeline extension points

The HLFIR extension points, the config augmentor registry and fir-opt's symbol
export exist to let an out-of-tree MLIR pass run while the HLFIR intrinsic
operations (hlfir.sum, hlfir.matmul, ...) are still present. None of that was
covered end to end, and there was no worked example of how to use it.

Add flang/examples/HLFIRPipelinePlugin, modelled on PrintFlangFunctionNames. It
contributes a pass that prints the HLFIR operations still present in the
module, tagged with the pipeline position it was inserted at, and exposes it
through both plugin entry points: a static initializer calling
fir::registerPassPipelineConfigCallback for the `flang -fc1 -load` path, and
mlirGetPassPluginInfo so fir-opt can load it with --load-pass-plugin.

Nothing is linked into the shared object: MLIR, FIR and flang symbols resolve
against the host tool, which is what export_executable_symbols_for_plugins on
flang and fir-opt provides. Removing the fir-opt export drops it from ~105k
exported dynamic symbols to one and makes --load-pass-plugin fail to load.


    [7 lines not shown]
DeltaFile
+115-0flang/examples/HLFIRPipelinePlugin/HLFIRPipelinePlugin.cpp
+53-0flang/test/Examples/hlfir-pipeline-plugin.f90
+36-0flang/test/Examples/fir-opt-pass-plugin.fir
+17-0flang/docs/FlangDriver.md
+15-0flang/examples/HLFIRPipelinePlugin/CMakeLists.txt
+1-0flang/test/CMakeLists.txt
+237-01 files not shown
+238-07 files

LLVM/project 9c51484flang/docs FlangDriver.md, flang/include/flang/Optimizer/Passes Pipelines.h

[flang] Add a pass-pipeline config-augmentor hook for -load'ed plugins

The HLFIR-to-FIR pass pipeline exposes extension points on
MLIRToLLVMPassPipelineConfig, but that config is built inside the frontend, so
a -load'ed plugin has no way to reach it and register passes.
registerDefaultInlinerPass is the only augmentor today, and it is wired in by
hand.

Add a global registry of config augmentors:

  * fir::registerPassPipelineConfigCallback(cb) appends a callback, to be
    called from a plugin's static initializer at -load time.
  * fir::invokePassPipelineConfigCallbacks(config) runs them on the config.

This mirrors what flang already does for -load'ed plugin actions via
FrontendPluginRegistry: a process-global, append-only registry populated from
static initializers, which run before any compilation begins.

Both code generation entry points invoke the callbacks after building their

    [11 lines not shown]
DeltaFile
+105-1flang/unittests/Optimizer/HLFIRExtensionPointsTest.cpp
+34-0flang/docs/FlangDriver.md
+17-0flang/lib/Optimizer/Passes/Pipelines.cpp
+11-0flang/include/flang/Optimizer/Passes/Pipelines.h
+6-0flang/lib/Frontend/FrontendActions.cpp
+173-15 files

LLVM/project cd569caflang/docs FlangDriver.md, flang/include/flang/Tools CrossToolHelpers.h

[flang] Add HLFIR-to-FIR pass pipeline extension points

The FIR optimizer extension points (FIROptEarly, FIRInliner, FIROptLast) all
run after HLFIR has been lowered to FIR, so the HLFIR intrinsic operations
(hlfir.sum, hlfir.matmul, ...) are gone by the time they run. Transformations
that need to see those operations have nowhere to attach.

Add two extension points to createHLFIRToFIRPassPipeline:

  * HLFIROptEarly, at the start of the pipeline, before any HLFIR
    simplification or inlining.
  * HLFIROptLast, just before createLowerHLFIRIntrinsics.

Drivers register passes through registerHLFIROptEarlyEPCallbacks and
registerHLFIROptLastEPCallbacks on MLIRToLLVMPassPipelineConfig. The invoke
methods are const so they can be called on the const config the HLFIR pipeline
receives. With no callbacks registered the pipeline is unchanged.

Co-Authored-By: Claude Opus 5 <noreply at anthropic.com>
DeltaFile
+130-0flang/unittests/Optimizer/HLFIRExtensionPointsTest.cpp
+32-0flang/include/flang/Tools/CrossToolHelpers.h
+21-0flang/docs/FlangDriver.md
+6-0flang/lib/Optimizer/Passes/Pipelines.cpp
+2-0flang/unittests/Optimizer/CMakeLists.txt
+191-05 files

LLVM/project d46f1e1mlir/include/mlir/Dialect/GPU/IR GPUDialect.h, mlir/lib/Conversion/GPUToSPIRV WmmaOpsToSPIRV.cpp

[mlir][gpu][spirv] Convert memref<mma_matrix> to spv.array<coopmatrix> (#212806)

In a gpu.func, allow allocating local arrays of gpu.mma_matrix, e.g.
`memref.alloca() : memref<Nx!gpu.mma_matrix<HxW, ...>`. Extend the SPIRV
conversion to convert such memrefs to `%ARR = spirv.Variable:
spv.ptr<spv.array<N x coopmatrix>, Function>`, which can be conveniently
indexed with `spirv.AccessChain %ARR[i]`. This enables arrays of CoopMMA
matrices both at the `gpu` and `spirv` levels.

Signed-off-by: Fabrizio Indirli <fabrizio.indirli at arm.com>
DeltaFile
+53-0mlir/test/Conversion/GPUToSPIRV/wmma-ops-to-spirv-khr-coop-matrix.mlir
+38-13mlir/lib/Conversion/GPUToSPIRV/WmmaOpsToSPIRV.cpp
+28-8mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
+19-0mlir/test/Conversion/MemRefToSPIRV/alloca.mlir
+6-3mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
+5-1mlir/include/mlir/Dialect/GPU/IR/GPUDialect.h
+149-256 files

LLVM/project c08ed4cclang/docs ReleaseNotes.md, clang/lib/Frontend InitPreprocessor.cpp

[Clang] Define `__SIG_ATOMIC_TYPE__` macro (#213934)

Define `__SIG_ATOMIC_TYPE__` for compatibility with GCC.

This fixes `riscv32-netbsd` and `riscv64-netbsd` system headers that
define `sig_atomic_t` using this macro.

Reference:
https://gcc.gnu.org/onlinedocs/gcc-16.1.0/cpp/Common-Predefined-Macros.html

Follow up of #199678, Closes #213895
DeltaFile
+2-0clang/test/Preprocessor/init.c
+1-0clang/test/Preprocessor/init-riscv.c
+1-0clang/test/Preprocessor/init-aarch64.c
+1-0clang/lib/Frontend/InitPreprocessor.cpp
+1-0clang/docs/ReleaseNotes.md
+6-05 files

LLVM/project 172bf46llvm/test/CodeGen/AMDGPU bf16.ll flat-atomicrmw-fmin.ll

fix pattern for xqci to show diff

Created using spr 1.3.8-beta.1-arichardson
DeltaFile
+9,385-9,006llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+5,575-5,393llvm/test/CodeGen/AMDGPU/maximumnum.ll
+5,454-5,259llvm/test/CodeGen/AMDGPU/minimumnum.ll
+4,720-5,590llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+4,720-5,590llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+4,729-4,972llvm/test/CodeGen/AMDGPU/bf16.ll
+34,583-35,81010,576 files not shown
+508,526-368,46910,582 files

LLVM/project 2edd967lld/test/ELF/lto riscv-target-abi.ll

[ELF][RISC-V] Add baseline test for ignored ABI behaviour

No change intended here, just adding this test coverage to show that
https://github.com/llvm/llvm-project/pull/213410 does not change it.

Pull Request: https://github.com/llvm/llvm-project/pull/214079
DeltaFile
+36-0lld/test/ELF/lto/riscv-target-abi.ll
+36-01 files

LLVM/project 5e158f2clang/include/clang/Basic AttrDocs.td, clang/lib/CodeGen CGBuiltin.cpp

[Clang][AMDGPU] Add ``amdgpu_av("none")`` attribute for atomic expressions (#199622)

Add a statement attribute that suppresses MakeAvailable/MakeVisible
cache operations on AMDGPU atomic instructions while preserving memory
ordering (waits). The attribute takes a string argument specifying the
mode. Currently "none" is the only supported mode. The resulting atomic
or fence instruction carries !mmra !{!"amdgcn-av", !"none"} metadata.

This only works with builtins that get lowered to intrinsics or
instructions. The attribute does not survive inlining. For example, a
C++ std atomic is typically a wrapper around a Clang builtin, and
applying this attribute on the std atomic does not remove the
MakeAvailableMakeVisible semantics built into it.

Part of a stack:

- #199486
- #199621
- #199489 

    [5 lines not shown]
DeltaFile
+130-0clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr.cpp
+72-0clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr-c-atomic.c
+32-34clang/lib/CodeGen/CGBuiltin.cpp
+60-0clang/lib/Sema/SemaStmtAttr.cpp
+43-0clang/test/CodeGen/AMDGPU/amdgcn-av-non-atomic.cpp
+26-0clang/include/clang/Basic/AttrDocs.td
+363-349 files not shown
+447-3515 files

LLVM/project b6676fcclang-tools-extra/clang-tidy/bugprone UnhandledCodePathsCheck.cpp, clang-tools-extra/clang-tidy/readability FunctionCognitiveComplexityCheck.cpp

[clang-tidy][NFC] Apply modernize-use-structured-binding check (#214022)
DeltaFile
+2-6clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp
+1-4clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
+1-3clang-tools-extra/clang-tidy/bugprone/UnhandledCodePathsCheck.cpp
+4-133 files

LLVM/project 2e53c04clang-tools-extra/clang-tidy/modernize UseRangesCheck.cpp

[clang-tidy][NFC] Apply readability-redundant-qualified-alias check (#214026)
DeltaFile
+1-1clang-tools-extra/clang-tidy/modernize/UseRangesCheck.cpp
+1-11 files

LLVM/project 4424690clang/lib/CIR/CodeGen CIRGenExprComplex.cpp, clang/test/CIR/CodeGen complex-plus-minus.cpp

[CIR] Fix imag value in Scalar and Complex substraction (#214019)

Fix imaginary value in Scalar and Complex subtraction

Issue #213998
DeltaFile
+72-0clang/test/CIR/CodeGen/complex-plus-minus.cpp
+7-1clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
+79-12 files

LLVM/project 3fcd11eclang/lib/Basic MakeSupport.cpp, clang/lib/Frontend DependencyFile.cpp

Merge branch 'main' into users/ssahasra/av-metadata-clang
DeltaFile
+2,340-0clang/test/CodeGen/AArch64/neon/store.c
+0-1,629clang/test/CodeGen/AArch64/neon-ldst-one.c
+0-1,515clang/test/CodeGen/AArch64/neon-intrinsics.c
+144-0clang/lib/Basic/MakeSupport.cpp
+3-134clang/lib/Frontend/DependencyFile.cpp
+0-114clang/test/CodeGen/AArch64/poly64.c
+2,487-3,39238 files not shown
+3,218-3,42044 files

LLVM/project da9ca9cclang/lib/Basic MakeSupport.cpp, clang/lib/Driver/ToolChains Flang.cpp

[flang][driver] Support Makefile dependency generation (#209379)

Implement the GCC/Clang dependency-file flags for flang, which it
previously rejected as unknown arguments: -M, -MM, -MD, -MMD, -MF,
-MT and -MQ.

Feature:
 -  -MD/-MMD : write a .d file alongside a normal compile
 -  -M/-MM   : run through semantics; emit deps to stdout by default
 -  -MF      : dependency-file path
 -  -MT/-MQ  : target name (verbatim / Make-quoted)
  (-M==-MM and -MD==-MMD; Fortran has no system/user header split.)

Design:
- `-M`/`-MM`: driver passes `-fsyntax-only -dependency-file - -MT
  <target>` to `-fc1`. Running through semantics resolves USE
  statements so module file dependencies are captured in the output.
  This deviates from clang's prescan-only behaviour for -M, but is
  intentional: unlike C/C++ #include, Fortran's USE statement is

    [17 lines not shown]
DeltaFile
+144-0clang/lib/Basic/MakeSupport.cpp
+3-134clang/lib/Frontend/DependencyFile.cpp
+108-0flang/test/Driver/dependency-file.f90
+101-3clang/lib/Driver/ToolChains/Flang.cpp
+42-0flang/lib/Frontend/FrontendAction.cpp
+37-0flang/test/Driver/dependency-file-gen.f90
+435-13710 files not shown
+546-14316 files

LLVM/project cec8658llvm/test/CodeGen/AMDGPU flat-saddr-atomics.ll llvm.amdgcn.wmma.imm.gfx1250.w32.ll

[AMDGPU][GFX1250] Use null register for global_prefetch_b8 instead of s[0:1]

Fixes ROCM-28799.
DeltaFile
+250-250llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wmma.gfx1250.w32.ll
+232-232llvm/test/CodeGen/AMDGPU/flat-saddr-load.ll
+196-196llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wmma.imod.gfx1250.w32.ll
+183-183llvm/test/CodeGen/AMDGPU/fcanonicalize.ll
+174-174llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wmma.imm.gfx1250.w32.ll
+166-166llvm/test/CodeGen/AMDGPU/flat-saddr-atomics.ll
+1,201-1,201199 files not shown
+6,331-6,331205 files

LLVM/project d87c685libclc/test lit.site.cfg.py.in lit.cfg.py, libclc/test/conformance lit.local.cfg work_group_reduce.cl

[libclc] Add initial support for libclc execution conformance tests (#214072)

Summary:
This uses the `llvm-gpu-loader` tool to invoke OpenCL test kernels. This
routes OpenCL through the standard compute runtimes, which aren't
exactly 1-to-1 with OpenCL, but it's close enough. Obviously, the best
solution would be to have a real OpenCL host library that can launch
these, but this is the best we can get in-tree and is very sipmle, write
kernel, test kernel.

The goal is to have a lot more tests run here, but this just gets the
basic infrastructure in place. We won't be able to do full conformance
like external suites, like exhaustive math, but I think its' a step in
the right direction. It looks like this on my side:

```console
$ ninja check-libclc-amdgpu-amd-amdhsa-llvm
```

This requires building with the LLVM `offload/` runtime enabled for the
source compiler.
DeltaFile
+27-0libclc/test/CMakeLists.txt
+24-1libclc/test/lit.cfg.py
+9-0libclc/test/conformance/work_group_reduce.cl
+2-0libclc/test/lit.site.cfg.py.in
+2-0libclc/test/conformance/lit.local.cfg
+64-15 files

LLVM/project 1a176afclang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/CodeGen/AArch64 poly64.c neon-intrinsics.c

[CIR][AArch64] Upstream store (vst[234]_*/vst[234]q_*) NEON builtins (#212040)

Related to https://github.com/llvm/llvm-project/issues/185382

CIR lowering for store intrinsics (`vst[234]_*`/`vst[234]q_*`)
(https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#store)

Port tests:
- `clang/test/CodeGen/AArch64/neon-intrinsics.c`
-  `clang/test/CodeGen/AArch64/neon-ldst-one.c`
-  `clang/test/CodeGen/AArch64/poly64.c`

to `clang/test/CodeGen/AArch64/neon/store.c`
DeltaFile
+2,340-0clang/test/CodeGen/AArch64/neon/store.c
+0-1,629clang/test/CodeGen/AArch64/neon-ldst-one.c
+0-1,515clang/test/CodeGen/AArch64/neon-intrinsics.c
+0-114clang/test/CodeGen/AArch64/poly64.c
+64-12clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+2,404-3,2705 files

LLVM/project c15a90dclang/test/Preprocessor riscv-target-features.c, llvm/lib/Target/RISCV RISCVFeatures.td

[RISCV][MC] Add experimental Smijt, Ssijt, Smehv, and Ssehv support (#213431)

Add support for version 0.19 of the Smijt, Ssijt, Smehv, and Ssehv
extensions from the RISC-V fast interrupt specification.
DeltaFile
+38-0clang/test/Preprocessor/riscv-target-features.c
+16-0llvm/test/CodeGen/RISCV/attributes.ll
+16-0llvm/lib/Target/RISCV/RISCVFeatures.td
+14-0llvm/test/MC/RISCV/supervisor-csr-names.s
+14-0llvm/test/MC/RISCV/machine-csr-names.s
+12-0llvm/test/MC/RISCV/attribute-arch.s
+110-06 files not shown
+129-112 files

LLVM/project 45a9d73.github/workflows/upload-release-artifact action.yml

workflows/upload-release-artifact: Use new self-repository reference (#213366)

This is for composite actions.

https://github.blog/changelog/2026-07-30-reference-same-repository-actions-with-self-repository-syntax/
(cherry picked from commit 37f4eeee65940dcac53e816c4b324fb607328e0e)
DeltaFile
+2-2.github/workflows/upload-release-artifact/action.yml
+2-21 files

LLVM/project 6a58ab2llvm/lib/Transforms/IPO ExpandVariadics.cpp, llvm/test/Transforms/ExpandVariadics spirv-printf.ll

[ExpandVariadics] Don't lower unmangled C printf on SPIR-V (#206998)

An unmangled C `printf` declaration demangles to bare `printf` (no
argument list), so `SPIRV::ignoreFunction`'s `printf(` prefix check
missed it and ExpandVariadics packed its arguments into a vararg buffer;
the SPIR-V backend then passed the buffer pointer as printf's first
variadic operand, so device printf printed pointer values instead of the
actual arguments. Match the bare name too so OpenCL/HIP printf (emitted
unmangled) is left as a variadic call for the backend's OpenCL.std
printf lowering.

(cherry picked from commit b1d21c6d3121898dc13c0df8cf9e4410bee75cfb)
DeltaFile
+35-0llvm/test/Transforms/ExpandVariadics/spirv-printf.ll
+6-1llvm/lib/Transforms/IPO/ExpandVariadics.cpp
+41-12 files

LLVM/project 1fee366clang/cmake/modules ClangConfig.cmake.in, compiler-rt/cmake/Modules CompilerRTUtils.cmake

Reapply "Skipping host target exports during cross-compilation" (#210… (#210496)

This reverts commit 42eb7db188f23625872b6f1d722979a3100d170e. This
reland 3fbb037d03e7ff1ef1cd9156363e895af7caaf98 (#209922).

Under CMake 4+, calling add_library(... SHARED IMPORTED) on a target
platform that lacks dynamic linking support triggers a fatal error. This
becomes an issue when building LLVM and runtimes for baremetal targets
like armv6m-none-eabi. This patch adds the option
"LLVM_OMIT_EXPORTS_FROM_CONFIG" in LLVM. When used in sub builds like
LLVM runtimes, it makes CMake to skip including the LLVM and Clang
exports. This mitigates the CMake 4 errors on baremetal runtimes.

42eb7db188f23625872b6f1d722979a3100d170e originally
apply this flag on all runtimes build and causing issues on runtimes
like intel-sycl-gpu, amdgpu-offload-ubuntu-22-cmake-build-only.
This PR only set this flag when the target platform lacks shared library
support.


    [2 lines not shown]
DeltaFile
+10-0runtimes/CMakeLists.txt
+9-0compiler-rt/cmake/Modules/CompilerRTUtils.cmake
+5-2clang/cmake/modules/ClangConfig.cmake.in
+1-1llvm/cmake/modules/LLVMConfig.cmake.in
+25-34 files

LLVM/project dbacea2llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.image.illegal-data-type.err.ll

[AMDGPU] Reject non-fp16 image sample data in D16 detection while lowering image (#213272)
DeltaFile
+28-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.illegal-data-type.err.ll
+14-2llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+42-22 files

LLVM/project 15af95allvm/lib/Target/LoongArch LoongArchLSXInstrInfo.td LoongArchLASXInstrInfo.td, llvm/test/CodeGen/LoongArch/lasx/ir-instruction extractelement.ll

[LoongArch] Use unsigned vector extract for zero extension

Add patterns to select VPICKVE2GR_BU/HU and [X]VPICKVE2GR_WU for vector
extraction followed by zero extension, eliminating redundant masking
instructions.
DeltaFile
+16-38llvm/test/CodeGen/LoongArch/lasx/ir-instruction/extractelement.ll
+28-0llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
+8-19llvm/test/CodeGen/LoongArch/lsx/ir-instruction/extractelement.ll
+13-0llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
+65-574 files

LLVM/project 1c7ac38llvm/test/CodeGen/LoongArch/lasx/ir-instruction extractelement.ll, llvm/test/CodeGen/LoongArch/lsx/ir-instruction extractelement.ll

[LoongArch][NFC] Add tests for vector extraction with zero extension
DeltaFile
+107-0llvm/test/CodeGen/LoongArch/lasx/ir-instruction/extractelement.ll
+64-0llvm/test/CodeGen/LoongArch/lsx/ir-instruction/extractelement.ll
+171-02 files

LLVM/project 3d6ac5amlir/lib/Dialect/Func/Transforms DuplicateFunctionElimination.cpp, mlir/test/Dialect/Func duplicate-function-elimination.mlir

[mlir][func] Fix a crash in DuplicateFunctionEliminationPass (#209667)

Previously, we used `SymbolUserMap::replaceAllUsesWith` to replace
symbols, but this could not update the symbol table cached by
`SymbolUserMap` during traversal, leading to a crash. This PR switches
to `SymbolTable::replaceAllSymbolUses`, which always operates on the
latest symbol table and avoids the crash. Fixes #209648.
DeltaFile
+26-0mlir/test/Dialect/Func/duplicate-function-elimination.mlir
+3-3mlir/lib/Dialect/Func/Transforms/DuplicateFunctionElimination.cpp
+29-32 files

LLVM/project 723eaa4libc/cmake/caches baremetal_common.cmake

[libc][cmake] Enable assertions and Werror for baremetal builds (#214093)

Enable LLVM_ENABLE_ASSERTIONS and LLVM_ENABLE_WERROR in
baremetal_common.cmake
to ensure pre-merge checks catch assertion failures and compiler
warnings for
baremetal targets.

Assisted-by: Gemini
DeltaFile
+2-0libc/cmake/caches/baremetal_common.cmake
+2-01 files