[all-commits] [llvm/llvm-project] 7e5bc7: [libc++] Fix UB in filesystem::__copy for non-exis...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jun 12 21:06:22 PDT 2024


  Branch: refs/heads/users/MaskRay/spr/mc-add-mcfragment-allocation-helpers
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e5bc71514c7428ab791b187d5cbf8215afd5a87
      https://github.com/llvm/llvm-project/commit/7e5bc71514c7428ab791b187d5cbf8215afd5a87
  Author: Afanasyev Ivan <ivafanas at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M libcxx/src/filesystem/operations.cpp

  Log Message:
  -----------
  [libc++] Fix UB in filesystem::__copy for non-existent destination. (#87615)

The lstat/stat/fstat functions have no guarantee whether the `struct stat`
buffer is changed or not on failure. The filesystem::__copy function assumes
that the `struct stat` buffer is not updated on failure, which is not
necessarily correct.

It appears that for a non-existing destination `detail::posix_lstat(to,
t_st, &m_ec1)` returns a failure indicator and overwrites the `struct stat`
buffer with a garbage value, which is accidentally equal to the `f_st` from
stack internals from the previous `detail::posix_lstat(from, f_st, &m_ec1)` 
call.

file_type::not_found is a known status, so checking against 
`if (not status_known(t))` passes spuriously and execution continues.
Then the __copy function returns errc::function_not_supported because stats
are accidentally equivalent, which is incorrect.

Before checking for `detail::stat_equivalent`, we instead need to make sure 
that the call to lstat/stat/fstat was successful.

As a result of `f_st` and `t_st` not being accessed anymore without checking 
for the lstat/stat/fstat success indicator, it is not needed to zero-initialize 
them.


  Commit: 4748b494e1aa47a8f9d6ea00a80d3f24f419f18a
      https://github.com/llvm/llvm-project/commit/4748b494e1aa47a8f9d6ea00a80d3f24f419f18a
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M libcxx/include/__atomic/atomic_sync.h
    M libcxx/include/barrier
    M libcxx/src/atomic.cpp
    M libcxx/src/barrier.cpp

  Log Message:
  -----------
  [libc++] Mark a few functions in the dylib as noexcept (#94098)

This avoids generating landing pads in some of the `atomic` functions
that will never be used, since these functions never throw exceptions.


  Commit: 307d91ee62f27e8f1c6ac27fdf014001ab1f4484
      https://github.com/llvm/llvm-project/commit/307d91ee62f27e8f1c6ac27fdf014001ab1f4484
  Author: Monad <yanwqmonad at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/test/Preprocessor/riscv-target-features.c
    M llvm/docs/RISCVUsage.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVSystemOperands.td
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/MC/RISCV/attribute-arch.s
    M llvm/test/MC/RISCV/supervisor-csr-names.s
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Add smcdeleg and ssccfg extensions (#95163)

Specification:
https://github.com/riscv/riscv-isa-manual/blob/main/src/smcdeleg.adoc

`Ssccfg` introduces one new CSR `scountinhibit`.


  Commit: 1b66306c9c1adce20e2f3cfb1df0af2fb6a10318
      https://github.com/llvm/llvm-project/commit/1b66306c9c1adce20e2f3cfb1df0af2fb6a10318
  Author: NMiehlbradt <nicholas at miehlbradt.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Linux.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    A llvm/test/Instrumentation/MemorySanitizer/PowerPC/kernel-ppc64le.ll

  Log Message:
  -----------
  [KMSAN] Enable on PowerPC64 (#73611)

Enable -fsanitize=kernel-memory support in Clang.

Add tests.

---------

Co-authored-by: Nicholas Miehlbradt <nicholas at linux.ibm.com>


  Commit: 3bd9d4dedf11bb1d62f72e7602412db335a768d4
      https://github.com/llvm/llvm-project/commit/3bd9d4dedf11bb1d62f72e7602412db335a768d4
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll

  Log Message:
  -----------
  [msan] Implement shadow propagation for _mm_dp_pd, _mm_dp_ps, _mm256_dp_ps (#94875)

Default intrinsic handling was to report any
uninitialized part of argument. However intrinsics
use mask which allow to ignore parts of input, so
it's OK to have vectors partially initialized.


  Commit: 9a2c8418695ca302c85ec398cc8ed58653729461
      https://github.com/llvm/llvm-project/commit/9a2c8418695ca302c85ec398cc8ed58653729461
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86FastPreTileConfig.cpp
    M llvm/lib/Target/X86/X86FastTileConfig.cpp
    M llvm/lib/Target/X86/X86PreTileConfig.cpp
    M llvm/lib/Target/X86/X86TileConfig.cpp

  Log Message:
  -----------
  [X86] Early exit MIR AMX passes when AMX is unused (#94989)

Follow-up of #94358. Do the checks even before calling getRegisterInfo
etc., because some of these are virtual function calls.


  Commit: 55bc04f67be1c61573acd03c70f6eee2ec764dc0
      https://github.com/llvm/llvm-project/commit/55bc04f67be1c61573acd03c70f6eee2ec764dc0
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86FastTileConfig.cpp
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/lib/Target/X86/X86MachineFunctionInfo.h
    M llvm/lib/Target/X86/X86PreTileConfig.cpp

  Log Message:
  -----------
  [X86] Replace hasVirtualTileReg with AMXProgModel (#95105)

Cleanup after AMXProgModel introduction. AMXProgModel is ManagedRA
whenever virtual tile registers exist at some point.


  Commit: 93d4fb032ec1e069cfa5b800f3ca1c807f0d87ac
      https://github.com/llvm/llvm-project/commit/93d4fb032ec1e069cfa5b800f3ca1c807f0d87ac
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/AST/Interp/records.cpp

  Log Message:
  -----------
  [clang][Interp] Support floats in APValues


  Commit: c012e487b7246239c31bd378ab074fb110631186
      https://github.com/llvm/llvm-project/commit/c012e487b7246239c31bd378ab074fb110631186
  Author: Johannes de Fine Licht <johannes at musicmedia.dk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M mlir/docs/Dialects/LLVM.md
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Conversion/SPIRVToLLVM/func-ops-to-llvm.mlir
    M mlir/test/Dialect/LLVMIR/inlining.mlir
    M mlir/test/Dialect/LLVMIR/invalid.mlir
    M mlir/test/Target/LLVMIR/Import/function-attributes.ll
    M mlir/test/Target/LLVMIR/llvmir-invalid.mlir
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Promote noinline/alwaysinline/optnone out of passthrough (#95110)

The `noinline`, `alwaysinline`, and `optnone` function attributes are
already being used in MLIR code for the LLVM inlining interface and in
some SPIR-V lowering, despite residing in the passthrough dictionary,
which is intended as exactly that -- a pass through MLIR -- and not to
model any actual semantics being handled in MLIR itself.

Promote the `noinline`, `alwaysinline`, and `optnone` attributes out of
the passthrough dictionary on `llvm.func` into first class unit
attributes, updating the import and export accordingly.

Add a verifier to `llvm.func` that checks that these attributes are not
set in an incompatible way according to the LLVM specification.

Update the LLVM dialect inlining interface to use the first class
attributes to check whether inlining is possible.


  Commit: 4b24c2dfb5c02896ec2e9855ac72eb0771d0764d
      https://github.com/llvm/llvm-project/commit/4b24c2dfb5c02896ec2e9855ac72eb0771d0764d
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachinePostDominators.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/MIRSampleProfile.cpp
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp
    M llvm/lib/CodeGen/MachinePostDominators.cpp
    M llvm/lib/CodeGen/MachineRegionInfo.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/lib/CodeGen/ShrinkWrap.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelDivergenceLowering.cpp
    M llvm/lib/Target/AMDGPU/R600MachineCFGStructurizer.cpp
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
    M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
    M llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
    M llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
    M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp

  Log Message:
  -----------
  [CodeGen][NewPM] Split `MachinePostDominators` into a concrete analysis result (#95113)

`MachinePostDominators` version of #94571.


  Commit: 2fe72385a4964f80e7a1c5abcd426455e4127c03
      https://github.com/llvm/llvm-project/commit/2fe72385a4964f80e7a1c5abcd426455e4127c03
  Author: Monad <yanwqmonad at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/test/Preprocessor/riscv-target-features.c
    M llvm/docs/RISCVUsage.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVSystemOperands.td
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/MC/RISCV/attribute-arch.s
    M llvm/test/MC/RISCV/hypervisor-csr-names.s
    M llvm/test/MC/RISCV/machine-csr-names.s
    M llvm/test/MC/RISCV/supervisor-csr-names.s
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Add Smcsrind and Sscsrind extension (#93952)

Specification link:
https://github.com/riscv/riscv-isa-manual/blob/main/src/indirect-csr.adoc


Some CSRs (`*ireg` and `*iselect`) in Smcsrind/Sscsrind extensions are
originally defined as part of the Smaia/Ssaia extensions and are already
supported in LLVM. The missing CSRs (`*ireg2` to `*ireg6` for `m`, `s`,
and `vs`) are added in this PR.


  Commit: db096adba0f5d602587d0c90fb093cd12e706e5b
      https://github.com/llvm/llvm-project/commit/db096adba0f5d602587d0c90fb093cd12e706e5b
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
    M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
    M llvm/test/CodeGen/AMDGPU/wqm.ll

  Log Message:
  -----------
  [AMDGPU] Remove SIWholeQuadMode pseudo wavemode optimization (#94133)

This does not work correctly in divergent control flow. Can be replaced
with a later exec mask manipulation optimizer.

This reverts commit a3646ec1bc662e221c2a1d182987257c50958789.


  Commit: b83f8c75e4cccf25abbe4ad76406ba0c382bf336
      https://github.com/llvm/llvm-project/commit/b83f8c75e4cccf25abbe4ad76406ba0c382bf336
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir

  Log Message:
  -----------
  [mlir][vector] Update tests for collapse 2/n (nfc) (#94604)

The main goal of this PR (and subsequent PRs), is to add more tests with
scalable vectors to:
  * vector-transfer-collapse-inner-most-dims.mlir

Changes in this PR:

1. Renamed `@contiguous_inner_most_dim_bounds` as
   `@contiguous_inner_most_dim_with_subview`. This test was introduced
   to make sure that the `in_bounds` attribute is correctly preserved,
   but that's already verified by some earlier tests. The updated name
   highlights the differentiating factor of this test when compared to
   the other tests _currently_ present in the file, i.e. the presence of
   `memref.subview` in the input IR.

2. Renamed `@contiguous_inner_most_dim_out_of_bounds_2d` as
   `@negative_non_unit_inner_vec_dim`. While this test does contain an
   out-of-bounds access, the actual reason for the tested pattern to
   fail is the fact that the inner dim in the output vector is not "1".
   A complimentary test was added to verify that the pattern also fails
   when the source memref has non-unit trailing dim
   (`@negative_non_unit_inner_memref_dim`).

3. Renamed `@contiguous_inner_most_dim` as
   `@contiguous_inner_most_dim_non_zero_idxs` - this test verifies that
   the pattern works in the presence of non-zero idxs.

4. Added more tests for scalable vectors - this should cover all cases
   for `vector.transfer_read`.

NOTE: This PR is limited to tests for `vector.transfer_read`.

Follow-up for: #94490


  Commit: 5989450e0061dce8cff89d8acfdd5225c14cd065
      https://github.com/llvm/llvm-project/commit/5989450e0061dce8cff89d8acfdd5225c14cd065
  Author: The Phantom Derpstorm <phdofthehouse at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang-tools-extra/test/pp-trace/pp-trace-macro.cpp
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/AST/RecursiveASTVisitor.h
    M clang/include/clang/AST/TextNodeDumper.h
    M clang/include/clang/Basic/DiagnosticCommonKinds.td
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/FileManager.h
    M clang/include/clang/Basic/StmtNodes.td
    M clang/include/clang/Basic/TokenKinds.def
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Frontend/PreprocessorOutputOptions.h
    M clang/include/clang/Lex/PPCallbacks.h
    A clang/include/clang/Lex/PPDirectiveParameter.h
    A clang/include/clang/Lex/PPEmbedParameters.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Lex/PreprocessorOptions.h
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/lib/AST/Expr.cpp
    M clang/lib/AST/ExprClassification.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/StmtPrinter.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/Basic/FileManager.cpp
    M clang/lib/Basic/IdentifierTable.cpp
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/DependencyFile.cpp
    M clang/lib/Frontend/DependencyGraph.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Frontend/PrintPreprocessedOutput.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Lex/PPExpressions.cpp
    M clang/lib/Lex/PPMacroExpansion.cpp
    M clang/lib/Lex/TokenConcatenation.cpp
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Parse/ParseInit.cpp
    M clang/lib/Parse/ParseTemplate.cpp
    M clang/lib/Sema/SemaExceptionSpec.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    A clang/test/C/C2x/Inputs/bits.bin
    A clang/test/C/C2x/Inputs/boop.h
    A clang/test/C/C2x/Inputs/i.dat
    A clang/test/C/C2x/Inputs/jump.wav
    A clang/test/C/C2x/Inputs/s.dat
    A clang/test/C/C2x/n3017.c
    A clang/test/Preprocessor/Inputs/jk.txt
    A clang/test/Preprocessor/Inputs/media/art.txt
    A clang/test/Preprocessor/Inputs/media/empty
    A clang/test/Preprocessor/Inputs/null_byte.bin
    A clang/test/Preprocessor/Inputs/numbers.txt
    A clang/test/Preprocessor/Inputs/single_byte.txt
    A clang/test/Preprocessor/embed___has_embed.c
    A clang/test/Preprocessor/embed___has_embed_parsing_errors.c
    A clang/test/Preprocessor/embed___has_embed_supported.c
    A clang/test/Preprocessor/embed_art.c
    A clang/test/Preprocessor/embed_codegen.cpp
    A clang/test/Preprocessor/embed_constexpr.cpp
    A clang/test/Preprocessor/embed_dependencies.c
    A clang/test/Preprocessor/embed_ext_compat_diags.c
    A clang/test/Preprocessor/embed_feature_test.cpp
    A clang/test/Preprocessor/embed_file_not_found_chevron.c
    A clang/test/Preprocessor/embed_file_not_found_quote.c
    A clang/test/Preprocessor/embed_init.c
    A clang/test/Preprocessor/embed_parameter_if_empty.c
    A clang/test/Preprocessor/embed_parameter_limit.c
    A clang/test/Preprocessor/embed_parameter_offset.c
    A clang/test/Preprocessor/embed_parameter_prefix.c
    A clang/test/Preprocessor/embed_parameter_suffix.c
    A clang/test/Preprocessor/embed_parameter_unrecognized.c
    A clang/test/Preprocessor/embed_parsing_errors.c
    A clang/test/Preprocessor/embed_path_chevron.c
    A clang/test/Preprocessor/embed_path_quote.c
    A clang/test/Preprocessor/embed_preprocess_to_file.c
    A clang/test/Preprocessor/embed_single_entity.c
    A clang/test/Preprocessor/embed_weird.cpp
    M clang/test/Preprocessor/init-aarch64.c
    M clang/test/Preprocessor/init.c
    A clang/test/Preprocessor/single_byte.txt
    M clang/tools/libclang/CXCursor.cpp
    M clang/www/c_status.html

  Log Message:
  -----------
  [clang][Sema, Lex, Parse] Preprocessor embed in C and C++ (and Obj-C and Obj-C++ by-proxy) (#68620)

This commit implements the entirety of the now-accepted [N3017 -
Preprocessor
Embed](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3017.htm) and
its sister C++ paper [p1967](https://wg21.link/p1967). It implements
everything in the specification, and includes an implementation that
drastically improves the time it takes to embed data in specific
scenarios (the initialization of character type arrays). The mechanisms
used to do this are used under the "as-if" rule, and in general when the
system cannot detect it is initializing an array object in a variable
declaration, will generate EmbedExpr AST node which will be expanded
by AST consumers (CodeGen or constant expression evaluators) or
expand embed directive as a comma expression.

---------

Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
Co-authored-by: H. Vetinari <h.vetinari at gmx.com>
Co-authored-by: Podchishchaeva, Mariya <mariya.podchishchaeva at intel.com>


  Commit: 1754651dd150139d64cdae190afe1faabf69a403
      https://github.com/llvm/llvm-project/commit/1754651dd150139d64cdae190afe1faabf69a403
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M flang/include/flang/Lower/Support/Utils.h

  Log Message:
  -----------
  [flang] fix evaluate::Expr hashing in lowering (#95079)

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


  Commit: 3b3b839c66dc49674fd6646650525a2173030690
      https://github.com/llvm/llvm-project/commit/3b3b839c66dc49674fd6646650525a2173030690
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/test/CodeGenCUDA/managed-var.cu
    M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
    M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
    M clang/test/OpenMP/threadprivate_codegen.cpp
    M llvm/include/llvm/IR/ConstantFold.h
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/IR/Constants.cpp

  Log Message:
  -----------
  [ConstantFold] Drop gep of gep fold entirely (#95126)

This is a followup to https://github.com/llvm/llvm-project/pull/93823
and drops the DataLayout-unaware GEP of GEP fold entirely. All cases are
now left to the DataLayout-aware constant folder, which will fold
everything to a single i8 GEP.

We didn't have any test coverage for this fold in LLVM, but some Clang
tests change.


  Commit: 6fc63ab77d5b287eb4b7a3f6652360dbe5b50a67
      https://github.com/llvm/llvm-project/commit/6fc63ab77d5b287eb4b7a3f6652360dbe5b50a67
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll

  Log Message:
  -----------
  [AMDGPULowerBufferFatPointers] Simplify and fix GEP offset emission (#95115)

Use emitGEPOffset() to emit the GEP offset, which already has all the
necessary logic.

This also fixes the nuw flag incorrectly being set on the offset
calculation, while only nsw is implied by inbounds.


  Commit: 8ad82b419b88102746735505effe5bc09f26ae54
      https://github.com/llvm/llvm-project/commit/8ad82b419b88102746735505effe5bc09f26ae54
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/AST/Interp/opencl.cl

  Log Message:
  -----------
  [clang][Interp] Fix re-visiting OpenCL variables of in constant AS

We need to use isConstant() here, isConstQualified() is not enough.


  Commit: 82e19318e660afc8277d9a2b1136d2d7836d67f8
      https://github.com/llvm/llvm-project/commit/82e19318e660afc8277d9a2b1136d2d7836d67f8
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  -----------
  [clang-format] Fix a bug in annotating lambda l_square (#95084)

Fixes #95072.


  Commit: 0170498a7ddf84a404527ec3f0e82a4a3d10869a
      https://github.com/llvm/llvm-project/commit/0170498a7ddf84a404527ec3f0e82a4a3d10869a
  Author: Hugo Trachino <hugo.trachino at huawei.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorTransfer.cpp
    M mlir/test/Dialect/Vector/vector-transfer-permutation-lowering.mlir

  Log Message:
  -----------
  [MLIR][Vector] Implement TransferOpReduceRank as MaskableOpRewritePattern (#92426)

Implements `TransferOpReduceRank` as a `MaskableOpRewritePattern`.
Allowing to exit gracefully when run on a `vector::transfer_read`
located inside a `vector::MaskOp` instead of generating  `error: 'vector.mask'
op expects only one operation to mask` because the
pattern generated multiple ops inside the MaskOp.

Split of https://github.com/llvm/llvm-project/pull/90835


  Commit: 76030dc157965498f22411aa863cfe8c76138880
      https://github.com/llvm/llvm-project/commit/76030dc157965498f22411aa863cfe8c76138880
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    A llvm/include/llvm/ADT/DynamicAPInt.h
    A llvm/include/llvm/ADT/SlowDynamicAPInt.h
    M llvm/lib/Support/CMakeLists.txt
    A llvm/lib/Support/DynamicAPInt.cpp
    A llvm/lib/Support/SlowDynamicAPInt.cpp
    M llvm/unittests/ADT/CMakeLists.txt
    A llvm/unittests/ADT/DynamicAPIntTest.cpp
    M mlir/include/mlir/Analysis/Presburger/Barvinok.h
    M mlir/include/mlir/Analysis/Presburger/Fraction.h
    M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
    M mlir/include/mlir/Analysis/Presburger/LinearTransform.h
    R mlir/include/mlir/Analysis/Presburger/MPInt.h
    M mlir/include/mlir/Analysis/Presburger/Matrix.h
    M mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
    M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
    M mlir/include/mlir/Analysis/Presburger/Simplex.h
    R mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
    M mlir/include/mlir/Analysis/Presburger/Utils.h
    M mlir/include/mlir/Support/LLVM.h
    M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
    M mlir/lib/Analysis/Presburger/Barvinok.cpp
    M mlir/lib/Analysis/Presburger/CMakeLists.txt
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/lib/Analysis/Presburger/LinearTransform.cpp
    R mlir/lib/Analysis/Presburger/MPInt.cpp
    M mlir/lib/Analysis/Presburger/Matrix.cpp
    M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
    M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
    M mlir/lib/Analysis/Presburger/Simplex.cpp
    R mlir/lib/Analysis/Presburger/SlowMPInt.cpp
    M mlir/lib/Analysis/Presburger/Utils.cpp
    M mlir/unittests/Analysis/Presburger/CMakeLists.txt
    M mlir/unittests/Analysis/Presburger/FractionTest.cpp
    M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
    M mlir/unittests/Analysis/Presburger/LinearTransformTest.cpp
    R mlir/unittests/Analysis/Presburger/MPIntTest.cpp
    M mlir/unittests/Analysis/Presburger/MatrixTest.cpp
    M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
    M mlir/unittests/Analysis/Presburger/Utils.h
    M mlir/unittests/Analysis/Presburger/UtilsTest.cpp

  Log Message:
  -----------
  mlir/Presburger/MPInt: move into llvm/ADT (#94953)

MPInt is an arbitrary-precision integer library that builds on top of
APInt, and has a fast-path when the number fits within 64 bits. It was
originally written for the Presburger library in MLIR, but seems useful
to the LLVM project in general, independently of the Presburger library
or MLIR. Hence, move it into LLVM/ADT under the name DynamicAPInt.

This patch is part of a project to move the Presburger library into
LLVM.


  Commit: 90d1bcac483c608b533f71c63163da0d7ee3b6da
      https://github.com/llvm/llvm-project/commit/90d1bcac483c608b533f71c63163da0d7ee3b6da
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 76030dc15796


  Commit: dd7540f3da36e0b511449fa289d5e89c046b7521
      https://github.com/llvm/llvm-project/commit/dd7540f3da36e0b511449fa289d5e89c046b7521
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.ll

  Log Message:
  -----------
  AMDGPU: Handle buffer load/store for 64-bit element types

Note pointers still don't work correctly.


  Commit: cb3a6bded74c8c508943e95e5913b8831ab77067
      https://github.com/llvm/llvm-project/commit/cb3a6bded74c8c508943e95e5913b8831ab77067
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll

  Log Message:
  -----------
  [AMDGPULowerBufferFatPointers] Restore zero offset special case

OffAccum will never be nullptr now, instead check for a zero
constant.


  Commit: 1efd5c22893e4a186453f6aaf44fee747f1d63bf
      https://github.com/llvm/llvm-project/commit/1efd5c22893e4a186453f6aaf44fee747f1d63bf
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h

  Log Message:
  -----------
  [lldb][DWARFASTParser][NFC] Factor out CXX/ObjC method specifics out of ParseSubroutine (#95078)

This patch moves some of the `is_cxx_method`/`objc_method` logic out of
`DWARFASTParserClang::ParseSubroutine` into their own functions. Mainly
the purpose of this is to (hopefully) make this function more readable
by turning the deeply nested if-statements into early-returns. This will
be useful in an upcoming change where we remove some of the branches of
said if-statement.

Considerations:
* Would be nice to make them into static helpers in
`DWARFASTParserClang.cpp`. That would require them take few more
arguments which seemed to get unwieldy.
* `HandleCXXMethod` can return three states: (1) found a `TypeSP` we
previously parsed (2) successfully set a link between the DIE and
DeclContext (3) failure. One could express this with
`std::optional<TypeSP>`, but then returning `std::nullopt` vs `nullptr`
becomes hard to reason about. So I opted to return `std::pair<bool,
TypeSP>`, where the `bool` indicates success and the `TypeSP` the cached
type.
* `HandleCXXMethod` takes `ignore_containing_context` as an output
parameter. Haven't found a great way to do this differently


  Commit: 860f0b542ae32c507959201146242cd716222041
      https://github.com/llvm/llvm-project/commit/860f0b542ae32c507959201146242cd716222041
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Utility/ConstString.h
    M lldb/unittests/Utility/ConstStringTest.cpp

  Log Message:
  -----------
  [lldb][ConstString] Prevent GetString from constructing a std::string with a nullptr (#95175)

This patch prevents passing a `nullptr` to the `std::string` constructor
in `GetString`. This prevents UB arising from calling `GetString` on a
default-constructed `ConstString`.


  Commit: 038725468f15b96bd4a9c9d361bd3eab42bfdb66
      https://github.com/llvm/llvm-project/commit/038725468f15b96bd4a9c9d361bd3eab42bfdb66
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

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

  Log Message:
  -----------
  [AArch64][compiler-rt] Disable SME ABI routines if function multiversioning is not supported (#94973)

This prevents build failures when building with `DISABLE_AARCH64_FMV`,
see https://github.com/llvm/llvm-project/pull/92921.


  Commit: 457bedfe393f0baa88545418390cf96c5bc1c437
      https://github.com/llvm/llvm-project/commit/457bedfe393f0baa88545418390cf96c5bc1c437
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp

  Log Message:
  -----------
  DAG: Fix not handling atomic fmin/fmax in dumper


  Commit: f3afdc4ad980bfba5c196f2248bedf03945cd32a
      https://github.com/llvm/llvm-project/commit/f3afdc4ad980bfba5c196f2248bedf03945cd32a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/test/CodeGen/AMDGPU/ptrmask.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i8.ll

  Log Message:
  -----------
  AtomicExpand: Fix creating invalid ptrmask for fat pointers (#94955)

The ptrmask intrinsic requires the integer mask to be the index size,
not the pointer size.


  Commit: 83a54e75c1229be99875901139f7722be643ce87
      https://github.com/llvm/llvm-project/commit/83a54e75c1229be99875901139f7722be643ce87
  Author: Braden Helmer <bradenhelmeraus at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/warning-options.cpp

  Log Message:
  -----------
  [clang] Implement -Wmissing-include-dirs (#94827)

Implements -Wmissing-include-dirs #92015 

This is my first contribution and would love some feedback. Thanks!


  Commit: d32afb39fd90a305fc116a7161a2b4c4556117d4
      https://github.com/llvm/llvm-project/commit/d32afb39fd90a305fc116a7161a2b4c4556117d4
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

  Log Message:
  -----------
  [lldb][Progress] Report progress when parsing forward declarations from DWARF (#91452)

This is an attempt at displaying the work that's being done by LLDB when waiting on type-completion events, e.g., when running an expression. This patch adds a single new progress event for cases where we search for the definition DIE of a forward declaration, which can be an expensive operation in the presence of many object files.


  Commit: 864981d72b3b4077053479def6a43b5826aea462
      https://github.com/llvm/llvm-project/commit/864981d72b3b4077053479def6a43b5826aea462
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

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

  Log Message:
  -----------
  [NFC][MachineLICM] Use SmallDenseSet instead of SmallSet (#95201)

All values are small so no reason to ever use SmallSet really. In large
programs we'll end up using std::set which is extremely slow compared to
DenseSet. This brings a decent speedup to the pass in large programs.


  Commit: ea6577a74baebcc287f8b24d8b098f1d70085911
      https://github.com/llvm/llvm-project/commit/ea6577a74baebcc287f8b24d8b098f1d70085911
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    A llvm/test/CodeGen/AArch64/outlining-with-streaming-mode-changes.ll

  Log Message:
  -----------
  [AArch64][SME] Disable outlining for functions with streaming-mode changes (#95132)


  Commit: 7a4fab410124144f0196bdee6645b649799dec15
      https://github.com/llvm/llvm-project/commit/7a4fab410124144f0196bdee6645b649799dec15
  Author: wanglei <wanglei at loongson.cn>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    A llvm/test/CodeGen/LoongArch/emutls.ll

  Log Message:
  -----------
  [LoongArch] Emit error messages when using emulated TLS

Reviewed By: SixWeining

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


  Commit: 4a305d40a392e41521b6a427a6acd8d02d428f6c
      https://github.com/llvm/llvm-project/commit/4a305d40a392e41521b6a427a6acd8d02d428f6c
  Author: Scott Egerton <9487234+ScottEgerton at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInsertSingleUseVDST.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
    M llvm/lib/Target/AMDGPU/VOP1Instructions.td
    M llvm/lib/Target/AMDGPU/VOP2Instructions.td
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td
    M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
    M llvm/lib/Target/AMDGPU/VOPCInstructions.td
    M llvm/lib/Target/AMDGPU/VOPInstructions.td
    M llvm/test/CodeGen/AMDGPU/insert-singleuse-vdst.mir

  Log Message:
  -----------
  [AMDGPU] Exclude certain opcodes from being marked as single use (#91802)

The s_singleuse_vdst instruction is used to mark regions of instructions
that produce values that have only one use.
Certain instructions take more than one cycle to execute, resulting in
regions being incorrectly marked.
This patch excludes these multi-cycle instructions from being marked as
either producing single use values or consuming single use values
or both depending on the instruction.


  Commit: cece0a105b29dcbb9d88d0aa264c4745c07a8456
      https://github.com/llvm/llvm-project/commit/cece0a105b29dcbb9d88d0aa264c4745c07a8456
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/test/CodeGenCUDA/managed-var.cu
    M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
    M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
    M clang/test/OpenMP/threadprivate_codegen.cpp
    M llvm/include/llvm/IR/ConstantFold.h
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/IR/Constants.cpp

  Log Message:
  -----------
  Revert "[ConstantFold] Drop gep of gep fold entirely (#95126)"

This reverts commit 3b3b839c66dc49674fd6646650525a2173030690.

This broke the flang+openmp+offload buildbot, as reported in
https://github.com/llvm/llvm-project/pull/95126#issuecomment-2162424019.


  Commit: 638d96843893f6981c9af8c501f6999cc7db15e6
      https://github.com/llvm/llvm-project/commit/638d96843893f6981c9af8c501f6999cc7db15e6
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Analysis/Presburger/Fraction.h

  Log Message:
  -----------
  mlir/Presburger: guard dump function; fix buildbot (#95218)

Follow up on 76030dc (mlir/Presburger/MPInt: move into llvm/ADT) to
guard a function in Fraction.h with !NDEBUG || LLVM_ENABLE_DUMP, since
the call to the corresponding function in DynamicAPInt is guarded
similarly. This patch fixes the build when mlir is built with this
configuration.


  Commit: 1a5f9063e5dc8c51c2474ce21cb3667ff25c1f30
      https://github.com/llvm/llvm-project/commit/1a5f9063e5dc8c51c2474ce21cb3667ff25c1f30
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    A llvm/test/Transforms/PhaseOrdering/pr95152.ll

  Log Message:
  -----------
  [PhaseOrdering] Add test for #95152 (NFC)

This depends on multiple passes agreeing on the semantics of
writeonly, so add a PhaseOrdering test for it.


  Commit: 5f99a7a51a1e2aa66bbe98a905711f4eb0bb7a74
      https://github.com/llvm/llvm-project/commit/5f99a7a51a1e2aa66bbe98a905711f4eb0bb7a74
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/test/Transforms/Inline/access-attributes-prop.ll
    M llvm/test/Transforms/Inline/noalias-calls-always.ll
    M llvm/test/Transforms/Inline/noalias-calls.ll
    M llvm/test/Transforms/PhaseOrdering/pr95152.ll

  Log Message:
  -----------
  Revert "[Inliner] Propagate callee argument memory access attributes before inlining"

This exposes a miscompile reported in
https://github.com/llvm/llvm-project/issues/95152.

Whether the new inference or MemCpyOpt is at fault depends on
the precise semantics of writeonly attributes. Revert the patch
while this is being pinned down.

This reverts commit 285dbed147e243f416b003e150d67ffb0922ff16.
This reverts commit cda5790e38af5da3ad455eddab36ef16bf3e8104.


  Commit: ccaaa0000f585ac0724452f8a7baee7307dae4eb
      https://github.com/llvm/llvm-project/commit/ccaaa0000f585ac0724452f8a7baee7307dae4eb
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineDominators.h
    M llvm/lib/CodeGen/MachineDominators.cpp
    M llvm/lib/CodeGen/MachinePostDominators.cpp
    M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp

  Log Message:
  -----------
  [CodeGen] Avoid GenericDomTreeConstruction.h include in headers (NFC)

This header is split off from GenericDomTree.h so it can be included
in the source file only. Do this for MachineDominators.h and
MachinePostDominators.h.


  Commit: 297b6dea8c7652b62933e78ef79e60ce59fc1ec0
      https://github.com/llvm/llvm-project/commit/297b6dea8c7652b62933e78ef79e60ce59fc1ec0
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/test/Transforms/debug-local-var-2.f90

  Log Message:
  -----------
  [Flang] Use PrintModulePass to print LLVM IR from the frontend (#95142)

The Flang frontend currently prints LLVM IR modules using
llvm::Module::print(); this works for default cases, but skips some of
the logic that IR printer passes use, specifically the use of the
--write-experimental-debuginfo flag to control debug info format. This
patch replaces the use of print() with the PrintModulePass, bringing the
printing behaviour to parity with clang's frontend.


  Commit: 1d4523505e54415a270d7b13b6e203fc25585c5b
      https://github.com/llvm/llvm-project/commit/1d4523505e54415a270d7b13b6e203fc25585c5b
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/test/Transforms/debug-local-var-2.f90

  Log Message:
  -----------
  Revert "[Flang] Use PrintModulePass to print LLVM IR from the frontend (#95142)"

Reverted due to a link error on the buildbots.

This reverts commit 297b6dea8c7652b62933e78ef79e60ce59fc1ec0.


  Commit: fc1c34bbcb7811ebdbb623c5a4473c4f186c434d
      https://github.com/llvm/llvm-project/commit/fc1c34bbcb7811ebdbb623c5a4473c4f186c434d
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    A flang/test/Lower/OpenMP/distribute.f90
    M flang/test/Lower/OpenMP/if-clause.f90
    M flang/test/Lower/OpenMP/loop-combined.f90

  Log Message:
  -----------
  [Flang][OpenMP][Lower] Add lowering support of OpenMP distribute to MLIR (#67798)

This patch adds support for lowering the OpenMP DISTRIBUTE directive
from PFT to MLIR. It only supports standalone DISTRIBUTE, support for
composite constructs will come in follow-up PRs.


  Commit: 0e346eeac676d909402abe01fb23248bb3efc5e0
      https://github.com/llvm/llvm-project/commit/0e346eeac676d909402abe01fb23248bb3efc5e0
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/aarch64-known-bits-hadd.ll
    A llvm/test/CodeGen/AArch64/avg.ll

  Log Message:
  -----------
  [DAG] fold avgu(zext(x), zext(y)) -> zext(avgu(x, y)) (#95134)

close: #86301


  Commit: 575e68e571b4524d613e29d6a4f176cab8224bdd
      https://github.com/llvm/llvm-project/commit/575e68e571b4524d613e29d6a4f176cab8224bdd
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

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

  Log Message:
  -----------
  FunctionSpecialization: Make the ordering of BestSpecs stricter

otherwise it's not guaranteed which of two candidates with the same
score would get specialized first, or at all.


  Commit: 66a9e26438cbb5c547fd348a428ef3d1e775360c
      https://github.com/llvm/llvm-project/commit/66a9e26438cbb5c547fd348a428ef3d1e775360c
  Author: Qizhi Hu <836744285 at qq.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/lib/AST/ASTStructuralEquivalence.cpp
    M clang/unittests/AST/StructuralEquivalenceTest.cpp

  Log Message:
  -----------
  [StructuralEquivalence] improve NTTP and CXXDependentScopeMemberExpr comparison (#95190)

improve `ASTStructuralEquivalenceTest`:

1. compare the depth and index of NTTP
2. provide comparison of `CXXDependentScopeMemberExpr` to `StmtCompare`.

Co-authored-by: huqizhi <836744285 at qq.com>


  Commit: 058486c9e8820efee748f946fa773b56c4654feb
      https://github.com/llvm/llvm-project/commit/058486c9e8820efee748f946fa773b56c4654feb
  Author: Egor Zhdan <e_zhdan at apple.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/docs/APINotes.rst

  Log Message:
  -----------
  [APINotes] Update the documentation with new features

This adds the documentation for a few recently added Clang API Notes
features: C++ namespaces, `SwiftImportAs` and `SwiftCopyable`.

---------

Co-authored-by: Saleem Abdulrasool <compnerd at compnerd.org>


  Commit: 91175313d46de73ca45f37a6a5fb4f1b3bb16035
      https://github.com/llvm/llvm-project/commit/91175313d46de73ca45f37a6a5fb4f1b3bb16035
  Author: Maksim Levental <maksim.levental at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M mlir/python/CMakeLists.txt

  Log Message:
  -----------
  [MLIR][python] include Rewrite.h (#95226)


  Commit: 3c9a9c736532ea1ed997aae069c516b2564c3235
      https://github.com/llvm/llvm-project/commit/3c9a9c736532ea1ed997aae069c516b2564c3235
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOpBase.td
    A mlir/test/mlir-tblgen/openmp-ops.td

  Log Message:
  -----------
  [MLIR][OpenMP] Support clause-based representation of operations (#92519)

Currently, OpenMP operations are defined independently of each other.
However, one property of the OpenMP specification is that many clauses
can be applied to multiple constructs.

Keeping the MLIR representation of clauses consistent across all
operations that can accept them is important, but since this information
is scattered into multiple operation definitions, it is currently prone
to divergence as new features and changes are added to the dialect.
Furthermore, centralizing this information allows for a single source of
truth and avoids redundancy in the dialect.

The proposal in this patch is to make OpenMP clauses independent top
level definitions which can then be passed in a template argument list
to OpenMP operation definitions, just as it's done for traits. Clauses
can define these properties, which are joined together in order to make
a default initialization for the fields of the same name of the OpenMP
operation:

- `traits`: Optional. It gets added to the list of traits of the
operation.
- `arguments`: Mandatory. It defines how the clause is represented.
- `assemblyFormat`: Optional (though it should almost always be
defined). This is the declarative definition of the printer/parser for
the `arguments`. How these are combined depends on whether this is an
optional or required clause.
- `description`: Optional. It's used to populate a `clausesDescription`
field, so each operation definition must still define a `description`
itself. That field is intended to be appended to the end of the
`OpenMP_Op`'s `description`.
- `extraClassDeclaration`: Optional. It can define some C++ code to be
added to every OpenMP operation that includes that clause.

In order to give operation definitions fine-grained control over
features of a certain clause might need to be inhibited, the
`OpenMP_Clause` class takes "skipTraits", "skipArguments",
"skipAssemblyFormat", "skipDescription" and "skipExtraClassDeclaration"
bit template arguments. These are intended to be used very sparingly for
cases where some of the clauses might collide in some way otherwise.


  Commit: d9a508db55f986518983aaba18c1b7f9ce67536a
      https://github.com/llvm/llvm-project/commit/d9a508db55f986518983aaba18c1b7f9ce67536a
  Author: Donát Nagy <donat.nagy at ericsson.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/docs/analyzer/checkers.rst
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
    R clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
    R clang/test/Analysis/sizeofpointer.c
    M clang/www/analyzer/alpha_checks.html

  Log Message:
  -----------
  [analyzer] Finish moving alpha.core.SizeofPtr to clang-tidy (#95118)

The checker `alpha.core.SizeofPtr` was a very simple checker that did
not rely on path sensitive analysis and was very similar to the (more
complex and refined) clang-tidy check `bugprone-sizeof-expression`.

As there is no reason to maintain two separate implementations for the
same goal (and clang-tidy is more lightweight and accessible than the
Analyzer) I decided to move this functionality from the Static Analyzer
to clang-tidy.

Recently my commit 546c816a529835a4cf89deecff957ea336a94fa2
reimplemented the advantageous parts of `alpha.core.SizeofPtr` within
clang-tidy; now this commit finishes the transfer by deleting
`alpha.core.SizeofPtr`.


  Commit: 74f200baedfed496880ca86ce9409788b0d0eaca
      https://github.com/llvm/llvm-project/commit/74f200baedfed496880ca86ce9409788b0d0eaca
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn

  Log Message:
  -----------
  [gn build] Port d9a508db55f9


  Commit: ad9fe3b2a949fb3379e0a1bafbcd2ca81f5fa414
      https://github.com/llvm/llvm-project/commit/ad9fe3b2a949fb3379e0a1bafbcd2ca81f5fa414
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp

  Log Message:
  -----------
  [NFC][AMDGPU] Do not flush after printing every instruction (#95237)

It's very expensive and doesn't achieve anything.

I one test I did, it saves almost 10s on a 2m23s build, bringing it down
to 2m15s using a downstream branch.


  Commit: ec16f44d0899e1b9c26b27d942f6e2928d3da7e4
      https://github.com/llvm/llvm-project/commit/ec16f44d0899e1b9c26b27d942f6e2928d3da7e4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp

  Log Message:
  -----------
  [InstCombine] Use named values in comment (NFC)

Also use opaque pointers.


  Commit: ea2ee5dc2f14a17ff4486b41c9475c0b261412a4
      https://github.com/llvm/llvm-project/commit/ea2ee5dc2f14a17ff4486b41c9475c0b261412a4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/arm64-vhadd.ll
    M llvm/test/CodeGen/AArch64/avg.ll
    M llvm/test/CodeGen/AArch64/sve-hadd.ll
    M llvm/test/CodeGen/Thumb2/mve-laneinterleaving.ll
    M llvm/test/CodeGen/X86/avg.ll
    M llvm/test/CodeGen/X86/avgceils.ll
    M llvm/test/CodeGen/X86/avgceilu.ll
    M llvm/test/CodeGen/X86/avgfloors.ll
    M llvm/test/CodeGen/X86/avgflooru.ll
    M llvm/test/CodeGen/X86/min-legal-vector-width.ll

  Log Message:
  -----------
  [DAG] Add legalization handling for AVGCEIL/AVGFLOOR nodes (#92096)

Always match AVG patterns pre-legalization, and use TargetLowering::expandAVG to expand again during legalization.

I've removed the X86 custom AVGCEILU pattern detection and replaced with combines to try and convert other AVG nodes to AVGCEILU.


  Commit: d3342e5b922209e471b610ca1e254d9481b65319
      https://github.com/llvm/llvm-project/commit/d3342e5b922209e471b610ca1e254d9481b65319
  Author: Abhina Sree <69635948+abhina-sree at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp

  Log Message:
  -----------
  [SystemZ][z/OS] Continue marking text files with OF_Text (#95111)

Text files should be opened with OF_Text to have the correct encoding.


  Commit: 04c4cf45faea421a20ca7a3a01c1cdbca4f45910
      https://github.com/llvm/llvm-project/commit/04c4cf45faea421a20ca7a3a01c1cdbca4f45910
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp

  Log Message:
  -----------
  Revert "[NFC][AMDGPU] Do not flush after printing every instruction (#95237)"

This reverts commit ad9fe3b2a949fb3379e0a1bafbcd2ca81f5fa414.


  Commit: 47afa10bbaa89351afa9bcc53dd959e6181ebf3d
      https://github.com/llvm/llvm-project/commit/47afa10bbaa89351afa9bcc53dd959e6181ebf3d
  Author: Zibi Sarbinowski <zibi at ca.ibm.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.funsigned-char.pass.cpp

  Log Message:
  -----------
  [libc++][z/OS] Disable portion of formatter.char.funsigned-char.pass.cpp for no unicode (#94044)

This PR carves out small portion of the test in subject to avoid the
following failure when unicode is not available.

```
# | Assertion failure: result == expected .../formatter.char.funsigned-char.pass.cpp 56
# |
# | Format string   ?}
# | Expected output '\x{80}'
# | Actual output   '�'
```

This was traced down to different definition of
`__code_point_view::__consume()` under macro_LIBCXX_HAS_NO_UNICODE which
is called inside `__formatter::__escape()`. The `__consume()` returns
`__ok` and code assumes that escaped sequence was already written but it
is not., thus the failure. Here is the snippen code we fall into:

```
    typename __unicode::__consume_result __result = __view.__consume();
    if (__result.__status == __unicode::__consume_result::__ok) {
      __escape = __formatter::__is_escaped_sequence_written(__str, __result.__code_point, __escape, __mark);
```


  Commit: 87374a8cffb6b6f589e8810a4d8502623e9d0268
      https://github.com/llvm/llvm-project/commit/87374a8cffb6b6f589e8810a4d8502623e9d0268
  Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M flang/include/flang/Lower/PFTBuilder.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/PFTBuilder.cpp
    A flang/test/Lower/pre-fir-tree09.f90

  Log Message:
  -----------
  [flang] Add support for lowering directives at the CONTAINS level (#95123)

There is currently support for lowering directives that appear outside
of a module or procedure, or inside the body of a module or procedure.
Extend this to support directives at the CONTAINS level of a module or
procedure, such as directives 3, 5, 7 9, and 10 in:

    !dir$ some directive 1
    module m
      !dir$ some directive 2
    contains
      !dir$ some directive 3
      subroutine p
        !dir$ some directive 4
      contains
        !dir$ some directive 5
        subroutine s1
          !dir$ some directive 6
        end subroutine s1
        !dir$ some directive 7
        subroutine s2
          !dir$ some directive 8
        end subroutine s2
        !dir$ some directive 9
      end subroutine p
      !dir$ some directive 10
    end module m
    !dir$ some directive 11

This is done by looking for CONTAINS statements at the module or
procedure level, while ignoring CONTAINS statements at the derived type
level.


  Commit: c46a6e6c929e4b365d1cb03233bdabbcb9ba222d
      https://github.com/llvm/llvm-project/commit/c46a6e6c929e4b365d1cb03233bdabbcb9ba222d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs-sve.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/masked-call.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/store-costs-sve.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-low-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-optsize.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-reductions.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-unroll.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/tail-folding-styles.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/inloop-reduction.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/scalable-tailfold.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/uniform-load-store.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-interleave.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-iv32.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-masked-loadstore.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-reverse-load-store.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-vp-intrinsics.ll

  Log Message:
  -----------
  [LV] Remove unnecessary getRuntimeVF call when computing vector TC.

As Step is VF * UF, there is no need to compute it again, which may
require multiple instructions for scalable VFs.


  Commit: f2120cda7d3ee8a4ae49c530d8401428b1ed77ed
      https://github.com/llvm/llvm-project/commit/f2120cda7d3ee8a4ae49c530d8401428b1ed77ed
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M offload/plugins-nextgen/amdgpu/src/rtl.cpp

  Log Message:
  -----------
  [Offload][AMDGPU] Impose more restrictions for implicit kernel arguments (#95211)

COV3 is not supported anymore, thus we can just use ArgsSize we read
from the kernel to determine how many argument bytes we need and if
implicit kernel arguments are used.


  Commit: cb5d1b52ad2b34698a5023c50da4f59c70e05539
      https://github.com/llvm/llvm-project/commit/cb5d1b52ad2b34698a5023c50da4f59c70e05539
  Author: Maksim Levental <maksim.levental at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    R llvm/include/llvm/ADT/DynamicAPInt.h
    R llvm/include/llvm/ADT/SlowDynamicAPInt.h
    M llvm/lib/Support/CMakeLists.txt
    R llvm/lib/Support/DynamicAPInt.cpp
    R llvm/lib/Support/SlowDynamicAPInt.cpp
    M llvm/unittests/ADT/CMakeLists.txt
    R llvm/unittests/ADT/DynamicAPIntTest.cpp
    M mlir/include/mlir/Analysis/Presburger/Barvinok.h
    M mlir/include/mlir/Analysis/Presburger/Fraction.h
    M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
    M mlir/include/mlir/Analysis/Presburger/LinearTransform.h
    A mlir/include/mlir/Analysis/Presburger/MPInt.h
    M mlir/include/mlir/Analysis/Presburger/Matrix.h
    M mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
    M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
    M mlir/include/mlir/Analysis/Presburger/Simplex.h
    A mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
    M mlir/include/mlir/Analysis/Presburger/Utils.h
    M mlir/include/mlir/Support/LLVM.h
    M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
    M mlir/lib/Analysis/Presburger/Barvinok.cpp
    M mlir/lib/Analysis/Presburger/CMakeLists.txt
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/lib/Analysis/Presburger/LinearTransform.cpp
    A mlir/lib/Analysis/Presburger/MPInt.cpp
    M mlir/lib/Analysis/Presburger/Matrix.cpp
    M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
    M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
    M mlir/lib/Analysis/Presburger/Simplex.cpp
    A mlir/lib/Analysis/Presburger/SlowMPInt.cpp
    M mlir/lib/Analysis/Presburger/Utils.cpp
    M mlir/unittests/Analysis/Presburger/CMakeLists.txt
    M mlir/unittests/Analysis/Presburger/FractionTest.cpp
    M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
    M mlir/unittests/Analysis/Presburger/LinearTransformTest.cpp
    A mlir/unittests/Analysis/Presburger/MPIntTest.cpp
    M mlir/unittests/Analysis/Presburger/MatrixTest.cpp
    M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
    M mlir/unittests/Analysis/Presburger/Utils.h
    M mlir/unittests/Analysis/Presburger/UtilsTest.cpp

  Log Message:
  -----------
  Revert #95218 and #94953 (#95244)


  Commit: 2b6c23461d85b59b4abb8d738b1d4ab574bbe437
      https://github.com/llvm/llvm-project/commit/2b6c23461d85b59b4abb8d738b1d4ab574bbe437
  Author: hev <wangrui at loongson.cn>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/test/CodeGen/LoongArch/calling-conv-lp64d.ll
    M llvm/test/CodeGen/LoongArch/calling-conv-lp64s.ll
    M llvm/test/CodeGen/LoongArch/can-not-realign-stack.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-fp.ll
    M llvm/test/CodeGen/LoongArch/jump-table.ll
    M llvm/test/CodeGen/LoongArch/register-coalescer-crash-pr79718.mir
    M llvm/test/CodeGen/LoongArch/sextw-removal.ll
    M llvm/test/CodeGen/LoongArch/vararg.ll

  Log Message:
  -----------
  [LoongArch] Set isAsCheapAsAMove on ADDI.D and {X}ORI instructions (#94733)


  Commit: f59d9d538c7b580a93bee4afba0f098f7ddf09d9
      https://github.com/llvm/llvm-project/commit/f59d9d538c7b580a93bee4afba0f098f7ddf09d9
  Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/AccelTable.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
    A llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll

  Log Message:
  -----------
  [CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent (#95039)

This fixes https://github.com/llvm/llvm-project/issues/93886. The UnitID
is not
unique between CUs and TUs. This led to DW_IDX_parent to point ot an
entry for a
DIE in a CU if it had the same relative offset as a TU die.

Added a IsTU to the hash for parent chain.


  Commit: 1216cde81afa263b972171116f8d3ca94c941107
      https://github.com/llvm/llvm-project/commit/1216cde81afa263b972171116f8d3ca94c941107
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    A llvm/test/CodeGen/X86/memfold-mov32r0.ll

  Log Message:
  -----------
  [X86][mem-fold] Support memory folding from MOV32r0 to MOV64mi32


  Commit: 3e3b7c70f52fa020557a42a4276b9105d75044a0
      https://github.com/llvm/llvm-project/commit/3e3b7c70f52fa020557a42a4276b9105d75044a0
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn

  Log Message:
  -----------
  [gn build] Port cb5d1b52ad2b


  Commit: 57e4360836f421a2c6131de51e3845620c6aea76
      https://github.com/llvm/llvm-project/commit/57e4360836f421a2c6131de51e3845620c6aea76
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
    M mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir

  Log Message:
  -----------
  [mlir][memref] Add memref alias folders for expand/collapse_shape for vector load/store (#95223)

This patch adds adds patterns to fold memref alias for
expand_shape/collapse_shape feeding into vector.load/vector.store and
vector.maskedload/vector.maskedstore


  Commit: 133197a0041f82990c5fa9709301a84832a27507
      https://github.com/llvm/llvm-project/commit/133197a0041f82990c5fa9709301a84832a27507
  Author: Andreas Jonson <andjo403 at hotmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/rocdl.mlir

  Log Message:
  -----------
  [mlir][ROCDL] Swap range metadata to range attribute (#94853)

Swap out range metadata to range attribute for calls to be able to
deprecate range metadata on calls in the future.


  Commit: 98174fb6ec9784d9eb7be313ee1317ca6e703d90
      https://github.com/llvm/llvm-project/commit/98174fb6ec9784d9eb7be313ee1317ca6e703d90
  Author: Hau Hsu <95277871+hau-hsu at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cpp
    M compiler-rt/test/asan/TestCases/Posix/strndup_oob_test.cpp
    M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
    M compiler-rt/test/asan/TestCases/debug_stacks.cpp
    M compiler-rt/test/asan/TestCases/double-free.cpp
    M compiler-rt/test/asan/TestCases/malloc-size-too-big.cpp
    M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
    M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
    M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
    M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
    M compiler-rt/test/asan/TestCases/use-after-free.cpp

  Log Message:
  -----------
  [asan] Make frame number checks more flexable (#94307)

Use more flexable regex ([0-9]+) for frame number checks. Since the
frame numbers might change if some functions are not inlined.

Similar to
*
https://github.com/llvm/llvm-project/commit/0360f3218a13666123849f6699216bdbebe64833
*
https://github.com/llvm/llvm-project/commit/404bc5ca2ae5fffa45d5240dcf52b7f134988867


  Commit: 70510733af33c70ff7877eaf30d7718b9358a725
      https://github.com/llvm/llvm-project/commit/70510733af33c70ff7877eaf30d7718b9358a725
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/CMakeLists.txt
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/AArch64.h
    M clang/test/CodeGen/aarch64-cpu-supports-target.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
    M clang/test/CodeGen/aarch64-targetattr.c
    M clang/test/CodeGen/attr-target-version.c
    M clang/test/Sema/aarch64-neon-target.c
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/TargetParser/AArch64TargetParser.cpp

  Log Message:
  -----------
  Reland "[AArch64] Decouple feature dependency expansion. (#94279)" (#95231)

My reverted attempt to decouple feature dependency expansion (see
#95056) made it evident that some features are still using the FMV
dependencies in the target attribute.

The original commit broke the llvm test suite. This was addressed here:
https://github.com/llvm/llvm-test-suite/pull/133. I am now relanding it.


  Commit: f6a2ca4f22e3d737a7aa488a4edde88d53dc8b26
      https://github.com/llvm/llvm-project/commit/f6a2ca4f22e3d737a7aa488a4edde88d53dc8b26
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M lldb/test/API/commands/target/basic/Makefile
    M lldb/test/API/lang/c/global_variables/Makefile
    M lldb/test/API/lang/cpp/char8_t/Makefile

  Log Message:
  -----------
  [lldb][test] Disable PIE for some API tests (#93808)

When PIE is enabled on a platform by default, these tests fail since the
`target variable` command can't read a global string variable value
before running an inferior process.

It fixes the following tests when built with clang on Ubuntu aarch64:
```
commands/target/basic/TestTargetCommand.py
lang/c/global_variables/TestGlobalVariables.py
lang/cpp/char8_t/TestCxxChar8_t.py
```


  Commit: 90d166aded71fceb9029f4e6c5a90036787890e6
      https://github.com/llvm/llvm-project/commit/90d166aded71fceb9029f4e6c5a90036787890e6
  Author: Emilio Cota <ecg at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

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

  Log Message:
  -----------
  [mlir][bazel] fixes for 3c9a9c7365


  Commit: 77db8b08c8b186c2625f8dfb26bb976561b43c4c
      https://github.com/llvm/llvm-project/commit/77db8b08c8b186c2625f8dfb26bb976561b43c4c
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir

  Log Message:
  -----------
  [mlir][vector] Restrict DropInnerMostUnitDimsTransferRead (#94904)

Restrict `DropInnerMostUnitDimsTransferRead` so that it fails when one
of the indices to be dropped could be != 0, e.g.

```mlir
func.func @negative_example(%A: memref<16x1xf32>, %i:index, %j:index) -> (vector<8x1xf32>) {
  %f0 = arith.constant 0.0 : f32
  %1 = vector.transfer_read %A[%i, %j], %f0 : memref<16x1xf32>, vector<8x1xf32>
  return %1 : vector<8x1xf32>
}
```

This is an edge case that could represent an out-of-bounds access,
though that will depend on the actual value of `%j`. Importantly,
_without this change_ it would be transformed as follows:
```mlir
  func.func @negative_example(%arg0: memref<16x1xf32>, %arg1: index, %arg2: index) -> vector<8x1xf32> {
    %cst = arith.constant 0.000000e+00 : f32
    %subview = memref.subview %arg0[0, 0] [16, 1] [1, 1] : memref<16x1xf32> to memref<16xf32, strided<[1]>>
    %0 = vector.transfer_read %subview[%arg1], %cst : memref<16xf32, strided<[1]>>, vector<8xf32>
    %1 = vector.shape_cast %0 : vector<8xf32> to vector<8x1xf32>
    return %1 : vector<8x1xf32>
  }
```

This is incorrect - `%arg2` is ignored. Hence the extra restriction to
avoid such cases.

NOTE: This PR is limited to tests for `vector.transfer_read`.


  Commit: 27ac46e6bea2c25c18650b607754dcc73b42e3d6
      https://github.com/llvm/llvm-project/commit/27ac46e6bea2c25c18650b607754dcc73b42e3d6
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M .github/workflows/libcxx-build-and-test.yaml

  Log Message:
  -----------
  [libc++][ci] Don't install wget in the Windows jobs (#95215)

Nothing uses wget - only curl is used, and that's available out of the
box.


  Commit: b1484f7de0c634c891947c56218d02a84148d356
      https://github.com/llvm/llvm-project/commit/b1484f7de0c634c891947c56218d02a84148d356
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAG] visitAVG - use X/Y SDValue args to match the fold comment. NFC.


  Commit: 346f16d504ab66f09e748a3ca041fa3a4deeeb1e
      https://github.com/llvm/llvm-project/commit/346f16d504ab66f09e748a3ca041fa3a4deeeb1e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h

  Log Message:
  -----------
  [DAG] Move isNullConstantOrUndef helper to SelectionDAGNodes.h to allow other future uses. NFC.


  Commit: ad7a9d6af3523ae6e75658562ec510368f5f8df4
      https://github.com/llvm/llvm-project/commit/ad7a9d6af3523ae6e75658562ec510368f5f8df4
  Author: Akira Hatanaka <ahatanak at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGCleanup.cpp
    M clang/lib/CodeGen/CodeGenFunction.h

  Log Message:
  -----------
  [CodeGen] Remove IsVolatile from DominatingValue<RValue>::save_type (#95165)

Prior to 84780af4b02cb3b86e4cb724f996bf8e02f2f2e7, the class didn't have
any information about whether the saved value was volatile.

This is NFC as far as I can tell.


  Commit: 35f9e5f51d52ed4a5653405345c18e07673a6b73
      https://github.com/llvm/llvm-project/commit/35f9e5f51d52ed4a5653405345c18e07673a6b73
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
    M llvm/test/Other/lit-unicode.txt
    M llvm/test/tools/llvm-rc/windres-prefix.test

  Log Message:
  -----------
  [test] Skip some tests on Windows only (#95205)

These tests do not require bash. Skip them because they use features not
available on Windows. This is a follow up to #94595.


  Commit: 1216e7045f78b8b2eae02ba5c729696177cdce3e
      https://github.com/llvm/llvm-project/commit/1216e7045f78b8b2eae02ba5c729696177cdce3e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

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

  Log Message:
  -----------
  [DAG] getNode - add value type assertions for AVG nodes.


  Commit: bce2498767d15724c1fbba8606f684f621a0a897
      https://github.com/llvm/llvm-project/commit/bce2498767d15724c1fbba8606f684f621a0a897
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M .github/workflows/libcxx-build-and-test.yaml

  Log Message:
  -----------
  [libcxx] [ci] Update Clang for Windows jobs to 18.1.x (#95228)

Pick the latest version available in Chocolatey (18.1.6) and llvm-mingw
(20240606, which includes LLVM 18.1.7).

Also add the flag "--allow-downgrade" when installing a specific version
of LLVM. If the preinstalled version is higher than the requested one,
Chocolatey would otherwise error out when requesting installing a lower
version. This will avoid errors in the future, if the runner image comes
preinstalled with a newer version of LLVM.

(This currently seems to happen with a recent version of the GitHub
Actions runner image, version 20240610.1.0 has LLVM 18.1.6 already
preinstalled, and will error out when trying to install the 17.0.6
version that we previously requested.)


  Commit: 11399028ba2d74de770f46e7044ee0f008b01778
      https://github.com/llvm/llvm-project/commit/11399028ba2d74de770f46e7044ee0f008b01778
  Author: Rodrigo Salazar <4rodrigosalazar at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libcxx/src/filesystem/operations.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp

  Log Message:
  -----------
  [libcxx] Correct and clean-up filesystem operations error_code paths (#88341)

3 error_code related cleanups/corrections in the std::filesystem
operations functions.

1. In `__copy`, the `ec->clear()` is unnecessary as `ErrorHandler` at
the start of each function clears the error_code as part of its
initialization.

2. In `__copy`, in the recursive codepath we are not checking the
error_code result of `it.increment(m_ec2)` immediately after use in the
for loop condition (and we aren't checking it after the final increment
when we don't enter the loop).

3. In `__weakly_canonical`, it makes calls to `__canonical` (which
internally uses OS APIs implementing POSIX `realpath`) and we are not
checking the error code result from the `__canonical` call. Both
`weakly_canonical` and `canonical` are supposed to set the error_code
when underlying OS APIs result in an error
(https://eel.is/c++draft/fs.err.report#3.1). With this change we
propagate up the error_code from `__canonical` caused by any underlying
OS API failure up to the `__weakly_canonical`. Essentially, if
`__canonical` thinks an error code should be set, then
`__weakly_canonical` must as well. Before this change it would be
throwing an exception in the non-error_code form of the function when
`__canonical` fails, while not setting the error code in the error_code
form of the function (an inconsistency).

Added a little coverage in weakly_canonical.pass.cpp for the error_code
forms of the API that was missing. Though I am lacking utilities in
libcxx testing to add granular testing of the failure scenarios (like
forcing realpath to fail for a given path, as it could if you had
something like a flaky remote filesystem).


  Commit: 9540950a45eee79a3ae4e9e0fa92d72b703d14dd
      https://github.com/llvm/llvm-project/commit/9540950a45eee79a3ae4e9e0fa92d72b703d14dd
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libcxx/benchmarks/algorithms/pstl.stable_sort.bench.cpp
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__algorithm/pstl.h
    R libcxx/include/__algorithm/pstl_frontend_dispatch.h
    M libcxx/include/__numeric/pstl.h
    A libcxx/include/__pstl/backend.h
    A libcxx/include/__pstl/backend_fwd.h
    A libcxx/include/__pstl/backends/default.h
    M libcxx/include/__pstl/backends/libdispatch.h
    M libcxx/include/__pstl/backends/serial.h
    M libcxx/include/__pstl/backends/std_thread.h
    R libcxx/include/__pstl/configuration.h
    R libcxx/include/__pstl/configuration_fwd.h
    M libcxx/include/__pstl/cpu_algos/any_of.h
    M libcxx/include/__pstl/cpu_algos/fill.h
    M libcxx/include/__pstl/cpu_algos/find_if.h
    M libcxx/include/__pstl/cpu_algos/for_each.h
    M libcxx/include/__pstl/cpu_algos/merge.h
    M libcxx/include/__pstl/cpu_algos/stable_sort.h
    M libcxx/include/__pstl/cpu_algos/transform.h
    M libcxx/include/__pstl/cpu_algos/transform_reduce.h
    A libcxx/include/__pstl/dispatch.h
    A libcxx/include/__pstl/handle_exception.h
    M libcxx/include/module.modulemap
    M libcxx/test/libcxx/algorithms/pstl.iterator-requirements.verify.cpp
    R libcxx/test/libcxx/algorithms/pstl.robust_against_customization_points_not_working.pass.cpp
    M libcxx/test/libcxx/transitive_includes/cxx17.csv
    M libcxx/test/libcxx/transitive_includes/cxx20.csv
    M libcxx/test/libcxx/transitive_includes/cxx23.csv
    M libcxx/test/libcxx/transitive_includes/cxx26.csv

  Log Message:
  -----------
  [libc++] Overhaul the PSTL dispatching mechanism (#88131)

The experimental PSTL's current dispatching mechanism was designed with
flexibility in mind. However, while reviewing the in-progress OpenMP
backend, I realized that the dispatching mechanism based on ADL and
default definitions in the frontend had several downsides. To name a
few:

1. The dispatching of an algorithm to the back-end and its default
   implementation is bundled together via `_LIBCPP_PSTL_CUSTOMIZATION_POINT`.
   This makes the dispatching really confusing and leads to annoyances
   such as variable shadowing and weird lambda captures in the front-end.
2. The distinction between back-end functions and front-end algorithms
   is not as clear as it could be, which led us to call one where we meant
   the other in a few cases. This is bad due to the exception requirements
   of the PSTL: calling a front-end algorithm inside the implementation of
   a back-end is incorrect for exception-safety.
3. There are two levels of back-end dispatching in the PSTL, which treat
   CPU backends as a special case. This was confusing and not as flexible
   as we'd like. For example, there was no straightforward way to dispatch
   all uses of `unseq` to a specific back-end from the OpenMP backend,
   or for CPU backends to fall back on each other.

This patch rewrites the backend dispatching mechanism to solve these
problems, but doesn't touch any of the actual implementation of
algorithms. Specifically, this rewrite has the following
characteristics:

- There is a single level of backend dispatching, however partial backends can
  be stacked to provide a full implementation of the PSTL. The two-level dispatching
  that was used for CPU-based backends is handled by providing CPU-based basis 
  operations as simple helpers that can easily be reused when defining any PSTL 
  backend.

- The default definitions for algorithms are separated from their dispatching logic.

- The front-end is thus simplified a whole lot and made very consistent
  for all algorithms, which makes it easier to audit the front-end for
  things like exception-correctness, appropriate forwarding, etc.

Fixes #70718


  Commit: 3f42fee6010ccd5ef3a3c2c2b3822133f8d29dfd
      https://github.com/llvm/llvm-project/commit/3f42fee6010ccd5ef3a3c2c2b3822133f8d29dfd
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libcxx/include/__pstl/cpu_algos/for_each.h
    M libcxx/include/__pstl/cpu_algos/transform.h

  Log Message:
  -----------
  [libc++][NFC] Rename __simd_walk functions to give more descriptive names


  Commit: fe4cd104a8dbac4f09ff1f930909381dfa789bc7
      https://github.com/llvm/llvm-project/commit/fe4cd104a8dbac4f09ff1f930909381dfa789bc7
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libcxx/include/__algorithm/pstl.h

  Log Message:
  -----------
  [libc++][NFC] Fix typo in concept PSTL concept check


  Commit: c5790206f719c8fac168ae488420f31800d55cf0
      https://github.com/llvm/llvm-project/commit/c5790206f719c8fac168ae488420f31800d55cf0
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M lldb/test/API/commands/target/basic/Makefile
    M lldb/test/API/lang/c/global_variables/Makefile
    M lldb/test/API/lang/cpp/char8_t/Makefile

  Log Message:
  -----------
  [lldb] Fix linker flags in lldb tests

This is a fixup to https://github.com/llvm/llvm-project/pull/93808,
which used LDFLAGS instead of the correct LD_EXTRAS


  Commit: 90a154e07db67a1e5e84890f1baf61c2cdc916d9
      https://github.com/llvm/llvm-project/commit/90a154e07db67a1e5e84890f1baf61c2cdc916d9
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

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

  Log Message:
  -----------
  [gn build] Port 9540950a45ee


  Commit: 9a1611f938ab4c1a0b32e0e7f6a61333dfdd4e79
      https://github.com/llvm/llvm-project/commit/9a1611f938ab4c1a0b32e0e7f6a61333dfdd4e79
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libc/src/stdio/baremetal/CMakeLists.txt
    M libc/src/stdio/baremetal/printf.cpp
    A libc/src/stdio/baremetal/putchar.cpp

  Log Message:
  -----------
  [libc] Add baremetal putchar (#95182)

In #94685 I discussed my ideas for cleaner baremetal output writing.
This patch is not that. This patch just uses `write_to_stderr` for
outputting from putchar and printf on baremetal. I'm still planning to
create a proper design for writing to stdout and stderr on various
platforms, but that will be a followup patch.


  Commit: c36961bd96583f0d63b78030bd5587b84b1d6cee
      https://github.com/llvm/llvm-project/commit/c36961bd96583f0d63b78030bd5587b84b1d6cee
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/include/version
    M libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++] Adds __cpp_lib_three_way_comparison FTM. (#91515)

The paper
  P0768R1 Library Support for the Spaceship (Comparison) Operator
did not add a feature-test macro. This omission has been corrected in
  P1353R0 Missing Feature Test Macros

This enables the FTM for P0768R1

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

---------

Co-authored-by: S. B. Tam <cpplearner at outlook.com>


  Commit: 759fb590da445e1bf572ac295d0d76b950cf3b8e
      https://github.com/llvm/llvm-project/commit/759fb590da445e1bf572ac295d0d76b950cf3b8e
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/Status/Cxx23Papers.csv
    M libcxx/include/version
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++][modules] Mark as implemented. (#90091)

The feature has been implemented in LLVM 18 as an experimental feature.
This marks the paper as complete and sets the feature-test macro.

Implements
- P2465R3 Standard Library Modules std and std.compat

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


  Commit: 1a0e67d73023e7ad9e7e79f66afb43a6f2561d04
      https://github.com/llvm/llvm-project/commit/1a0e67d73023e7ad9e7e79f66afb43a6f2561d04
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    A llvm/include/llvm/ADT/DynamicAPInt.h
    A llvm/include/llvm/ADT/SlowDynamicAPInt.h
    M llvm/lib/Support/CMakeLists.txt
    A llvm/lib/Support/DynamicAPInt.cpp
    A llvm/lib/Support/SlowDynamicAPInt.cpp
    M llvm/unittests/ADT/CMakeLists.txt
    A llvm/unittests/ADT/DynamicAPIntTest.cpp
    M mlir/include/mlir/Analysis/Presburger/Barvinok.h
    M mlir/include/mlir/Analysis/Presburger/Fraction.h
    M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
    M mlir/include/mlir/Analysis/Presburger/LinearTransform.h
    R mlir/include/mlir/Analysis/Presburger/MPInt.h
    M mlir/include/mlir/Analysis/Presburger/Matrix.h
    M mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
    M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
    M mlir/include/mlir/Analysis/Presburger/Simplex.h
    R mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
    M mlir/include/mlir/Analysis/Presburger/Utils.h
    M mlir/include/mlir/Support/LLVM.h
    M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
    M mlir/lib/Analysis/Presburger/Barvinok.cpp
    M mlir/lib/Analysis/Presburger/CMakeLists.txt
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/lib/Analysis/Presburger/LinearTransform.cpp
    R mlir/lib/Analysis/Presburger/MPInt.cpp
    M mlir/lib/Analysis/Presburger/Matrix.cpp
    M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
    M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
    M mlir/lib/Analysis/Presburger/Simplex.cpp
    R mlir/lib/Analysis/Presburger/SlowMPInt.cpp
    M mlir/lib/Analysis/Presburger/Utils.cpp
    M mlir/unittests/Analysis/Presburger/CMakeLists.txt
    M mlir/unittests/Analysis/Presburger/FractionTest.cpp
    M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
    M mlir/unittests/Analysis/Presburger/LinearTransformTest.cpp
    R mlir/unittests/Analysis/Presburger/MPIntTest.cpp
    M mlir/unittests/Analysis/Presburger/MatrixTest.cpp
    M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
    M mlir/unittests/Analysis/Presburger/Utils.h
    M mlir/unittests/Analysis/Presburger/UtilsTest.cpp

  Log Message:
  -----------
  Reland "mlir/Presburger/MPInt: move into llvm/ADT" (#95254)

Change: remove guards on debug-printing, to allow Release builds without
LLVM_ENABLE_DUMP to pass.

MPInt is an arbitrary-precision integer library that builds on top of
APInt, and has a fast-path when the number fits within 64 bits. It was
originally written for the Presburger library in MLIR, but seems useful
to the LLVM project in general, independently of the Presburger library
or MLIR. Hence, move it into LLVM/ADT under the name DynamicAPInt.

This patch is part of a project to move the Presburger library into
LLVM.


  Commit: e286ecfecf50fd8eff2e7003131d2c845cb6045f
      https://github.com/llvm/llvm-project/commit/e286ecfecf50fd8eff2e7003131d2c845cb6045f
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M flang/include/flang/Parser/token-sequence.h
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/lib/Parser/token-sequence.cpp
    M flang/test/Preprocessing/directive-contin-with-pp.F90

  Log Message:
  -----------
  [flang] Disable Fortran free form line continuation in non-source lin… (#94663)

…e produced by keyword macro replacement

When later initial keyword macro replacement will yield a line that is
not Fortran source, don't interpret "&" as a Fortran source line
continuation marker during tokenization of the line.

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


  Commit: 04a09b9b0c6da9adc8662ec46c8d2487b73cb5e4
      https://github.com/llvm/llvm-project/commit/04a09b9b0c6da9adc8662ec46c8d2487b73cb5e4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] Use isNullConstantOrUndef helper. NFC.


  Commit: 760ad23e4811b81f8727d0a12b2d13149a45c72f
      https://github.com/llvm/llvm-project/commit/760ad23e4811b81f8727d0a12b2d13149a45c72f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/AArch64/arm64-vhadd.ll

  Log Message:
  -----------
  [DAG] combineShiftToAVG - ensure the reduced demanded value type is smaller than the original.

Now we have promotion support we should be able to remove the next-power-of-2 code entirely, but this is good enough for now.


  Commit: 00fa3fbfb846756a902527cdd793f1ad7ad9369b
      https://github.com/llvm/llvm-project/commit/00fa3fbfb846756a902527cdd793f1ad7ad9369b
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  -----------
  [ProfileData] Compute sum in annotateValueSite (NFC) (#95199)

getValueForSite computes the total count -- the total number of times
a given value site is visited.  The problem is that, excluding tests,
annotateValueSite is the only place that needs the total count.

This patch moves the total count computation to annotateValueSite.


  Commit: 15a699f98ebc9d7d2dad31ef4b8bd31d1c371e38
      https://github.com/llvm/llvm-project/commit/15a699f98ebc9d7d2dad31ef4b8bd31d1c371e38
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 1a0e67d73023


  Commit: bf7c505847aa58af23f14ee986ee4bb7acf22e62
      https://github.com/llvm/llvm-project/commit/bf7c505847aa58af23f14ee986ee4bb7acf22e62
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFeatures.td

  Log Message:
  -----------
  [RISCV] Rename FeaturesSsqosid->FeaturesStdExtSsqosid. NFC


  Commit: c42bbda42542cbf811f42a288f63b10e72e204de
      https://github.com/llvm/llvm-project/commit/c42bbda42542cbf811f42a288f63b10e72e204de
  Author: Peiming Liu <peiming at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
    M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
    A mlir/test/Dialect/SparseTensor/sparse_iteration_to_scf.mlir
    M mlir/test/Dialect/SparseTensor/sparse_space_collapse.mlir

  Log Message:
  -----------
  [mlir][sparse] implement lowering rules for ExtractIterSpaceOp.  (#89143)

**DO NOT MERGE** until https://github.com/llvm/llvm-project/pull/89003


  Commit: ca33796d54ce6d2c711032b269caf32851c5915a
      https://github.com/llvm/llvm-project/commit/ca33796d54ce6d2c711032b269caf32851c5915a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    A llvm/test/CodeGen/RISCV/pr95271.ll

  Log Message:
  -----------
  [DAG] combineShiftToAVG - only create new types before LegalTypes

Fixes #95271


  Commit: 7665d3d90da7f32e56cb57eb192dc8f189730686
      https://github.com/llvm/llvm-project/commit/7665d3d90da7f32e56cb57eb192dc8f189730686
  Author: Iman Hosseini <hosseini.iman at yahoo.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
    A flang/test/Lower/CUDA/cuda-kernel-do-reduction.cuf

  Log Message:
  -----------
  [flang] Add reductions for CUF Kernels: Lowering (#95184)

* Add reductionOperands and reductionAttrs to cuf's KernelOp. 
* Parsing is already working and the tree has the info: here I make the
Bridge emit the updated KernelOp with reduction information added.
* Check |reductionAttrs| = |reductionOperands| in verifier
* Add a test
@clementval @vzakhari

---------

Co-authored-by: Iman Hosseini <imanh at nvidia.com>
Co-authored-by: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>


  Commit: af0d7128c8fd053d3de8af208d7d1682bc7a525a
      https://github.com/llvm/llvm-project/commit/af0d7128c8fd053d3de8af208d7d1682bc7a525a
  Author: Pierre d'Herbemont <pdherbemont at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/ThreadSafetyAnalysis.rst
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/AST/ast-dump-color.cpp
    M clang/test/Sema/warn-thread-safety-analysis.c
    M clang/test/SemaCXX/warn-thread-safety-parsing.cpp

  Log Message:
  -----------
  Support `guarded_by` attribute and related attributes inside C structs and support late parsing them (#94216)

This fixes #20777.

Previously the `guarded_by`, `pt_guarded_by`, `acquired_after`, and `acquired_before` attributes were only supported inside C++ classes or top level C/C++ declaration.

This patch allows these attributes to be added to struct members in C. These attributes have also now support experimental late parsing. This is off by default but can be enabled by passing `-fexperimental-late-parse-attributes`. This is useful for referring to a struct member after the annotated member. E.g.

```
struct Example {
  int a_value_defined_before __attribute__ ((guarded_by(a_mutex)));
  struct Mutex *a_mutex;
};
```

Patch by  Pierre d'Herbemont (@pdherbemont)


  Commit: 31440738bd6b1345ea978914fe01d2e19f4aa373
      https://github.com/llvm/llvm-project/commit/31440738bd6b1345ea978914fe01d2e19f4aa373
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/ProfileData/InstrProf.cpp

  Log Message:
  -----------
  [ProfileData] Use std::vector for ValueData (NFC) (#95194)

This patch changes the type of ValueData to
std::vector<InstrProfValueData> so that, in a follow-up patch, we can
teach getValueForSite to return ArrayRef<InstrProfValueData>.

Currently, a typical traversal over the value data looks like:

  uint32_t NV = Func.getNumValueDataForSite(VK, I);
std::unique_ptr<InstrProfValueData[]> VD = Func.getValueForSite(VK, I);
  for (uint32_t V = 0; V < NV; V++)
    Do something with VD[V].Value and/or VD[V].Count;

Note that we need to call getNumValueDataForSite and getValueForSite
separately.  If getValueForSite returns ArrayRef<InstrProfValueData>
in the future, then we'll be able to do something like:

  for (const auto &V : Func.getValueForSite(VK, I))
    Do something with V.Value and/or V.Count;

If ArrayRef<InstrProfValueData> directly points to ValueData, then
getValueForSite won't need to allocate memory with std::make_unique.

Now, switching to std::vector requires us to update several places:

- sortByTargetValues switches to llvm::sort because we don't need to
  worry about sort stability.

- sortByCount retains sort stability because std::list::sort also
  performs stable sort.

- merge builds another array and move it back to ValueData to avoid a
  potential quadratic behavior with std::vector::insert into the
  middle of a vector.


  Commit: 25af23f52a62e9f0d835ae167567ceb9831546a7
      https://github.com/llvm/llvm-project/commit/25af23f52a62e9f0d835ae167567ceb9831546a7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/RISCV/pr95284.ll

  Log Message:
  -----------
  [RISCV] Add test coverage for #95284


  Commit: 987b59abd0f7353cabf2f620a61ec903a885522a
      https://github.com/llvm/llvm-project/commit/987b59abd0f7353cabf2f620a61ec903a885522a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/X86/pr95278.ll

  Log Message:
  -----------
  [X86] SimplifyDemandedVectorEltsForTargetNode - use EVT for F16C nodes

As we allow these nodes to be created pre-legalization, we can't rely on them having a simple VT

Fixes #95278


  Commit: abedb3b8356d5d56f1c575c4f7682fba2cb19787
      https://github.com/llvm/llvm-project/commit/abedb3b8356d5d56f1c575c4f7682fba2cb19787
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGenTypes/MachineValueType.h
    M llvm/utils/TableGen/Common/CodeGenTarget.cpp
    M llvm/utils/TableGen/VTEmitter.cpp

  Log Message:
  -----------
  [CodeGenTypes] Speed up getVectorElementType and getVectorMinNumElements (#95282)

Implement MVT::getVectorElementType and MVT::getVectorMinNumElements
with table lookup instead of switch.

This speeds up "check-llvm-codegen-amdgpu" by about 7% in my Release
build.


  Commit: 7b8038426c52d5fee9c2f4cfe3e747e3a2b8efec
      https://github.com/llvm/llvm-project/commit/7b8038426c52d5fee9c2f4cfe3e747e3a2b8efec
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libcxx/include/__pstl/cpu_algos/any_of.h
    M libcxx/include/__pstl/cpu_algos/fill.h
    M libcxx/include/__pstl/cpu_algos/find_if.h
    M libcxx/include/__pstl/cpu_algos/for_each.h
    M libcxx/include/__pstl/cpu_algos/merge.h
    M libcxx/include/__pstl/cpu_algos/stable_sort.h
    M libcxx/include/__pstl/cpu_algos/transform.h
    M libcxx/include/__pstl/cpu_algos/transform_reduce.h

  Log Message:
  -----------
  [libc++] Move the implementation of CPU-based basis operations to namespace __pstl (#95267)

They were always intended to be in that namespace but I was trying to
keep changes orthogonal.


  Commit: 294f3ce5dde916c358d8f672b4a1c706c0387154
      https://github.com/llvm/llvm-project/commit/294f3ce5dde916c358d8f672b4a1c706c0387154
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp
    M llvm/docs/BranchWeightMetadata.rst
    M llvm/include/llvm/IR/MDBuilder.h
    M llvm/include/llvm/IR/ProfDataUtils.h
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/IR/Instruction.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/MDBuilder.cpp
    M llvm/lib/IR/Metadata.cpp
    M llvm/lib/IR/ProfDataUtils.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/LoopPeel.cpp
    M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LowerExpectIntrinsic/basic.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/expect-with-probability.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/expect_nonboolean.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/phi_merge.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/phi_or.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/phi_tern.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/phi_unexpect.ll
    M llvm/test/Transforms/PhaseOrdering/AArch64/hoist-runtime-checks.ll

  Log Message:
  -----------
  Reapply "[llvm][IR] Extend BranchWeightMetadata to track provenance o… (#95281)

…f weights" #95136

Reverts #95060, and relands #86609, with the unintended code generation
changes addressed.

This patch implements the changes to LLVM IR discussed in
https://discourse.llvm.org/t/rfc-update-branch-weights-metadata-to-allow-tracking-branch-weight-origins/75032

In this patch, we add an optional field to MD_prof meatdata nodes for
branch weights, which can be used to distinguish weights added from
llvm.expect* intrinsics from those added via other methods, e.g. from
profiles or inserted by the compiler.

One of the major motivations, is for use with MisExpect diagnostics,
which need to know if branch_weight metadata originates from an
llvm.expect intrinsic. Without that information, we end up checking
branch weights multiple times in the case if ThinLTO + SampleProfiling,
leading to some inaccuracy in how we report MisExpect related
diagnostics to users.

Since we change the format of MD_prof metadata in a fundamental way, we
need to update code handling branch weights in a number of places.

We also update the lang ref for branch weights to reflect the change.


  Commit: 682d461d5a231cee54d65910e6341769419a67d7
      https://github.com/llvm/llvm-project/commit/682d461d5a231cee54d65910e6341769419a67d7
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang-tools-extra/test/pp-trace/pp-trace-macro.cpp
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/AST/RecursiveASTVisitor.h
    M clang/include/clang/AST/TextNodeDumper.h
    M clang/include/clang/Basic/DiagnosticCommonKinds.td
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/FileManager.h
    M clang/include/clang/Basic/StmtNodes.td
    M clang/include/clang/Basic/TokenKinds.def
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Frontend/PreprocessorOutputOptions.h
    M clang/include/clang/Lex/PPCallbacks.h
    R clang/include/clang/Lex/PPDirectiveParameter.h
    R clang/include/clang/Lex/PPEmbedParameters.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Lex/PreprocessorOptions.h
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/lib/AST/Expr.cpp
    M clang/lib/AST/ExprClassification.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/StmtPrinter.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/Basic/FileManager.cpp
    M clang/lib/Basic/IdentifierTable.cpp
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/DependencyFile.cpp
    M clang/lib/Frontend/DependencyGraph.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Frontend/PrintPreprocessedOutput.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Lex/PPExpressions.cpp
    M clang/lib/Lex/PPMacroExpansion.cpp
    M clang/lib/Lex/TokenConcatenation.cpp
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Parse/ParseInit.cpp
    M clang/lib/Parse/ParseTemplate.cpp
    M clang/lib/Sema/SemaExceptionSpec.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    R clang/test/C/C2x/Inputs/bits.bin
    R clang/test/C/C2x/Inputs/boop.h
    R clang/test/C/C2x/Inputs/i.dat
    R clang/test/C/C2x/Inputs/jump.wav
    R clang/test/C/C2x/Inputs/s.dat
    R clang/test/C/C2x/n3017.c
    R clang/test/Preprocessor/Inputs/jk.txt
    R clang/test/Preprocessor/Inputs/media/art.txt
    R clang/test/Preprocessor/Inputs/media/empty
    R clang/test/Preprocessor/Inputs/null_byte.bin
    R clang/test/Preprocessor/Inputs/numbers.txt
    R clang/test/Preprocessor/Inputs/single_byte.txt
    R clang/test/Preprocessor/embed___has_embed.c
    R clang/test/Preprocessor/embed___has_embed_parsing_errors.c
    R clang/test/Preprocessor/embed___has_embed_supported.c
    R clang/test/Preprocessor/embed_art.c
    R clang/test/Preprocessor/embed_codegen.cpp
    R clang/test/Preprocessor/embed_constexpr.cpp
    R clang/test/Preprocessor/embed_dependencies.c
    R clang/test/Preprocessor/embed_ext_compat_diags.c
    R clang/test/Preprocessor/embed_feature_test.cpp
    R clang/test/Preprocessor/embed_file_not_found_chevron.c
    R clang/test/Preprocessor/embed_file_not_found_quote.c
    R clang/test/Preprocessor/embed_init.c
    R clang/test/Preprocessor/embed_parameter_if_empty.c
    R clang/test/Preprocessor/embed_parameter_limit.c
    R clang/test/Preprocessor/embed_parameter_offset.c
    R clang/test/Preprocessor/embed_parameter_prefix.c
    R clang/test/Preprocessor/embed_parameter_suffix.c
    R clang/test/Preprocessor/embed_parameter_unrecognized.c
    R clang/test/Preprocessor/embed_parsing_errors.c
    R clang/test/Preprocessor/embed_path_chevron.c
    R clang/test/Preprocessor/embed_path_quote.c
    R clang/test/Preprocessor/embed_preprocess_to_file.c
    R clang/test/Preprocessor/embed_single_entity.c
    R clang/test/Preprocessor/embed_weird.cpp
    M clang/test/Preprocessor/init-aarch64.c
    M clang/test/Preprocessor/init.c
    R clang/test/Preprocessor/single_byte.txt
    M clang/tools/libclang/CXCursor.cpp
    M clang/www/c_status.html

  Log Message:
  -----------
  Revert "✨ [Sema, Lex, Parse] Preprocessor embed in C and C++ (and Obj-C and Obj-C++ by-proxy)" (#95299)

Reverts llvm/llvm-project#68620

Introduce or expose a memory leak and UB, see llvm/llvm-project#68620


  Commit: 0cb2ae33cd51484fa724f380bfbe9c5d896d3c6f
      https://github.com/llvm/llvm-project/commit/0cb2ae33cd51484fa724f380bfbe9c5d896d3c6f
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/AccelTable.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
    R llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll

  Log Message:
  -----------
  Revert "[CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent" (#95302)

Reverts llvm/llvm-project#95039

This looks like it caused the ASan bot to fail:
https://lab.llvm.org/buildbot/#/builders/168/builds/20912

Offending line was changed in this PR


  Commit: d6bbe2e20ff21cc2d31106742dfe1711ae5c641e
      https://github.com/llvm/llvm-project/commit/d6bbe2e20ff21cc2d31106742dfe1711ae5c641e
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libc/include/llvm-libc-macros/limits-macros.h

  Log Message:
  -----------
  [libc] Fix definition of `UINT_MAX` in limits.h (#95279)

Summary:
Currently we use `(~0U)` for this definition, however the ~ operator
returns a different sign, meaning that preprocessor checks against this
value will fail. See https://godbolt.org/z/TrjaY1d8q where the
preprocessor thinks that it's not `0xffffffff` while the static
assertion thinks it is. This is because the latter does implicit
conversion but the preprocessor does not. This is now consistent with
other headers.


  Commit: 2c6f4864d14402ab815c050caefb23196796694d
      https://github.com/llvm/llvm-project/commit/2c6f4864d14402ab815c050caefb23196796694d
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

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

  Log Message:
  -----------
  Update actions-runner version for libc++ builder images


  Commit: 2cc4bc132cbcc76c5552cbc128830943ea596b3e
      https://github.com/llvm/llvm-project/commit/2cc4bc132cbcc76c5552cbc128830943ea596b3e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/test/MC/ELF/layout-interdependency.s

  Log Message:
  -----------
  MCFragment: Initialize Offset to 0

After 9d0754ada5dbbc0c009bcc2f7824488419cc5530 ("[MC] Relax fragments
eagerly") removes the assert of Offset, it is no longer useful to
initialize the member to -1.

Now the symbol value estimate is more precise, which leads to slight
behavior change to layout-interdependency.s.


  Commit: 148417bfaadf3c4c36074f3232ba6938dd6cbc61
      https://github.com/llvm/llvm-project/commit/148417bfaadf3c4c36074f3232ba6938dd6cbc61
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libcxx/cmake/caches/Generic-msan.cmake
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/sys_info.zdump.pass.cpp

  Log Message:
  -----------
  [libc++] Mark local_time test as a long test (#95170)

It can otherwise timeout under some slow configurations.


  Commit: acb896a344caf5a49cc07ba9c6bc4e8d1db0da6d
      https://github.com/llvm/llvm-project/commit/acb896a344caf5a49cc07ba9c6bc4e8d1db0da6d
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libcxx/include/__algorithm/pstl.h
    M libcxx/include/__numeric/pstl.h
    M libcxx/include/__pstl/backends/default.h
    M libcxx/include/__pstl/backends/libdispatch.h
    M libcxx/include/__pstl/backends/serial.h
    M libcxx/include/__pstl/backends/std_thread.h
    M libcxx/include/__pstl/cpu_algos/any_of.h
    M libcxx/include/__pstl/cpu_algos/fill.h
    M libcxx/include/__pstl/cpu_algos/find_if.h
    M libcxx/include/__pstl/cpu_algos/for_each.h
    M libcxx/include/__pstl/cpu_algos/merge.h
    M libcxx/include/__pstl/cpu_algos/stable_sort.h
    M libcxx/include/__pstl/cpu_algos/transform.h
    M libcxx/include/__pstl/cpu_algos/transform_reduce.h

  Log Message:
  -----------
  [libc++] Remove unnecessary #ifdef guards around PSTL implementation details (#95268)

We want the PSTL implementation details to be available regardless of
the Standard mode or whether the experimental PSTL is enabled. This
patch guards the inclusion of the PSTL to the top-level headers that
define the public API in `__numeric` and `__algorithm`.


  Commit: 8f6acd973a38da6dce45faa676cbb51da37f72e5
      https://github.com/llvm/llvm-project/commit/8f6acd973a38da6dce45faa676cbb51da37f72e5
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/debug-options.c

  Log Message:
  -----------
  Bump the DWARF version number to 5 on Darwin. (#95164)

The default debug info format for newer versions of Darwin is DWARF 5.


https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes

rdar://110925733


  Commit: 39f78464d5f8794bc836b5e15c92fd1e162a3d0b
      https://github.com/llvm/llvm-project/commit/39f78464d5f8794bc836b5e15c92fd1e162a3d0b
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libc/src/__support/fixedvector.h

  Log Message:
  -----------
  [libc][__support] Add constexpr to FixedVector members (#95315)


  Commit: f074500b229837b482c4b88d4bdd0e53d1e24ed5
      https://github.com/llvm/llvm-project/commit/f074500b229837b482c4b88d4bdd0e53d1e24ed5
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libc/src/__support/macros/attributes.h

  Log Message:
  -----------
  [libc][macros] Define LIBC_CONSTINIT (#95316)


  Commit: c9d580033f29196223cd56a0fa238c3ba51d23e4
      https://github.com/llvm/llvm-project/commit/c9d580033f29196223cd56a0fa238c3ba51d23e4
  Author: Dan Liew <dan at su-root.co.uk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/ThreadSafetyAnalysis.rst
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/AST/ast-dump-color.cpp
    M clang/test/Sema/warn-thread-safety-analysis.c
    M clang/test/SemaCXX/warn-thread-safety-parsing.cpp

  Log Message:
  -----------
  Revert "Support `guarded_by` attribute and related attributes inside C structs and support late parsing them (#94216)"

This reverts commit af0d7128c8fd053d3de8af208d7d1682bc7a525a.

Reverting due to likely regression:

https://github.com/llvm/llvm-project/pull/94216#issuecomment-2164013300


  Commit: fcc4935560720556defff25a9bd4fc44ffa3135b
      https://github.com/llvm/llvm-project/commit/fcc4935560720556defff25a9bd4fc44ffa3135b
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/debug-options.c

  Log Message:
  -----------
  Revert "Bump the DWARF version number to 5 on Darwin." (#95325)

Reverts llvm/llvm-project#95164

This broke a buildbot:
https://lab.llvm.org/buildbot/#/builders/37/builds/35987


  Commit: 45927d730bcd2aa3380834ca8db96e32a8b2f2b1
      https://github.com/llvm/llvm-project/commit/45927d730bcd2aa3380834ca8db96e32a8b2f2b1
  Author: Jason Molenda <jason at molenda.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py

  Log Message:
  -----------
  [lldb] Skip delay-init test when run on pre-macOS 15

The test has a check that the static linker supports the new option,
but it assumed the Xcode 16 linker also meant it was running on
macOS 15 and the dynamic linker would honor dependencies flagged
this way.  But Xcode 16 can be run on macOS 14.5, so we need to
skip the test in that combination.


  Commit: e80c59556d2d71cc2d0dcb2bd712c36cc4043025
      https://github.com/llvm/llvm-project/commit/e80c59556d2d71cc2d0dcb2bd712c36cc4043025
  Author: Jonathan Thackray <jonathan.thackray at arm.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/test/Driver/aarch64-mcpu.c
    M clang/test/Misc/target-invalid-cpu-note.c
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/Target/AArch64/AArch64Processors.td
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/lib/TargetParser/Host.cpp
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [AArch64] Add support for Cortex-A725 and Cortex-X925 (#95214)

Cortex-A725 and Cortex-X925 are Armv9.2 AArch64 CPUs.

Technical Reference Manual for Cortex-A725:
   https://developer.arm.com/documentation/107652/latest

Technical Reference Manual for Cortex-X925:
   https://developer.arm.com/documentation/102807/latest


  Commit: ca91538c9c6f5328f398ac849dcc4230824b007e
      https://github.com/llvm/llvm-project/commit/ca91538c9c6f5328f398ac849dcc4230824b007e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/tools/driver/cc1as_main.cpp
    M llvm/lib/CodeGen/LLVMTargetMachine.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/tools/llvm-ml/llvm-ml.cpp

  Log Message:
  -----------
  [MC] Move AllowTemporaryLabels setting to MCContext::MCContext

Also delete `AllowTemporaryLabels = true` from MCContext::reset: when
llc supports -save-temp-labels in the next change, this assignment
should be removed to support -compile-twice.


  Commit: a91c8398f22c28618d681497e9856c3a4b8753c3
      https://github.com/llvm/llvm-project/commit/a91c8398f22c28618d681497e9856c3a4b8753c3
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
    M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
    M llvm/test/CodeGen/X86/asm-label.ll
    R llvm/test/MC/ELF/empty-twice.ll
    A llvm/test/MC/ELF/twice.ll
    M llvm/tools/llvm-mc/llvm-mc.cpp

  Log Message:
  -----------
  [MC] Move -save-temp-labels from llvm-mc to MCTargetOptionsCommandFlags

so that tools like llc can use the option as well.
ca91538c9c6f5328f398ac849dcc4230824b007e is a prerequisite.


  Commit: d125e717df24b2d310d934cca5daf6589566a0d6
      https://github.com/llvm/llvm-project/commit/d125e717df24b2d310d934cca5daf6589566a0d6
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

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

  Log Message:
  -----------
  [MC] Remove setAllowTemporaryLabels and rename AllowTemporaryLabels

Follow-up to a91c8398f22c28618d681497e9856c3a4b8753c3.


  Commit: 86d8aec97fd9e009e9b360ffeee744d3acce730d
      https://github.com/llvm/llvm-project/commit/86d8aec97fd9e009e9b360ffeee744d3acce730d
  Author: dyung <douglas.yung at sony.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
    M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
    M compiler-rt/test/asan/TestCases/use-after-free-right.cpp

  Log Message:
  -----------
  [asan] Attempt to fix tests broken by #94307. (#95340)


  Commit: 6784bf764207d267b781b4f515a2fafdcb345509
      https://github.com/llvm/llvm-project/commit/6784bf764207d267b781b4f515a2fafdcb345509
  Author: Ivy Zhang <yan3.zhang at intel.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
    M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
    M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
    M mlir/test/Dialect/Arith/canonicalize.mlir
    M mlir/test/Dialect/Arith/emulate-unsupported-floats.mlir

  Log Message:
  -----------
  [MLIR][Arith] add fastMathAttr on arith::extf and arith::truncf (#93443)

Add an `fastMathAttr` on `arith::extf` and `arith::truncf`. If these two
ops are inserted by some promotion passes (like legalize-to-f32 /
emulate-unsupported-floats), they will be labeled as
`FastMathFlags::contract`, denoting that they can be then `eliminated by
canonicalizer`.

The `elimination` can help improve performance, while may introduce some
numerical differences.


  Commit: b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
      https://github.com/llvm/llvm-project/commit/b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp

  Log Message:
  -----------
  [clang-tidy] ignoring macro with hash preprocessing token in cppcoreguidelines-macro-usage (#95265)

`#` and `##` preprocessing tokens cannot be replaced by constexpr
function. It should be ignored in check.


  Commit: 2e1ad93961a3f444659c5d02d800e3144acccdb4
      https://github.com/llvm/llvm-project/commit/2e1ad93961a3f444659c5d02d800e3144acccdb4
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/TemplateName.h
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/TemplateName.cpp
    M clang/unittests/AST/CMakeLists.txt
    A clang/unittests/AST/ProfilingTest.cpp

  Log Message:
  -----------
  [clang] fix broken canonicalization of DeducedTemplateSpecializationType (#95202)

This reverts the functional elements of commit
3e78fa860235431323aaf08c8fa922d75a7cfffa and redoes it, by fixing the
true root cause of #61317.

A TemplateName can be non-canonical; profiling it based on the canonical
name would result in inconsistent preservation of as-written information
in the AST.

The true problem in #61317 is that we would not consider the methods
with requirements expression which contain DTSTs as the same in relation
to merging of declarations when importing modules.

The expressions would never match because they contained DTSTs pointing
to different redeclarations of the same class template, but since
canonicalization for them was broken, their canonical types would not
match either.

---

No changelog entry because #61317 was already claimed as fixed in
previous release.


  Commit: 78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2
      https://github.com/llvm/llvm-project/commit/78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 2e1ad93961a3


  Commit: 34aa6c5d9a1df7767d9758836c88ff26f72d0b05
      https://github.com/llvm/llvm-project/commit/34aa6c5d9a1df7767d9758836c88ff26f72d0b05
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/avx2-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll

  Log Message:
  -----------
  [msan] Handle blendv intrinsics (#94882)

blendvs are very similar to select, so we adjust
arguments and forward them into select handler.


  Commit: 90a23d3a5a843086124c4b9315ee6a7617965623
      https://github.com/llvm/llvm-project/commit/90a23d3a5a843086124c4b9315ee6a7617965623
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

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

  Log Message:
  -----------
  [MC] Restore setOffset(0) in emitLabel

For bolt/test/runtime/X86/exceptions-pic.test, llvm-bolt seems to call
emitLabel twice and the assert will fail. Work around it after
2cc4bc132cbcc76c5552cbc128830943ea596b3e


  Commit: 212af9410ccc29f24c677c6207eb4e20de6575aa
      https://github.com/llvm/llvm-project/commit/212af9410ccc29f24c677c6207eb4e20de6575aa
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M .github/workflows/libcxx-build-and-test.yaml
    M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp
    M clang/docs/APINotes.rst
    M clang/docs/ReleaseNotes.rst
    M clang/docs/analyzer/checkers.rst
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/TemplateName.h
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTStructuralEquivalence.cpp
    M clang/lib/AST/CMakeLists.txt
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/TemplateName.cpp
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/AArch64.h
    M clang/lib/CodeGen/CGCleanup.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
    R clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
    M clang/test/AST/Interp/opencl.cl
    M clang/test/AST/Interp/records.cpp
    R clang/test/Analysis/sizeofpointer.c
    M clang/test/CodeGen/aarch64-cpu-supports-target.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
    M clang/test/CodeGen/aarch64-targetattr.c
    M clang/test/CodeGen/attr-target-version.c
    M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp
    M clang/test/Driver/aarch64-mcpu.c
    M clang/test/Driver/warning-options.cpp
    M clang/test/Misc/target-invalid-cpu-note.c
    M clang/test/Preprocessor/riscv-target-features.c
    M clang/test/Sema/aarch64-neon-target.c
    M clang/tools/driver/cc1as_main.cpp
    M clang/unittests/AST/CMakeLists.txt
    A clang/unittests/AST/ProfilingTest.cpp
    M clang/unittests/AST/StructuralEquivalenceTest.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp
    M clang/www/analyzer/alpha_checks.html
    M compiler-rt/lib/builtins/CMakeLists.txt
    M compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cpp
    M compiler-rt/test/asan/TestCases/Posix/strndup_oob_test.cpp
    M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
    M compiler-rt/test/asan/TestCases/debug_stacks.cpp
    M compiler-rt/test/asan/TestCases/double-free.cpp
    M compiler-rt/test/asan/TestCases/malloc-size-too-big.cpp
    M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
    M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
    M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
    M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
    M compiler-rt/test/asan/TestCases/use-after-free.cpp
    M flang/include/flang/Lower/PFTBuilder.h
    M flang/include/flang/Lower/Support/Utils.h
    M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
    M flang/include/flang/Parser/token-sequence.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Lower/PFTBuilder.cpp
    M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/lib/Parser/token-sequence.cpp
    A flang/test/Lower/CUDA/cuda-kernel-do-reduction.cuf
    A flang/test/Lower/OpenMP/distribute.f90
    M flang/test/Lower/OpenMP/if-clause.f90
    M flang/test/Lower/OpenMP/loop-combined.f90
    A flang/test/Lower/pre-fir-tree09.f90
    M flang/test/Preprocessing/directive-contin-with-pp.F90
    M libc/include/llvm-libc-macros/limits-macros.h
    M libc/src/__support/fixedvector.h
    M libc/src/__support/macros/attributes.h
    M libc/src/stdio/baremetal/CMakeLists.txt
    M libc/src/stdio/baremetal/printf.cpp
    A libc/src/stdio/baremetal/putchar.cpp
    M libcxx/benchmarks/algorithms/pstl.stable_sort.bench.cpp
    M libcxx/cmake/caches/Generic-msan.cmake
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/docs/Status/Cxx23Papers.csv
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__algorithm/pstl.h
    R libcxx/include/__algorithm/pstl_frontend_dispatch.h
    M libcxx/include/__atomic/atomic_sync.h
    M libcxx/include/__numeric/pstl.h
    A libcxx/include/__pstl/backend.h
    A libcxx/include/__pstl/backend_fwd.h
    A libcxx/include/__pstl/backends/default.h
    M libcxx/include/__pstl/backends/libdispatch.h
    M libcxx/include/__pstl/backends/serial.h
    M libcxx/include/__pstl/backends/std_thread.h
    R libcxx/include/__pstl/configuration.h
    R libcxx/include/__pstl/configuration_fwd.h
    M libcxx/include/__pstl/cpu_algos/any_of.h
    M libcxx/include/__pstl/cpu_algos/fill.h
    M libcxx/include/__pstl/cpu_algos/find_if.h
    M libcxx/include/__pstl/cpu_algos/for_each.h
    M libcxx/include/__pstl/cpu_algos/merge.h
    M libcxx/include/__pstl/cpu_algos/stable_sort.h
    M libcxx/include/__pstl/cpu_algos/transform.h
    M libcxx/include/__pstl/cpu_algos/transform_reduce.h
    A libcxx/include/__pstl/dispatch.h
    A libcxx/include/__pstl/handle_exception.h
    M libcxx/include/barrier
    M libcxx/include/module.modulemap
    M libcxx/include/version
    M libcxx/src/atomic.cpp
    M libcxx/src/barrier.cpp
    M libcxx/src/filesystem/operations.cpp
    M libcxx/test/libcxx/algorithms/pstl.iterator-requirements.verify.cpp
    R libcxx/test/libcxx/algorithms/pstl.robust_against_customization_points_not_working.pass.cpp
    M libcxx/test/libcxx/transitive_includes/cxx17.csv
    M libcxx/test/libcxx/transitive_includes/cxx20.csv
    M libcxx/test/libcxx/transitive_includes/cxx23.csv
    M libcxx/test/libcxx/transitive_includes/cxx26.csv
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/sys_info.zdump.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.funsigned-char.pass.cpp
    M libcxx/utils/ci/docker-compose.yml
    M libcxx/utils/generate_feature_test_macro_components.py
    M lldb/include/lldb/Utility/ConstString.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
    M lldb/test/API/commands/target/basic/Makefile
    M lldb/test/API/lang/c/global_variables/Makefile
    M lldb/test/API/lang/cpp/char8_t/Makefile
    M lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
    M lldb/unittests/Utility/ConstStringTest.cpp
    M llvm/docs/BranchWeightMetadata.rst
    M llvm/docs/RISCVUsage.rst
    M llvm/docs/ReleaseNotes.rst
    A llvm/include/llvm/ADT/DynamicAPInt.h
    A llvm/include/llvm/ADT/SlowDynamicAPInt.h
    M llvm/include/llvm/CodeGen/MachineDominators.h
    M llvm/include/llvm/CodeGen/MachinePostDominators.h
    M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/CodeGenTypes/MachineValueType.h
    M llvm/include/llvm/IR/MDBuilder.h
    M llvm/include/llvm/IR/ProfDataUtils.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/MC/MCContext.h
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/include/llvm/MC/MCObjectStreamer.h
    M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/LLVMTargetMachine.cpp
    M llvm/lib/CodeGen/MIRSampleProfile.cpp
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp
    M llvm/lib/CodeGen/MachineDominators.cpp
    M llvm/lib/CodeGen/MachineLICM.cpp
    M llvm/lib/CodeGen/MachinePostDominators.cpp
    M llvm/lib/CodeGen/MachineRegionInfo.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/CodeGen/ShrinkWrap.cpp
    M llvm/lib/IR/Instruction.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/MDBuilder.cpp
    M llvm/lib/IR/Metadata.cpp
    M llvm/lib/IR/ProfDataUtils.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/lib/MC/MCELFStreamer.cpp
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/MC/MCMachOStreamer.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
    M llvm/lib/MC/MCWinCOFFStreamer.cpp
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/Support/CMakeLists.txt
    A llvm/lib/Support/DynamicAPInt.cpp
    A llvm/lib/Support/SlowDynamicAPInt.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64Processors.td
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelDivergenceLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
    M llvm/lib/Target/AMDGPU/AMDGPUInsertSingleUseVDST.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/R600MachineCFGStructurizer.cpp
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
    M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
    M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
    M llvm/lib/Target/AMDGPU/VOP1Instructions.td
    M llvm/lib/Target/AMDGPU/VOP2Instructions.td
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td
    M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
    M llvm/lib/Target/AMDGPU/VOPCInstructions.td
    M llvm/lib/Target/AMDGPU/VOPInstructions.td
    M llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
    M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVSystemOperands.td
    M llvm/lib/Target/X86/X86FastPreTileConfig.cpp
    M llvm/lib/Target/X86/X86FastTileConfig.cpp
    M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86MachineFunctionInfo.h
    M llvm/lib/Target/X86/X86PreTileConfig.cpp
    M llvm/lib/Target/X86/X86TileConfig.cpp
    M llvm/lib/TargetParser/AArch64TargetParser.cpp
    M llvm/lib/TargetParser/Host.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/LoopPeel.cpp
    M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/CodeGen/AArch64/aarch64-known-bits-hadd.ll
    M llvm/test/CodeGen/AArch64/arm64-vhadd.ll
    A llvm/test/CodeGen/AArch64/avg.ll
    A llvm/test/CodeGen/AArch64/outlining-with-streaming-mode-changes.ll
    M llvm/test/CodeGen/AArch64/sve-hadd.ll
    M llvm/test/CodeGen/AMDGPU/insert-singleuse-vdst.mir
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.ll
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll
    M llvm/test/CodeGen/AMDGPU/ptrmask.ll
    M llvm/test/CodeGen/AMDGPU/wqm.ll
    M llvm/test/CodeGen/LoongArch/calling-conv-lp64d.ll
    M llvm/test/CodeGen/LoongArch/calling-conv-lp64s.ll
    M llvm/test/CodeGen/LoongArch/can-not-realign-stack.ll
    A llvm/test/CodeGen/LoongArch/emutls.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-fp.ll
    M llvm/test/CodeGen/LoongArch/jump-table.ll
    M llvm/test/CodeGen/LoongArch/register-coalescer-crash-pr79718.mir
    M llvm/test/CodeGen/LoongArch/sextw-removal.ll
    M llvm/test/CodeGen/LoongArch/vararg.ll
    M llvm/test/CodeGen/RISCV/attributes.ll
    A llvm/test/CodeGen/RISCV/pr95271.ll
    A llvm/test/CodeGen/RISCV/pr95284.ll
    M llvm/test/CodeGen/Thumb2/mve-laneinterleaving.ll
    M llvm/test/CodeGen/X86/asm-label.ll
    M llvm/test/CodeGen/X86/avg.ll
    M llvm/test/CodeGen/X86/avgceils.ll
    M llvm/test/CodeGen/X86/avgceilu.ll
    M llvm/test/CodeGen/X86/avgfloors.ll
    M llvm/test/CodeGen/X86/avgflooru.ll
    A llvm/test/CodeGen/X86/memfold-mov32r0.ll
    M llvm/test/CodeGen/X86/min-legal-vector-width.ll
    A llvm/test/CodeGen/X86/pr95278.ll
    M llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
    A llvm/test/Instrumentation/MemorySanitizer/PowerPC/kernel-ppc64le.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/avx2-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll
    R llvm/test/MC/ELF/empty-twice.ll
    M llvm/test/MC/ELF/layout-interdependency.s
    A llvm/test/MC/ELF/twice.ll
    M llvm/test/MC/RISCV/attribute-arch.s
    M llvm/test/MC/RISCV/hypervisor-csr-names.s
    M llvm/test/MC/RISCV/machine-csr-names.s
    M llvm/test/MC/RISCV/supervisor-csr-names.s
    M llvm/test/Other/lit-unicode.txt
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i8.ll
    M llvm/test/Transforms/Inline/access-attributes-prop.ll
    M llvm/test/Transforms/Inline/noalias-calls-always.ll
    M llvm/test/Transforms/Inline/noalias-calls.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs-sve.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/masked-call.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/store-costs-sve.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-low-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-optsize.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-reductions.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-unroll.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/tail-folding-styles.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/inloop-reduction.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/scalable-tailfold.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/uniform-load-store.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-interleave.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-iv32.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-masked-loadstore.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-reverse-load-store.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-vp-intrinsics.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/basic.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/expect-with-probability.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/expect_nonboolean.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/phi_merge.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/phi_or.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/phi_tern.ll
    M llvm/test/Transforms/LowerExpectIntrinsic/phi_unexpect.ll
    M llvm/test/Transforms/PhaseOrdering/AArch64/hoist-runtime-checks.ll
    A llvm/test/Transforms/PhaseOrdering/pr95152.ll
    M llvm/test/tools/llvm-rc/windres-prefix.test
    M llvm/tools/llvm-mc/llvm-mc.cpp
    M llvm/tools/llvm-ml/llvm-ml.cpp
    M llvm/unittests/ADT/CMakeLists.txt
    A llvm/unittests/ADT/DynamicAPIntTest.cpp
    M llvm/unittests/ProfileData/InstrProfTest.cpp
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
    M llvm/unittests/TargetParser/TargetParserTest.cpp
    M llvm/utils/TableGen/Common/CodeGenTarget.cpp
    M llvm/utils/TableGen/VTEmitter.cpp
    M llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
    M llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
    M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
    M mlir/docs/Dialects/LLVM.md
    M mlir/include/mlir/Analysis/Presburger/Barvinok.h
    M mlir/include/mlir/Analysis/Presburger/Fraction.h
    M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
    M mlir/include/mlir/Analysis/Presburger/LinearTransform.h
    R mlir/include/mlir/Analysis/Presburger/MPInt.h
    M mlir/include/mlir/Analysis/Presburger/Matrix.h
    M mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
    M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
    M mlir/include/mlir/Analysis/Presburger/Simplex.h
    R mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
    M mlir/include/mlir/Analysis/Presburger/Utils.h
    M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOpBase.td
    M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
    M mlir/include/mlir/Support/LLVM.h
    M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
    M mlir/lib/Analysis/Presburger/Barvinok.cpp
    M mlir/lib/Analysis/Presburger/CMakeLists.txt
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/lib/Analysis/Presburger/LinearTransform.cpp
    R mlir/lib/Analysis/Presburger/MPInt.cpp
    M mlir/lib/Analysis/Presburger/Matrix.cpp
    M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
    M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
    M mlir/lib/Analysis/Presburger/Simplex.cpp
    R mlir/lib/Analysis/Presburger/SlowMPInt.cpp
    M mlir/lib/Analysis/Presburger/Utils.cpp
    M mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
    M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
    M mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorTransfer.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/lib/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/python/CMakeLists.txt
    M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
    M mlir/test/Conversion/SPIRVToLLVM/func-ops-to-llvm.mlir
    M mlir/test/Dialect/Arith/canonicalize.mlir
    M mlir/test/Dialect/Arith/emulate-unsupported-floats.mlir
    M mlir/test/Dialect/LLVMIR/inlining.mlir
    M mlir/test/Dialect/LLVMIR/invalid.mlir
    M mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir
    A mlir/test/Dialect/SparseTensor/sparse_iteration_to_scf.mlir
    M mlir/test/Dialect/SparseTensor/sparse_space_collapse.mlir
    M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
    M mlir/test/Dialect/Vector/vector-transfer-permutation-lowering.mlir
    M mlir/test/Target/LLVMIR/Import/function-attributes.ll
    M mlir/test/Target/LLVMIR/llvmir-invalid.mlir
    M mlir/test/Target/LLVMIR/llvmir.mlir
    M mlir/test/Target/LLVMIR/rocdl.mlir
    A mlir/test/mlir-tblgen/openmp-ops.td
    M mlir/unittests/Analysis/Presburger/CMakeLists.txt
    M mlir/unittests/Analysis/Presburger/FractionTest.cpp
    M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
    M mlir/unittests/Analysis/Presburger/LinearTransformTest.cpp
    R mlir/unittests/Analysis/Presburger/MPIntTest.cpp
    M mlir/unittests/Analysis/Presburger/MatrixTest.cpp
    M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
    M mlir/unittests/Analysis/Presburger/Utils.h
    M mlir/unittests/Analysis/Presburger/UtilsTest.cpp
    M offload/plugins-nextgen/amdgpu/src/rtl.cpp
    M utils/bazel/llvm-project-overlay/mlir/test/mlir-tblgen/BUILD.bazel

  Log Message:
  -----------
  remove allocAndAdd

Created using spr 1.3.5-bogner


Compare: https://github.com/llvm/llvm-project/compare/5a49e4f55751...212af9410ccc

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