LLVM/project ec4681dflang/include/flang/Optimizer/Dialect FIRTypes.td

[flang][FIR] Make fir.type a valid memref element type (#199236)

Implement `MemRefElementTypeInterface` on `fir::RecordType` so that
`memref<!fir.type<…>>` verifies, enabling downstream passes to use
memrefs of Fortran derived types.
DeltaFile
+2-1flang/include/flang/Optimizer/Dialect/FIRTypes.td
+2-11 files

LLVM/project b153bedllvm/lib/Transforms/Vectorize VectorCombine.cpp

[VectorCombine] foldShuffleChainsToReduce - add dbg cost comparison message (#199233)

Help track whether a fold was attempted or not
DeltaFile
+3-0llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+3-01 files

LLVM/project 4ad14a0clang/lib/Sema SemaTemplateInstantiate.cpp SemaConcept.cpp, clang/test/SemaTemplate concepts-lambda.cpp

Revert "[Clang] Transform lambda's constraints when instantiating parameter mapping (#195995)" (#199228)

This reverts commit 7e2821e025f8ee4add31693ddf462947d7618016, which
causes a crash-on-valid in clang:
https://github.com/llvm/llvm-project/issues/199209
DeltaFile
+5-32clang/lib/Sema/SemaTemplateInstantiate.cpp
+3-33clang/test/SemaTemplate/concepts-lambda.cpp
+10-9clang/lib/Sema/SemaConcept.cpp
+2-12clang/lib/Sema/TreeTransform.h
+14-0clang/lib/Sema/SemaTemplateDeduction.cpp
+0-7clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+34-933 files not shown
+41-979 files

LLVM/project 49e67cbllvm/test/Transforms/LoopVectorize/AArch64 sve-vector-reverse-mask4.ll

[LV] Regenerate a test with UTC. NFC (#199231)
DeltaFile
+52-8llvm/test/Transforms/LoopVectorize/AArch64/sve-vector-reverse-mask4.ll
+52-81 files

LLVM/project 4acaa15cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers ScriptDebuggerController.py, cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/debugging simple_where_function.cpp

Terminology update
DeltaFile
+2-2cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ScriptDebuggerController.py
+1-1cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/debugging/simple_where_function.cpp
+3-32 files

LLVM/project b4b2dbfclang-tools-extra/clang-tidy/modernize UseUsingCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Change IgnoreExternC default to true in modernize-use-using (#199189)

This prevents generating invalid C code in mixed-language headers by
leaving `typedef` declarations inside `extern "C"` blocks intact by
default.

Fixes #141394
DeltaFile
+6-0clang-tools-extra/docs/ReleaseNotes.rst
+3-1clang-tools-extra/test/clang-tidy/checkers/modernize/use-using-ignore-extern-c.cpp
+1-1clang-tools-extra/docs/clang-tidy/checks/modernize/use-using.rst
+1-1clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
+0-2clang-tools-extra/test/clang-tidy/checkers/modernize/use-using.cpp
+11-55 files

LLVM/project 1586b24mlir/lib/Dialect/XeGPU/Transforms XeGPUPropagateLayout.cpp, mlir/test/Dialect/XeGPU propagate-layout-subgroup.mlir

[mlir][xegpu] Allow layout mismatch between region yields and region results (#199119)

With layout conflict handling this case is no longer an issue.
DeltaFile
+45-0mlir/test/Dialect/XeGPU/propagate-layout-subgroup.mlir
+0-11mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+45-112 files

LLVM/project b081351clang/lib/Basic FileManager.cpp, clang/lib/Lex HeaderSearch.cpp

[clang] Use FileError in FileManager::getFileRef, getDirectoryRef (#199126)

Most callers are unchanged, since they either ignore the specific error
or have their own formatting of the error that includes both the path
and the errorToErrorCode-unwrapped value. However, for clients that just
forward the error it's helpful to ensure we do not lose track of the
filename that the error is associated with, so use FileError.

Incidentally remove two uses of errorToErrorCode that were being used
instead of consumeError; in both cases getOptionalFileRef was more
appropriate.
DeltaFile
+69-0clang/unittests/Basic/FileManagerTest.cpp
+13-10clang/lib/Basic/FileManager.cpp
+2-6clang/lib/Lex/HeaderSearch.cpp
+84-163 files

LLVM/project d2e9300lldb/include/lldb/Core Module.h, lldb/source/Core Module.cpp

[lldb] Adopt LockedPtr in Module (NFC) (#199160)

Follow-up to #198941, which introduced Locked<T> and SharedLocked<T>.
Add GetObjectFileLocked, GetSymbolFileLocked, GetSymtabLocked, and
GetSectionListLocked alongside the existing accessors.

The locked variants cover two things:

1. They prevent the pointer from being swapped out from under the
caller. The old getters take m_mutex only during lazy initialization and
release it before returning. The unique_ptr or shared_ptr that owns the
pointee can therefore be reassigned by another thread while the caller
still holds the raw value. LockedPtr keeps the Module mutex held
alongside the borrowed pointer, pinning the binding for the lifetime of
the handle.

2. They serialize access to the pointee itself. This is not new, the
classes in question were already relying on the Module mutex for
synchronization.

    [5 lines not shown]
DeltaFile
+24-11lldb/source/Core/Module.cpp
+19-0lldb/include/lldb/Core/Module.h
+43-112 files

LLVM/project 86475ffllvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/RISCV strided-accesses.ll

[LV] Avoid stale VPTypeAnalysis cache in convertToStridedAccesses (#199222)

VPlanTransforms::convertToStridedAccesses calls
VPWidenMemoryRecipe::computeCost, which uses VPTypeAnalysis in
VPCostContext to infer the pointer type of the load address. However,
CachedTypes in VPTypeAnalysis may be invalidated since earlier
transformations in tryToBuildVPlan could erase recipes from the plan.
This pollutes the cache with stale types.

Fix this by creating a new VPCostContext locally scoped to
convertToStridedAccesses, ensuring VPTypeAnalysis reflects the current
plan state. This serves as a quick fix to prevent accidental reuse by
future transformations.
DeltaFile
+157-0llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
+9-3llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+166-32 files

LLVM/project 89fd545cross-project-tests/debuginfo-tests/dexter/dex/evaluation Metrics.py RunMatch.py, cross-project-tests/debuginfo-tests/dexter/dex/tools/test Tool.py

Address review comments
DeltaFile
+9-1cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
+6-4cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
+4-3cross-project-tests/debuginfo-tests/dexter/dex/evaluation/RunMatch.py
+2-2cross-project-tests/debuginfo-tests/dexter/dex/evaluation/StateMatch.py
+21-104 files

LLVM/project 71772bclldb/test/Shell/Settings TestCxxFrameFormatPartialFailure.test

[lldb] Remove XFAIL from TestCxxFrameFormatPartialFailure (#199229)

This is fixed on Windows after #198600 as it now uses LLD.
DeltaFile
+0-2lldb/test/Shell/Settings/TestCxxFrameFormatPartialFailure.test
+0-21 files

LLVM/project 3298a0clldb/source/Interpreter CommandInterpreter.cpp, lldb/test/Shell/Commands process-attach-dummy.test

   [lldb] Fix dummy target filtering regression in CommandInterpreter (#198949)

In #198429 (reland), CommandObject::GetTarget() was tightened to return
nullptr instead of the dummy target when no real target exists, unless
the command explicitly opts in via eCommandAllowsDummyTarget or standard
target requirements
 
However in CommandInterpreter::GetExecutionContext(bool
adopt_dummy_target) :
  
  ```   
    ExecutionContext
CommandInterpreter::GetExecutionContext(bool adopt_dummy_target) const {
      return !m_overriden_exe_contexts.empty()
                 ? m_overriden_exe_contexts.top()
: m_debugger.GetSelectedExecutionContext(adopt_dummy_target);
    }
  ```
  

    [31 lines not shown]
DeltaFile
+20-0lldb/test/Shell/Commands/process-attach-dummy.test
+3-3lldb/source/Interpreter/CommandInterpreter.cpp
+23-32 files

LLVM/project 5c77bbeclang/include/clang/CIR/FrontendAction CIRGenAction.h

address nit
DeltaFile
+1-1clang/include/clang/CIR/FrontendAction/CIRGenAction.h
+1-11 files

LLVM/project 55e7e27cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers ScriptDebuggerController.py

Review comments
DeltaFile
+8-7cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ScriptDebuggerController.py
+8-71 files

LLVM/project 15fe434llvm/lib/CodeGen InlineSpiller.cpp

Addressed review comments: remove newline, combine conditional blocks.
DeltaFile
+9-9llvm/lib/CodeGen/InlineSpiller.cpp
+9-91 files

LLVM/project 78792f8clang/docs ReleaseNotes.rst, clang/lib/AST TextNodeDumper.cpp

[clang] ast-text-dump: fix printing of declref to decomposition with no bindings (#199215)

Clang supports empty structured binding groups as an extension, and the
text node dumper has some special handling for giving a name to
anonymous declarations, which assumed a decomposition would have at
least one binding.

Fixes #198842
DeltaFile
+6-4clang/lib/AST/TextNodeDumper.cpp
+8-0clang/test/AST/ast-dump-decl.cpp
+2-0clang/docs/ReleaseNotes.rst
+16-43 files

LLVM/project 9ea4614llvm/include/llvm/Support SourceMgr.h, llvm/lib/Support SourceMgr.cpp

use includeloc for the call site and the new member for the def location

Created using spr 1.3.8-beta.1
DeltaFile
+7-6llvm/include/llvm/Support/SourceMgr.h
+2-2llvm/lib/Support/SourceMgr.cpp
+9-82 files

LLVM/project af1743dllvm/lib/MC/MCParser AsmParser.cpp, llvm/test/MC/AsmParser macro-like-diagnostic.s macro-unknown-directive.s

improve tests

Created using spr 1.3.8-beta.1
DeltaFile
+19-0llvm/test/MC/AsmParser/macro-like-diagnostic.s
+12-0llvm/test/tools/llvm-ml/macro_diagnostic.asm
+3-3llvm/test/MC/AsmParser/macro-unknown-directive.s
+3-3llvm/test/MC/AsmParser/macros-darwin.s
+1-1llvm/test/MC/AsmParser/unmatched-if-macro.s
+1-1llvm/lib/MC/MCParser/AsmParser.cpp
+39-81 files not shown
+40-97 files

LLVM/project caefe2clldb/tools/lldb-dap/extension package-lock.json, llvm/lib/Support UnicodeNameToCodepointGenerated.cpp

refactor to avoid buffer name comparison

Created using spr 1.3.8-beta.1
DeltaFile
+23,873-20,923llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+12,365-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.av.load.b128.ll
+1,243-8,768llvm/test/CodeGen/X86/vector-replicaton-i1-mask.ll
+1,381-2,562llvm/test/CodeGen/X86/avx512-calling-conv.ll
+3,903-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion.ll
+2,504-1,285lldb/tools/lldb-dap/extension/package-lock.json
+45,269-33,5382,139 files not shown
+127,494-75,4792,145 files

LLVM/project 0c31558lldb/unittests/Utility LockedTest.cpp

[lldb][test] Fix thread safety analysis warning in LockedTest (#199218)

Guard `mutex.unlock()` with `if (mutex.try_lock())` to satisfy thread
safety analysis. Statically, the compiler cannot verify that
`mutex.try_lock()` succeeded when it is only asserted by `EXPECT_TRUE`,
leading to a "releasing mutex 'mutex' that was not held" compilation
error.

This fixes a regression introduced in #198941.
DeltaFile
+4-2lldb/unittests/Utility/LockedTest.cpp
+4-21 files

LLVM/project 5c06d8allvm/lib/Target/PowerPC PPCInstrInfo.td

Fix accidental renames.
DeltaFile
+6-3llvm/lib/Target/PowerPC/PPCInstrInfo.td
+6-31 files

LLVM/project 5d0bc86mlir/include/mlir/Dialect/LLVMIR LLVMOps.td LLVMIntrinsicOps.td, mlir/lib/Dialect/LLVMIR/IR LLVMMemorySlot.cpp

[mlir][LLVMIR] implement PromotableAliaserInterface
DeltaFile
+311-0mlir/test/Dialect/LLVMIR/mem2reg.mlir
+44-0mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
+8-1mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
+4-0mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
+367-14 files

LLVM/project 3f67b89llvm/lib/Target/PowerPC PPCInstrInfo.td PPCInstr64Bit.td

[PowerPC] Change arguments of PPCEmitTimePseudo

Like #198861 but for PPCEmitTimePseudo.

This is not NFC. The asm name of LDtocBA was set to #LDtocCPT,
which is the name of the instruction before. This looks like a
cut`n`paste error, and I changed the asm name.
DeltaFile
+34-59llvm/lib/Target/PowerPC/PPCInstrInfo.td
+30-53llvm/lib/Target/PowerPC/PPCInstr64Bit.td
+10-20llvm/lib/Target/PowerPC/PPCInstrMMA.td
+4-3llvm/lib/Target/PowerPC/PPCInstrFormats.td
+78-1354 files

LLVM/project 11b0502llvm/lib/Target/PowerPC PPCInstrInfo.td PPCInstr64Bit.td

[PowerPC][NFC] Change arguments of PPCustomInserter

Like #198861 but for PPCCustomInserter.
DeltaFile
+25-39llvm/lib/Target/PowerPC/PPCInstrInfo.td
+10-16llvm/lib/Target/PowerPC/PPCInstr64Bit.td
+3-10llvm/lib/Target/PowerPC/PPCInstrVSX.td
+4-7llvm/lib/Target/PowerPC/PPCInstrSPE.td
+2-2llvm/lib/Target/PowerPC/PPCInstrFormats.td
+2-2llvm/lib/Target/PowerPC/PPCInstrHTM.td
+46-766 files

LLVM/project da3e878llvm/lib/Target/PowerPC PPCInstrInfo.td

Fix removed empty name
DeltaFile
+1-1llvm/lib/Target/PowerPC/PPCInstrInfo.td
+1-11 files

LLVM/project 46d4ce4llvm/lib/Transforms/Utils LowerCommentStringPass.cpp

Apply suggested changes

Apply suggested changes
DeltaFile
+52-17llvm/lib/Transforms/Utils/LowerCommentStringPass.cpp
+52-171 files

LLVM/project 07d2d00llvm/lib/CodeGen/SelectionDAG LegalizeDAG.cpp SelectionDAGBuilder.cpp, llvm/test/CodeGen/RISCV ctselect-fallback.ll

[ConstantTime] Move ct.select lowering to legalizer; misc fixes

- LegalizeDAG owns CT_SELECT lowering: scalar-mask+splat for vectors
  (avoids illegal vNi1), memory-blend for FP types lacking a legal
  same-size integer (f64 on i386 no-SSE, fp128, x86_fp80)
- Add InstSimplify folds for constant cond and identical arms
- Extend X86 tests to half/bfloat/fp128/x86_fp80; nounwind cleanup
- Preserve flags through legalizer; reuse SDTSelect
DeltaFile
+1,513-549llvm/test/CodeGen/X86/ctselect.ll
+143-65llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+12-111llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+102-0llvm/test/Transforms/InstSimplify/ct-select.ll
+44-30llvm/test/CodeGen/RISCV/ctselect-fallback.ll
+4-13llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+1,818-7686 files not shown
+1,839-78112 files

LLVM/project 1af6ed0.github/workflows release-doxygen.yml release-binaries.yml, .github/workflows/require-release-manager action.yml

workflows/require-release-manager: Refactor to check an arbitrary team (#199083)

This will allow it to be used for checking that users are members of the
llvm-committer team or possibly others.
DeltaFile
+41-0.github/workflows/require-team-membership/action.yml
+0-35.github/workflows/require-release-manager/action.yml
+2-1.github/workflows/release-doxygen.yml
+2-1.github/workflows/release-binaries.yml
+45-374 files

LLVM/project 12a3d0bclang/docs LanguageExtensions.rst, clang/include/clang/Options Options.td

Enable driver changes for fexec-charset
DeltaFile
+14-6clang/lib/Driver/ToolChains/Clang.cpp
+14-4clang/include/clang/Options/Options.td
+11-3clang/test/Driver/clang_f_opts.c
+10-0llvm/lib/Support/TextEncoding.cpp
+4-3clang/test/Driver/cl-options.c
+3-3clang/docs/LanguageExtensions.rst
+56-193 files not shown
+60-199 files