[all-commits] [llvm/llvm-project] c6be4f: [PredicateInfo] Don't use depth first walk (NFCI) ...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Mon Jun 23 03:15:21 PDT 2025


  Branch: refs/heads/users/nico/revisit-pad-with-affine-min-fold
  Home:   https://github.com/llvm/llvm-project
  Commit: c6be4ff0c8966c4dbe1cbac9a071762982a70651
      https://github.com/llvm/llvm-project/commit/c6be4ff0c8966c4dbe1cbac9a071762982a70651
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/PredicateInfo.cpp

  Log Message:
  -----------
  [PredicateInfo] Don't use depth first walk (NFCI) (#145016)

The order in which we collect the predicates does not matter, as they
will be sorted anyway. As such, avoid the expensive depth first walk
over the dominator tree and instead use plain iteration over the
function.

(To be a bit more precise, the predicates and uses for a specific value
are sorted, so this change has no impact on that. It can change the
order in which values are processed in the first place, but that order
is not semantically relevant.)


  Commit: 1e58e9c4b27351c5f7482ce01daabfaad6cbe5fb
      https://github.com/llvm/llvm-project/commit/1e58e9c4b27351c5f7482ce01daabfaad6cbe5fb
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/PredicateInfo.cpp

  Log Message:
  -----------
  [PredicateInfo] Don't store Def in ValueDFS (NFC) (#145022)

