LLVM/project 6b12809clang/test/InstallAPI extra-exclude-headers.test hiddens.test

[InstallAPI] [Tests] Avoid checking compiler output for 'error' (#188307)

We have two tests that use FileCheck for diagnostics and which try to
check that the output contains no compiler errors by checking for the
string 'error'. The issue with this approach is that this also causes
those tests to fail if the *path* contains the word 'error', which can
happen e.g. if the branch name contains the word 'error'.

Instead, we now check for `error:` since that string is much less likely
to appear in a path.
DeltaFile
+1-1clang/test/InstallAPI/extra-exclude-headers.test
+1-1clang/test/InstallAPI/hiddens.test
+2-22 files

LLVM/project 674cb9elldb/source/Plugins/Process/gdb-remote GDBRemoteCommunicationClient.cpp

[lldb] Fix immediately-destroyed ScopedTimeout in KillProcess (#188333)

The ScopedTimeout was created as a temporary, causing it to be destroyed
immediately and the timeout to have no effect. Give it a name so it
lives until the end of the function scope.
DeltaFile
+1-1lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+1-11 files

LLVM/project 642bde7llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer order-reduction-infinite-loop.ll

[SLP] Fix infinite loop in ordered reduction worklist processing (#188342)

The ordered reduction support introduced in 94e366ef2060 can cause an
infinite loop when processing complex reduction chains. The worklist
algorithm re-adds instructions from PossibleOrderedReductionOps when
switching to ordered mode, but doesn't track which instructions have
already been processed. This allows instructions to be re-added and
processed multiple times, creating cycles.

Add a Visited set to track processed instructions and skip any that
have already been handled, preventing the infinite loop.
DeltaFile
+126-0llvm/test/Transforms/SLPVectorizer/order-reduction-infinite-loop.ll
+3-0llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+129-02 files

LLVM/project 56b5f19clang/include/clang/Basic HLSLIntrinsics.td, clang/test/TableGen hlsl-intrinsics.td

Merge branch 'main' into users/vitalybuka/spr/compiler-rt-suppress-unused-variable-report-in-emutls
DeltaFile
+590-0clang/utils/TableGen/HLSLEmitter.cpp
+469-0clang/test/TableGen/hlsl-intrinsics.td
+320-0clang/include/clang/Basic/HLSLIntrinsics.td
+217-78llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+54-92llvm/test/CodeGen/WebAssembly/load-ext.ll
+73-4llvm/tools/llvm-lipo/llvm-lipo.cpp
+1,723-17433 files not shown
+2,307-21739 files

LLVM/project fe28635llvm/lib/Transforms/Scalar JumpThreading.cpp, llvm/test/Transforms/JumpThreading update-bpi-bfi-unfold-select.ll

[JT] `tryToUnfoldSelectInCurrBB` should update BFI & BPI if present (#188097)

Issue #187545
DeltaFile
+58-0llvm/test/Transforms/JumpThreading/update-bpi-bfi-unfold-select.ll
+31-0llvm/lib/Transforms/Scalar/JumpThreading.cpp
+89-02 files

LLVM/project e3c6244llvm/include/llvm/ExecutionEngine/Orc EPCGenericJITLinkMemoryManager.h, llvm/lib/ExecutionEngine/Orc EPCGenericJITLinkMemoryManager.cpp

[ORC] Add EPCGenericJITLinkMemoryManager::Create named constructor. (#188191)

Create takes a JITDylib and a SymbolNames struct, looks up the
implementation symbol addresses in the given JITDylib, and uses them to
construct an EPCGenericJITLinkMemoryManager instance. This makes it
easier for ORC clients to construct the memory manager from named
symbols (e.g. in a bootstrap JITDylib) rather than raw addresses.
DeltaFile
+62-0llvm/unittests/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManagerTest.cpp
+19-0llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
+15-1llvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h
+96-13 files

LLVM/project aff1488llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU gfx1250_asm_wmma_w32.s gfx1250_asm_wmma_w32_err.s

[AMDGPU] Disable neg_lo[0:1] and neg_hi[0:1] on gfx1251 WMMA, MC part
DeltaFile
+10-45llvm/test/MC/AMDGPU/gfx1250_asm_wmma_w32.s
+10-31llvm/test/MC/Disassembler/AMDGPU/gfx1250_dasm_wmma_w32.txt
+30-0llvm/test/MC/AMDGPU/gfx1250_asm_wmma_w32_err.s
+6-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+56-764 files

LLVM/project 13b2ee2clang/include/clang/AST ExternalASTSource.h

[clang][AST] Fix LazyGenerationalUpdatePtr NumLowBitsAvailable on 32-bit (#188318)

The `PointerLikeTypeTraits` for `LazyGenerationalUpdatePtr` claimed
`PointerLikeTypeTraits<T>::NumLowBitsAvailable - 1` spare low bits. This
assumed that the inner `PointerUnion<T, LazyData*>` has `T_bits - 1`
spare bits, which is only true when `alignof(LazyData) >= alignof(*T)`.

On 32-bit systems, `LazyData` (containing pointers and `uint32_t`) has
`alignof = 4`, giving `LazyData*` only 2 low bits. With `T = Decl*` (3
bits due to `alignas(8)`), the inner `PointerUnion` has `min(3,2) - 1 =
1` spare bit, but the PLTT claimed `3 - 1 = 2`.

Historically, the formula was correct when introduced in 053f6c6c9e4d --
at that time `Decl` had no alignment annotation, so `T_bits ==
LazyData*_bits` on all platforms. It became outdated when 771721cb35f3
added `LLVM_ALIGNAS(8)` to `Decl`, raising `Decl*` to 3 bits on 32-bit
while `LazyData*` stayed at 2. The old `PointerIntPair`-based
`PointerUnion::doCast` happened to mask with `minLowBitsAvailable()`
(tolerant of overclaims), so this was never exposed until the

    [5 lines not shown]
DeltaFile
+1-3clang/include/clang/AST/ExternalASTSource.h
+1-31 files

LLVM/project 11bc6e8llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/test/CodeGen/AMDGPU llvm.exp10.ll llvm.exp.ll

[SelectionDAG] Add known bit for `ISD::FABS` (#188335)

Absolute value always clears the sign bit, so make that knowh to
selectionDAG's `computeKnownBits`.
DeltaFile
+5-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+1-1llvm/test/CodeGen/AMDGPU/llvm.exp10.ll
+1-1llvm/test/CodeGen/AMDGPU/llvm.exp.ll
+7-23 files

LLVM/project 8007a41flang/lib/Lower/OpenMP OpenMP.cpp ClauseProcessor.cpp, flang/test/Lower/OpenMP linear_modifier.f90 distribute-parallel-do-simd.f90

Fix implicit val for OpenMP >= 52 and don't rely on static variables in processLinear

- Emit val for implicit linear clause if openmp version >= 52
- Turn `typeAttrs` and `linearModAttrs` from static to local to
avoid confusions about cleaning stale value
DeltaFile
+20-20flang/test/Lower/OpenMP/linear_modifier.f90
+16-8flang/test/Lower/OpenMP/distribute-parallel-do-simd.f90
+14-7flang/test/Lower/OpenMP/composite_simd_linear.f90
+15-6flang/lib/Lower/OpenMP/OpenMP.cpp
+8-4flang/test/Lower/OpenMP/wsloop-linear.f90
+2-7flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+75-526 files

LLVM/project 88de828flang/lib/Lower/OpenMP OpenMP.cpp ClauseProcessor.cpp, flang/test/Lower/OpenMP distribute-parallel-do-simd.f90 composite_simd_linear.f90

Fix implicit val for OpenMP >= 52 and don't rely on static variables in processLinear

- Emit val for implicit linear clause if openmp version >= 52
- Turn `typeAttrs` and `linearModAttrs` from static to local to
avoid confusions about cleaning stale value
DeltaFile
+16-8flang/test/Lower/OpenMP/distribute-parallel-do-simd.f90
+14-7flang/test/Lower/OpenMP/composite_simd_linear.f90
+15-6flang/lib/Lower/OpenMP/OpenMP.cpp
+8-4flang/test/Lower/OpenMP/wsloop-linear.f90
+2-7flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+2-2flang/test/Lower/OpenMP/linear_modifier.f90
+57-346 files

LLVM/project 4e290b3libc/src/string/memory_utils utils.h

[libc][strings] Refactor load_aligned for cleaner endianness handling (#186360)

Replace the explicit `if constexpr` branching for big and little
endianness with compile-time calculated shift constants `VAL_SHIFT` and
`NEXT_SHIFT`. This simplifies the logic and reduces code duplication,
relying on the compiler to constant-fold the zero shifts into no-ops.
DeltaFile
+11-12libc/src/string/memory_utils/utils.h
+11-121 files

LLVM/project 6ef3061lldb/source/Target ProcessTrace.cpp

[lldb][trace] Ensure ProcessTrace plugin can be re-registered (#188336)

Initialize makes sure that it calls RegisterPlugin only once, but
Terminate always calls UnregisterPlugin. This is a problem for tests
that call Initialize/Terminate before and after each test case: the
second case will fail because the trace plugin won't be loaded.

This fixes a test failure introduced by #187768, which adds a test case
that passes on its own but fails when run after the previous test case.
DeltaFile
+2-6lldb/source/Target/ProcessTrace.cpp
+2-61 files

LLVM/project daec3b9clang/include/clang/Basic HLSLIntrinsics.td, clang/lib/Headers CMakeLists.txt

[HLSL] Implement TableGen for builtin HLSL intrinsics (#187610)

This PR introduces a TableGen-based code generation system for HLSL
intrinsic overloads as described in proposal
[[0043]](https://github.com/llvm/wg-hlsl/blob/main/proposals/0043-hlsl-intrinsic-tablegen.md)
for replacing hand-written boilerplate with declarative .td definitions.

Actual changes to `hlsl_intrinsics.h` and `hlsl_alias_intrinsics.h` to
replace handwritten HLSL intrinsic overloads with TableGen is left to
follow-up PRs.

Assisted-by: GitHub Copilot (powered by Claude Opus 4.6)
DeltaFile
+590-0clang/utils/TableGen/HLSLEmitter.cpp
+469-0clang/test/TableGen/hlsl-intrinsics.td
+320-0clang/include/clang/Basic/HLSLIntrinsics.td
+14-0clang/utils/TableGen/TableGen.cpp
+10-1clang/lib/Headers/CMakeLists.txt
+5-0clang/utils/TableGen/TableGenBackends.h
+1,408-13 files not shown
+1,415-19 files

LLVM/project 2ae3d8allvm/include/llvm/CodeGen ExpandPostRAPseudos.h, llvm/test/CodeGen/X86 post-ra-pseudos.mir

[CodeGen][NewPM] Mark ExpandPostRAPseudos as required (#188304)

We need to lower these pseudoinstructions regardless of optimization
level or we end up with instructions that we cannot print.
DeltaFile
+38-0llvm/test/CodeGen/X86/post-ra-pseudos.mir
+3-0llvm/include/llvm/CodeGen/ExpandPostRAPseudos.h
+41-02 files

LLVM/project 010e8f9libclc CMakeLists.txt

Disable unity build for CMake configuration
DeltaFile
+2-0libclc/CMakeLists.txt
+2-01 files

LLVM/project b08525fclang-tools-extra/clangd/unittests CMakeLists.txt, clang-tools-extra/include-cleaner/unittests CMakeLists.txt

fix more tarets
DeltaFile
+64-0clang/unittests/CMakeLists.txt
+14-0clang-tools-extra/clangd/unittests/CMakeLists.txt
+11-0clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
+3-3llvm/tools/gold/CMakeLists.txt
+4-0clang-tools-extra/include-cleaner/unittests/CMakeLists.txt
+3-0clang/unittests/Format/CMakeLists.txt
+99-31 files not shown
+101-37 files

LLVM/project 314e6ca.ci monolithic-linux.sh monolithic-windows.sh

revert monolithic
DeltaFile
+45-46.ci/monolithic-linux.sh
+12-14.ci/monolithic-windows.sh
+57-602 files

LLVM/project fdd7e80mlir/include/mlir/Dialect/XeGPU/Transforms Transforms.h, mlir/lib/Dialect/XeGPU/Transforms XeGPUSubgroupDistribute.cpp XeGPUSgToWiDistributeExperimental.cpp

fix xegpu
DeltaFile
+2-17mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
+2-16mlir/lib/Dialect/XeGPU/Transforms/XeGPUSgToWiDistributeExperimental.cpp
+15-0mlir/include/mlir/Dialect/XeGPU/Transforms/Transforms.h
+19-333 files

LLVM/project 8cf29c2llvm/lib/Support CMakeLists.txt

fix support on windows
DeltaFile
+9-0llvm/lib/Support/CMakeLists.txt
+9-01 files

LLVM/project a4c25d7clang/lib/ScalableStaticAnalysisFramework/Core CMakeLists.txt

fix AnalysisRegistry
DeltaFile
+5-0clang/lib/ScalableStaticAnalysisFramework/Core/CMakeLists.txt
+5-01 files

LLVM/project 195900fflang/lib/Optimizer/HLFIR/Transforms CMakeLists.txt, flang/lib/Optimizer/Transforms CMakeLists.txt

fix build errors
DeltaFile
+11-0flang/lib/Optimizer/Transforms/CMakeLists.txt
+10-0flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
+21-02 files

LLVM/project fa2a060. benchmark_build.sh

normalize script
DeltaFile
+10-81benchmark_build.sh
+10-811 files

LLVM/project bff4df4. benchmark_build.sh

measure memory too
DeltaFile
+44-20benchmark_build.sh
+44-201 files

LLVM/project 3d779be. benchmark_build.sh

use time
DeltaFile
+29-10benchmark_build.sh
+29-101 files

LLVM/project 51cfa19. benchmark_build.sh

measure memory too
DeltaFile
+13-39benchmark_build.sh
+13-391 files

LLVM/project 655938d. benchmark_build.sh

Change iteration count from 10 to 2
DeltaFile
+1-1benchmark_build.sh
+1-11 files

LLVM/project 8a64bf5.ci monolithic-linux.sh monolithic-windows.sh

patch monolithic
DeltaFile
+46-44.ci/monolithic-linux.sh
+14-12.ci/monolithic-windows.sh
+60-562 files

LLVM/project ae1c229clang/lib/CIR/CodeGen CMakeLists.txt, flang/lib/Evaluate CMakeLists.txt

fix debug for all targets
DeltaFile
+19-0clang/lib/CIR/CodeGen/CMakeLists.txt
+1-15mlir/lib/Dialect/Affine/Transforms/DecomposeAffineOps.cpp
+14-0flang/lib/Evaluate/CMakeLists.txt
+8-0mlir/lib/Dialect/XeGPU/IR/CMakeLists.txt
+7-0flang/lib/Optimizer/CodeGen/CMakeLists.txt
+6-0mlir/examples/toy/Ch3/CMakeLists.txt
+55-1511 files not shown
+100-1517 files

LLVM/project 24ca7f1clang-tools-extra/clangd/fuzzer CMakeLists.txt

LLVMFuzzerTestOneInput
DeltaFile
+3-0clang-tools-extra/clangd/fuzzer/CMakeLists.txt
+3-01 files