[all-commits] [llvm/llvm-project] c9e1c5: [lldb] Fix a warning

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Jun 4 07:55:12 PDT 2025


  Branch: refs/heads/users/kparzysz/spr/a04-atomic-one
  Home:   https://github.com/llvm/llvm-project
  Commit: c9e1c52e2e75a91a44a98df818cc9bd11655e51d
      https://github.com/llvm/llvm-project/commit/c9e1c52e2e75a91a44a98df818cc9bd11655e51d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M lldb/tools/lldb-dap/Handler/StepInTargetsRequestHandler.cpp

  Log Message:
  -----------
  [lldb] Fix a warning

This patch fixes:

  lldb/tools/lldb-dap/Handler/StepInTargetsRequestHandler.cpp:89:2:
  error: extra ';' outside of a function is incompatible with C++98
  [-Werror,-Wc++98-compat-extra-semi]


  Commit: da8271e88793909b738e2afdf17d0ae11dade455
      https://github.com/llvm/llvm-project/commit/da8271e88793909b738e2afdf17d0ae11dade455
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M lldb/test/Shell/Settings/TestCxxFrameFormatRecursive.test

  Log Message:
  -----------
  [lldb][test] Disable TestCxxFrameFormatRecursive on Linux

It was always expected to fail and now it sometimes times out instead.

See https://github.com/llvm/llvm-project/issues/142726.


  Commit: d31ace4abc5dd02fc643a89ef1d3cd981590f2b6
      https://github.com/llvm/llvm-project/commit/d31ace4abc5dd02fc643a89ef1d3cd981590f2b6
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

  Log Message:
  -----------
  [bazel] Port c3746ff3229c57110f7895ff5b93e520cead0d1b


  Commit: 15dff71cac9fb85f3332fb5e5809d3d8665ed176
      https://github.com/llvm/llvm-project/commit/15dff71cac9fb85f3332fb5e5809d3d8665ed176
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    R mlir/test/Conversion/MemRefToLLVM/memref-to-llvm-with-transforms.mlir
    M mlir/test/lib/Conversion/CMakeLists.txt
    R mlir/test/lib/Conversion/MemRefToLLVM/CMakeLists.txt
    R mlir/test/lib/Conversion/MemRefToLLVM/TestMemRefToLLVMWithTransforms.cpp
    M mlir/tools/mlir-opt/CMakeLists.txt
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  Revert "[mlir][Affine] Handle null parent op in getAffineParallelInductionVarOwner (#142025)"

This reverts commit c3746ff3229c57110f7895ff5b93e520cead0d1b.

This breaks build with BUILD_SHARED_LIBS=ON.

