[all-commits] [llvm/llvm-project] 5a616c: [libc++] Update the GCC head version to 17 (#199823)

Shanzhi Chen via All-commits all-commits at lists.llvm.org
Wed May 27 02:13:28 PDT 2026


  Branch: refs/heads/users/chenshanzhi/AArch64-TTI-getTgtMemIntrinsic
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a616ce490abe551ffc7a7714c28e90c483f5b39
      https://github.com/llvm/llvm-project/commit/5a616ce490abe551ffc7a7714c28e90c483f5b39
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M libcxx/utils/ci/docker/docker-compose.yml

  Log Message:
  -----------
  [libc++] Update the GCC head version to 17 (#199823)

GCC released a new version, so we should bump the versions installed in
the CI so we can upgrade.


  Commit: 22ba468002d561185371c06f899c8c753edc6750
      https://github.com/llvm/llvm-project/commit/22ba468002d561185371c06f899c8c753edc6750
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/test/AST/ByteCode/unions.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix non-defaulted union copy/move ctors (#199394)

They are like regular record ctors.


  Commit: 80490b8cfa343692500706f31893ba429fec96b7
      https://github.com/llvm/llvm-project/commit/80490b8cfa343692500706f31893ba429fec96b7
  Author: Iris Shi <0.0 at owo.li>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Basic/TargetInfo.cpp
    M clang/lib/Sema/SemaStmtAsm.cpp
    A clang/test/Sema/inline-asm-constraint-embedded-null.c

  Log Message:
  -----------
  [clang][diagnostics] Reject embedded NUL characters in inline asm (#196462)

As suggested by @jmorse and @efriedma-quic in #196223.

---------

Co-authored-by: Corentin Jabot <corentinjabot at gmail.com>


  Commit: 3913c828ab911757e8c971817757c2ab51452e45
      https://github.com/llvm/llvm-project/commit/3913c828ab911757e8c971817757c2ab51452e45
  Author: somi <1wosomm1 at gmail.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M llvm/lib/MC/MCStreamer.cpp
    R llvm/test/MC/AsmParser/cfi-unfinished-frame.s
    M llvm/test/MC/ELF/cfi-scope-errors.s

  Log Message:
  -----------
  [MC] Diagnose unfinished CFI frame from an earlier section (#196775)

Fixes #177852.

The reproducer has two `.cfi_startproc` directives separated by a
`.popsection`. The first is never closed; the second is properly paired
with `.cfi_endproc`. `MCStreamer::finish()` only inspects the last entry
of `DwarfFrameInfos`, so the unfinished earlier frame slips through and
crashes `finishImpl()` when it emits frame data with a null End label.

Use `hasUnfinishedDwarfFrameInfo()` instead, which walks the full
`FrameInfoStack` and catches every unfinished frame.

---------

Co-authored-by: Fangrui Song <i at maskray.me>


  Commit: c85c8af5426eb1affa14388deb78a4731737bf04
      https://github.com/llvm/llvm-project/commit/c85c8af5426eb1affa14388deb78a4731737bf04
  Author: Garvit Gupta <garvgupt at qti.qualcomm.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M compiler-rt/lib/builtins/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt][ARM] Add missing SUPERSEDES for optimized FP comparison sources (#199604)

PR #179924 and #179925 added optimized assembly implementations for ARM
double-precision and single-precision FP comparisons (arm/cmpdf2.S,
arm/gedf2.S, arm/unorddf2.S, arm/cmpsf2.S, arm/gesf2.S, arm/unordsf2.S)
but only added SUPERSEDES annotations for the thumb1 variants. The arm
variants were missing these annotations, causing both the generic and
optimized implementations to be included in libclang_rt.builtins.a.

For double-precision, the archive contains:
  - comparedf2.c.obj (pos 28): defines __unorddf2, __aeabi_dcmpun, ...
  - divdc3.c.obj (pos 32): defines __divdc3; refs __aeabi_dcmpun
  - unorddf2.S.obj (pos 126): defines __unorddf2, __aeabi_dcmpun
  - aeabi_dcmp.S.obj (pos 158): defines __aeabi_dcmpeq; refs __eqdf2

When linking divdc3_test.c, the linker loads divdc3.c.obj which
introduces __aeabi_dcmpun as undefined. BFD-like linkers (GNU ld, ELD)
continue scanning forward and resolve __aeabi_dcmpun from unorddf2.S.obj
(pos 126). Later, aeabi_dcmp.S.obj introduces __eqdf2 as undefined,
which is resolved by comparedf2.c.obj (pos 28) on the next pass. Since
both comparedf2.c.obj and unorddf2.S.obj define __unorddf2, the linker
reports a duplicate symbol error.

lld does not encounter this because of the difference in the way it
resolves symbol references. This causes comparedf2.c.obj (pos 28) to be
selected first for __aeabi_dcmpun, making unorddf2.S.obj unnecessary.

The same pattern exists for single-precision where arm/comparesf2.S and
arm/unordsf2.S both define __unordsf2 and __aeabi_fcmpun.

The fix adds SUPERSEDES annotations so that the generic implementations
(comparedf2.c for double-precision and arm/comparesf2.S for single-
precision) are removed from the source list when the optimized assembly
replacements are present. The assembly files together provide all
symbols that the generic implementations define.

The surrounding code was reviewed, and this PR was developed with the
assistance of AI.


  Commit: 18ddec75ba8241bb49e290cbc60c05dca7ab6250
      https://github.com/llvm/llvm-project/commit/18ddec75ba8241bb49e290cbc60c05dca7ab6250
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M lldb/source/Target/Process.cpp

  Log Message:
  -----------
  [lldb] Use private stop for breakpoint-delaying decision (#199639)


  Commit: 532940bdee66bf5f36a70578698aab66f16919af
      https://github.com/llvm/llvm-project/commit/532940bdee66bf5f36a70578698aab66f16919af
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    A llvm/include/llvm/Object/BBAddrMap.def
    M llvm/include/llvm/Object/BBAddrMap.h

  Log Message:
  -----------
  [BBAddrMap] Drive Features and Metadata bits from BBAddrMap.def (#196906)

Move the bit name list of BBAddrMap::Features and BBAddrMap::BBEntry::Metadata
into a new BBAddrMap.def and derive the enum, bitfield, encode(), decode(),
and operator== from it. Adding a new bit now only requires one line in the
.def file.

Also expose BBAddrMap::Features::KnownMask for future use.


  Commit: 4ee7e900f321c78271c87da47f1d7bd4263f3e7c
      https://github.com/llvm/llvm-project/commit/4ee7e900f321c78271c87da47f1d7bd4263f3e7c
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M bolt/test/lit.cfg.py
    M libsycl/test/lit.cfg.py
    M lldb/test/API/lit.cfg.py
    M lldb/test/Shell/lit.cfg.py
    M llvm/utils/lit/lit/LitConfig.py
    M llvm/utils/lit/lit/TestRunner.py
    M llvm/utils/lit/lit/TestingConfig.py
    M llvm/utils/lit/lit/formats/googletest.py
    M llvm/utils/lit/lit/main.py
    M llvm/utils/lit/tests/Inputs/googletest-timeout/lit.cfg
    M llvm/utils/lit/tests/Inputs/shtest-timeout/lit.cfg

  Log Message:
  -----------
  [lit] Move maxIndividualTestTime from global to test suite config (#198192)

Simplify LitConfig initialization and setter to allow None values.
TestingConfig.maxIndividualTestTime is initialized to 0 (or resolved to
0 if None) strictly during initialization.

This fixes an issue where the aggressive BOLT timeout of 60s (previously
set globally on lit_config) was leaking and affecting libc++ tests. By
moving the timeout configuration from the global lit_config to the
individual test suite config, we ensure that timeouts are isolated and
respect suite-local settings without leaking.

PR Stack:
* ➤ https://github.com/llvm/llvm-project/pull/198192
* https://github.com/llvm/llvm-project/pull/198193

Assisted-by: Gemini


  Commit: 4f54064a6e192eb182ba5e718f1b6d70065a6609
      https://github.com/llvm/llvm-project/commit/4f54064a6e192eb182ba5e718f1b6d70065a6609
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
    M llvm/include/llvm/IR/MemoryModelRelaxationAnnotations.h
    M llvm/lib/IR/MemoryModelRelaxationAnnotations.cpp

  Log Message:
  -----------
  [IR] Introduce an appendTags() idiom to set MMRA metadata [NFC] (#199621)

This is a simple set-union of new tags and existing tags. This is safer
than directly setting metadata, which can over-write existing MMRAs.

Assisted-By: Claude Opus 4.6

---------

Co-authored-by: Pierre van Houtryve <pierre.vanhoutryve at amd.com>


  Commit: 505a611530cc4508ad815f142f7b727a278f3590
      https://github.com/llvm/llvm-project/commit/505a611530cc4508ad815f142f7b727a278f3590
  Author: NeKon69 <nobodqwe at gmail.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M .github/new-issues-labeler.yml

  Log Message:
  -----------
  Auto-label LifetimeSafety issues with `clang:temporal-safety` (#199522)

cc: @usx95


  Commit: a3adb545b6a33044ab634b7a330bab5d4ee76d24
      https://github.com/llvm/llvm-project/commit/a3adb545b6a33044ab634b7a330bab5d4ee76d24
  Author: NeKon69 <nobodqwe at gmail.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Analysis/LifetimeSafety/Checker.cpp
    M clang/lib/Sema/SemaLifetimeSafety.h
    M clang/test/Sema/warn-lifetime-analysis-nocfg.cpp
    M clang/test/Sema/warn-lifetime-safety-suggestions.cpp
    M clang/test/Sema/warn-lifetime-safety.cpp

  Log Message:
  -----------
  [LifetimeSafety] Add details for `-Wlifetime-safety-return-stack-addr` diagnostic (#199432)

Most of the diagnostic's wording was taken from `-Wreturn-stack-address`
with exceptions such as:
- We do not special-case `[[clang::musttail]]`
- We do not special-case `CompoundLiteralExpr` as it is mostly a C
thing.

This patch does not add any new tests, it only updates already existing
test warnings to follow the new wording.

Comes as part of completing #186002


  Commit: 6bbbf743ae49736ba438e9dbd14a5bd0f4166382
      https://github.com/llvm/llvm-project/commit/6bbbf743ae49736ba438e9dbd14a5bd0f4166382
  Author: Carlos Alberto Enciso <Carlos.Enciso at sony.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVElement.h
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVLocation.h
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
    M llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h
    M llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h
    A llvm/include/llvm/DebugInfo/LogicalView/Readers/LVIRReader.h
    M llvm/lib/DebugInfo/LogicalView/CMakeLists.txt
    M llvm/lib/DebugInfo/LogicalView/Core/LVElement.cpp
    M llvm/lib/DebugInfo/LogicalView/Core/LVLocation.cpp
    M llvm/lib/DebugInfo/LogicalView/Core/LVReader.cpp
    M llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp
    A llvm/lib/DebugInfo/LogicalView/Readers/LVIRReader.cpp
    M llvm/lib/Transforms/Utils/DebugSSAUpdater.cpp
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/01-ir-compare-logical-elements.test
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/01-ir-print-basic-details.test
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/01-ir-select-logical-elements.test
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/02-ir-logical-lines.test
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/03-ir-incorrect-lexical-scope-typedef.test
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/04-ir-missing-nested-enumerators.test
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/05-ir-incorrect-lexical-scope-variable.test
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/06-ir-full-logical-view.test
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/07-ir-debug-formats.test
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/08-ir-multiple-compile-units.test
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/compile-unit-1.ll
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/compile-unit-2.ll
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/compile-unit-3.ll
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/compile-unit.ll
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/hello-world-clang.ll
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/pr-43860-clang.ll
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/pr-44884-clang.ll
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/pr-46466-clang.ll
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/test-clang-intrinsics.ll
    A llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/test-clang.ll
    M llvm/tools/llvm-debuginfo-analyzer/CMakeLists.txt
    M llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
    A llvm/unittests/DebugInfo/LogicalView/IRReaderTest.cpp
    M llvm/unittests/DebugInfo/LogicalView/Inputs/README.md
    A llvm/unittests/DebugInfo/LogicalView/Inputs/test-clang.bc
    A llvm/unittests/DebugInfo/LogicalView/Inputs/test-clang.ll

  Log Message:
  -----------
  [llvm-debuginfo-analyzer] Add support for LLVM IR format. (#135440)

llvm-debuginfo-analyzer is a command line tool that processes debug
info contained in a binary file and produces a debug information
format agnostic “Logical View”, which is a high-level semantic
representation of the debug info, independent of the low-level format.

Add support for the LLVM IR format and be able to generate logical
views. Both textual representation (.ll) and bitcode (.bc) formats
are supported.


  Commit: 2b286794010f5549d109b37941a4c3171489c5d8
      https://github.com/llvm/llvm-project/commit/2b286794010f5549d109b37941a4c3171489c5d8
  Author: Kigyosi Alexandru <alexandru.kigyosi at intel.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M mlir/include/mlir/IR/MLIRContext.h
    M mlir/lib/IR/MLIRContext.cpp

  Log Message:
  -----------
  [MLIR] Add a non-const ActionHandler getter to MLIRContext (#199652)

#197230 added a getter for the ActionHandler, but only returns a const
ref with a non-const accessor.
Instead provide both variants: a const accessor returning a const ref
and non-const one returning a mutable ref.


  Commit: 77d3da64d2bbbcd520aede072225d4790e95a84e
      https://github.com/llvm/llvm-project/commit/77d3da64d2bbbcd520aede072225d4790e95a84e
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/builtin-masked.c

  Log Message:
  -----------
  [Clang] Accept gnu vectors in __builtin_masked* (#198248)

There doesn't seem to be a good reason to reject gnu vectors in these
builtins. The error messages for that case are also rather bizzare,
which doesn't help with figuring out what's going wrong.


  Commit: 263494977277ad6514e353021c31e3096c6cb3aa
      https://github.com/llvm/llvm-project/commit/263494977277ad6514e353021c31e3096c6cb3aa
  Author: forking-google-bazel-bot[bot] <265904573+forking-google-bazel-bot[bot]@users.noreply.github.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

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

  Log Message:
  -----------
  [Bazel] Fixes 532940b (#199874)

This fixes 532940bdee66bf5f36a70578698aab66f16919af.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>


  Commit: 6de9a33debfdcd4dc77f826d515b744d382a8598
      https://github.com/llvm/llvm-project/commit/6de9a33debfdcd4dc77f826d515b744d382a8598
  Author: Carlos Alberto Enciso <Carlos.Enciso at sony.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVElement.h
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVLocation.h
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
    M llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h
    M llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h
    R llvm/include/llvm/DebugInfo/LogicalView/Readers/LVIRReader.h
    M llvm/lib/DebugInfo/LogicalView/CMakeLists.txt
    M llvm/lib/DebugInfo/LogicalView/Core/LVElement.cpp
    M llvm/lib/DebugInfo/LogicalView/Core/LVLocation.cpp
    M llvm/lib/DebugInfo/LogicalView/Core/LVReader.cpp
    M llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp
    R llvm/lib/DebugInfo/LogicalView/Readers/LVIRReader.cpp
    M llvm/lib/Transforms/Utils/DebugSSAUpdater.cpp
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/01-ir-compare-logical-elements.test
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/01-ir-print-basic-details.test
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/01-ir-select-logical-elements.test
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/02-ir-logical-lines.test
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/03-ir-incorrect-lexical-scope-typedef.test
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/04-ir-missing-nested-enumerators.test
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/05-ir-incorrect-lexical-scope-variable.test
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/06-ir-full-logical-view.test
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/07-ir-debug-formats.test
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/08-ir-multiple-compile-units.test
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/compile-unit-1.ll
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/compile-unit-2.ll
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/compile-unit-3.ll
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/compile-unit.ll
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/hello-world-clang.ll
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/pr-43860-clang.ll
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/pr-44884-clang.ll
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/pr-46466-clang.ll
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/test-clang-intrinsics.ll
    R llvm/test/tools/llvm-debuginfo-analyzer/IR/Inputs/test-clang.ll
    M llvm/tools/llvm-debuginfo-analyzer/CMakeLists.txt
    M llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
    R llvm/unittests/DebugInfo/LogicalView/IRReaderTest.cpp
    M llvm/unittests/DebugInfo/LogicalView/Inputs/README.md
    R llvm/unittests/DebugInfo/LogicalView/Inputs/test-clang.bc
    R llvm/unittests/DebugInfo/LogicalView/Inputs/test-clang.ll

  Log Message:
  -----------
  Revert "[llvm-debuginfo-analyzer] Add support for LLVM IR format. (#135440)" (#199890)

This reverts commit 6bbbf743ae49736ba438e9dbd14a5bd0f4166382.

There are link issues with some buildbots.


  Commit: a4b1361f33139e7a0a02edee1a1b012740951e01
      https://github.com/llvm/llvm-project/commit/a4b1361f33139e7a0a02edee1a1b012740951e01
  Author: Boyao Wang <wangboyao at bytedance.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-int-interleave.ll
    M llvm/test/CodeGen/RISCV/rvv/vector-interleave-fixed.ll

  Log Message:
  -----------
  [RISCV][CodeGen] Use vzip.vv for e64 interleave shuffles with Zvzip (#199512)

Allow e64 interleave shuffles to use the standard Zvzip `vzip.vv`
lowering when the operand type is legal for Zvzip, just the same as what
XrivosVizip already does.


  Commit: f5bda2b94460d8439ed876d6486774d863ae989a
      https://github.com/llvm/llvm-project/commit/f5bda2b94460d8439ed876d6486774d863ae989a
  Author: NeKon69 <nobodqwe at gmail.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M clang/test/Sema/warn-lifetime-safety.cpp

  Log Message:
  -----------
  [LifetimeSafety] Change new tests' warnings to new ones  (#199887)

cc: @usx95


  Commit: 66bafd43ff2beb1d727339361df7ad34ea30e97a
      https://github.com/llvm/llvm-project/commit/66bafd43ff2beb1d727339361df7ad34ea30e97a
  Author: Mieszko Dziadowiec <mieszko.dziadowiec at intel.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M mlir/lib/Support/TypeID.cpp

  Log Message:
  -----------
  [MLIR] Improve TypeID anonymous namespace check to handle GCC's __PRETTY_FUNCTION__ format (#199634)

The anonymous namespace detection in
`FallbackTypeIDResolver::registerImplicitTypeID` only checked for
Clang's `(anonymous namespace)` and MSVC's `anonymous-namespace`
formats. GCC produces `{anonymous}` in `__PRETTY_FUNCTION__`, silently
bypassing the check.


  Commit: 99238714741163c9187ca8db6ebe73c4cb3a4400
      https://github.com/llvm/llvm-project/commit/99238714741163c9187ca8db6ebe73c4cb3a4400
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M bolt/include/bolt/Profile/DataAggregator.h
    M bolt/lib/Profile/DataAggregator.cpp

  Log Message:
  -----------
  [BOLT][NFC] Split out DataAggregator::parseInput



Test Plan: NFC

Reviewers:
paschalis-mpeis, maksfb, ayermolo, yavtuk, yozhu, rafaelauler, yota9

Reviewed By: yozhu, rafaelauler

Pull Request: https://github.com/llvm/llvm-project/pull/199321


  Commit: b926cf7da0918686f4bcb4e16f3066aca22ae1e6
      https://github.com/llvm/llvm-project/commit/b926cf7da0918686f4bcb4e16f3066aca22ae1e6
  Author: Davide Grohmann <davide.grohmann at arm.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M mlir/include/mlir/Conversion/TosaToSPIRVTosa/TosaToSPIRVTosa.h
    M mlir/lib/Conversion/TosaToSPIRVTosa/CMakeLists.txt
    A mlir/lib/Conversion/TosaToSPIRVTosa/TosaToSPIRVTosaOps.cpp
    M mlir/lib/Conversion/TosaToSPIRVTosa/TosaToSPIRVTosaPass.cpp
    A mlir/test/Conversion/TosaToSPIRVTosa/tosa-to-spirv.mlir

  Log Message:
  -----------
  [mlir][tosa][spirv] Lower TOSA elementwise ops to SPIR-V TOSA (#199505)

Add conversion patterns for simple TOSA elementwise operations to the
SPIR-V TOSA dialect.

The lowering covers unary and binary elementwise ops with shared pattern
templates, plus min/max handling for NaN propagation mode.

Add focused conversion tests that check the generated SPIR-V TOSA ops.

Signed-off-by: Davide Grohmann <davide.grohmann at arm.com>


  Commit: 4c9296d94c95c4b4064a77cd7a61352bfb5130fd
      https://github.com/llvm/llvm-project/commit/4c9296d94c95c4b4064a77cd7a61352bfb5130fd
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M bolt/tools/driver/llvm-bolt.cpp

  Log Message:
  -----------
  [BOLT][NFC] Unify perf data setting

Combine opts::PerfData handling into one place per driver (llvm-bolt and
heatmap).
* Allow using perf data directly after DataAggregator/DataReader
  unification in #195986.
* Drop redundant perf data checks in perf2boltMode done by setProfile.

Test Plan: NFC

Reviewers:
ritter-x2a, david-salinas, grypp, Pierre-vh, dcaballe, aartbik, adam-smnk, fabianmcg, yota9, JDevlieghere, banach-space, xlauko, nikic, #reviewers-libcxx, rafaelauler, Moxinilian, nicolasvasilache, yozhu, ayermolo, paschalis-mpeis, lamb-j, andykaylor, #reviewers-libc, vangthao95, bcardosolopes, yavtuk, aaronmondal, rupprecht, matthias-springer, keith, maksfb, lanza, Jianhui-Li, charithaintc

Reviewed By: yozhu, rafaelauler

Pull Request: https://github.com/llvm/llvm-project/pull/199322


  Commit: 3e0c818e6f80213b737a5e18318de794a3914f71
      https://github.com/llvm/llvm-project/commit/3e0c818e6f80213b737a5e18318de794a3914f71
  Author: Rana Pratap Reddy <109514914+ranapratap55 at users.noreply.github.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
    M clang/lib/CIR/CodeGen/CIRGenTypes.cpp
    A clang/test/CIR/CodeGenHIP/builtins-amdgcn-image.hip

  Log Message:
  -----------
  [CIR][AMDGPU] Adds lowering for amdgcn image load/store builtins (#198184)

Support for lowering of amdgcn_image_load/store for AMDGPU builtins to
clangIR.
Followed similar lowering from clang->llvmir:
`clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp`.

Upstreaming clangIR PR: https://github.com/llvm/clangir/pull/2058


  Commit: d63f99627b9b08d71595b1879be74a8225873e34
      https://github.com/llvm/llvm-project/commit/d63f99627b9b08d71595b1879be74a8225873e34
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    A bolt/test/merge-fdata-no-lbr-event-multi.test
    A bolt/test/merge-fdata-no-lbr-event.test
    M bolt/tools/merge-fdata/merge-fdata.cpp

  Log Message:
  -----------
  [BOLT][merge-fdata] Preserve event names



Test Plan: added merge-fdata-no-lbr-event*.test

Reviewers:
maksfb, paschalis-mpeis, yozhu, yota9, yavtuk, rafaelauler, ayermolo

Reviewed By: rafaelauler

Pull Request: https://github.com/llvm/llvm-project/pull/199323


  Commit: 698d44bf9ff61cd8c924bcf406c29c9988d5ea5e
      https://github.com/llvm/llvm-project/commit/698d44bf9ff61cd8c924bcf406c29c9988d5ea5e
  Author: Hui <hui.xie1990 at gmail.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M clang/include/clang/Basic/Builtins.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGen/builtin-clear-padding-codegen.c
    A clang/test/CodeGenCXX/builtin-clear-padding-codegen.cpp
    A clang/test/Sema/builtin-clear-padding.c
    A clang/test/SemaCXX/builtin-clear-padding.cpp
    A libcxx/test/libcxx/atomics/builtin_clear_padding.pass.cpp

  Log Message:
  -----------
  [clang] Add builtin to clear padding bytes (prework for P0528R3) (#75371)

Add builtin to clear padding bytes. This is the pre-work to implement
`std::atomic::compare_exchange_[weak/strong]` that ignores padding bits.
PR draft here: https://github.com/llvm/llvm-project/pull/76180

This PR picked up this patch from 3 years ago
https://reviews.llvm.org/D87974

The above patch no longer works as things changed quite a lot. I've made
some changes on top of the above patch:


it handles:
- struct
- builtin types with paddings (like `long double` and types with
`__attribute__((ext_vector_type(N)))`
- _Complex long double
- constant array
- union
- bit field
- types with virtual functions
- types with virtual bases

---------

Co-authored-by: zoecarver <z.zoelec2 at gmail.com>


  Commit: c94e5f327f47821e29f21b39ef1dc511c91341d9
      https://github.com/llvm/llvm-project/commit/c94e5f327f47821e29f21b39ef1dc511c91341d9
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

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

  Log Message:
  -----------
  AMDGPU/GlobalISel: Move executeInWaterfallLoop call from lower (#199701)

WFI is an argument to applyMappingSrc and lower,
move executeInWaterfallLoop after these two return.
Also set insert point in executeInWaterfallLoop to
avoid need to set insert point before calling it.


  Commit: 99e6632cf619e4654443d2f58e9ffe6015a34314
      https://github.com/llvm/llvm-project/commit/99e6632cf619e4654443d2f58e9ffe6015a34314
  Author: Vicky Nguyen <vicky.trucviennguyen at gmail.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
    M clang/test/CodeGen/AArch64/neon-intrinsics.c
    M clang/test/CodeGen/AArch64/neon/intrinsics.c
    M clang/test/CodeGen/AArch64/poly64.c

  Log Message:
  -----------
  [CIR][AArch64] Upstream vector-shift-right-and-insert NEON builtins (#196776)

Related to https://github.com/llvm/llvm-project/issues/185382

CIR lowering for vector-shift-right-and-insert intrinsics
(https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#vector-shift-right-and-insert)

Port tests from clang/test/CodeGen/AArch64/neon_intrinsics.c and
clang/test/CodeGen/AArch64/poly64.c to
clang/test/CodeGen/AArch64/neon/intrinsics.c


  Commit: 4def779282d9c2a179fcfeb0079928f1bb2ce409
      https://github.com/llvm/llvm-project/commit/4def779282d9c2a179fcfeb0079928f1bb2ce409
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M libcxx/test/libcxx-03/vendor/apple/disable-availability.sh.cpp
    M libcxx/test/libcxx/utilities/meta/is_within_lifetime.verify.cpp
    M libcxx/test/selftest/modules/std-and-std.compat-module.sh.cpp
    M libcxx/test/selftest/modules/std-module.sh.cpp
    M libcxx/test/selftest/modules/std.compat-module.sh.cpp
    M libcxx/test/std/modules/std.compat.pass.cpp
    M libcxx/test/std/modules/std.pass.cpp
    M libcxx/test/std/numerics/c.math/signbit.pass.cpp
    M libcxx/test/std/utilities/meta/meta.const.eval/is_within_lifetime.compile.pass.cpp
    M libcxx/test/std/utilities/meta/meta.rel/is_virtual_base_of.pass.cpp
    M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp
    M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.verify.cpp

  Log Message:
  -----------
  [libc++][NFC] Remove lit annotations for older AppleClang versions (#199817)

We don't support anything older than apple-clang-21, so we can remove
those annotations.


  Commit: 3060f65b84f2b16f2f53367a03d2542a30827ac0
      https://github.com/llvm/llvm-project/commit/3060f65b84f2b16f2f53367a03d2542a30827ac0
  Author: Shanzhi Chen <chenshanzhi at huawei.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-int-interleave.ll
    M llvm/test/CodeGen/RISCV/rvv/vector-interleave-fixed.ll

  Log Message:
  -----------
  Revert "[RISCV][CodeGen] Use vzip.vv for e64 interleave shuffles with Zvzip" (#199899)

Reverts llvm/llvm-project#199512

LLVM Buildbot has detected a build error for this PR.


  Commit: 0d6aac78ad967cfb0dc69de26cd7e159605fe0de
      https://github.com/llvm/llvm-project/commit/0d6aac78ad967cfb0dc69de26cd7e159605fe0de
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__concepts/referenceable.h
    M libcxx/include/__config
    M libcxx/include/__iterator/common_iterator.h
    M libcxx/include/__iterator/concepts.h
    M libcxx/include/__iterator/iter_move.h
    M libcxx/include/__iterator/iterator_traits.h
    M libcxx/include/__ranges/adjacent_transform_view.h
    M libcxx/include/__ranges/transform_view.h
    M libcxx/include/__ranges/zip_transform_view.h
    M libcxx/include/__type_traits/add_pointer.h
    R libcxx/include/__type_traits/is_referenceable.h
    M libcxx/include/__type_traits/remove_pointer.h
    M libcxx/include/module.modulemap.in
    R libcxx/test/libcxx/utilities/meta/is_referenceable.compile.pass.cpp
    M libcxx/test/std/utilities/meta/meta.trans/objc_support.compile.pass.mm

  Log Message:
  -----------
  [libc++] Remove workarounds for __{add,remove}_pointer on AppleClang (#199821)

We've updated the supported AppleClang version, so we can drop those
workarounds now.

This also removes `__is_referenceable_v`, since it's no longer used.


  Commit: 2c6fcedebc2a23eeca3d4f35d3408787eb49c12d
      https://github.com/llvm/llvm-project/commit/2c6fcedebc2a23eeca3d4f35d3408787eb49c12d
  Author: Shanzhi Chen <chenshanzhi at huawei.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M .github/new-issues-labeler.yml
    M bolt/include/bolt/Profile/DataAggregator.h
    M bolt/lib/Profile/DataAggregator.cpp
    M bolt/test/lit.cfg.py
    A bolt/test/merge-fdata-no-lbr-event-multi.test
    A bolt/test/merge-fdata-no-lbr-event.test
    M bolt/tools/driver/llvm-bolt.cpp
    M bolt/tools/merge-fdata/merge-fdata.cpp
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
    M clang/include/clang/Basic/Builtins.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/Analysis/LifetimeSafety/Checker.cpp
    M clang/lib/Basic/TargetInfo.cpp
    M clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
    M clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
    M clang/lib/CIR/CodeGen/CIRGenTypes.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaLifetimeSafety.h
    M clang/lib/Sema/SemaStmtAsm.cpp
    M clang/test/AST/ByteCode/unions.cpp
    A clang/test/CIR/CodeGenHIP/builtins-amdgcn-image.hip
    M clang/test/CodeGen/AArch64/neon-intrinsics.c
    M clang/test/CodeGen/AArch64/neon/intrinsics.c
    M clang/test/CodeGen/AArch64/poly64.c
    A clang/test/CodeGen/builtin-clear-padding-codegen.c
    M clang/test/CodeGen/builtin-masked.c
    A clang/test/CodeGenCXX/builtin-clear-padding-codegen.cpp
    A clang/test/Sema/builtin-clear-padding.c
    A clang/test/Sema/inline-asm-constraint-embedded-null.c
    M clang/test/Sema/warn-lifetime-analysis-nocfg.cpp
    M clang/test/Sema/warn-lifetime-safety-suggestions.cpp
    M clang/test/Sema/warn-lifetime-safety.cpp
    A clang/test/SemaCXX/builtin-clear-padding.cpp
    M compiler-rt/lib/builtins/CMakeLists.txt
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__concepts/referenceable.h
    M libcxx/include/__config
    M libcxx/include/__iterator/common_iterator.h
    M libcxx/include/__iterator/concepts.h
    M libcxx/include/__iterator/iter_move.h
    M libcxx/include/__iterator/iterator_traits.h
    M libcxx/include/__ranges/adjacent_transform_view.h
    M libcxx/include/__ranges/transform_view.h
    M libcxx/include/__ranges/zip_transform_view.h
    M libcxx/include/__type_traits/add_pointer.h
    R libcxx/include/__type_traits/is_referenceable.h
    M libcxx/include/__type_traits/remove_pointer.h
    M libcxx/include/module.modulemap.in
    M libcxx/test/libcxx-03/vendor/apple/disable-availability.sh.cpp
    A libcxx/test/libcxx/atomics/builtin_clear_padding.pass.cpp
    R libcxx/test/libcxx/utilities/meta/is_referenceable.compile.pass.cpp
    M libcxx/test/libcxx/utilities/meta/is_within_lifetime.verify.cpp
    M libcxx/test/selftest/modules/std-and-std.compat-module.sh.cpp
    M libcxx/test/selftest/modules/std-module.sh.cpp
    M libcxx/test/selftest/modules/std.compat-module.sh.cpp
    M libcxx/test/std/modules/std.compat.pass.cpp
    M libcxx/test/std/modules/std.pass.cpp
    M libcxx/test/std/numerics/c.math/signbit.pass.cpp
    M libcxx/test/std/utilities/meta/meta.const.eval/is_within_lifetime.compile.pass.cpp
    M libcxx/test/std/utilities/meta/meta.rel/is_virtual_base_of.pass.cpp
    M libcxx/test/std/utilities/meta/meta.trans/objc_support.compile.pass.mm
    M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp
    M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.verify.cpp
    M libcxx/utils/ci/docker/docker-compose.yml
    M libsycl/test/lit.cfg.py
    M lldb/source/Target/Process.cpp
    M lldb/test/API/lit.cfg.py
    M lldb/test/Shell/lit.cfg.py
    M llvm/include/llvm/IR/MemoryModelRelaxationAnnotations.h
    A llvm/include/llvm/Object/BBAddrMap.def
    M llvm/include/llvm/Object/BBAddrMap.h
    M llvm/lib/IR/MemoryModelRelaxationAnnotations.cpp
    M llvm/lib/MC/MCStreamer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
    R llvm/test/MC/AsmParser/cfi-unfinished-frame.s
    M llvm/test/MC/ELF/cfi-scope-errors.s
    M llvm/utils/lit/lit/LitConfig.py
    M llvm/utils/lit/lit/TestRunner.py
    M llvm/utils/lit/lit/TestingConfig.py
    M llvm/utils/lit/lit/formats/googletest.py
    M llvm/utils/lit/lit/main.py
    M llvm/utils/lit/tests/Inputs/googletest-timeout/lit.cfg
    M llvm/utils/lit/tests/Inputs/shtest-timeout/lit.cfg
    M mlir/include/mlir/Conversion/TosaToSPIRVTosa/TosaToSPIRVTosa.h
    M mlir/include/mlir/IR/MLIRContext.h
    M mlir/lib/Conversion/TosaToSPIRVTosa/CMakeLists.txt
    A mlir/lib/Conversion/TosaToSPIRVTosa/TosaToSPIRVTosaOps.cpp
    M mlir/lib/Conversion/TosaToSPIRVTosa/TosaToSPIRVTosaPass.cpp
    M mlir/lib/IR/MLIRContext.cpp
    M mlir/lib/Support/TypeID.cpp
    A mlir/test/Conversion/TosaToSPIRVTosa/tosa-to-spirv.mlir
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  -----------
  Merge branch 'main' into users/chenshanzhi/AArch64-TTI-getTgtMemIntrinsic


Compare: https://github.com/llvm/llvm-project/compare/7a93152c9776...2c6fcedebc2a

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