Def is only actually used during renaming, and having it in ValueDFS
causes unnecessary confusion. Remove it from ValueDFS and instead use a
separate StackEntry structure for renaming, which holds the ValueDFS and
the Def.


  Commit: ae8c85c9ce89ad224a1b34888c6fa7d56ad5f453
      https://github.com/llvm/llvm-project/commit/ae8c85c9ce89ad224a1b34888c6fa7d56ad5f453
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/Passes/PassBuilderPipelines.cpp

  Log Message:
  -----------
  [Passes] Remove LoopInterchange from O1 pipeline (#145071)

This is a fairly exotic pass, I don't think it makes a lot of sense to
run it at O1, esp. as vectorization wouldn't run at O1 anyway.


  Commit: 86beba9301112c6092cbfa3e53bdacc0d68337df
      https://github.com/llvm/llvm-project/commit/86beba9301112c6092cbfa3e53bdacc0d68337df
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/PredicateInfo.h
    M llvm/lib/Transforms/Utils/PredicateInfo.cpp

  Log Message:
  -----------
  [PredicateInfo] Cache ssa.copy declarations (NFC) (#145020)

This pass creates a lot of ssa.copy intrinsics, typically for a small
set of types. Determining the function type, performing intrinsic name
mangling and looking up the declaration has noticeable overhead in this
case.

Improve this by caching the declarations by type. I've made this a
separate map from CreatedDeclarations, which only tracks the
declarations that were newly inserted (but not pre-existing ones).


  Commit: ddfc7cb61f022d78db6a2b9ac072fce233c19343
      https://github.com/llvm/llvm-project/commit/ddfc7cb61f022d78db6a2b9ac072fce233c19343
  Author: Luke Hutton <luke.hutton at arm.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir

  Log Message:
  -----------
  [mlir][tosa] Check negative output size in resize shape inference (#143382)

This commit adds a check to ensure that the calculated output height and
width, during shape inference, should be non-negative. An error is
output if this is the case.

Fixes: #142402


  Commit: 4795b2b5a3d739b59f7f4e97fe7ef201f539d2ba
      https://github.com/llvm/llvm-project/commit/4795b2b5a3d739b59f7f4e97fe7ef201f539d2ba
  Author: Jim Lin <jim at andestech.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoV.td

  Log Message:
  -----------
  [RISCV] Fix comment typo and indentation for class SchedNary. NFC.


  Commit: 20c04a646bcfa20d0828e0d7eae969f262718e48
      https://github.com/llvm/llvm-project/commit/20c04a646bcfa20d0828e0d7eae969f262718e48
  Author: Camsyn <camsyn at foxmail.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common.h
    M compiler-rt/lib/sanitizer_common/sanitizer_linux.h

  Log Message:
  -----------
  [NFC][Sanitizer] Fix incorrect desc of [beg, end] to [beg, end)

Correct the interval desc of ReleaseMemoryPagesToOS from [beg, end] to
[beg, end), as it actually does.

The previous incorrect description of [beg, end] might cause an
incorrect invoke as follows: `ReleaseMemoryPagesToOS(0, kPageSize - 1);`


  Commit: 74aab3045d187ed76566fcdb5e9ce829afdbcdc1
      https://github.com/llvm/llvm-project/commit/74aab3045d187ed76566fcdb5e9ce829afdbcdc1
  Author: Kunqiu Chen <camsyn at foxmail.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
    M compiler-rt/lib/tsan/rtl/tsan_sync.cpp

  Log Message:
  -----------
  [TSan, NFC] Eliminate useless calculations in TSan (#145283)

Previously, TSan repeatedly calculated some values in some cases, and
this change eliminates these duplicate calculations.


  Commit: 338ee673bde3843ec48579f11d405c768eb4b2ac
      https://github.com/llvm/llvm-project/commit/338ee673bde3843ec48579f11d405c768eb4b2ac
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/PowerPC/aix-static-init-key-object.ll

  Log Message:
  -----------
  AsmPrinter: Do not use report_fatal_error for AIX XXStructor error (#145273)


  Commit: 16607f64374926a291242c0adeee2133d58b71ca
      https://github.com/llvm/llvm-project/commit/16607f64374926a291242c0adeee2133d58b71ca
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp

  Log Message:
  -----------
  AMDGPU: Fix typo in argument allocation error message (#145265)


  Commit: db051e8800d33247625280328c6759e411f62421
      https://github.com/llvm/llvm-project/commit/db051e8800d33247625280328c6759e411f62421
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/X86/AppendingLinkage.ll

  Log Message:
  -----------
  AsmPrinter: Do not use report_fatal_error for unknown appending linkage (#145269)


  Commit: 6b129d6bbf3995579df39786abdd26b8f83ffe55
      https://github.com/llvm/llvm-project/commit/6b129d6bbf3995579df39786abdd26b8f83ffe55
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/AMDGPU/addrspacecast-initializer-unsupported.ll
    M llvm/test/CodeGen/X86/ptrtoint-constexpr-invalid.ll

  Log Message:
  -----------
  AsmPrinter: Do not use report_fatal_error for unhandled ConstantExpr (#145275)


  Commit: 48155f93dd84919432e3276a143f8ef46c247b9a
      https://github.com/llvm/llvm-project/commit/48155f93dd84919432e3276a143f8ef46c247b9a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
    M llvm/lib/Target/Lanai/LanaiISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/Mips/MipsISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/Sparc/SparcISelLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/VE/VEISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/arm64-named-reg-alloc.ll
    M llvm/test/CodeGen/AArch64/arm64-named-reg-notareg.ll
    A llvm/test/CodeGen/AMDGPU/read-register-invalid-register.ll
    A llvm/test/CodeGen/AMDGPU/write-register-invalid-register.ll
    M llvm/test/CodeGen/ARM/named-reg-alloc.ll
    M llvm/test/CodeGen/ARM/named-reg-notareg.ll
    M llvm/test/CodeGen/ARM/special-reg-acore.ll
    M llvm/test/CodeGen/ARM/special-reg-mcore.ll
    M llvm/test/CodeGen/ARM/special-reg-v8m-base.ll
    M llvm/test/CodeGen/ARM/special-reg-v8m-main.ll
    M llvm/test/CodeGen/RISCV/get-register-invalid.ll
    M llvm/test/CodeGen/SPARC/reserved-regs-unavailable.ll
    M llvm/test/CodeGen/X86/named-reg-alloc.ll
    M llvm/test/CodeGen/X86/named-reg-notareg.ll

  Log Message:
  -----------
  CodeGen: Emit error if getRegisterByName fails (#145194)

This avoids using report_fatal_error and standardizes the error
message in a subset of the error conditions.


  Commit: 2dcf436340849d757432dc76ac46bf537e10fd8c
      https://github.com/llvm/llvm-project/commit/2dcf436340849d757432dc76ac46bf537e10fd8c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/test/CodeGen/AMDGPU/propagate-flat-work-group-size.ll

  Log Message:
  -----------
  AMDGPU: Remove legacy pass manager version of AMDGPUAttributor (#145262)


  Commit: 529662a6b5f1eec832d35786b6c49da1d21513e8
      https://github.com/llvm/llvm-project/commit/529662a6b5f1eec832d35786b6c49da1d21513e8
  Author: Andrei Golubev <andrey.golubev at intel.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M mlir/include/mlir/IR/DialectResourceBlobManager.h
    M mlir/lib/IR/DialectResourceBlobManager.cpp
    A mlir/unittests/IR/BlobManagerTest.cpp
    M mlir/unittests/IR/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Allow accessing DialectResourceBlobManager::blobMap (#142352)

Add a new API to access all blobs that are stored in the blob manager.
The main purpose (as of now) is to allow users of dialect resources to
iterate over all blobs, especially when the blobs are no longer used in
IR (e.g. the operation that uses the blob is deleted) and thus cannot be
easily accessed without manual tracking of keys.


  Commit: 1c78d8d9d7bcb4b20910047ad7db35f177a17c8c
      https://github.com/llvm/llvm-project/commit/1c78d8d9d7bcb4b20910047ad7db35f177a17c8c
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/IntegralAP.h
    M clang/lib/AST/ByteCode/Interp.h
    M clang/test/AST/ByteCode/intap.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix shifts with an allocated RHS (#145280)

This was broken before because we ended up using a constructor that was
disabled via assert(false). Use ShiftAP() if either LHS or RHS is
allocated.


  Commit: 4af96a9d83335b3b59f3441af47c879c7a9eb183
      https://github.com/llvm/llvm-project/commit/4af96a9d83335b3b59f3441af47c879c7a9eb183
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Utils/IndexingUtils.h
    M mlir/include/mlir/IR/BuiltinTypes.td
    M mlir/lib/Dialect/Utils/IndexingUtils.cpp
    M mlir/lib/IR/BuiltinTypes.cpp
    M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
    M mlir/unittests/IR/CMakeLists.txt
    A mlir/unittests/IR/MemrefLayoutTest.cpp

  Log Message:
  -----------
  [MLIR] Determine contiguousness of memrefs with dynamic dimensions (#142421)

This patch enhances `MemRefType::areTrailingDimsContiguous` to also
handle memrefs with dynamic dimensions.

The implementation itself is based on a new member function
`MemRefType::getMaxCollapsableTrailingDims` that return the maximum
number of trailing dimensions that can be collapsed - trivially all
dimensions for memrefs with identity layout, or by examining the memref
strides stopping at discontiguous or statically unknown strides.


  Commit: b31413a96603cd904281368b6f5f8e36836a7cac
      https://github.com/llvm/llvm-project/commit/b31413a96603cd904281368b6f5f8e36836a7cac
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M mlir/lib/Dialect/ArmSVE/Transforms/LowerContractionToSVEI8MMPattern.cpp

  Log Message:
  -----------
  [MLIR][AArch64] Simplify LowerContractionToSVEI8MMPattern.cpp:getExtOperand (NFC) (#144909)

Just recently learned about `isSignlessInteger`, use that instead of
comparing to types obtained via `rewriter.getI<N>Type()`.
It also makes it closer to a similar function in 
`LowerContractionToNeonI8MMPattern.cpp` (formerly `LowerContractionToSMMLAPattern.cpp`)
which would help a potential effort to unify these patterns.


  Commit: 98a6fed0965702619162243be263626380a6c0f6
      https://github.com/llvm/llvm-project/commit/98a6fed0965702619162243be263626380a6c0f6
  Author: Luke Hutton <luke.hutton at arm.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaTypesBase.td
    M mlir/test/Dialect/Tosa/invalid.mlir
    M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir

  Log Message:
  -----------
  [mlir][tosa] Allow zero-points to be unranked (#143770)

This commit allows zero-points used by a number of tosa operations to be
unranked. This allows the shape inference pass to propagate shape
information.


  Commit: 43260b01dd6e46508fe8c650df6818de64060070
      https://github.com/llvm/llvm-project/commit/43260b01dd6e46508fe8c650df6818de64060070
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    A libcxx/test/libcxx/mangled_names.pass.cpp

  Log Message:
  -----------
  [libc++] Add test to ensure that the mangling of types stays the same (#143556)


  Commit: be000986322ebb796ec7127629a865897dede966
      https://github.com/llvm/llvm-project/commit/be000986322ebb796ec7127629a865897dede966
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M libcxx/include/__tree
    M libcxx/include/map
    R libcxx/test/libcxx/containers/associative/tree_key_value_traits.pass.cpp

  Log Message:
  -----------
  [libc++] Remove a bunch of now unnecessary indirections in __tree (#142397)

Most notably, this removes the notion of a distinct `value_type` and
`__container_value_type` from `__tree`, since these are now always the
same type. There are a few places we need to keep `__value_type` around,
since they are ABI visibile. In these cases `_Tp` is used directly. The
second simplification here is that we use `const value_type&` instead of
`const key_type&` in a few places and make use of the fact that the
comparator is capable of comparing any combination of `key_type` and
`value_type`.

This is a follow-up to #134819.


  Commit: bc6faf9a020880f2902581a898e4434000d263f7
      https://github.com/llvm/llvm-project/commit/bc6faf9a020880f2902581a898e4434000d263f7
  Author: Dipesh Sharma <76941383+dipeshs809 at users.noreply.github.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/Target/X86/GISel/X86LegalizerInfo.cpp

  Log Message:
  -----------
  [X86] X86LegalizerInfo - use LegalFor instead if LegalIf for simple ISA/test pairs (#144675)

We have lots of `legalIf to` evaluate the legality of instructions based
on predicate's truthfulness, which should be simplified to use the
`legalFor({Types})` or `legalFor(Pred, {Types})` helpers:

closes #138259 

for eg: 

```
  getActionDefinitionsBuilder({G_ADD, G_SUB})
      .legalIf([=](const LegalityQuery &Query) -> bool {
        if (typeInSet(0, {s8, s16, s32})(Query))
          return true;
        if (Is64Bit && typeInSet(0, {s64})(Query))
          return true;
        if (HasSSE2 && typeInSet(0, {v16s8, v8s16, v4s32, v2s64})(Query))
          return true;
        if (HasAVX2 && typeInSet(0, {v32s8, v16s16, v8s32, v4s64})(Query))
          return true;
        if (HasAVX512 && typeInSet(0, {v16s32, v8s64})(Query))
          return true;
        if (HasBWI && typeInSet(0, {v64s8, v32s16})(Query))
          return true;
        return false;
      })
```
gets transformed to:

```
  getActionDefinitionsBuilder({G_ADD, G_SUB})
      .legalFor({s8, s16, s32})
      .legalFor(Is64Bit, {s64})
      .legalFor(HasSSE2, {v16s8, v8s16, v4s32, v2s64})
 --- etc ---
```

---------

Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>


  Commit: c5629f2b600488e1aee3f8c9f2266523b460367f
      https://github.com/llvm/llvm-project/commit/c5629f2b600488e1aee3f8c9f2266523b460367f
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M lldb/include/lldb/Host/Socket.h
    M lldb/include/lldb/Host/common/TCPSocket.h
    M lldb/include/lldb/Host/posix/DomainSocket.h
    M lldb/source/Host/common/Socket.cpp
    M lldb/source/Host/common/TCPSocket.cpp
    M lldb/source/Host/posix/DomainSocket.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
    M lldb/unittests/Core/CommunicationTest.cpp
    M lldb/unittests/Host/SocketTest.cpp

  Log Message:
  -----------
  [lldb] Add Socket::CreatePair (#145015)

It creates a pair of connected sockets using the simplest mechanism for
the given platform (TCP on windows, socketpair(2) elsewhere).

Main motivation is to remove the ugly platform-specific code in
ProcessGDBRemote::LaunchAndConnectToDebugserver, but it can also be used
in other places where we need to create a pair of connected sockets.


  Commit: 092ef1da45945d1bfa304db63c140b8cd115850d
      https://github.com/llvm/llvm-project/commit/092ef1da45945d1bfa304db63c140b8cd115850d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    M llvm/test/MC/Disassembler/AMDGPU/si-support.txt

  Log Message:
  -----------
  AMDGPU: Use reportFatalUsageError for unsupported disassembly error (#145264)


  Commit: b9c979d3698e56714db88385629a167786d07410
      https://github.com/llvm/llvm-project/commit/b9c979d3698e56714db88385629a167786d07410
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M mlir/lib/Transforms/Utils/DialectConversion.cpp

  Log Message:
  -----------
  [mlir][Transforms] Dialect conversion: Simplify `replaceOp` implementation (#145155)

Since #145030, `ConversionPatternRewriter::eraseBlock` no longer calls
`ConversionPatternRewriter::eraseOp`. This now happens in the rewriter
impl (during the cleanup phase). Therefore, a safety check in
`replaceOp` can now be simplified.


  Commit: 613c38a9923ad482f28a5f82c7b29efaad24bdce
      https://github.com/llvm/llvm-project/commit/613c38a9923ad482f28a5f82c7b29efaad24bdce
  Author: Ross Brunton <ross at codeplay.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M offload/unittests/OffloadAPI/kernel/olLaunchKernel.cpp

  Log Message:
  -----------
  [Offload] Fix type mismatch warning in test (#143700)


  Commit: e7c1da7c8ef31c258619c1668062985e7ae83b70
      https://github.com/llvm/llvm-project/commit/e7c1da7c8ef31c258619c1668062985e7ae83b70
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M lldb/CMakeLists.txt
    A lldb/cmake/modules/LLDBLayeringCheck.cmake
    M lldb/docs/resources/contributing.rst
    M lldb/source/Plugins/ABI/CMakeLists.txt
    M lldb/source/Plugins/Architecture/CMakeLists.txt
    M lldb/source/Plugins/Disassembler/CMakeLists.txt
    M lldb/source/Plugins/DynamicLoader/CMakeLists.txt
    M lldb/source/Plugins/ExpressionParser/CMakeLists.txt
    M lldb/source/Plugins/Instruction/CMakeLists.txt
    M lldb/source/Plugins/InstrumentationRuntime/CMakeLists.txt
    M lldb/source/Plugins/JITLoader/CMakeLists.txt
    M lldb/source/Plugins/Language/CMakeLists.txt
    M lldb/source/Plugins/LanguageRuntime/CMakeLists.txt
    M lldb/source/Plugins/MemoryHistory/CMakeLists.txt
    M lldb/source/Plugins/ObjectContainer/CMakeLists.txt
    M lldb/source/Plugins/ObjectFile/CMakeLists.txt
    M lldb/source/Plugins/OperatingSystem/CMakeLists.txt
    M lldb/source/Plugins/Platform/CMakeLists.txt
    M lldb/source/Plugins/Process/CMakeLists.txt
    M lldb/source/Plugins/Process/Utility/CMakeLists.txt
    M lldb/source/Plugins/REPL/CMakeLists.txt
    M lldb/source/Plugins/RegisterTypeBuilder/CMakeLists.txt
    M lldb/source/Plugins/ScriptInterpreter/CMakeLists.txt
    M lldb/source/Plugins/StructuredData/CMakeLists.txt
    M lldb/source/Plugins/SymbolFile/CMakeLists.txt
    M lldb/source/Plugins/SymbolLocator/CMakeLists.txt
    M lldb/source/Plugins/SymbolVendor/CMakeLists.txt
    M lldb/source/Plugins/SystemRuntime/CMakeLists.txt
    M lldb/source/Plugins/Trace/CMakeLists.txt
    M lldb/source/Plugins/TraceExporter/CMakeLists.txt
    M lldb/source/Plugins/TypeSystem/CMakeLists.txt
    M lldb/source/Plugins/UnwindAssembly/CMakeLists.txt

  Log Message:
  -----------
  [lldb/cmake] Plugin layering enforcement mechanism (#144543)

Some inter-plugin dependencies are okay, others are not. Yet others not,
but we're sort of stuck with them. The idea is to be able to prevent
backsliding while making sure that acceptable dependencies are..
accepted. For context, see
https://github.com/llvm/llvm-project/pull/139170 and the attached
changes to the documentation.


  Commit: 5c22793eadd8758d589eafd1cbbb2897ab8b3c8b
      https://github.com/llvm/llvm-project/commit/5c22793eadd8758d589eafd1cbbb2897ab8b3c8b
  Author: Ebuka Ezike <yerimyah1 at gmail.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
    M lldb/test/API/tools/lldb-dap/restart/TestDAP_restart_runInTerminal.py
    M lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
    M lldb/test/API/tools/lldb-dap/runInTerminal/main.c

  Log Message:
  -----------
  [lldb-dap][test] Refactor runInTerminal Tests. (#144954)

Replace `isTestSupported` function with `skipIfBuildType` annotation.

Test that uses the `IsTestSupported` function are no longer run, as the
size of lldb-dap binary is now more than `1mb`.

Update the broken test. 

Fixes #108621  

We could probably check if the test now passes on `linux arm` since it
was disabled because it timed out. I experienced the timeout after
replacing the `IsTestSupported` with `skipIfBuildType`.


  Commit: 714b2fdf3a385e5b9a95c435f56b1696ec3ec9e8
      https://github.com/llvm/llvm-project/commit/714b2fdf3a385e5b9a95c435f56b1696ec3ec9e8
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M lldb/cmake/modules/LLDBLayeringCheck.cmake

  Log Message:
  -----------
  [lldb] Add BRIEF_DOCS for cmake properties defined in #144543

It seems some cmake versions require it.


  Commit: 0662045bdf6ca2186511dd84f3b2248bedece690
      https://github.com/llvm/llvm-project/commit/0662045bdf6ca2186511dd84f3b2248bedece690
  Author: Marco Elver <elver at google.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.def
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
    M llvm/test/Transforms/InferFunctionAttrs/annotate.ll
    M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
    M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp

  Log Message:
  -----------
  [TLI] Add support for pvalloc() (#144949)

While pvalloc() is a legacy POSIX function, it remains widely available
in common C libraries like glibc.

Model pvalloc() in TargetLibraryInfo, allowing LLVM to correctly infer
its attributes.


  Commit: 2545d6f7237bb27620e6aef10eee487af8ee8471
      https://github.com/llvm/llvm-project/commit/2545d6f7237bb27620e6aef10eee487af8ee8471
  Author: David Green <david.green at arm.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/test/Analysis/CostModel/ARM/mve-minmax.ll
    A llvm/test/Analysis/CostModel/ARM/mve-shuffle-loadstore.ll

  Log Message:
  -----------
  [ARM] Add MVE test coverage for LD2/ST2 shuffle costs. NFC


  Commit: b1b8f67eab084f235e9f9b145e4b86b823cccc2b
      https://github.com/llvm/llvm-project/commit/b1b8f67eab084f235e9f9b145e4b86b823cccc2b
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/test/Transforms/test-legalizer.mlir
    M mlir/test/lib/Dialect/Test/TestPatterns.cpp

  Log Message:
  -----------
  [mlir][Transforms] Add 1:N support to `replaceUsesOfBlockArgument` (#145171)

This commit adds 1:N support to
`ConversionPatternRewriter::replaceUsesOfBlockArgument`. This was one of
the few remaining dialect conversion APIs that does not support 1:N
conversions yet.

This commit also reuses `replaceUsesOfBlockArgument` in the
implementation of `applySignatureConversion`. This is in preparation of
the One-Shot Dialect Conversion refactoring. The goal is to bring the
`applySignatureConversion` implementation into a state where it works
both with and without rollbacks. To that end, `applySignatureConversion`
should not directly access the `mapping`.


  Commit: 18f667d804144e74d3ba2c67ee6f3610916002a8
      https://github.com/llvm/llvm-project/commit/18f667d804144e74d3ba2c67ee6f3610916002a8
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M lldb/CMakeLists.txt
    R lldb/cmake/modules/LLDBLayeringCheck.cmake
    M lldb/docs/resources/contributing.rst
    M lldb/source/Plugins/ABI/CMakeLists.txt
    M lldb/source/Plugins/Architecture/CMakeLists.txt
    M lldb/source/Plugins/Disassembler/CMakeLists.txt
    M lldb/source/Plugins/DynamicLoader/CMakeLists.txt
    M lldb/source/Plugins/ExpressionParser/CMakeLists.txt
    M lldb/source/Plugins/Instruction/CMakeLists.txt
    M lldb/source/Plugins/InstrumentationRuntime/CMakeLists.txt
    M lldb/source/Plugins/JITLoader/CMakeLists.txt
    M lldb/source/Plugins/Language/CMakeLists.txt
    M lldb/source/Plugins/LanguageRuntime/CMakeLists.txt
    M lldb/source/Plugins/MemoryHistory/CMakeLists.txt
    M lldb/source/Plugins/ObjectContainer/CMakeLists.txt
    M lldb/source/Plugins/ObjectFile/CMakeLists.txt
    M lldb/source/Plugins/OperatingSystem/CMakeLists.txt
    M lldb/source/Plugins/Platform/CMakeLists.txt
    M lldb/source/Plugins/Process/CMakeLists.txt
    M lldb/source/Plugins/Process/Utility/CMakeLists.txt
    M lldb/source/Plugins/REPL/CMakeLists.txt
    M lldb/source/Plugins/RegisterTypeBuilder/CMakeLists.txt
    M lldb/source/Plugins/ScriptInterpreter/CMakeLists.txt
    M lldb/source/Plugins/StructuredData/CMakeLists.txt
    M lldb/source/Plugins/SymbolFile/CMakeLists.txt
    M lldb/source/Plugins/SymbolLocator/CMakeLists.txt
    M lldb/source/Plugins/SymbolVendor/CMakeLists.txt
    M lldb/source/Plugins/SystemRuntime/CMakeLists.txt
    M lldb/source/Plugins/Trace/CMakeLists.txt
    M lldb/source/Plugins/TraceExporter/CMakeLists.txt
    M lldb/source/Plugins/TypeSystem/CMakeLists.txt
    M lldb/source/Plugins/UnwindAssembly/CMakeLists.txt

  Log Message:
  -----------
  Revert "[lldb/cmake] Plugin layering enforcement mechanism (#144543)"

Causes failures on several bots.

This reverts commits 714b2fdf3a385e5b9a95c435f56b1696ec3ec9e8 and
e7c1da7c8ef31c258619c1668062985e7ae83b70.


  Commit: 02d2a1646a4aec3a7cc5fba9ae3cb54af41fa05d
      https://github.com/llvm/llvm-project/commit/02d2a1646a4aec3a7cc5fba9ae3cb54af41fa05d
  Author: Ross Brunton <ross at codeplay.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M offload/test/tools/offload-tblgen/entry_points.td

  Log Message:
  -----------
  [Offload] Fix entry_points.td test (#145292)

This was broken as part of #144494 , and just needs an update to the
check lines.


  Commit: 74b09ce505b8a7ca10832e91f5ff4d108bb16dcb
      https://github.com/llvm/llvm-project/commit/74b09ce505b8a7ca10832e91f5ff4d108bb16dcb
  Author: Nicolas Vasilache <Nico.Vasilache at amd.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/IntegralAP.h
    M clang/lib/AST/ByteCode/Interp.h
    M clang/test/AST/ByteCode/intap.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_common.h
    M compiler-rt/lib/sanitizer_common/sanitizer_linux.h
    M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
    M compiler-rt/lib/tsan/rtl/tsan_sync.cpp
    M libcxx/include/__tree
    M libcxx/include/map
    R libcxx/test/libcxx/containers/associative/tree_key_value_traits.pass.cpp
    A libcxx/test/libcxx/mangled_names.pass.cpp
    M lldb/include/lldb/Host/Socket.h
    M lldb/include/lldb/Host/common/TCPSocket.h
    M lldb/include/lldb/Host/posix/DomainSocket.h
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
    M lldb/source/Host/common/Socket.cpp
    M lldb/source/Host/common/TCPSocket.cpp
    M lldb/source/Host/posix/DomainSocket.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
    M lldb/test/API/tools/lldb-dap/restart/TestDAP_restart_runInTerminal.py
    M lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
    M lldb/test/API/tools/lldb-dap/runInTerminal/main.c
    M lldb/unittests/Core/CommunicationTest.cpp
    M lldb/unittests/Host/SocketTest.cpp
    M llvm/include/llvm/Analysis/TargetLibraryInfo.def
    M llvm/include/llvm/Transforms/Utils/PredicateInfo.h
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
    M llvm/lib/Target/Lanai/LanaiISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/Mips/MipsISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoV.td
    M llvm/lib/Target/Sparc/SparcISelLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/VE/VEISelLowering.cpp
    M llvm/lib/Target/X86/GISel/X86LegalizerInfo.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
    M llvm/lib/Transforms/Utils/PredicateInfo.cpp
    M llvm/test/Analysis/CostModel/ARM/mve-minmax.ll
    A llvm/test/Analysis/CostModel/ARM/mve-shuffle-loadstore.ll
    M llvm/test/CodeGen/AArch64/arm64-named-reg-alloc.ll
    M llvm/test/CodeGen/AArch64/arm64-named-reg-notareg.ll
    M llvm/test/CodeGen/AMDGPU/addrspacecast-initializer-unsupported.ll
    M llvm/test/CodeGen/AMDGPU/propagate-flat-work-group-size.ll
    A llvm/test/CodeGen/AMDGPU/read-register-invalid-register.ll
    A llvm/test/CodeGen/AMDGPU/write-register-invalid-register.ll
    M llvm/test/CodeGen/ARM/named-reg-alloc.ll
    M llvm/test/CodeGen/ARM/named-reg-notareg.ll
    M llvm/test/CodeGen/ARM/special-reg-acore.ll
    M llvm/test/CodeGen/ARM/special-reg-mcore.ll
    M llvm/test/CodeGen/ARM/special-reg-v8m-base.ll
    M llvm/test/CodeGen/ARM/special-reg-v8m-main.ll
    M llvm/test/CodeGen/PowerPC/aix-static-init-key-object.ll
    M llvm/test/CodeGen/RISCV/get-register-invalid.ll
    M llvm/test/CodeGen/SPARC/reserved-regs-unavailable.ll
    M llvm/test/CodeGen/X86/AppendingLinkage.ll
    M llvm/test/CodeGen/X86/named-reg-alloc.ll
    M llvm/test/CodeGen/X86/named-reg-notareg.ll
    M llvm/test/CodeGen/X86/ptrtoint-constexpr-invalid.ll
    M llvm/test/MC/Disassembler/AMDGPU/si-support.txt
    M llvm/test/Transforms/InferFunctionAttrs/annotate.ll
    M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
    M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
    M mlir/include/mlir/Dialect/Tosa/IR/TosaTypesBase.td
    M mlir/include/mlir/Dialect/Utils/IndexingUtils.h
    M mlir/include/mlir/IR/BuiltinTypes.td
    M mlir/include/mlir/IR/DialectResourceBlobManager.h
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
    M mlir/lib/Dialect/ArmSVE/Transforms/LowerContractionToSVEI8MMPattern.cpp
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Utils/IndexingUtils.cpp
    M mlir/lib/IR/BuiltinTypes.cpp
    M mlir/lib/IR/DialectResourceBlobManager.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/test/Dialect/Tosa/invalid.mlir
    M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
    M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
    M mlir/test/Transforms/test-legalizer.mlir
    M mlir/test/lib/Dialect/Test/TestPatterns.cpp
    A mlir/unittests/IR/BlobManagerTest.cpp
    M mlir/unittests/IR/CMakeLists.txt
    A mlir/unittests/IR/MemrefLayoutTest.cpp
    M offload/test/tools/offload-tblgen/entry_points.td
    M offload/unittests/OffloadAPI/kernel/olLaunchKernel.cpp

  Log Message:
  -----------
  Merge branch 'main' into users/nico/revisit-pad-with-affine-min-fold


Compare: https://github.com/llvm/llvm-project/compare/0fbb42457518...74b09ce505b8

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list