[all-commits] [llvm/llvm-project] 4ba8f4: [lldb][lldb-dap] Migrate ScopesRequest to structu...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu May 15 04:29:03 PDT 2025


  Branch: refs/heads/users/skatrak/map-rework-02-mark-host-device
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ba8f4e213c97733e3b61e5856b0e85e3d7d6a7f
      https://github.com/llvm/llvm-project/commit/4ba8f4e213c97733e3b61e5856b0e85e3d7d6a7f
  Author: Ebuka Ezike <yerimyah1 at gmail.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M lldb/tools/lldb-dap/DAP.cpp
    M lldb/tools/lldb-dap/DAP.h
    M lldb/tools/lldb-dap/Handler/RequestHandler.h
    M lldb/tools/lldb-dap/Handler/ScopesRequestHandler.cpp
    M lldb/tools/lldb-dap/JSONUtils.h
    M lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp
    M lldb/tools/lldb-dap/Protocol/ProtocolRequests.h
    M lldb/tools/lldb-dap/Protocol/ProtocolTypes.cpp
    M lldb/tools/lldb-dap/Protocol/ProtocolTypes.h
    M lldb/unittests/DAP/ProtocolTypesTest.cpp

  Log Message:
  -----------
  [lldb][lldb-dap] Migrate ScopesRequest to  structured types (#138116)

Migrate ScopesRequest To use the Protocol Types


  Commit: 5b0572875cafb02fc144d1f6e6e51a34ef27d951
      https://github.com/llvm/llvm-project/commit/5b0572875cafb02fc144d1f6e6e51a34ef27d951
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M lld/COFF/COFFLinkerContext.h
    M lld/COFF/Chunks.cpp
    M lld/COFF/DLL.cpp
    M lld/COFF/Driver.cpp
    M lld/COFF/InputFiles.cpp
    M lld/COFF/SymbolTable.cpp
    M lld/COFF/Writer.cpp
    M lld/test/COFF/arm64ec-entry-mangle.test
    M lld/test/COFF/arm64ec-hybmp.s
    M lld/test/COFF/arm64ec-lib.test
    M lld/test/COFF/arm64ec-patchable-thunks.test
    M lld/test/COFF/arm64ec-range-thunks.s
    M lld/test/COFF/arm64ec.test
    M lld/test/COFF/arm64x-altnames.s
    M lld/test/COFF/arm64x-buildid.s
    M lld/test/COFF/arm64x-comm.s
    M lld/test/COFF/arm64x-crt-sec.s
    M lld/test/COFF/arm64x-ctors-sec.s
    M lld/test/COFF/arm64x-guardcf.s
    M lld/test/COFF/arm64x-import.test
    M lld/test/COFF/arm64x-symtab.s
    M lld/test/COFF/arm64x-wrap.s
    M lld/test/COFF/autoimport-arm64ec-data.test

  Log Message:
  -----------
  [LLD][COFF] Add support for including native ARM64 objects in ARM64EC images (#137653)

MSVC linker accepts native ARM64 object files as input with
`-machine:arm64ec`, similar to `-machine:arm64x`. Its usefulness is very
limited; for example, both exports and imports are not reflected in the
PE structures and can't work. However, their symbol tables are otherwise
functional.

Since we already have handling of multiple symbol tables implemented for
ARM64X, the required changes are mostly about adjusting relevant checks
to account for them on the ARM64EC target.

Delay-load helper handling is a bit of a shortcut. The patch never pulls
it for native object files and just ensures that the code is fine with
that. In general, I think it would be nice to adjust the driver to pull
it only when it's actually referenced, which would allow applying the
same logic to the native symbol table on ARM64EC without worrying about
pulling too much.


  Commit: 3764ba23484afda683eea390407103e609ef4354
      https://github.com/llvm/llvm-project/commit/3764ba23484afda683eea390407103e609ef4354
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake
    M compiler-rt/cmake/builtin-config-ix.cmake
    M compiler-rt/lib/builtins/CMakeLists.txt
    M compiler-rt/lib/builtins/aarch64/chkstk.S
    M compiler-rt/lib/builtins/aarch64/lse.S
    M compiler-rt/lib/builtins/aarch64/sme-libc-mem-routines.S
    M compiler-rt/lib/builtins/clear_cache.c
    M compiler-rt/lib/builtins/cpu_model/aarch64.c
    M compiler-rt/lib/builtins/cpu_model/aarch64.h
    M compiler-rt/lib/builtins/fp_compare_impl.inc
    M compiler-rt/lib/builtins/fp_lib.h
    M compiler-rt/lib/builtins/udivmodti4.c
    M compiler-rt/test/builtins/Unit/enable_execute_stack_test.c
    M compiler-rt/test/builtins/Unit/fixunstfdi_test.c
    M compiler-rt/test/builtins/Unit/multc3_test.c

  Log Message:
  -----------
  [compiler-rt] Add initial ARM64EC builtins support (#139279)

Use the aarch64 variants of assembly functions.

Co-authored-by: Billy Laws <blaws05 at gmail.com>


  Commit: 849ecbc3ba1c95f41ee8dd5240c314e1a1980438
      https://github.com/llvm/llvm-project/commit/849ecbc3ba1c95f41ee8dd5240c314e1a1980438
  Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/VOP2Instructions.td

  Log Message:
  -----------
  [AMDGPU] Simplify getIns64. NFCI. (#139981)

This big switch is unmaintainable and buggy. In particular it
unconditionally
adds clamp if there is omod to VOP3.


  Commit: e3867cb07ed1ed319609fbea0ce15f40e2a0efad
      https://github.com/llvm/llvm-project/commit/e3867cb07ed1ed319609fbea0ce15f40e2a0efad
  Author: Ebuka Ezike <yerimyah1 at gmail.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M lldb/unittests/DAP/ProtocolTypesTest.cpp

  Log Message:
  -----------
  [NFC][lldb][lldb-dap] fix C++20 extension warning (#140031)

warning for designated initializers

introduced in commit  4ba8f4e


  Commit: d5da557782dd47395fb41e03d7663df6319d7ea6
      https://github.com/llvm/llvm-project/commit/d5da557782dd47395fb41e03d7663df6319d7ea6
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M lld/COFF/Driver.cpp
    M lld/COFF/Options.td
    A lld/test/COFF/arm64x-sameaddress.test

  Log Message:
  -----------
  [LLD][COFF] Allow -arm64xsameaddress in ARM64EC directives (#139631)

Make it a no-op for now, which is sufficient for non-hybrid images.

Fixes #131712.


  Commit: c507a0830df2e4fd0c234eee035aac2109de6d6e
      https://github.com/llvm/llvm-project/commit/c507a0830df2e4fd0c234eee035aac2109de6d6e
  Author: Durgadoss R <durgadossr at nvidia.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M llvm/docs/NVPTXUsage.rst
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    A llvm/test/CodeGen/NVPTX/cp-async-bulk-s2g-sm100.ll
    M llvm/test/CodeGen/NVPTX/cp-async-bulk.ll

  Log Message:
  -----------
  [NVPTX] Add TMA Bulk Copy Intrinsics (#138679)

This patch adds a new variant of TMA Bulk Copy
intrinsics introduced in sm100+. This variant
has an additional byte_mask to select the bytes
for the copy operation.

* Selection is all done through table-gen now.
  So, this patch removes the corresponding
  SelectCpAsyncBulkS2G() function.
* lit tests are verified with a cuda-12.8 ptxas
  executable.

PTX Spec link:

https://docs.nvidia.com/cuda/parallel-thread-execution/#data-movement-and-conversion-instructions-bulk-copy

Signed-off-by: Durgadoss R <durgadossr at nvidia.com>


  Commit: f8f11c541dec9bfc19f80918cf12da71d6ae7b99
      https://github.com/llvm/llvm-project/commit/f8f11c541dec9bfc19f80918cf12da71d6ae7b99
  Author: David Green <david.green at arm.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    A clang/test/CodeGen/AArch64/struct-coerce-using-ptr.cpp

  Log Message:
  -----------
  [AArch64] Add a test case for the coerced arguments. NFC


  Commit: 767a203a9e61e307086be96288947d130367a267
      https://github.com/llvm/llvm-project/commit/767a203a9e61e307086be96288947d130367a267
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Compiler.h
    M clang/test/AST/ByteCode/builtin-bit-cast.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix discarded LValueToRValueBitCasts (#140034)

We handle discarding fine, but we used to ignore all discarded cast
expressions. Handle bitcasts differently.


  Commit: 8bbe0d050ae49062835a8a0729b3219ba1f6362b
      https://github.com/llvm/llvm-project/commit/8bbe0d050ae49062835a8a0729b3219ba1f6362b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
    M llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp

  Log Message:
  -----------
  [VPlan] Verify dominance for incoming values of phi-like recipes. (#124838)

Update the verifier to verify dominance for incoming values for phi-like
recipes. The defining recipe must dominate the incoming block for the
incoming value.

Builds on top of https://github.com/llvm/llvm-project/pull/138472 to
retrieve incoming values & corresponding blocks for phi-like recipes.

PR: https://github.com/llvm/llvm-project/pull/124838


  Commit: 42ee758bec885deaad08162cc8e97a87d2aba100
      https://github.com/llvm/llvm-project/commit/42ee758bec885deaad08162cc8e97a87d2aba100
  Author: Ebuka Ezike <yerimyah1 at gmail.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M lldb/tools/lldb-dap/JSONUtils.cpp
    M lldb/tools/lldb-dap/package.json
    M lldb/tools/lldb-dap/src-ts/extension.ts
    M lldb/tools/lldb-dap/src-ts/ui/modules-data-provider.ts

  Log Message:
  -----------
  Complete the Implementation of DAP modules explorer. (#139934)

This extends the TreeView to show the module property as a tree item instead of 
rendering it through the markdown tooltip.

![image](https://github.com/user-attachments/assets/329fabee-9b4a-490e-9450-3f01314674ea)


  Commit: 30b0946326354d247a92622f08be4722df58bb55
      https://github.com/llvm/llvm-project/commit/30b0946326354d247a92622f08be4722df58bb55
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/Utils.cpp
    M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
    M flang/test/Lower/OpenMP/target.f90
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  [Flang][MLIR][OpenMP] Improve use_device_* handling (#137198)

This patch updates MLIR op verifiers for operations taking arguments
that must always be defined by an `omp.map.info` operation to check this
requirement.

It also modifies Flang lowering for `use_device_{addr, ptr}`, as well as
the custom MLIR printer and parser for these clauses, to support
initializing it to `OMP_MAP_RETURN_PARAM` and represent this in the MLIR
representation as `return_param`. This internal mapping flag is what
eventually is used for variables passed via these clauses into the
target region when translating to LLVM IR, so making it explicit in
Flang and MLIR removes an inconsistency in the current representation.


  Commit: 81f0bf4aeaf69c8bd42d0acd744067be53bd2d4b
      https://github.com/llvm/llvm-project/commit/81f0bf4aeaf69c8bd42d0acd744067be53bd2d4b
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Compiler.h
    M clang/test/AST/ByteCode/builtin-bit-cast.cpp
    A clang/test/CodeGen/AArch64/struct-coerce-using-ptr.cpp
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake
    M compiler-rt/cmake/builtin-config-ix.cmake
    M compiler-rt/lib/builtins/CMakeLists.txt
    M compiler-rt/lib/builtins/aarch64/chkstk.S
    M compiler-rt/lib/builtins/aarch64/lse.S
    M compiler-rt/lib/builtins/aarch64/sme-libc-mem-routines.S
    M compiler-rt/lib/builtins/clear_cache.c
    M compiler-rt/lib/builtins/cpu_model/aarch64.c
    M compiler-rt/lib/builtins/cpu_model/aarch64.h
    M compiler-rt/lib/builtins/fp_compare_impl.inc
    M compiler-rt/lib/builtins/fp_lib.h
    M compiler-rt/lib/builtins/udivmodti4.c
    M compiler-rt/test/builtins/Unit/enable_execute_stack_test.c
    M compiler-rt/test/builtins/Unit/fixunstfdi_test.c
    M compiler-rt/test/builtins/Unit/multc3_test.c
    M lld/COFF/COFFLinkerContext.h
    M lld/COFF/Chunks.cpp
    M lld/COFF/DLL.cpp
    M lld/COFF/Driver.cpp
    M lld/COFF/InputFiles.cpp
    M lld/COFF/Options.td
    M lld/COFF/SymbolTable.cpp
    M lld/COFF/Writer.cpp
    M lld/test/COFF/arm64ec-entry-mangle.test
    M lld/test/COFF/arm64ec-hybmp.s
    M lld/test/COFF/arm64ec-lib.test
    M lld/test/COFF/arm64ec-patchable-thunks.test
    M lld/test/COFF/arm64ec-range-thunks.s
    M lld/test/COFF/arm64ec.test
    M lld/test/COFF/arm64x-altnames.s
    M lld/test/COFF/arm64x-buildid.s
    M lld/test/COFF/arm64x-comm.s
    M lld/test/COFF/arm64x-crt-sec.s
    M lld/test/COFF/arm64x-ctors-sec.s
    M lld/test/COFF/arm64x-guardcf.s
    M lld/test/COFF/arm64x-import.test
    A lld/test/COFF/arm64x-sameaddress.test
    M lld/test/COFF/arm64x-symtab.s
    M lld/test/COFF/arm64x-wrap.s
    M lld/test/COFF/autoimport-arm64ec-data.test
    M lldb/tools/lldb-dap/DAP.cpp
    M lldb/tools/lldb-dap/DAP.h
    M lldb/tools/lldb-dap/Handler/RequestHandler.h
    M lldb/tools/lldb-dap/Handler/ScopesRequestHandler.cpp
    M lldb/tools/lldb-dap/JSONUtils.cpp
    M lldb/tools/lldb-dap/JSONUtils.h
    M lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp
    M lldb/tools/lldb-dap/Protocol/ProtocolRequests.h
    M lldb/tools/lldb-dap/Protocol/ProtocolTypes.cpp
    M lldb/tools/lldb-dap/Protocol/ProtocolTypes.h
    M lldb/tools/lldb-dap/package.json
    M lldb/tools/lldb-dap/src-ts/extension.ts
    M lldb/tools/lldb-dap/src-ts/ui/modules-data-provider.ts
    M lldb/unittests/DAP/ProtocolTypesTest.cpp
    M llvm/docs/NVPTXUsage.rst
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/VOP2Instructions.td
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
    A llvm/test/CodeGen/NVPTX/cp-async-bulk-s2g-sm100.ll
    M llvm/test/CodeGen/NVPTX/cp-async-bulk.ll
    M llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp

  Log Message:
  -----------
  Merge branch 'main' into users/skatrak/map-rework-02-mark-host-device


Compare: https://github.com/llvm/llvm-project/compare/c6954b3120a8...81f0bf4aeaf6

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