```
/usr/bin/ld: CMakeFiles/MLIRTestMemRefToLLVMWithTransforms.dir/TestMemRefToLLVMWithTransforms.cpp.o: in function `(anonymous namespace)::TestMemRefToLLVMWithTransforms::runOnOperation()':
TestMemRefToLLVMWithTransforms.cpp:(.text._ZN12_GLOBAL__N_130TestMemRefToLLVMWithTransforms14runOnOperationEv+0x68): undefined reference to `mlir::LowerToLLVMOptions::LowerToLLVMOptions(mlir::MLIRContext*)'
/usr/bin/ld: TestMemRefToLLVMWithTransforms.cpp:[ 88%] Built target CodeGenTests
(.text._ZN12_GLOBAL__N_130TestMemRefToLLVMWithTransforms14runOnOperationEvmake[2]: Leaving directory '/work2/kparzysz/git/llvm.org/b/x86'
+0x80): undefined reference to `mlir::LLVMTypeConverter::LLVMTypeConverter(mlir::MLIRContext*, mlir::LowerToLLVMOptions const&, mlir::DataLayoutAnalysis const*)'
/usr/bin/ld: TestMemRefToLLVMWithTransforms.cpp:(.text._ZN12_GLOBAL__N_130TestMemRefToLLVMWithTransforms14runOnOperationEv+0x143): undefined reference to `mlir::populateFuncToLLVMConversionPatterns(mlir::LLVMTypeConverter const&, mlir::RewritePatternSet&, mlir::SymbolTable const*)'
/usr/bin/ld: TestMemRefToLLVMWithTransforms.cpp:(.text._ZN12_GLOBAL__N_130TestMemRefToLLVMWithTransforms14runOnOperationEv+0x174): undefined reference to `mlir::LLVMConversionTarget::LLVMConversionTarget(mlir::MLIRContext&)'
```


  Commit: 519cb460f6fa58d1c36ad55d5812882f7ba38e2a
      https://github.com/llvm/llvm-project/commit/519cb460f6fa58d1c36ad55d5812882f7ba38e2a
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/SCCPSolver.cpp
    M llvm/test/Transforms/SCCP/conditions-ranges-with-undef.ll
    M llvm/test/Transforms/SCCP/range-and.ll
    M llvm/test/Transforms/SCCP/range-with-undef.ll

  Log Message:
  -----------
  [SCCP] Remove masking operations (#142736)

CVP version:
https://github.com/llvm/llvm-project/commit/2d5820cd72255e04aaef2da3c21d62396fdd7fb9
Compile-time impact:
https://llvm-compile-time-tracker.com/compare.php?from=3ec0c5c7fef03985b43432c6b914c289d8a5435e&to=92b4df90695dd37defdabf8a30f0b0322b648a00&stat=instructions:u


  Commit: a7f0b29733ff5554703721e2e3b4b756b053b784
      https://github.com/llvm/llvm-project/commit/a7f0b29733ff5554703721e2e3b4b756b053b784
  Author: Nick Sarnie <nick.sarnie at intel.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M clang/include/clang/Basic/BuiltinHeaders.def
    M clang/include/clang/Basic/BuiltinsAArch64.def
    M clang/include/clang/Basic/BuiltinsARM.def
    M clang/lib/Headers/arm_acle.h
    M clang/lib/Sema/SemaARM.cpp
    A clang/test/CodeGen/arm-former-microsoft-intrinsics-header-warning.c
    A clang/test/CodeGen/arm-former-microsoft-intrinsics.c
    M clang/test/CodeGen/arm-microsoft-intrinsics.c
    A clang/test/CodeGen/arm64-former-microsoft-intrinsics-header-warning.c
    A clang/test/CodeGen/arm64-former-microsoft-intrinsics.c
    M clang/test/CodeGen/arm64-microsoft-intrinsics.c
    M clang/test/CodeGen/builtins-arm-microsoft.c
    M clang/test/Headers/Inputs/include/stdint.h
    M clang/test/Headers/ms-intrin.cpp

  Log Message:
  -----------
  [clang][ARM][AArch64] Reapply "Define intrinsics guarded by __has_builtin on all platforms (#128222)" (#140910)

The original change caused issues on MSVC due to a new warning thrown
inside MSVC headers. That was fixed
[here](https://github.com/llvm/llvm-project/pull/142019), so reapply
this commit. Original description below.

Instead of defining ARM ACLE intrinsics only on MSVC and guarding
wrapper functions in headers with __has_builtin, universally define the
intrinsics as target header builtins.


  Commit: 54d544b83141dc0b20727673f68793728ed54793
      https://github.com/llvm/llvm-project/commit/54d544b83141dc0b20727673f68793728ed54793
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGStmt.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/test/DebugInfo/KeyInstructions/agg.c
    M clang/test/DebugInfo/KeyInstructions/assign-scalar.c
    M clang/test/DebugInfo/KeyInstructions/bitfield.cpp
    M clang/test/DebugInfo/KeyInstructions/builtin.c
    M clang/test/DebugInfo/KeyInstructions/cast.c
    M clang/test/DebugInfo/KeyInstructions/coerced-packed.c
    M clang/test/DebugInfo/KeyInstructions/coerced-ptr.c
    M clang/test/DebugInfo/KeyInstructions/coerced-through-memory.c
    M clang/test/DebugInfo/KeyInstructions/coerced.c
    M clang/test/DebugInfo/KeyInstructions/complex.c
    M clang/test/DebugInfo/KeyInstructions/do.c
    M clang/test/DebugInfo/KeyInstructions/for.c
    M clang/test/DebugInfo/KeyInstructions/if.c
    M clang/test/DebugInfo/KeyInstructions/init-agg.c
    M clang/test/DebugInfo/KeyInstructions/init-member.cpp
    M clang/test/DebugInfo/KeyInstructions/init-scalar.c
    M clang/test/DebugInfo/KeyInstructions/init-static.cpp
    M clang/test/DebugInfo/KeyInstructions/multi-func.c
    M clang/test/DebugInfo/KeyInstructions/new.cpp
    A clang/test/DebugInfo/KeyInstructions/return-va-arg.c
    A clang/test/DebugInfo/KeyInstructions/return.c
    M clang/test/DebugInfo/KeyInstructions/switch.c
    M clang/test/DebugInfo/KeyInstructions/try-catch.cpp
    M clang/test/DebugInfo/KeyInstructions/while.c

  Log Message:
  -----------
  [KeyInstr][Clang] Ret atom (#134652)

This patch is part of a stack that teaches Clang to generate Key Instructions
metadata for C and C++.

When returning a value, stores to the `retval` allocas and branches to `return`
block are put in the same atom group. They are both rank 1, which could in
theory introduce an extra step in some optimized code. This low risk currently
feels an acceptable for keeping the code a bit simpler (as opposed to adding
scaffolding to make the store rank 2).

In the case of a single return (no control flow) the return instruction inherits
the atom group of the branch to the return block when the blocks get folded
togather.

RFC:
https://discourse.llvm.org/t/rfc-improving-is-stmt-placement-for-better-interactive-debugging/82668

The feature is only functional in LLVM if LLVM is built with CMake flag
LLVM_EXPERIMENTAL_KEY_INSTRUCTIONs. Eventually that flag will be removed.


  Commit: 144170c5ce8f9cd80efdcf2acb6b94aa26364c5b
      https://github.com/llvm/llvm-project/commit/144170c5ce8f9cd80efdcf2acb6b94aa26364c5b
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M clang/include/clang/Basic/BuiltinHeaders.def
    M clang/include/clang/Basic/BuiltinsAArch64.def
    M clang/include/clang/Basic/BuiltinsARM.def
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGStmt.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/Headers/arm_acle.h
    M clang/lib/Sema/SemaARM.cpp
    A clang/test/CodeGen/arm-former-microsoft-intrinsics-header-warning.c
    A clang/test/CodeGen/arm-former-microsoft-intrinsics.c
    M clang/test/CodeGen/arm-microsoft-intrinsics.c
    A clang/test/CodeGen/arm64-former-microsoft-intrinsics-header-warning.c
    A clang/test/CodeGen/arm64-former-microsoft-intrinsics.c
    M clang/test/CodeGen/arm64-microsoft-intrinsics.c
    M clang/test/CodeGen/builtins-arm-microsoft.c
    M clang/test/DebugInfo/KeyInstructions/agg.c
    M clang/test/DebugInfo/KeyInstructions/assign-scalar.c
    M clang/test/DebugInfo/KeyInstructions/bitfield.cpp
    M clang/test/DebugInfo/KeyInstructions/builtin.c
    M clang/test/DebugInfo/KeyInstructions/cast.c
    M clang/test/DebugInfo/KeyInstructions/coerced-packed.c
    M clang/test/DebugInfo/KeyInstructions/coerced-ptr.c
    M clang/test/DebugInfo/KeyInstructions/coerced-through-memory.c
    M clang/test/DebugInfo/KeyInstructions/coerced.c
    M clang/test/DebugInfo/KeyInstructions/complex.c
    M clang/test/DebugInfo/KeyInstructions/do.c
    M clang/test/DebugInfo/KeyInstructions/for.c
    M clang/test/DebugInfo/KeyInstructions/if.c
    M clang/test/DebugInfo/KeyInstructions/init-agg.c
    M clang/test/DebugInfo/KeyInstructions/init-member.cpp
    M clang/test/DebugInfo/KeyInstructions/init-scalar.c
    M clang/test/DebugInfo/KeyInstructions/init-static.cpp
    M clang/test/DebugInfo/KeyInstructions/multi-func.c
    M clang/test/DebugInfo/KeyInstructions/new.cpp
    A clang/test/DebugInfo/KeyInstructions/return-va-arg.c
    A clang/test/DebugInfo/KeyInstructions/return.c
    M clang/test/DebugInfo/KeyInstructions/switch.c
    M clang/test/DebugInfo/KeyInstructions/try-catch.cpp
    M clang/test/DebugInfo/KeyInstructions/while.c
    M clang/test/Headers/Inputs/include/stdint.h
    M clang/test/Headers/ms-intrin.cpp
    M lldb/test/Shell/Settings/TestCxxFrameFormatRecursive.test
    M lldb/tools/lldb-dap/Handler/StepInTargetsRequestHandler.cpp
    M llvm/lib/Transforms/Utils/SCCPSolver.cpp
    M llvm/test/Transforms/SCCP/conditions-ranges-with-undef.ll
    M llvm/test/Transforms/SCCP/range-and.ll
    M llvm/test/Transforms/SCCP/range-with-undef.ll
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    R mlir/test/Conversion/MemRefToLLVM/memref-to-llvm-with-transforms.mlir
    M mlir/test/lib/Conversion/CMakeLists.txt
    R mlir/test/lib/Conversion/MemRefToLLVM/CMakeLists.txt
    R mlir/test/lib/Conversion/MemRefToLLVM/TestMemRefToLLVMWithTransforms.cpp
    M mlir/tools/mlir-opt/CMakeLists.txt
    M mlir/tools/mlir-opt/mlir-opt.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

  Log Message:
  -----------
  Merge branch 'main' into users/kparzysz/spr/a04-atomic-one


Compare: https://github.com/llvm/llvm-project/compare/2636fd6af580...144170c5ce8f

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