[all-commits] [llvm/llvm-project] 51d93e: [ADT] Fix implicit reliance on cassert in StringTa...

Florian Mayer via All-commits all-commits at lists.llvm.org
Mon Nov 24 13:51:32 PST 2025


  Branch: refs/heads/users/fmayer/spr/main.ubsan-use-fsanitize-recover-runtime-in-codegen
  Home:   https://github.com/llvm/llvm-project
  Commit: 51d93e73975e5fc70008c286aaae2216fde097b6
      https://github.com/llvm/llvm-project/commit/51d93e73975e5fc70008c286aaae2216fde097b6
  Author: Danila Malyutin <danilaml at users.noreply.github.com>
  Date:   2025-11-25 (Tue, 25 Nov 2025)

  Changed paths:
    M llvm/include/llvm/ADT/StringTable.h

  Log Message:
  -----------
  [ADT] Fix implicit reliance on cassert in StringTable.h (#169324)

Adds an explicit include of `<cassert>` in StringTable.h rather than
relying on the one in StringRef.h. Fixes potential compile errors if
assert() was undef'ed between StringRef.h and StringTable.h inclusion.


  Commit: f581d8ad8f0cd08da6465c6843f9c6841d49e522
      https://github.com/llvm/llvm-project/commit/f581d8ad8f0cd08da6465c6843f9c6841d49e522
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

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

  Log Message:
  -----------
  AMDGPU: Fix a comment (#169403)

This verifier check will complain if there aren't enough implicit
operands -- so it doesn't *allow* those operands, it *requires* them.


  Commit: 3e86f056217afbe46cd515b3d3c2f1dc7664bebf
      https://github.com/llvm/llvm-project/commit/3e86f056217afbe46cd515b3d3c2f1dc7664bebf
  Author: Jan Leyonberg <jan_sjodin at yahoo.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M flang/include/flang/Lower/Support/ReductionProcessor.h
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/Clauses.cpp
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Lower/Support/ReductionProcessor.cpp
    M flang/lib/Optimizer/OpenMP/MarkDeclareTarget.cpp
    A flang/test/Lower/OpenMP/Todo/omp-declare-reduction-advanced-types.f90
    R flang/test/Lower/OpenMP/Todo/omp-declare-reduction-initsub.f90
    R flang/test/Lower/OpenMP/Todo/omp-declare-reduction.f90
    A flang/test/Lower/OpenMP/declare-target-deferred-marking-reductions.f90
    A flang/test/Lower/OpenMP/omp-declare-reduction-derivedtype.f90
    A flang/test/Lower/OpenMP/omp-declare-reduction-initsub.f90
    A flang/test/Lower/OpenMP/omp-declare-reduction.f90
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    A offload/test/offloading/fortran/target-custom-reduction-derivedtype.f90

  Log Message:
  -----------
  [OpenMP][flang] Lowering of OpenMP custom reductions to MLIR (#168417)

This patch add support for lowering of custom reductions to MLIR. It
also enhances the capability of the pass to automatically mark functions
as "declare target" by traversing custom reduction initializers and
combiners.


  Commit: 01a98b383c700c2580e11a166dce1180188cb236
      https://github.com/llvm/llvm-project/commit/01a98b383c700c2580e11a166dce1180188cb236
  Author: Martin Storsjö <martin at martin.st>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M libcxx/test/std/input.output/file.streams/c.files/gets-removed.verify.cpp

  Log Message:
  -----------
  [libcxx] [test] Fix the gets-removed.verify.cpp test with Clang 21 (#169235)

This fixes test errors like this, at least for a mingw target, if
building with Clang 21 instead of Clang 20, as in the CI environment:

    # .---command stderr------------
    # | error: 'expected-error' diagnostics seen but not expected:
    # | File C:\a\llvm-mingw\llvm-mingw\llvm-project\libcxx\test\std\input.output\file.streams\c.files\gets-removed.verify.cpp Line 16: cannot initialize a parameter of type 'char *' with an lvalue of type 'const char *'
    # | 1 error generated.
    # `-----------------------------
    # error: command failed with exit status: 1

This extra, unexpected diagnostic appears in Clang 21, since commit
9eef4d1c5fa6b1bcbbe675c14ca8301d5d346f7b ("Remove delayed typo
expressions"). Before this, we got the expected diagnostic `error: no
member named 'gets' in namespace 'std'`, with the typo correction hint
`did you mean 'puts'?`. After this change, we get the typo correction
hint `did you mean simply 'gets'?` instead. And with the typo correction
finding `::gets`, it goes on to produce a second diagnostic about
mismatched parameter for that function.

Avoid these unexpected diagnostics by passing the right type of
parameter to the gets function.


  Commit: 89206de09c698f0f2e9ba106ebf3b67953041d2c
      https://github.com/llvm/llvm-project/commit/89206de09c698f0f2e9ba106ebf3b67953041d2c
  Author: David Peixotto <peix at meta.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M lldb/unittests/Expression/DWARFExpressionTest.cpp

  Log Message:
  -----------
  [lldb] Add mock dwarf delegate for testing dwarf expressions (#168468)

This commit adds a `MockDwarfDelegate` class that can be used to control
what dwarf version is used when evaluating an expression. We also add a
simple test that shows how dwarf version can change the result of the
expression.


  Commit: 3dcdb4c7658fb955d61fde5bd5232bdeadfc7eeb
      https://github.com/llvm/llvm-project/commit/3dcdb4c7658fb955d61fde5bd5232bdeadfc7eeb
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__config
    R libcxx/include/__memory/aligned_alloc.h
    M libcxx/include/module.modulemap.in
    A libcxx/src/include/aligned_alloc.h
    M libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
    M libcxxabi/src/fallback_malloc.cpp
    M libcxxabi/src/stdlib_new_delete.cpp

  Log Message:
  -----------
  [libc++][NFC] Move __memory/aligned_alloc.h into src/ (#166172)

This header is only ever used inside `src/`, so we might as well move it
there. As a drive-by this also removes some dead code.


  Commit: 8a431db0045b33ad9a7e4d4d89f5691ffc897088
      https://github.com/llvm/llvm-project/commit/8a431db0045b33ad9a7e4d4d89f5691ffc897088
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M llvm/utils/gn/secondary/libcxx/include/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 3dcdb4c7658f


  Commit: e737f67fcf883e90683e1dd46247bd176fe15b5f
      https://github.com/llvm/llvm-project/commit/e737f67fcf883e90683e1dd46247bd176fe15b5f
  Author: Yu Hao <yuhaoyu at google.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M clang/lib/Tooling/Transformer/RangeSelector.cpp
    M clang/unittests/Tooling/RangeSelectorTest.cpp

  Log Message:
  -----------
  [clang][transformer] Fix `node` range-selector to include type name qualifiers of type locs. (#167619)

Previously, e.g. for TypeLoc "MyNamespace::MyClass", `node()` selects
only "MyClass" without the qualifier. With this change, it now selects
"MyNamespace::MyClass".

---------

Co-authored-by: Florian Mayer <fmayer at google.com>


  Commit: 6ca0a10c950b4ac60affaec3695a5bee541b883c
      https://github.com/llvm/llvm-project/commit/6ca0a10c950b4ac60affaec3695a5bee541b883c
  Author: Florian Mayer <fmayer at google.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M clang/lib/Tooling/Transformer/RangeSelector.cpp
    M clang/unittests/Tooling/RangeSelectorTest.cpp
    M flang/include/flang/Lower/Support/ReductionProcessor.h
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/Clauses.cpp
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Lower/Support/ReductionProcessor.cpp
    M flang/lib/Optimizer/OpenMP/MarkDeclareTarget.cpp
    A flang/test/Lower/OpenMP/Todo/omp-declare-reduction-advanced-types.f90
    R flang/test/Lower/OpenMP/Todo/omp-declare-reduction-initsub.f90
    R flang/test/Lower/OpenMP/Todo/omp-declare-reduction.f90
    A flang/test/Lower/OpenMP/declare-target-deferred-marking-reductions.f90
    A flang/test/Lower/OpenMP/omp-declare-reduction-derivedtype.f90
    A flang/test/Lower/OpenMP/omp-declare-reduction-initsub.f90
    A flang/test/Lower/OpenMP/omp-declare-reduction.f90
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__config
    R libcxx/include/__memory/aligned_alloc.h
    M libcxx/include/module.modulemap.in
    A libcxx/src/include/aligned_alloc.h
    M libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
    M libcxx/test/std/input.output/file.streams/c.files/gets-removed.verify.cpp
    M libcxxabi/src/fallback_malloc.cpp
    M libcxxabi/src/stdlib_new_delete.cpp
    M lldb/unittests/Expression/DWARFExpressionTest.cpp
    M llvm/include/llvm/ADT/StringTable.h
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    A offload/test/offloading/fortran/target-custom-reduction-derivedtype.f90

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/6e1c4706528a...6ca0a10c950b

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