[all-commits] [llvm/llvm-project] 761787: Reland: [clang] Improved canonicalization for temp...

Owen Pan via All-commits all-commits at lists.llvm.org
Sun Apr 13 11:07:13 PDT 2025


  Branch: refs/heads/users/MaskRay/spr/main.riscvasmparser-reject-call-fooinvalid
  Home:   https://github.com/llvm/llvm-project
  Commit: 761787d42576751afbaaba5107233ee849f81b6f
      https://github.com/llvm/llvm-project/commit/761787d42576751afbaaba5107233ee849f81b6f
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M clang-tools-extra/clangd/AST.cpp
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/PropertiesBase.td
    M clang/include/clang/AST/TemplateBase.h
    M clang/include/clang/AST/Type.h
    M clang/include/clang/AST/TypeProperties.td
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTDiagnostic.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/ASTStructuralEquivalence.cpp
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/AST/QualTypeNames.cpp
    M clang/lib/AST/TemplateBase.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaLookup.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/lib/Sema/SemaTemplateVariadic.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/test/CXX/class.derived/class.derived.general/p2.cpp
    M clang/test/CXX/temp/temp.decls/temp.class.spec/p6.cpp
    M clang/test/SemaCXX/undefined-partial-specialization.cpp
    M clang/test/SemaTemplate/make_integer_seq.cpp
    M clang/test/SemaTemplate/type_pack_element.cpp
    M clang/unittests/AST/TypePrinterTest.cpp

  Log Message:
  -----------
  Reland: [clang] Improved canonicalization for template specialization types (#135414)

This relands https://github.com/llvm/llvm-project/pull/135119, after
fixing crashes seen in LLDB CI reported here:
https://github.com/llvm/llvm-project/pull/135119#issuecomment-2794910840

Fixes https://github.com/llvm/llvm-project/pull/135119

This changes the TemplateArgument representation to hold a flag
indicating whether a tempalte argument of expression type is supposed to
be canonical or not.

This gets one step closer to solving
https://github.com/llvm/llvm-project/issues/92292

This still doesn't try to unique as-written TSTs. While this would
increase the amount of memory savings and make code dealing with the AST
more well-behaved, profiling template argument lists is still too
expensive for this to be worthwhile, at least for now.

This also fixes the context creation of TSTs, so that they don't in some
cases get incorrectly flagged as sugar over their own canonical form.
This is captured in the test expectation change of some AST dumps.

This fixes some places which were unnecessarily canonicalizing these
TSTs.


  Commit: b71123f1272ee081b18b8ced1925d6e9300e7310
      https://github.com/llvm/llvm-project/commit/b71123f1272ee081b18b8ced1925d6e9300e7310
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Calculator.h
    M clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
    M clang-tools-extra/test/clang-doc/basic-project.test

  Log Message:
  -----------
  [clang-doc] Pre-commit tests for static members and functions (#135456)

Issue #59813 mentions that static members are not included in
the documentation generated by clang-doc. This patch adds
some basic testing for that property, with the current incorrect
behavior. Follow up patches will address the missing documentation.


  Commit: 995fd47944f471e985e34d7da8c0667059decbac
      https://github.com/llvm/llvm-project/commit/995fd47944f471e985e34d7da8c0667059decbac
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/test/Transforms/LoopVectorize/RISCV/safe-dep-distance.ll

  Log Message:
  -----------
  [LAA] Make sure MaxVF for Store-Load forward safe dep distances is pow2.

MaxVF computed in couldPreventStoreLoadFowrard may not be a power of 2,
as CommonStride may not be a power-of-2.

This can cause crashes after 78777a20. Use bit_floor to make sure it is
a suitable power-of-2.

Fixes https://github.com/llvm/llvm-project/issues/134696.


  Commit: 4fa3b2a1843c42f333d7332b373ae99428883974
      https://github.com/llvm/llvm-project/commit/4fa3b2a1843c42f333d7332b373ae99428883974
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

  Log Message:
  -----------
  [VPlan] Use TypeAnalysis instead of underlying instr in VPPredInst (NFC)

Removes another unnecessary use of the underlying instructions during
VPlan execution.


  Commit: 5bdad0555eae01e5eef6a1360c1637a5d9bcde79
      https://github.com/llvm/llvm-project/commit/5bdad0555eae01e5eef6a1360c1637a5d9bcde79
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M libcxx/include/__tree

  Log Message:
  -----------
  [libc++][NFC] Remove a few aliases in __tree (#134392)

These aliases aren't required anymore, since we've taken an ABI break
unconditionally which these were used to avoid.


  Commit: acf964b95f5421cc372719139b427be37ad79e7e
      https://github.com/llvm/llvm-project/commit/acf964b95f5421cc372719139b427be37ad79e7e
  Author: Maksim Levental <maksim.levental at gmail.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M mlir/include/mlir/InitAllTranslations.h
    A mlir/include/mlir/Target/SMTLIB/ExportSMTLIB.h
    A mlir/include/mlir/Target/SMTLIB/Namespace.h
    A mlir/include/mlir/Target/SMTLIB/SymCache.h
    M mlir/lib/Target/CMakeLists.txt
    A mlir/lib/Target/SMTLIB/CMakeLists.txt
    A mlir/lib/Target/SMTLIB/ExportSMTLIB.cpp
    A mlir/test/Target/SMTLIB/array.mlir
    A mlir/test/Target/SMTLIB/attributes.mlir
    A mlir/test/Target/SMTLIB/bitvector-errors.mlir
    A mlir/test/Target/SMTLIB/bitvector.mlir
    A mlir/test/Target/SMTLIB/core-errors.mlir
    A mlir/test/Target/SMTLIB/core.mlir
    A mlir/test/Target/SMTLIB/integer-errors.mlir
    A mlir/test/Target/SMTLIB/integer.mlir

  Log Message:
  -----------
  [mlir][SMT] add export smtlib (#131492)

This PR adds the `ExportSMTLIB` translation/egress pass for `SMT`
dialect.


  Commit: 75dea80085ff9870239109275a2f19d6709fbe65
      https://github.com/llvm/llvm-project/commit/75dea80085ff9870239109275a2f19d6709fbe65
  Author: Min Hsu <min at myhsu.dev>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M .mailmap

  Log Message:
  -----------
  [mailmap] Consolidate all my email addresses


  Commit: f0dc236d3384e5d5dce2e39a8a3202325899eae5
      https://github.com/llvm/llvm-project/commit/f0dc236d3384e5d5dce2e39a8a3202325899eae5
  Author: Sam Elliott <quic_aelliott at quicinc.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
    M llvm/test/MC/RISCV/rv32c-invalid.s

  Log Message:
  -----------
  [RISCV][NFC] Correct c_lui_imm (#135448)

The MCOperandPredicate seems to allow symbols as well as immediates, but
the parser/matcher does not due to `isCLUIImm`. This brings both in line
with each other, and should prevent trying to compress a `lui` with a
symbol, which cannot be emitted as a `c.lui` as there are no relocations
for this as `R_RISCV_RVC_LUI` is deprecated/removed.


  Commit: d903f6b672cb7ebb162e3ef98f483e79b180a413
      https://github.com/llvm/llvm-project/commit/d903f6b672cb7ebb162e3ef98f483e79b180a413
  Author: Maksim Levental <maksim.levental at gmail.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M mlir/lib/Target/SMTLIB/CMakeLists.txt

  Log Message:
  -----------
  [mlir][SMT] fix MLIRExportSMTLIB by linking MLIRArithDialect


  Commit: bbc5d205d409bb22fe4ae8ad16ebaf1752e6b700
      https://github.com/llvm/llvm-project/commit/bbc5d205d409bb22fe4ae8ad16ebaf1752e6b700
  Author: Jan Patrick Lehr <JanPatrick.Lehr at amd.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M mlir/lib/Target/SMTLIB/CMakeLists.txt

  Log Message:
  -----------
  [MLIR] Fix build after #131492 (#135502)

After #131492 is appears that linking MLIRAritDialect was missing.


  Commit: 09c8cfe219481a8fc20c6711dc5c87451f5a5ef1
      https://github.com/llvm/llvm-project/commit/09c8cfe219481a8fc20c6711dc5c87451f5a5ef1
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/BreakableToken.cpp
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/UnwrappedLineFormatter.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/unittests/Format/CleanupTest.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format][NFC] Add isJava() and isTextProto() in FormatStyle (#135466)

Also remove redundant name qualifiers format::, FormatStyle::, and
LanguageKind::.


  Commit: 5f744cc6301abb3be5a500b2fcbc944fe2bd3241
      https://github.com/llvm/llvm-project/commit/5f744cc6301abb3be5a500b2fcbc944fe2bd3241
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/Format.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Wrap and indent lambda braces in GNU style (#135479)

Fix #133135


  Commit: b0fede358fea768ead2dc5d59ad0b6b2decc4217
      https://github.com/llvm/llvm-project/commit/b0fede358fea768ead2dc5d59ad0b6b2decc4217
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    A llvm/test/ThinLTO/AMDGPU/Inputs/in-f1.ll
    A llvm/test/ThinLTO/AMDGPU/force-import-all.ll
    A llvm/test/ThinLTO/AMDGPU/lit.local.cfg

  Log Message:
  -----------
  [ThinLTO] Don't convert functions to declarations if `force-import-all` is enabled (#134541)

On one hand, we intend to force import all functions when the option is
enabled.
On the other hand, we currently drop definitions of some functions and
convert
them to declarations, which contradicts this intent.

With this PR, functions will no longer be converted to declarations when
`force-import-all` is enabled.


  Commit: 60b1d44d708d5912897c7bdab681cbefe8f35e79
      https://github.com/llvm/llvm-project/commit/60b1d44d708d5912897c7bdab681cbefe8f35e79
  Author: Sayan Saha <sayans at mathworks.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir

  Log Message:
  -----------
  [tosa]: canonicalize dynamic size of tosa.slice to static output shape (#135429)

Addresses https://github.com/llvm/llvm-project/issues/135389


  Commit: cfa322fa9a693d4ba652871fafc6dbb2039b55a2
      https://github.com/llvm/llvm-project/commit/cfa322fa9a693d4ba652871fafc6dbb2039b55a2
  Author: A. Jiang <de34 at live.cn>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M libcxx/include/__algorithm/sort.h
    M libcxx/include/__bit/bit_log2.h

  Log Message:
  -----------
  [libc++][NFC] Reuse `__bit_log2` for `sort` (#135303)

The `__log2i` function template in `<algorithm/sort.h>` is basically
equivalent to `__bit_log2` in `<__bit/bit_log2.h>`. It seems better to
avoid duplication.


  Commit: b0acbbee88f8ae706658f2a7635df4ce39e15e74
      https://github.com/llvm/llvm-project/commit/b0acbbee88f8ae706658f2a7635df4ce39e15e74
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp

  Log Message:
  -----------
  [mlir][vector] Fix deprecation warning for `.isa`. NFC. (#135512)

This was introduced in: https://github.com/llvm/llvm-project/pull/135371


  Commit: 39662922e15c53f54da93b5a1d029589d49caec9
      https://github.com/llvm/llvm-project/commit/39662922e15c53f54da93b5a1d029589d49caec9
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/lib/MC/MCObjectStreamer.cpp

  Log Message:
  -----------
  MCObjectStreamer: Refine absoluteSymbolDiff condition

The function is called to test the fast path - when Lo/Hi are within the
same fragment. This is unsafe - Lo/Hi at the begin and end of a
relaxable fragment should not evaluate to a constant. However, we don't
have tests that exercise the code path.

Nevertheless, make the check safer and remove the now unnecessary
isRISCV check (from https://reviews.llvm.org/D103539).


  Commit: 3e7be494f84e51d5f4245d6f39e380a500f226a6
      https://github.com/llvm/llvm-project/commit/3e7be494f84e51d5f4245d6f39e380a500f226a6
  Author: A. Jiang <de34 at live.cn>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M libcxx/test/std/strings/basic.string/string.modifiers/string_append/initializer_list.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_assign/string.pass.cpp
    M libcxx/test/support/nasty_string.h

  Log Message:
  -----------
  [libc++][test] Test `nasty_string` in C++20 (#135338)

It seems that we can only rely on C++20 features and make `nasty_string`
also tested for MSVC STL.


  Commit: 329a675006a22da89ca39199fac4408e3ae4eee4
      https://github.com/llvm/llvm-project/commit/329a675006a22da89ca39199fac4408e3ae4eee4
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCELFObjectWriter.h
    M llvm/lib/MC/ELFObjectWriter.cpp

  Log Message:
  -----------
  ELFObjectWriter: Simplify STT_SECTION adjustment. NFC


  Commit: 1c5961c0481b9c7421d38e3141d3c5a1e6084234
      https://github.com/llvm/llvm-project/commit/1c5961c0481b9c7421d38e3141d3c5a1e6084234
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/test/MC/ELF/reloc-directive.s

  Log Message:
  -----------
  ELFObjectWriter: Disable STT_SECTION adjustment for .reloc

to match GNU Assembler. This generalizes the SHT_LLVM_CALL_GRAPH_PROFILE
(which uses BFD_RELOC_NONE https://reviews.llvm.org/D104080) special case.


  Commit: 3ff634dee857c4d71ff665e49d38005e608de8a0
      https://github.com/llvm/llvm-project/commit/3ff634dee857c4d71ff665e49d38005e608de8a0
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/test/MC/ELF/reloc-directive.s

  Log Message:
  -----------
  Revert "ELFObjectWriter: Disable STT_SECTION adjustment for .reloc"

This reverts commit 1c5961c0481b9c7421d38e3141d3c5a1e6084234.
Inadvertently pushed.


  Commit: 302bc414103eb6de9c0dce62cfd37bf3ab7e8cbe
      https://github.com/llvm/llvm-project/commit/302bc414103eb6de9c0dce62cfd37bf3ab7e8cbe
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/Matchers.cpp
    M clang-tools-extra/clang-tidy/utils/Matchers.h

  Log Message:
  -----------
  [clang-tidy] `matchesAnyListedTypeName` support non canonical types (#134869)


  Commit: 06814834a63139ff27efe3bdbc6dc15d46666b39
      https://github.com/llvm/llvm-project/commit/06814834a63139ff27efe3bdbc6dc15d46666b39
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/UnintendedCharOstreamOutputCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/UnintendedCharOstreamOutputCheck.h
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/unintended-char-ostream-output.rst
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/unintended-char-ostream-output-allowed-types.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/unintended-char-ostream-output-cast-type.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/unintended-char-ostream-output.cpp

  Log Message:
  -----------
  [clang-tidy] treat unsigned char and signed char as char type by default in bugprone-unintended-char-ostream-output (#134870)

Add `AllowedTypes` options to support custom defined char like type.
treat `unsigned char` and `signed char` as char like type by default.
The allowed types only effect when the var decl or explicit cast to this
non-canonical type names.

Fixed: #133425


  Commit: 734660b6dd95d37604ac43f43de4f8da518e7319
      https://github.com/llvm/llvm-project/commit/734660b6dd95d37604ac43f43de4f8da518e7319
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/lib/MC/ELFObjectWriter.cpp

  Log Message:
  -----------
  ELFObjectWriter: Simplify STT_SECTION adjustment


  Commit: 19730e37ec5d3513d188a75999c964f2ef4b9509
      https://github.com/llvm/llvm-project/commit/19730e37ec5d3513d188a75999c964f2ef4b9509
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRELFObjectWriter.cpp
    M llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZELFObjectWriter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp

  Log Message:
  -----------
  ELFObjectWriter: Make .reloc test generic

Move `Fixup.getKind() >= FirstLiteralRelocationKind` from target hooks
to ELFObjectWriter::recordRelocation.

Currently, getRelocType cannot be skipped for LoongArch due to #135519


  Commit: 6196379baf4fe42b6c1a4bea270df39b7152547b
      https://github.com/llvm/llvm-project/commit/6196379baf4fe42b6c1a4bea270df39b7152547b
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp

  Log Message:
  -----------
  [PowerPC] Fix -Wunused-variable


  Commit: 7940b0546ba0c28990bc059c8c3ec36fdad0fd0a
      https://github.com/llvm/llvm-project/commit/7940b0546ba0c28990bc059c8c3ec36fdad0fd0a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M bolt/lib/Core/BinaryContext.cpp

  Log Message:
  -----------
  [BOLT] Fix warning

This patch fixes:

  bolt/lib/Core/BinaryContext.cpp:582:8: error: unused variable
  'printEntryDiagnostics' [-Werror,-Wunused-variable]

  bolt/lib/Core/BinaryContext.cpp:842:10: error: unused variable
  'isSibling' [-Werror,-Wunused-variable]


  Commit: f4fba20726aced418dc7ae24e47ee78f109a64cb
      https://github.com/llvm/llvm-project/commit/f4fba20726aced418dc7ae24e47ee78f109a64cb
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M lldb/include/lldb/API/SBReproducer.h
    M lldb/include/lldb/Core/Debugger.h
    R lldb/scripts/reproducer-replay.py
    M lldb/source/API/SBReproducer.cpp
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/unittests/Core/DiagnosticEventTest.cpp
    M lldb/unittests/Interpreter/TestCommandPaths.cpp
    M lldb/unittests/Platform/PlatformSiginfoTest.cpp
    M lldb/unittests/Process/ProcessEventDataTest.cpp
    M lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp
    M lldb/unittests/Target/ExecutionContextTest.cpp
    M lldb/unittests/Target/MemoryTest.cpp
    M lldb/unittests/Target/StackFrameRecognizerTest.cpp
    M lldb/unittests/Thread/ThreadTest.cpp

  Log Message:
  -----------
  [lldb] Remove vestigial remnants of reproducers (#135361)

Not touching the SB API.


  Commit: d6e2aee9b1069b4a5fc1a0b07aef23b380f856f6
      https://github.com/llvm/llvm-project/commit/d6e2aee9b1069b4a5fc1a0b07aef23b380f856f6
  Author: Thurston Dang <thurston at google.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir

  Log Message:
  -----------
  Revert "[tosa]: canonicalize dynamic size of tosa.slice to static output shape" (#135525)

Reverts llvm/llvm-project#135429 due buildbot breakage:
https://lab.llvm.org/buildbot/#/builders/169/builds/10405

Based on the ASan output, I think after the replaceOp on line 775, it's
no longer valid to do getSize() on sliceOp:
```
   775      rewriter.replaceOp(sliceOp, newSliceOp.getResult());
   776
   777      // Remove const_shape size op when it no longer has use point.
   778      Operation *sizeConstShape = sliceOp.getSize().getDefiningOp();
```


  Commit: 12a7155ee290d62fef00362554b392a98b75fb77
      https://github.com/llvm/llvm-project/commit/12a7155ee290d62fef00362554b392a98b75fb77
  Author: Christian Sigg <csigg at google.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

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

  Log Message:
  -----------
  [mlir][bazel] Port mlir-translate bits of acf964b95f54.


  Commit: 5c45e239e81972ec3ff84b1650825385ccad0d46
      https://github.com/llvm/llvm-project/commit/5c45e239e81972ec3ff84b1650825385ccad0d46
  Author: A. Jiang <de34 at live.cn>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M libcxx/test/std/containers/container.adaptors/flat.map/flat.map.iterators/reverse_iterator.pass.cpp
    M libcxx/test/std/containers/container.adaptors/flat.multimap/flat.multimap.iterators/reverse_iterator.pass.cpp
    M libcxx/test/std/containers/container.adaptors/flat.multiset/flat.multiset.iterators/reverse_iterator.pass.cpp
    M libcxx/test/std/containers/container.adaptors/flat.set/flat.set.iterators/reverse_iterator.pass.cpp

  Log Message:
  -----------
  [libc++][test][NFC] Remove unused inclusions of `<iostream>` (#134776)

Some test files for flat container adaptors redundantly include
`<iostream>` and, surprisingly, `<cstddef>`. This patch removes the
redundant inclusions.

Inclusions of `<vector>` is also removed since a sane implementation is
expected to make instantiation of `flat_(multi)map<K, V>` or
`flat_(multi)set<K>` valid when only `<flat_map>` or `<flat_set>` is
included.


  Commit: 028429ac452acde227ae0bfafbfe8579c127e1ea
      https://github.com/llvm/llvm-project/commit/028429ac452acde227ae0bfafbfe8579c127e1ea
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/ROCm.h
    M clang/test/Driver/amdgpu-openmp-toolchain.c
    M clang/test/Driver/hip-device-libs.hip
    M clang/test/Driver/rocm-device-libs.cl

  Log Message:
  -----------
  clang/AMDGPU: Stop looking for oclc_daz_opt_* control libraries (#134805)

These have been empty since July 2023


  Commit: 1c5ce2d74fa3ee15d1cb2e092cce0754c8ce19fa
      https://github.com/llvm/llvm-project/commit/1c5ce2d74fa3ee15d1cb2e092cce0754c8ce19fa
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
    M lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp

  Log Message:
  -----------
  Reapply "[lldb] ProcessGdbRemote header gardning"

This reverts commit 68ab45f0533f3bbfc1c96bddd53de7e769180219, reapplying
2fd860c1f559c0b0be66cc000e38270a04d0a1a3. The only change is keeping
"lldb/Host/Config.h", which I believe was the cause of the failures.


  Commit: ca5b3a0f51baa6fddef4d888bf0aacca89e6f565
      https://github.com/llvm/llvm-project/commit/ca5b3a0f51baa6fddef4d888bf0aacca89e6f565
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCSymbol.h
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCParser/MasmParser.cpp

  Log Message:
  -----------
  [MC] Remove SetUsed on isUndefined and getFragment

Due to the known limitations of .set reassignment (see
https://sourceware.org/PR288), we use diagnostics to reject patterns
that could lead to errors (ae7ac010594f693fdf7b3ab879e196428d961e75 2009-06)).

This code gets refined multiple times, see:

* 9b4a824217f1fe23f83045afe7521acb791bc2d0 (2010-05) `IsUsedInExpr`
* 46c79ef1132607aead144dfda0f26aa8b065214f (2010-11) renamed `IsUsedInExpr` to `IsUsed`

The related `SetUsed` bit seems unnecessary nowadays.


  Commit: 1004fae222efeee215780c4bb4e64eb82b07fb4f
      https://github.com/llvm/llvm-project/commit/1004fae222efeee215780c4bb4e64eb82b07fb4f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M flang/test/Driver/omp-driver-offload.f90

  Log Message:
  -----------
  flang: Try to update test for oclc_daz_opt removal

Try to fix bot failure after 028429ac452acde227ae0bfafbfe8579c127e1ea


  Commit: 4e0876ee43d00c5fc28ed30bcb7c1aac2b18674f
      https://github.com/llvm/llvm-project/commit/4e0876ee43d00c5fc28ed30bcb7c1aac2b18674f
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M libcxx/include/__atomic/memory_order.h
    M libcxx/include/__functional/hash.h
    M libcxx/include/__type_traits/underlying_type.h
    M libcxx/include/__utility/convert_to_integral.h
    M libcxx/include/__utility/to_underlying.h
    M libcxx/include/future

  Log Message:
  -----------
  [libc++] Use __underlying_type directly in underyling_type_t (#135423)

This avoids instantiating multiple classes, reducing compile times. This
patch also introduces `__underyling_type_t` for internal use, similar to
other type traits.


  Commit: 3bebda0758409e91c25fa5add72ff22f3ddff609
      https://github.com/llvm/llvm-project/commit/3bebda0758409e91c25fa5add72ff22f3ddff609
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h

  Log Message:
  -----------
  [VPlan] Mark VPWidenCallRecipe as a VPRecipeWithIRFlags (#135373)

I noticed VPWidenCallRecipe was missing here, it looks like it should be
handled in VPRecipeWithIRFlags::classof


  Commit: 84666d68740bea9eee19399ab5c8622ff2f6e9ca
      https://github.com/llvm/llvm-project/commit/84666d68740bea9eee19399ab5c8622ff2f6e9ca
  Author: Sean Perry <perry at ca.ibm.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M clang/lib/Basic/SourceManager.cpp

  Log Message:
  -----------
  Add back include for AutoConvert.h as it's needed for z/OS (#135430)

The commit
https://github.com/llvm/llvm-project/commit/a1935fd3809772c06f9a09fa151181642ae92b20
removed an include that is needed when building on z/OS.


  Commit: beac727e48346efb84558696fb080b1bbd07e234
      https://github.com/llvm/llvm-project/commit/beac727e48346efb84558696fb080b1bbd07e234
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/IROutliner.cpp

  Log Message:
  -----------
  IROutliner: Do not look at use lists of constant phi inputs (#135019)

Theoretically this does a worse job with globals but this is not
covered by existing tests


  Commit: 09588e93bbe486ce782de9fba604f5cd184ec446
      https://github.com/llvm/llvm-project/commit/09588e93bbe486ce782de9fba604f5cd184ec446
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

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

  Log Message:
  -----------
  [clang][bytecode] Fix an inconsistency with loop condition jumps (#135530)

When emitting the jump for e.g. a for loop condition, we used to jump
out of the CondScope, leaving the scope initialized, because we skipped
the corresponding Destroy opcode. If that loop was in a loop itself,
that outer loop could then iterate once more, leading to us initializing
a scope that was still initialized.
Fix this by also destroying the scope after the EndLabel.


  Commit: 0f607f3df54e22896b484510f0c1ccfb718de67a
      https://github.com/llvm/llvm-project/commit/0f607f3df54e22896b484510f0c1ccfb718de67a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/SystemZ/pr47665.ll
    M llvm/test/Transforms/LoopVectorize/X86/constant-fold.ll

  Log Message:
  -----------
  [VPlan] Simplify 'or x, true' -> true.

Add additional OR simplification to fix a divergence between legacy and
VPlan-based cost model.

This adds a new m_AllOnes matcher by generalizing specific_intval to
int_pred_ty, which takes a predicate to check to support matching both
specific APInts and other APInt predices, like isAllOnes.

Fixes https://github.com/llvm/llvm-project/issues/131359.


  Commit: ed43207306f7351f2b4f8284710b028df973d74e
      https://github.com/llvm/llvm-project/commit/ed43207306f7351f2b4f8284710b028df973d74e
  Author: Andreas Jonson <andjo403 at hotmail.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
    M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table_big.ll
    M llvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest.ll

  Log Message:
  -----------
  [SimplifyCFG] Handle trunc condition in foldBranchToCommonDest. (#135490)

proof: https://alive2.llvm.org/ce/z/v32Aof


  Commit: 77fcdb9f26d2d9da04767894b23b71e52e5ac7ce
      https://github.com/llvm/llvm-project/commit/77fcdb9f26d2d9da04767894b23b71e52e5ac7ce
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp

  Log Message:
  -----------
  [Scalar] Avoid repeated hash lookups (NFC) (#132660)


  Commit: bb9580a02b393683ff0b6c360df684f33c715a1f
      https://github.com/llvm/llvm-project/commit/bb9580a02b393683ff0b6c360df684f33c715a1f
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    A llvm/test/Analysis/ScalarEvolution/pr135531.ll

  Log Message:
  -----------
  [SCEV] Use ashr to adjust constant multipliers (#135534)

SCEV converts "-2 *nsw (i32 V)" into "2148473647 *nsw (i32 V)". But we
cannot preserve the nsw flag when the constant multiplier is negative.
This patch changes lshr to ashr so that we can preserve both nsw and nuw
flags.

Alive2 proof: https://alive2.llvm.org/ce/z/LZVSEa
Closes https://github.com/llvm/llvm-project/issues/135531.


  Commit: 5550d302288f95fc9bb91d0ba35e5ca459ffd9b1
      https://github.com/llvm/llvm-project/commit/5550d302288f95fc9bb91d0ba35e5ca459ffd9b1
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/SystemZ/pr47665.ll
    M llvm/test/Transforms/LoopVectorize/X86/constant-fold.ll

  Log Message:
  -----------
  [VPlan] Check captured operand when simplifying redundant OR.

Follow-up to 0f607f to actually use the captured operand X instead of Y.


  Commit: 703cfe745b96751c1204bcffe4e56038c809247f
      https://github.com/llvm/llvm-project/commit/703cfe745b96751c1204bcffe4e56038c809247f
  Author: Peng Liu <winner245 at hotmail.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M libcxx/include/__bit/popcount.h
    M libcxx/include/__stop_token/atomic_unique_lock.h

  Log Message:
  -----------
  [libc++] Replace __libcpp_popcount by __builtin_popcountg (#133937)

`__libcpp_popcount` was previously used as a fallback for `__builtin_popcountg` to ensure compatibility with older compilers (Clang 18 and earlier), as `__builtin_popcountg` became available in Clang 19. Now that support for Clang 18 has been officially dropped in #130142, we can now safely  replace all instances of `__libcpp_popcount` with `__builtin_popcountg` and eliminate the fallback logic.


  Commit: 62d2cc84ac57afa47c2b1de599f9fd6e40adaacd
      https://github.com/llvm/llvm-project/commit/62d2cc84ac57afa47c2b1de599f9fd6e40adaacd
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp

  Log Message:
  -----------
  [CodeGen] Avoid repeated hash lookups (NFC) (#135540)


  Commit: 4b4cd645a829b8e510bdb008f449969d7bf53c30
      https://github.com/llvm/llvm-project/commit/4b4cd645a829b8e510bdb008f449969d7bf53c30
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp

  Log Message:
  -----------
  [ExecutionEngine] Avoid repeated map lookups (NFC) (#135541)


  Commit: d1d5f00a8eb43aaa22274c06b58d567f19e284fe
      https://github.com/llvm/llvm-project/commit/d1d5f00a8eb43aaa22274c06b58d567f19e284fe
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

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

  Log Message:
  -----------
  [Passes] Avoid repeated hash lookups (NFC) (#135542)


  Commit: ccfb97b42174eab118a4e4222c25e986db876563
      https://github.com/llvm/llvm-project/commit/ccfb97b42174eab118a4e4222c25e986db876563
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/ROCm.h
    M clang/test/Driver/amdgpu-openmp-toolchain.c
    M clang/test/Driver/hip-device-libs.hip
    M clang/test/Driver/rocm-device-libs.cl
    M flang/test/Driver/omp-driver-offload.f90

  Log Message:
  -----------
  Revert "clang/AMDGPU: Stop looking for oclc_daz_opt_* control libraries (#134805)"

This reverts commit 028429ac452acde227ae0bfafbfe8579c127e1ea and
1004fae222efeee215780c4bb4e64eb82b07fb4f.

These really need to be part of the compiler distribution. Bots are
relying on a nearly year old version to provide bitcode.


  Commit: 1264d7a53a4de3094672be2a248db57b213f33ac
      https://github.com/llvm/llvm-project/commit/1264d7a53a4de3094672be2a248db57b213f33ac
  Author: Daniel Chen <cdchen at ca.ibm.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Driver/ToolChain.h
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/AIX.cpp
    M clang/lib/Driver/ToolChains/AIX.h
    M clang/lib/Driver/ToolChains/PPCLinux.cpp
    M clang/lib/Driver/ToolChains/PPCLinux.h
    M flang/test/Driver/flang-ld-powerpc.f90
    M flang/test/Driver/linker-flags.f90

  Log Message:
  -----------
  [driver] Generalize the code that adds the path of libflang_rt.runtime.a. (#134362)

The PR is to generalize the re-use of the `compilerRT` code of adding
the path of `libflang_rt.runtime.a (so)` from AIX and LoP only to all
platforms via a new function `addFlangRTLibPath`.

It also added `-static-libflangrt` and `-shared-libflangrt` compiler
options to allow users choosing which `flang-rt` to link to. It defaults
to shared `flang-rt`, which is consistent with the linker behavior,
except on AIX, it defaults to static.

Also, PR #134320 exposed an issue in PR #131041 that the the overriding
`addFortranRuntimeLibs` is missing the link to `libquadmath`. This PR
also fixed that and restored the test case that PR #131041 broke.


  Commit: 578ca5e469ef1c91a79aa15bc186921ee7faa855
      https://github.com/llvm/llvm-project/commit/578ca5e469ef1c91a79aa15bc186921ee7faa855
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Disasm.cpp
    M clang/utils/TableGen/ClangOpcodesEmitter.cpp

  Log Message:
  -----------
  [clang][bytecode] Print jump lines in Function::dump() (#135482)

E.g. for
```c++
constexpr int foo(int b) {
  int a = 1+1;

  for (int i = 0; i < b; ++i) {
    ++a;
  }
  return a;
}
```

we now print:
```
foo 0x7cc8d4bf0580
frame size: 128
arg size:   8
rvo:        0
this arg:   0
0      InitScope         0
16     ConstSint32       1
32     ConstSint32       1
48     AddSint32
56     SetLocalSint32    40
72     ConstSint32       0
88     SetLocalSint32    104
104    GetPtrLocal       104         <-+
120    LoadPopSint32                   |
128    GetPtrParam       0             |
144    LoadPopSint32                   |
152    LTSint32                        |
160    Jf                80     --+    |
176    GetPtrLocal       40       |    |
192    IncPopSint32      1        |    |
208    GetPtrLocal       104      |    |
224    IncPopSint32      1        |    |
240    Jmp               -152     |  --+
256    GetPtrLocal       40     <-+
272    LoadPopSint32
280    Destroy           0
296    RetSint32
304    Destroy           0
320    NoRet
```


  Commit: ce01e4e2f6cb2a1c37e3acceeac931b2031a02e8
      https://github.com/llvm/llvm-project/commit/ce01e4e2f6cb2a1c37e3acceeac931b2031a02e8
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/test/CodeGenOpenCL/addr-space-struct-arg.cl
    M clang/test/CodeGenOpenCL/amdgpu-abi-struct-arg-byref.cl
    M clang/test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl
    M clang/test/CodeGenOpenCL/opencl-kernel-call.cl

  Log Message:
  -----------
  [Clang][OpenCL][AMDGPU] Use `byref` for aggregate OpenCL kernel arguments (#134892)

Due to a previous workaround allowing kernels to be called from other
functions,
Clang currently doesn't use the `byref` attribute for aggregate kernel
arguments. The issue was recently resolved in
https://github.com/llvm/llvm-project/pull/115821. With that fix, we can
now
enable the use of `byref` consistently across all languages.

Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>

Fixes SWDEV-247226.

Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>


  Commit: db20b0d4ec96e4dee0b5ca6e7ddd616eafd88d40
      https://github.com/llvm/llvm-project/commit/db20b0d4ec96e4dee0b5ca6e7ddd616eafd88d40
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/test/Transforms/ObjCARC/contract.ll

  Log Message:
  -----------
  ObjCARC: Add regressed testcase from #134275


  Commit: a24ef4b07ee798b14fe0f3daa23cc3ec09410bc6
      https://github.com/llvm/llvm-project/commit/a24ef4b07ee798b14fe0f3daa23cc3ec09410bc6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/sincospi.ll

  Log Message:
  -----------
  SimplifyLibCalls: Skip sincospi optimization for ConstantData (#134688)

Avoids looking at the uselist, and it would probably be more
productive to constant fold this.


  Commit: b37476f99c37a9edf48684d82dde745d9e0df957
      https://github.com/llvm/llvm-project/commit/b37476f99c37a9edf48684d82dde745d9e0df957
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/Analysis/PHITransAddr.cpp
    M llvm/test/Transforms/GVN/pr65447.ll

  Log Message:
  -----------
  PHITransAddr: Avoid looking at constant use lists (#134689)

Avoids asserts in GVN


  Commit: 393c783a10052b14d2b76b3ee930b3d83e7f1a16
      https://github.com/llvm/llvm-project/commit/393c783a10052b14d2b76b3ee930b3d83e7f1a16
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LICM.cpp
    M llvm/test/CodeGen/AMDGPU/swdev380865.ll
    M llvm/test/CodeGen/PowerPC/pr43527.ll
    M llvm/test/CodeGen/PowerPC/pr48519.ll
    M llvm/test/CodeGen/PowerPC/sms-grp-order.ll
    M llvm/test/Transforms/LICM/pr50367.ll
    M llvm/test/Transforms/LICM/pr59324.ll

  Log Message:
  -----------
  LICM: Avoid looking at use list of constant data (#134690)

The codegen test changes seem incidental. Either way,
sms-grp-order.ll seems to already not hit the original issue.


  Commit: 30ae47eeefaeb2c78ae7f234621b8bb0444b7844
      https://github.com/llvm/llvm-project/commit/30ae47eeefaeb2c78ae7f234621b8bb0444b7844
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

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

  Log Message:
  -----------
  SCEVExpander: Don't look at uses of constants (#134691)

This could be more relaxed, and look for uses of globals in
the same function but no tests apparently depend on that.


  Commit: 0a27c4e318e778b520306a9e2102e03023cfaa33
      https://github.com/llvm/llvm-project/commit/0a27c4e318e778b520306a9e2102e03023cfaa33
  Author: Reid Kleckner <rnk at google.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M llvm/cmake/modules/TableGen.cmake
    M llvm/include/llvm/TableGen/Main.h
    M llvm/include/llvm/TableGen/StringToOffsetTable.h
    M llvm/lib/TableGen/CMakeLists.txt
    M llvm/lib/TableGen/Main.cpp
    A llvm/lib/TableGen/StringToOffsetTable.cpp
    M llvm/utils/TableGen/AsmMatcherEmitter.cpp
    M llvm/utils/TableGen/Basic/SequenceToOffsetTable.h
    M llvm/utils/TableGen/Basic/TableGen.cpp
    M llvm/utils/TableGen/SDNodeInfoEmitter.cpp
    M llvm/utils/gn/secondary/llvm/lib/TableGen/BUILD.gn

  Log Message:
  -----------
  [StrTable] Use string literal emission for intrinsics on non-MSVC platforms (#124856)

This mainly transitions the LLVM intrinsic string table from character
emission to string literal emission, which I confirmed happens for me
locally.

I moved the guts of StringToOffsetTable to a cpp file so I could move
the `EmitLongStrLiterals` cl::opt global to a non-vague linkage home in
the `TableGen` library. I had to add missing FormatVariadic.h includes
to account for moving other includes to a cpp file.


  Commit: 5f11d64cfb44fc0adf3d3235b0e480d930379e9d
      https://github.com/llvm/llvm-project/commit/5f11d64cfb44fc0adf3d3235b0e480d930379e9d
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M clang/lib/Format/WhitespaceManager.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Fix a bug in AlignConsecutiveDeclarations (#135516)

Fix #109768


  Commit: c41ef751f85ee42f40380d064f44cfd347fb6215
      https://github.com/llvm/llvm-project/commit/c41ef751f85ee42f40380d064f44cfd347fb6215
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Treat lambda in braced init as inline (#135520)

Fix #125430


  Commit: 8cb022cb5daeaaaaa47f51a31774851af6712d88
      https://github.com/llvm/llvm-project/commit/8cb022cb5daeaaaaa47f51a31774851af6712d88
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M .mailmap
    M bolt/lib/Core/BinaryContext.cpp
    M clang-tools-extra/clang-tidy/bugprone/UnintendedCharOstreamOutputCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/UnintendedCharOstreamOutputCheck.h
    M clang-tools-extra/clang-tidy/utils/Matchers.cpp
    M clang-tools-extra/clang-tidy/utils/Matchers.h
    M clang-tools-extra/clangd/AST.cpp
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/unintended-char-ostream-output.rst
    M clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Calculator.h
    M clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
    M clang-tools-extra/test/clang-doc/basic-project.test
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/unintended-char-ostream-output-allowed-types.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/unintended-char-ostream-output-cast-type.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/unintended-char-ostream-output.cpp
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/PropertiesBase.td
    M clang/include/clang/AST/TemplateBase.h
    M clang/include/clang/AST/Type.h
    M clang/include/clang/AST/TypeProperties.td
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Driver/ToolChain.h
    M clang/include/clang/Format/Format.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTDiagnostic.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/ASTStructuralEquivalence.cpp
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Compiler.h
    M clang/lib/AST/ByteCode/Disasm.cpp
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/AST/QualTypeNames.cpp
    M clang/lib/AST/TemplateBase.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/Basic/SourceManager.cpp
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/AIX.cpp
    M clang/lib/Driver/ToolChains/AIX.h
    M clang/lib/Driver/ToolChains/PPCLinux.cpp
    M clang/lib/Driver/ToolChains/PPCLinux.h
    M clang/lib/Format/BreakableToken.cpp
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/UnwrappedLineFormatter.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Format/WhitespaceManager.cpp
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaLookup.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/lib/Sema/SemaTemplateVariadic.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/test/CXX/class.derived/class.derived.general/p2.cpp
    M clang/test/CXX/temp/temp.decls/temp.class.spec/p6.cpp
    M clang/test/CodeGenOpenCL/addr-space-struct-arg.cl
    M clang/test/CodeGenOpenCL/amdgpu-abi-struct-arg-byref.cl
    M clang/test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl
    M clang/test/CodeGenOpenCL/opencl-kernel-call.cl
    M clang/test/SemaCXX/undefined-partial-specialization.cpp
    M clang/test/SemaTemplate/make_integer_seq.cpp
    M clang/test/SemaTemplate/type_pack_element.cpp
    M clang/unittests/AST/TypePrinterTest.cpp
    M clang/unittests/Format/CleanupTest.cpp
    M clang/unittests/Format/FormatTest.cpp
    M clang/utils/TableGen/ClangOpcodesEmitter.cpp
    M flang/test/Driver/flang-ld-powerpc.f90
    M flang/test/Driver/linker-flags.f90
    M libcxx/include/__algorithm/sort.h
    M libcxx/include/__atomic/memory_order.h
    M libcxx/include/__bit/bit_log2.h
    M libcxx/include/__bit/popcount.h
    M libcxx/include/__functional/hash.h
    M libcxx/include/__stop_token/atomic_unique_lock.h
    M libcxx/include/__tree
    M libcxx/include/__type_traits/underlying_type.h
    M libcxx/include/__utility/convert_to_integral.h
    M libcxx/include/__utility/to_underlying.h
    M libcxx/include/future
    M libcxx/test/std/containers/container.adaptors/flat.map/flat.map.iterators/reverse_iterator.pass.cpp
    M libcxx/test/std/containers/container.adaptors/flat.multimap/flat.multimap.iterators/reverse_iterator.pass.cpp
    M libcxx/test/std/containers/container.adaptors/flat.multiset/flat.multiset.iterators/reverse_iterator.pass.cpp
    M libcxx/test/std/containers/container.adaptors/flat.set/flat.set.iterators/reverse_iterator.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_append/initializer_list.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_assign/string.pass.cpp
    M libcxx/test/support/nasty_string.h
    M lldb/include/lldb/API/SBReproducer.h
    M lldb/include/lldb/Core/Debugger.h
    R lldb/scripts/reproducer-replay.py
    M lldb/source/API/SBReproducer.cpp
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/unittests/Core/DiagnosticEventTest.cpp
    M lldb/unittests/Interpreter/TestCommandPaths.cpp
    M lldb/unittests/Platform/PlatformSiginfoTest.cpp
    M lldb/unittests/Process/ProcessEventDataTest.cpp
    M lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
    M lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp
    M lldb/unittests/Target/ExecutionContextTest.cpp
    M lldb/unittests/Target/MemoryTest.cpp
    M lldb/unittests/Target/StackFrameRecognizerTest.cpp
    M lldb/unittests/Thread/ThreadTest.cpp
    M llvm/cmake/modules/TableGen.cmake
    M llvm/include/llvm/MC/MCELFObjectWriter.h
    M llvm/include/llvm/MC/MCSymbol.h
    M llvm/include/llvm/TableGen/Main.h
    M llvm/include/llvm/TableGen/StringToOffsetTable.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Analysis/PHITransAddr.cpp
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
    M llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCParser/MasmParser.cpp
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/lib/TableGen/CMakeLists.txt
    M llvm/lib/TableGen/Main.cpp
    A llvm/lib/TableGen/StringToOffsetTable.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRELFObjectWriter.cpp
    M llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVFixupKinds.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoXqci.td
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZELFObjectWriter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/lib/Transforms/IPO/IROutliner.cpp
    M llvm/lib/Transforms/Scalar/LICM.cpp
    M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    A llvm/test/Analysis/ScalarEvolution/pr135531.ll
    M llvm/test/CodeGen/AMDGPU/swdev380865.ll
    M llvm/test/CodeGen/PowerPC/pr43527.ll
    M llvm/test/CodeGen/PowerPC/pr48519.ll
    M llvm/test/CodeGen/PowerPC/sms-grp-order.ll
    M llvm/test/MC/RISCV/rv32c-invalid.s
    M llvm/test/MC/RISCV/xqcilb-invalid.s
    M llvm/test/MC/RISCV/xqcilb-relocations.s
    A llvm/test/ThinLTO/AMDGPU/Inputs/in-f1.ll
    A llvm/test/ThinLTO/AMDGPU/force-import-all.ll
    A llvm/test/ThinLTO/AMDGPU/lit.local.cfg
    M llvm/test/Transforms/GVN/pr65447.ll
    M llvm/test/Transforms/InstCombine/sincospi.ll
    M llvm/test/Transforms/LICM/pr50367.ll
    M llvm/test/Transforms/LICM/pr59324.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/safe-dep-distance.ll
    M llvm/test/Transforms/LoopVectorize/SystemZ/pr47665.ll
    M llvm/test/Transforms/LoopVectorize/X86/constant-fold.ll
    M llvm/test/Transforms/ObjCARC/contract.ll
    M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
    M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table_big.ll
    M llvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest.ll
    M llvm/utils/TableGen/AsmMatcherEmitter.cpp
    M llvm/utils/TableGen/Basic/SequenceToOffsetTable.h
    M llvm/utils/TableGen/Basic/TableGen.cpp
    M llvm/utils/TableGen/SDNodeInfoEmitter.cpp
    M llvm/utils/gn/secondary/llvm/lib/TableGen/BUILD.gn
    M mlir/include/mlir/InitAllTranslations.h
    A mlir/include/mlir/Target/SMTLIB/ExportSMTLIB.h
    A mlir/include/mlir/Target/SMTLIB/Namespace.h
    A mlir/include/mlir/Target/SMTLIB/SymCache.h
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/lib/Target/CMakeLists.txt
    A mlir/lib/Target/SMTLIB/CMakeLists.txt
    A mlir/lib/Target/SMTLIB/ExportSMTLIB.cpp
    A mlir/test/Target/SMTLIB/array.mlir
    A mlir/test/Target/SMTLIB/attributes.mlir
    A mlir/test/Target/SMTLIB/bitvector-errors.mlir
    A mlir/test/Target/SMTLIB/bitvector.mlir
    A mlir/test/Target/SMTLIB/core-errors.mlir
    A mlir/test/Target/SMTLIB/core.mlir
    A mlir/test/Target/SMTLIB/integer-errors.mlir
    A mlir/test/Target/SMTLIB/integer.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

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

Created using spr 1.3.5-bogner

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/0ef44d5022c8...8cb022cb5dae

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