[all-commits] [llvm/llvm-project] 179404: [VPlan] Move verifier to class to reduce need to p...

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Wed Jun 5 01:18:27 PDT 2024


  Branch: refs/heads/users/wangpc-pp/spr/main.riscvmc-warn-if-sewlmul-may-not-be-compatible
  Home:   https://github.com/llvm/llvm-project
  Commit: 17940465364e0ad66fa364c5bef8abec4e34ac5b
      https://github.com/llvm/llvm-project/commit/17940465364e0ad66fa364c5bef8abec4e34ac5b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [VPlan] Move verifier to class to reduce need to pass via args. (NFC)

Move VPlan verification functions to avoid the need to pass VPDT across
multiple calls. This also allows easier extensions in the future.


  Commit: 3db1f3110e714ad24f7d72114b3a2c14f6c63651
      https://github.com/llvm/llvm-project/commit/3db1f3110e714ad24f7d72114b3a2c14f6c63651
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [clang-format] Fix a regression in annotating class decl braces (#93657)

Fixes #93604.


  Commit: 32f1f5ee39985bbd0c8f21bf264a45cd5d4335f6
      https://github.com/llvm/llvm-project/commit/32f1f5ee39985bbd0c8f21bf264a45cd5d4335f6
  Author: Pavel Samolysov <samolisov at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    A llvm/test/Transforms/PGOProfile/available_externally_functions.ll
    A llvm/test/Transforms/PGOProfile/declarations_only.ll
    A llvm/test/Transforms/PGOProfile/global_variables_only.ll

  Log Message:
  -----------
  [PGO] Add tests for modules with only globals and function declarations (#93764)

When a module contains globals and/or function declarations only, the
'__llvm_profile_raw_version' variable should not be generated because
the module was not instrumented at all.

NFC


  Commit: 02c6845c762dfd0a19d4a2f997990e160f392dae
      https://github.com/llvm/llvm-project/commit/02c6845c762dfd0a19d4a2f997990e160f392dae
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/include/clang/Basic/DebugOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    R clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
    M clang/test/Driver/debug-options.c

  Log Message:
  -----------
  Revert "[DebugInfo] Add flag to only emit referenced member functions" (#93767)

Reverts llvm/llvm-project#87018

MacOS and Windows bots are broken.


  Commit: 8890209ead2246461985f49c4c9c01cc2371ac09
      https://github.com/llvm/llvm-project/commit/8890209ead2246461985f49c4c9c01cc2371ac09
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/SemaHLSL.h
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaAvailability.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/SemaHLSL/Availability/attr-availability-compute.hlsl
    M clang/test/SemaHLSL/Availability/attr-availability-mesh.hlsl
    M clang/test/SemaHLSL/Availability/attr-availability-pixel.hlsl
    A clang/test/SemaHLSL/Availability/avail-diag-default-compute.hlsl
    A clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
    A clang/test/SemaHLSL/Availability/avail-diag-relaxed-compute.hlsl
    A clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
    A clang/test/SemaHLSL/Availability/avail-lib-multiple-stages.hlsl
    M clang/test/SemaHLSL/WaveBuiltinAvailability.hlsl

  Log Message:
  -----------
  [HLSL] Default and Relaxed Availability Diagnostics (#92704)

Implements HLSL availability diagnostics' default and relaxed mode.

HLSL availability diagnostics emits errors or warning when unavailable
shader APIs are used. Unavailable shader APIs are APIs that are exposed
in HLSL code but are not available in the target shader stage or shader
model version.

In the default mode the compiler emits an error when an unavailable API
is found in a code that is reachable from the shader entry point
function. In the future this check will also extended to exported
library functions (#92073). The relaxed diagnostic mode is the same
except the compiler emits a warning. This mode is enabled by
``-Wno-error=hlsl-availability``.

See HLSL Availability Diagnostics design doc
[here](https://github.com/llvm/llvm-project/blob/main/clang/docs/HLSL/AvailabilityDiagnostics.rst)
for more details.

Fixes #90095


  Commit: 7d4a45d98275e669bda40410f064891beb3480ce
      https://github.com/llvm/llvm-project/commit/7d4a45d98275e669bda40410f064891beb3480ce
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CGExprScalar.cpp
    R clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp

  Log Message:
  -----------
  Revert "Add option to generate additional debug info for expression dereferencing pointer to pointers. (#81545)"

This reverts commit aeccfee348c717165541d8d895b9b0cdfe31415c, and dependents:

Revert "[NFC] Fix PPC buildbot failure https://lab.llvm.org/buildbot/#/builders/230/builds/29066"
This reverts commit 2b1d1c51f6e321267cc86e9db7808298c59caf0e.

Revert "Fix test - remove unnecessary/incorrect `-S`, in favor of `-emit-llvm`"
This reverts commit ea1ecb50fa831583241fc531153bd2c072955d29.

The test is failing on MacOs and Windows


  Commit: 89801c74c3e25f5a1eaa3999863be398f6a82abb
      https://github.com/llvm/llvm-project/commit/89801c74c3e25f5a1eaa3999863be398f6a82abb
  Author: Bimo <rui.xu at intel.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M mlir/python/mlir/runtime/np_to_memref.py
    M mlir/python/requirements.txt
    M mlir/test/python/execution_engine.py

  Log Message:
  -----------
  [MLIR][Python] add ctype python binding support for bf16 (#92489)

Since bf16 is supported by mlir, similar to
complex128/complex64/float16, we need an implementation of bf16 ctype in
Python binding. Furthermore, to resolve the absence of bf16 support in
NumPy, a third-party package [ml_dtypes
](https://github.com/jax-ml/ml_dtypes) is introduced to add bf16
extension, and the same approach was used in `torch-mlir` project.

See motivation and discussion in:
https://discourse.llvm.org/t/how-to-run-executionengine-with-bf16-dtype-in-mlir-python-bindings/79025


  Commit: 49ef21d7674fa8267d674879e21b69d9ca4e6203
      https://github.com/llvm/llvm-project/commit/49ef21d7674fa8267d674879e21b69d9ca4e6203
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M .ci/generate-buildkite-pipeline-premerge

  Log Message:
  -----------
  Remove debug print from CI generation script (NFC)


  Commit: e6821dd8c8cdd0279000f9a8eb57caf7977d68db
      https://github.com/llvm/llvm-project/commit/e6821dd8c8cdd0279000f9a8eb57caf7977d68db
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M mlir/python/mlir/runtime/np_to_memref.py
    M mlir/python/requirements.txt
    M mlir/test/python/execution_engine.py

  Log Message:
  -----------
  Revert "[MLIR][Python] add ctype python binding support for bf16" (#93771)

Reverts llvm/llvm-project#92489

This broke the bots.


  Commit: 3e023d87d8e9a7bcf0a2feb2cee9b9ca47643a7e
      https://github.com/llvm/llvm-project/commit/3e023d87d8e9a7bcf0a2feb2cee9b9ca47643a7e
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp

  Log Message:
  -----------
  [lldb] Remove DWARFDebugInfo DIERef footguns (#92894)

DWARFDebugInfo doesn't know how to resolve the "file_index" component of
a DIERef. This patch removes GetUnit (in favor of existing
GetUnitContainingDIEOffset) and changes GetDIE to take only the
components it actually uses.


  Commit: 498da62088b22ef1d4e90d6021a80ae7bab6abae
      https://github.com/llvm/llvm-project/commit/498da62088b22ef1d4e90d6021a80ae7bab6abae
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    A clang/test/Modules/cxx20-decls.cppm

  Log Message:
  -----------
  [NFC] [clang] add tests for merging of UsingShadowDecl


  Commit: 6a3982f8b7e37987659706cb3e6427c54c9bc7ce
      https://github.com/llvm/llvm-project/commit/6a3982f8b7e37987659706cb3e6427c54c9bc7ce
  Author: Christian Ulmann <christianulmann at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
    M mlir/test/Dialect/LLVMIR/inlining-alias-scopes.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Relax the LLVM dialect's inliner assuming UCF (#93514)

This commit changes the LLVM dialect's inliner interface to stop
assuming that the inlined function only contained unstructured control
flow. This is not necessarily true, and it lead to not properly
propagating the noalias information.


  Commit: 4bce270157f9a81bd7e38dc589a2970a445d1e96
      https://github.com/llvm/llvm-project/commit/4bce270157f9a81bd7e38dc589a2970a445d1e96
  Author: Guy David <49722543+guy-david at users.noreply.github.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/test/Dialect/GPU/dynamic-shared-memory.mlir
    M mlir/test/Dialect/LLVMIR/constant-folding.mlir
    M mlir/test/Dialect/SparseTensor/conversion.mlir
    M mlir/test/Dialect/SparseTensor/sparse_fill_zero.mlir
    M mlir/test/Dialect/SparseTensor/specifier_to_llvm.mlir
    M mlir/test/Examples/transform/ChH/full.mlir

  Log Message:
  -----------
  [mlir][llvm] Implement ConstantLike for ZeroOp, UndefOp, PoisonOp (#93690)

These act as constants and should be propagated whenever possible. It is
safe to do so for mlir.undef and mlir.poison because they remain "dirty"
through out their lifetime and can be duplicated, merged, etc. per the
LangRef.

Signed-off-by: Guy David <guy.david at nextsilicon.com>


  Commit: d10b76552f919ddb84347ab03908a55804ea6b8a
      https://github.com/llvm/llvm-project/commit/d10b76552f919ddb84347ab03908a55804ea6b8a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/test/CodeGen/object-size.c
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
    M clang/test/CodeGenHLSL/cbuf.hlsl
    M clang/test/Driver/linker-wrapper-image.c
    M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_ignorelist.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/test/Assembler/ConstantExprFold.ll
    M llvm/test/Assembler/getelementptr.ll
    M llvm/test/Assembler/getelementptr_vec_ce.ll
    M llvm/test/CodeGen/AMDGPU/opencl-printf.ll
    M llvm/test/Linker/comdat-largest.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt.ll
    M llvm/test/Transforms/GlobalOpt/globalsra-opaque-ptr.ll
    M llvm/test/Transforms/GlobalSplit/basic.ll
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-getelementptr.ll
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions-inseltpoison.ll
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions.ll
    M llvm/test/Transforms/InferAddressSpaces/NVPTX/bug31948.ll
    M llvm/test/Transforms/InferAlignment/gep-array.ll
    M llvm/test/Transforms/InstCombine/gep-vector.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
    M llvm/test/Transforms/InstSimplify/vector_gep.ll
    M llvm/test/Transforms/NewGVN/2007-07-26-InterlockingLoops.ll
    M mlir/test/Target/LLVMIR/omptarget-constant-indexing-device-region.mlir
    M mlir/test/Target/LLVMIR/omptarget-fortran-allocatable-types-host.mlir

  Log Message:
  -----------
  [ConstantFold] Remove notional over-indexing fold (#93697)

The data-layout independent constant folding currently has some rather
gnarly code for canonicalizing GEP indices to reduce "notional
overindexing", and then infers inbounds based on that canonicalization.

Now that we canonicalize to i8 GEPs, this canonicalization is
essentially useless, as we'll discard it as soon as the GEP hits the
data-layout aware constant folder anyway. As such, I'd like to remove
this code entirely.

This shouldn't have any impact on optimization capabilities.


  Commit: 1ac592c4e7b4ba7c680af9286ad79ed27ad628f1
      https://github.com/llvm/llvm-project/commit/1ac592c4e7b4ba7c680af9286ad79ed27ad628f1
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ASTContext.cpp
    M clang/test/Modules/cxx20-decls.cppm

  Log Message:
  -----------
  [clang] fix merging of UsingShadowDecl (#80245)

[clang] fix merging of UsingShadowDecl

Previously, when deciding if two UsingShadowDecls where mergeable,
we would incorrectly only look for both pointing to the exact redecla
ration, whereas the correct thing is to look for declarations to the
same entity.

This problem has existed as far back as 2013, introduced in commit
fd8634a09de71.

This problem could manifest itself as ODR check false positives when
importing modules.

Fixes: #80252


  Commit: 73f4c2547dc3d1b6a453d3c4388648b122554dd1
      https://github.com/llvm/llvm-project/commit/73f4c2547dc3d1b6a453d3c4388648b122554dd1
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Basic/Targets/X86.cpp
    M clang/lib/Basic/Targets/X86.h
    M clang/lib/Driver/ToolChains/Arch/X86.cpp
    A clang/test/Driver/x86-apx-inline-asm-use-gpr32.cpp
    M clang/test/Preprocessor/x86_target_features.c
    M llvm/docs/LangRef.rst
    M llvm/lib/Target/X86/X86.td
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/X86/apx/asm-constraint-jR.ll
    A llvm/test/CodeGen/X86/apx/asm-constraint-jr.ll
    M llvm/test/CodeGen/X86/apx/asm-constraint.ll

  Log Message:
  -----------
  [X86] Support EGPR for inline assembly. (#92338)

"jR": explicitly enables EGPR
"r", "l", "q": enables/disables EGPR w/wo -mapx-inline-asm-use-gpr32
"jr": explicitly enables GPR with -mapx-inline-asm-use-gpr32
-mapx-inline-asm-use-gpr32 will also define a new macro:
`__APX_INLINE_ASM_USE_GPR32__`

GCC patches:
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631183.html
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631186.html
[[PATCH v2] x86: Define _APX_INLINE_ASM_USE_GPR32_
(gnu.org)](https://gcc.gnu.org/pipermail/gcc-patches/2024-April/649003.html)

Reference: https://gcc.godbolt.org/z/nPPvbY6r4


  Commit: 7f524f7ef2e9a7086d8e578c313cf1118c997922
      https://github.com/llvm/llvm-project/commit/7f524f7ef2e9a7086d8e578c313cf1118c997922
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

  Log Message:
  -----------
  [X86][CodeGen] Simplify the code in foldMemoryOperandImpl, NFCI

In preparation for the coming NDD -> RMW fold.


  Commit: c7acca1cb06f3850590363fb729a3c03a43170dd
      https://github.com/llvm/llvm-project/commit/c7acca1cb06f3850590363fb729a3c03a43170dd
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/test/Shell/SymbolFile/Breakpad/symtab-sorted-by-size.test

  Log Message:
  -----------
  [lldb] Fix collisions between two breakpad tests

symtab-sorted-by-size.test was using the same output file name as
symtab.test.


  Commit: 6f2794afeb3c76293cc91cb9f8ae8c90a2ba8b3e
      https://github.com/llvm/llvm-project/commit/6f2794afeb3c76293cc91cb9f8ae8c90a2ba8b3e
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/lib/Basic/Targets/X86.cpp

  Log Message:
  -----------
  Fix build warning for '[X86] Support EGPR for inline assembly. (#92338)' (#93777)


  Commit: e398383f9a05ec6f3766e5ab49dd862a72325ba6
      https://github.com/llvm/llvm-project/commit/e398383f9a05ec6f3766e5ab49dd862a72325ba6
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
    M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
    M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
    M flang/test/Fir/convert-to-llvm.fir
    M flang/test/Fir/tbaa.fir

  Log Message:
  -----------
  [flang][fir] add codegen for fir.load of assumed-rank fir.box (#93569)

- Update LLVM type conversion of assumed-rank fir.box/class to generate
the type of the maximum ranked descriptor. That way, alloca for assumed
rank descriptor copies are always big enough. This is needed in the
fir.load case that generates a new storage for the value
- Add a "computeBoxSize" helper to compute the dynamic size of a
descriptor.
- Use that size to generate an llvm.memcpy intrinsic to copy the input
descriptor into the new storage.

Looking at https://reviews.llvm.org/D108221?id=404635, it seems valid to
add the TBAA node on the memcpy, which I did.

In a further patch, I think we should likely always use a memcpy since
LLVM seems to have a better time optimizing it than fir.load/fir.store
patterns.


  Commit: 74faa402ccf118ca9ee1434ce385c9a018014a6a
      https://github.com/llvm/llvm-project/commit/74faa402ccf118ca9ee1434ce385c9a018014a6a
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M flang/lib/Lower/Allocatable.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90

  Log Message:
  -----------
  [flang] lower allocatable assumed-rank specification parts (#93682)

Lower allocatable and pointers specification parts. Nothing special is
required to allocate the descriptor given they are required to be dummy
arguments, however, care must be taken with INTENT(OUT) to use the
runtime to deallocate them (inlined fir.embox + store is not possible).


  Commit: 0eb4bf2faf4125d4d279463390a753c8c36a6937
      https://github.com/llvm/llvm-project/commit/0eb4bf2faf4125d4d279463390a753c8c36a6937
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/test/CXX/drs/cwg1xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang] CWG150: add tests and change to unreleased (#93758)


  Commit: 1034b4d38dd2df542204d55b3e14e985452e4fe4
      https://github.com/llvm/llvm-project/commit/1034b4d38dd2df542204d55b3e14e985452e4fe4
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/test/Transforms/InstCombine/lshr.ll

  Log Message:
  -----------
  [InstCombine] lshr (mul (X, 2^N + 1)), N -> X when X is half-width (#93677)

Alive2 Proof:
https://alive2.llvm.org/ce/z/Yd2CKF


  Commit: 3cabbf60393cc8d55fe635e35e89e5973162de33
      https://github.com/llvm/llvm-project/commit/3cabbf60393cc8d55fe635e35e89e5973162de33
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/include/clang/AST/TemplateName.h
    M clang/include/clang/AST/TextNodeDumper.h
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/test/AST/ast-dump-ctad-alias.cpp
    M clang/test/AST/ast-dump-template-decls.cpp
    M clang/test/AST/ast-dump-template-name.cpp
    M clang/test/AST/ast-dump-using-template.cpp
    M clang/test/Import/builtin-template/test.cpp
    M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp
    M clang/test/SemaTemplate/make_integer_seq.cpp
    M clang/test/SemaTemplate/type_pack_element.cpp

  Log Message:
  -----------
  [clang] text ast-dumper: dump TemplateName for TST and DTST (#93766)

Implement AST text dumping of the TemplateName for
TemplateSpecializationType and DeducedTemplateSpecializationType.


  Commit: f38ebec7106fd541046d502be0f79a4dda1a89b0
      https://github.com/llvm/llvm-project/commit/f38ebec7106fd541046d502be0f79a4dda1a89b0
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    A lldb/test/API/tools/lldb-dap/variables/children/Makefile
    A lldb/test/API/tools/lldb-dap/variables/children/TestDAP_variables_children.py
    A lldb/test/API/tools/lldb-dap/variables/children/formatter.py
    A lldb/test/API/tools/lldb-dap/variables/children/main.cpp
    M lldb/tools/lldb-dap/JSONUtils.cpp

  Log Message:
  -----------
  [lldb-dap] Don't call GetNumChildren on non-indexed synthetic variables (#93534)

A synthetic child provider might need to do considerable amount of work
to compute the number of children. lldb-dap is currently calling that
for all synthethic variables, but it's only actually using the value for
values which it deems to be "indexed" (which is determined by looking at
the name of the first child). This patch reverses the logic so that
GetNumChildren is only called for variables with a suitable first child.


  Commit: d554f2379b427505907ba52b8b9270c0b436224f
      https://github.com/llvm/llvm-project/commit/d554f2379b427505907ba52b8b9270c0b436224f
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/source/Commands/CommandCompletions.cpp
    M lldb/test/API/functionalities/completion/TestCompletion.py

  Log Message:
  -----------
  [lldb] Fix module name tab completion (#93458)

Module names can be matched either by a full path or just their
basename. The completion machinery tried to do both, but had several
bugs:
- it always inserted the basename as a completion candidate, even if the
string being completed was a full path
- due to FileSpec canonicalization, it lost information about trailing
slashes (it treated "lib/<TAB>" as "lib<TAB>", even though it's clear
the former was trying to complete a directory name)
- due to both of the previous issues, the completion candidates could
end up being shorter than the string being completed, which caused
crashes (string out of range errors) when attempting to substitute the
results.

This patch rewrites to logic to remove these kinds of issues:
- basename and full path completion are handled separately
- full path completion is attempted always, basename only if the input
string does not contain a slash
- the code remembers both the canonical and original spelling or the
completed argument. The canonical arg is used for matching, while the
original spelling is used for completion. This way "/foo///.//b<TAB>"
can still match "/foo/bar", but it will complete to "/foo///.//bar".


  Commit: 540a36ad7e31bfeb11e795047a42bb6e30bf9985
      https://github.com/llvm/llvm-project/commit/540a36ad7e31bfeb11e795047a42bb6e30bf9985
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
    M lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/debug-types-basic.cpp
    M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-basic.test

  Log Message:
  -----------
  [lldb/DWARF] Follow DW_AT_signature when computing type contexts (#93675)

This is necessary to correctly resolve the context within types, as the
name of the type is only present in the type unit.


  Commit: 67897d77eda4c312cfe81b19a20abed43227ecb8
      https://github.com/llvm/llvm-project/commit/67897d77eda4c312cfe81b19a20abed43227ecb8
  Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M mlir/lib/Bindings/Python/IRCore.cpp
    M mlir/lib/Bindings/Python/IRModule.h
    A mlir/test/python/live_operations.py

  Log Message:
  -----------
  [mlir][py] invalidate nested operations when parent is deleted (#93339)

When an operation is erased in Python, its children may still be in the
"live" list inside Python bindings. After this, if some of the newly
allocated operations happen to reuse the same pointer address, this will
trigger an assertion in the bindings. This assertion would be incorrect
because the operations aren't actually live. Make sure we remove the
children operations from the "live" list when erasing the parent.

This also concentrates responsibility over the removal from the "live"
list and invalidation in a single place.

Note that this requires the IR to be sufficiently structurally valid so
a walk through it can succeed. If this invariant was broken by, e.g, C++
pass called from Python, there isn't much we can do.


  Commit: 8bce40b1eb3eb00358bbc3b7a05ea987a183265f
      https://github.com/llvm/llvm-project/commit/8bce40b1eb3eb00358bbc3b7a05ea987a183265f
  Author: Him188 <tguan at nvidia.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64RegisterBanks.td
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/sve-load-store.ll

  Log Message:
  -----------
  [AArch64][GISel] Support SVE with 128-bit min-size for G_LOAD and G_STORE (#92130)

This patch adds basic support for scalable vector types in load & store
instructions for AArch64 with GISel.

Only scalable vector types with a 128-bit base size are supported, e.g.
`<vscale x 4 x i32>`, `<vscale x 16 x i8>`.

This patch adapted some ideas from a similar abandoned patch
[https://github.com/llvm/llvm-project/pull/72976](https://github.com/llvm/llvm-project/pull/72976).


  Commit: cd9a02e2c76ec2f37409c6f7becd61e605c117d8
      https://github.com/llvm/llvm-project/commit/cd9a02e2c76ec2f37409c6f7becd61e605c117d8
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGCUDANV.cpp
    M clang/lib/CodeGen/CGObjCGNU.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp

  Log Message:
  -----------
  [CodeGen] Remove useless zero-index constant GEPs (NFCI)

Remove zero-index constant expression GEPs, which are not needed
with opaque pointers and will get folded away.


  Commit: bc946f52870a51b49a0c7c3c508cef1905a11bc0
      https://github.com/llvm/llvm-project/commit/bc946f52870a51b49a0c7c3c508cef1905a11bc0
  Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-scalable-deinterleave.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/test-deinterleave.mlir

  Log Message:
  -----------
  [mlir][vector] Add 1D vector.deinterleave lowering (#93042)

This patch implements the lowering of vector.deinterleave 
for 1D vectors.

For fixed vector types, the operation is lowered to two
llvm shufflevector operations. One for even indexed
elements and the other for odd indexed elements. A poison
operation is used to satisfy the parameters of the
shufflevector parameters.
    
For scalable vectors, the llvm vector.deinterleave2
intrinsic is used for lowering. As such the results
found by extraction and used to form the result
struct for the intrinsic.


  Commit: 32b91ec395529ef7ad8b5520fe692464f7512b41
      https://github.com/llvm/llvm-project/commit/32b91ec395529ef7ad8b5520fe692464f7512b41
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  [cmake] Fix `-fno-lifetime-dse` not being passed to GCC

A follow-up to #92953. This should fix unexpected performance gains when Clang is built with GCC, and fix downstream LTO crashes reported in https://github.com/llvm/llvm-project/commit/4feae05c6abda364a9295aecfa600d7d4e7dfeb6#r142466703


  Commit: fd8b2d2046508c027ccf0fffb50d665c8355997a
      https://github.com/llvm/llvm-project/commit/fd8b2d2046508c027ccf0fffb50d665c8355997a
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/HLFIRTools.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/lib/Optimizer/Builder/HLFIRTools.cpp
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/test/Fir/convert-to-llvm.fir

  Log Message:
  -----------
  [flang] lower RANK intrinsic (#93694)

First commit is reviewed in
https://github.com/llvm/llvm-project/pull/93682.

Lower RANK using fir.box_rank. This patches updates fir.box_rank to
accept box reference, this avoids the need of generating an assumed-rank
fir.load just for the sake of reading ALLOCATABLE/POINTER rank. The
fir.load would generate a "dynamic" memcpy that is hard to optimize
without further knowledge. A read effect is conditionally given to the
operation.


  Commit: 7e9b949a8dfc885ec12b281e194d0530da7403eb
      https://github.com/llvm/llvm-project/commit/7e9b949a8dfc885ec12b281e194d0530da7403eb
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp

  Log Message:
  -----------
  [flang][OpenMP] Adapt OMPMapInfoFinalization to run on all top level ops (#93545)

This is generally just for consistency with the rest of the pipeline.

The assertion for the insertion point is because I am not sure if
omp::PrivateClauseOp is supported by FirOpBuilder::getAllocaBlock. I
didn't try to fix it because I don't see why we would generate IR like
that.

See RFC:
https://discourse.llvm.org/t/rfc-add-an-interface-for-top-level-container-operations


  Commit: 3fee8b346928a24975ebbd6984b583c01ec82955
      https://github.com/llvm/llvm-project/commit/3fee8b346928a24975ebbd6984b583c01ec82955
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-min-max.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-select.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
    M llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-exts.mir
    M llvm/test/CodeGen/Mips/GlobalISel/legalizer/constants.mir
    M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/rem_and_div.ll
    M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sitofp_and_uitofp.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/jumptable.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv32.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-jump-table-brjt-rv64.mir

  Log Message:
  -----------
  [GISel] LegalizationArtifactCombiner: Elide redundant G_SEXT_INREG (#93687)

This is similar to 373c343a, but for targets with zero-or-negative-one
booleans.
The difference in tests is mostly due to G_SEXT_INREG being illegal for
some targets, in which case it gets expanded into G_SHL/G_ASHR pair,
which is not currently optimized by the combiner.


  Commit: b2bd024384b484647da9fd9863bf6f77b5731949
      https://github.com/llvm/llvm-project/commit/b2bd024384b484647da9fd9863bf6f77b5731949
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp

  Log Message:
  -----------
  [CGExprAgg] Don't create zero index GEP

With opaque pointers, we no longer need a zero-index GEP to get
the first element.


  Commit: 4310988991b46c9a35f60abc27a08ee10309a50c
      https://github.com/llvm/llvm-project/commit/4310988991b46c9a35f60abc27a08ee10309a50c
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/test/Interpreter/incremental-mode.cpp
    M clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
    M clang/unittests/Interpreter/InterpreterTest.cpp

  Log Message:
  -----------
  [clang-repl] Even more tests create the Interpreter and must check host JIT support 2 (#84758)


  Commit: 43100766f287185642a3ccbf1a629915f85575e2
      https://github.com/llvm/llvm-project/commit/43100766f287185642a3ccbf1a629915f85575e2
  Author: Ramkumar Ramachandra <r at artagnon.com>
  Date:   2024-05-30 (Thu, 30 May 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/RISCV/low-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll

  Log Message:
  -----------
  LV: generalize profitability criterion over TC (#93300)

Generalize LoopVectorizationPlanner::isMoreProfitable smoothly across
the fixed-vector and scalable-vector cases, taking the trip-count into
account, and fixing logical pitfalls that arise from a lack of
generality.


  Commit: fecf5c74920705bf9d15ce0db4b04fdcfa05f104
      https://github.com/llvm/llvm-project/commit/fecf5c74920705bf9d15ce0db4b04fdcfa05f104
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    A llvm/test/CodeGen/X86/apx/asm-constraint-1-jr.ll
    A llvm/test/CodeGen/X86/apx/asm-constraint-2-jR.ll
    R llvm/test/CodeGen/X86/apx/asm-constraint-jR.ll
    R llvm/test/CodeGen/X86/apx/asm-constraint-jr.ll

  Log Message:
  -----------
  [llvm][nfc] Rename tests (#93794)

Renames asm-constraint-jR.ll and asm-constraint-jR.ll - on
case-insensitive files systems those are treated as one file. Originally
introduced in #92338.


  Commit: 1d57594d3dce3c7605a414dfecf8b06b3b62c40f
      https://github.com/llvm/llvm-project/commit/1d57594d3dce3c7605a414dfecf8b06b3b62c40f
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c

  Log Message:
  -----------
  [Clang][AArch64] NFC: Remove -DTEST_SME from RUN lines

We can do this in favour of checking the feature macro that is set
when compiling for '+sme', like we do in other tests.


  Commit: 8eb0945373173213e7454a475f6e227da12d6d3a
      https://github.com/llvm/llvm-project/commit/8eb0945373173213e7454a475f6e227da12d6d3a
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp

  Log Message:
  -----------
  [Clang][AArch64] NFC: Simplify checkArmStreamingBuiltin.

Changing this into if -> else if -> else if > else is NFC, because
the values of FnType are mutually exclusive.


  Commit: 22c572eae0f3a73b9154718a3f46c08531e52e91
      https://github.com/llvm/llvm-project/commit/22c572eae0f3a73b9154718a3f46c08531e52e91
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    A llvm/test/CodeGen/X86/apx/memfold-nd2rmw.mir
    M llvm/utils/TableGen/X86InstrMappingEmitter.cpp

  Log Message:
  -----------
  [X86][CodeGen] Support memory folding for NDD -> RMW


  Commit: 2705c605da2854a6b044fdf5978dea0472fd0ab1
      https://github.com/llvm/llvm-project/commit/2705c605da2854a6b044fdf5978dea0472fd0ab1
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/utils/emacs/llvm-mode.el
    M llvm/utils/vim/syntax/llvm.vim
    M llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml

  Log Message:
  -----------
  [RemoveDIs] Update syntax highlighting to include debug records (#93660)

This patch updates the emacs, vim, and vscode syntax highlighters to
recognize debug records.


  Commit: 01921bd4f155dbbddd49b818341190a8cb2f20c4
      https://github.com/llvm/llvm-project/commit/01921bd4f155dbbddd49b818341190a8cb2f20c4
  Author: Jerry Zhang Jian <11689182+jerryzj at users.noreply.github.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/TargetParser/RISCVISAInfo.cpp

  Log Message:
  -----------
  [RISCV] Fix typo zamo -> zaamo (#93792)

Signed-off-by: Jerry Zhang Jian <jerry.zhangjian at sifive.com>


  Commit: 4d65887aac98acd6ed749377f4ea296c5a003d7e
      https://github.com/llvm/llvm-project/commit/4d65887aac98acd6ed749377f4ea296c5a003d7e
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/docs/convergence-both-diverged-nested.png
    M llvm/docs/convergence-closed-path.png
    M llvm/docs/convergence-divergent-inside.png
    M llvm/docs/convergence-divergent-outside.png
    M llvm/docs/convergence-natural-loop.png
    M llvm/test/CodeGen/AArch64/large-offset-ldr-merge.mir
    M llvm/test/DebugInfo/dpvalue-print-nocrash.ll
    M llvm/unittests/DebugInfo/CodeView/GUIDFormatTest.cpp
    M llvm/unittests/Target/AMDGPU/ExecMayBeModifiedBeforeAnyUse.cpp

  Log Message:
  -----------
  [LLVM] Remove executable permission from some non-executable files (#93803)


  Commit: 8b600a37325bd68c370b00838c9f0a0fda1af6ce
      https://github.com/llvm/llvm-project/commit/8b600a37325bd68c370b00838c9f0a0fda1af6ce
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/bindings/headers.swig
    R lldb/bindings/interface/SBAddressRangeDocstrings.i
    R lldb/bindings/interface/SBAddressRangeExtensions.i
    R lldb/bindings/interface/SBAddressRangeListDocstrings.i
    R lldb/bindings/interface/SBAddressRangeListExtensions.i
    M lldb/bindings/interfaces.swig
    M lldb/include/lldb/API/LLDB.h
    M lldb/include/lldb/API/SBAddress.h
    R lldb/include/lldb/API/SBAddressRange.h
    R lldb/include/lldb/API/SBAddressRangeList.h
    M lldb/include/lldb/API/SBBlock.h
    M lldb/include/lldb/API/SBDefines.h
    M lldb/include/lldb/API/SBFunction.h
    M lldb/include/lldb/API/SBStream.h
    M lldb/include/lldb/API/SBTarget.h
    M lldb/include/lldb/Core/AddressRange.h
    R lldb/include/lldb/Core/AddressRangeListImpl.h
    M lldb/include/lldb/Symbol/Block.h
    M lldb/include/lldb/lldb-forward.h
    M lldb/source/API/CMakeLists.txt
    R lldb/source/API/SBAddressRange.cpp
    R lldb/source/API/SBAddressRangeList.cpp
    M lldb/source/API/SBBlock.cpp
    M lldb/source/API/SBFunction.cpp
    M lldb/source/Core/AddressRange.cpp
    R lldb/source/Core/AddressRangeListImpl.cpp
    M lldb/source/Core/CMakeLists.txt
    M lldb/source/Symbol/Block.cpp
    R lldb/test/API/python_api/address_range/Makefile
    R lldb/test/API/python_api/address_range/TestAddressRange.py
    R lldb/test/API/python_api/address_range/main.cpp

  Log Message:
  -----------
  Revert "Add SBAddressRange and SBAddressRangeList to SB API (#92014)"

This reverts commit 42944e4600827738fae868f0df831fb2678be8b4.


  Commit: b49c0b8abc460f8fec707a6ffccf2129fd6e1772
      https://github.com/llvm/llvm-project/commit/b49c0b8abc460f8fec707a6ffccf2129fd6e1772
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp

  Log Message:
  -----------
  [mlir][ArmSME] Simplify permutation map handling (#93515)

In -convert-vector-to-arm-sme the permutation_map is explicitly checked
for transpose when converting xfer ops, but for 2-D vector types the
only non-identity permutation map is transpose so this can be
simplified.


  Commit: 662b1305292d69507a09164c911cfc782e0e4e73
      https://github.com/llvm/llvm-project/commit/662b1305292d69507a09164c911cfc782e0e4e73
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M libc/src/__support/FPUtil/sqrt.h
    R libc/src/__support/FPUtil/x86_64/PolyEval.h
    M libc/src/__support/FPUtil/x86_64/sqrt.h

  Log Message:
  -----------
  [libc][NFC] Tighten up guard conditions for sqrt and polyeval (#93791)

Found while investigating #93709


  Commit: 08d168c56d303c4e6a2e85e56953c3cb98c6092c
      https://github.com/llvm/llvm-project/commit/08d168c56d303c4e6a2e85e56953c3cb98c6092c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp

  Log Message:
  -----------
  AMDGPU/GlobalISel: Use correct type for intrinsic ID


  Commit: 0d0851b9604c4878951f5595b538a0763e9e5e73
      https://github.com/llvm/llvm-project/commit/0d0851b9604c4878951f5595b538a0763e9e5e73
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
    A llvm/utils/gn/secondary/llvm/unittests/Transforms/Instrumentation/BUILD.gn

  Log Message:
  -----------
  [gn] port 8c33b3380b80 (InstrumentationTests)


  Commit: 806ed2625e9569bdb55a13a2b1f9c3e71293fda6
      https://github.com/llvm/llvm-project/commit/806ed2625e9569bdb55a13a2b1f9c3e71293fda6
  Author: Kristof Beyls <kristof.beyls at arm.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/docs/Security.rst

  Log Message:
  -----------
  [docs] Update security group nomination to use gh pr (#93679)


  Commit: 191e64ffa9061e9c0d5387b38bd2d5a9ffebb0fb
      https://github.com/llvm/llvm-project/commit/191e64ffa9061e9c0d5387b38bd2d5a9ffebb0fb
  Author: Christian Sigg <csigg at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

  Log Message:
  -----------
  [lldb][bazel] Fix BUILD after 540a36ad7e31bfeb11e795047a42bb6e30bf9985.


  Commit: 05e6bb40ebfd285cc87f7ce326b7ba76c3c7f870
      https://github.com/llvm/llvm-project/commit/05e6bb40ebfd285cc87f7ce326b7ba76c3c7f870
  Author: Roger Ferrer Ibáñez <rofirrim at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/IR/RuntimeLibcalls.def
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h

  Log Message:
  -----------
  [SelectionDAG] Add an ISD::CLEAR_CACHE node to lower llvm.clear_cache (#93795)

The current way of lowering `llvm.clear_cache` is a bit unusual. As
suggested by Matt Arsenault we are better off using an ISD node.

This change introduces a new `ISD::CLEAR_CACHE`, registers a new libcall
by default named `__clear_cache` and the default legalisation is a
libcall.

This is preparatory work for a custom lowering of `ISD::CLEAR_CACHE`
needed by RISC-V on some platforms.


  Commit: eb88e7c1d95452b1a7a51564b7feac030ac883ad
      https://github.com/llvm/llvm-project/commit/eb88e7c1d95452b1a7a51564b7feac030ac883ad
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/test/Analysis/cfg-openmp.cpp
    M clang/test/OpenMP/nvptx_target_cuda_mode_messages.cpp
    R clang/test/OpenMP/target_reduction_codegen.cpp
    R clang/test/OpenMP/target_reduction_messages.cpp
    M clang/test/OpenMP/target_vla_messages.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMP.td
    M llvm/unittests/Frontend/OpenMPDecompositionTest.cpp

  Log Message:
  -----------
  [Frontend][OpenMP] Remove `reduction` from allowed clauses for `target` (#90754)

The "reduction" clause is not allowed on the "target" construct.


  Commit: 7b77301c22f5d4f25c5e96834bf7d6117c608228
      https://github.com/llvm/llvm-project/commit/7b77301c22f5d4f25c5e96834bf7d6117c608228
  Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp

  Log Message:
  -----------
  [clang] fix(93002): clang/lib/Sema/SemaOpenMP.cpp:7405: Possible & / && mixup ? (#93093)

Fixes #93002


  Commit: ed25d1a82e51595b6fdfc3d187352ed823f80491
      https://github.com/llvm/llvm-project/commit/ed25d1a82e51595b6fdfc3d187352ed823f80491
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.s96.mir

  Log Message:
  -----------
  [AMDGPU] Regenerate checks in inst-select-load-global.s96.mir


  Commit: c28566cb892dc5ea778edee507278d7c4a90c876
      https://github.com/llvm/llvm-project/commit/c28566cb892dc5ea778edee507278d7c4a90c876
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
    M llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 8b600a37325b


  Commit: 2b9c158efa33a225af38407adde6319fb26858e4
      https://github.com/llvm/llvm-project/commit/2b9c158efa33a225af38407adde6319fb26858e4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/getelementptr.ll

  Log Message:
  -----------
  [InstCombine] Add test for miscompile in gep-of-gep fold (NFC)


  Commit: 61790360381fa4526298d5121e8e0adf3456943a
      https://github.com/llvm/llvm-project/commit/61790360381fa4526298d5121e8e0adf3456943a
  Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/test/Lower/Intrinsics/ieee_flag.f90

  Log Message:
  -----------
  [flang] Support calling ieee_support_flag with an array argument (#93772)

If present, the optional second argument of the ieee_exceptions
intrinsic module procedure ieee_support_flag may be either a scalar or
an array. Change the signature of the routine that implements this
function so that it is processed as a transformational function, not an
elemental function, which accounts for this argument variant.


  Commit: 1bf1f93d94cb395e04329b17a4fcff65b4ff8122
      https://github.com/llvm/llvm-project/commit/1bf1f93d94cb395e04329b17a4fcff65b4ff8122
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M offload/test/api/omp_device_memory.c

  Log Message:
  -----------
  [Offload] Temporarily disable failing test after eb88e7c1

The `target reduction` combination is no longer accepted.
Disable the test to avoid build failures, until a better fix is ready.


  Commit: 57da0407c44b187feed40b02cdfd24d71df755cc
      https://github.com/llvm/llvm-project/commit/57da0407c44b187feed40b02cdfd24d71df755cc
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp

  Log Message:
  -----------
  [clang-tidy] Check number of arguments to size/length in readability-container-size-empty (#93724)

Verify that size/length methods are called with no arguments.

Closes #88203


  Commit: b5db2e196928bfbaf5b4e3af50dc60caae498f30
      https://github.com/llvm/llvm-project/commit/b5db2e196928bfbaf5b4e3af50dc60caae498f30
  Author: David Green <david.green at arm.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

  Log Message:
  -----------
  [MCP] Remove unused TII argument. NFC

Last used in e35fbf5c04f4719db8ff7c7a993cbf96bb706903.


  Commit: 1f46729a18ef13c3ba4184ead1da4ab3037cb7ae
      https://github.com/llvm/llvm-project/commit/1f46729a18ef13c3ba4184ead1da4ab3037cb7ae
  Author: Jeremy Kun <jkun at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.td
    M mlir/include/mlir/Dialect/Polynomial/IR/PolynomialAttributes.td
    M mlir/lib/Dialect/Polynomial/IR/PolynomialCanonicalization.td
    M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
    M mlir/test/Dialect/Polynomial/canonicalization.mlir
    M mlir/test/Dialect/Polynomial/ops.mlir
    M mlir/test/Dialect/Polynomial/ops_errors.mlir

  Log Message:
  -----------
  [polynomial] Move primitive root attribute to ntt/intt ops. (#93227)

Better design to put semantics on the ops, and in this case the ntt/intt
op can lower in multiple ways depending on the polynomial ring modulus
(it can need an nth root of unity for cyclic polymul -> ntt, or a 2nth
root for negacyclic polymul -> ntt)

---------

Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>


  Commit: a871470a0d0c828718409c7a6dfb067a3231d013
      https://github.com/llvm/llvm-project/commit/a871470a0d0c828718409c7a6dfb067a3231d013
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/unittests/Interpreter/CodeCompletionTest.cpp
    M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
    M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
    M clang/unittests/Interpreter/InterpreterTest.cpp
    A clang/unittests/Interpreter/InterpreterTestFixture.h

  Log Message:
  -----------
  [clang-repl] Introduce common fixture class in unittests (NFC) (#93816)

Reduce code bloat by checking test requirements in a common test fixture


  Commit: adc4e45f2ecce13cf4ed9b4ab119492342b86faf
      https://github.com/llvm/llvm-project/commit/adc4e45f2ecce13cf4ed9b4ab119492342b86faf
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M offload/test/api/omp_device_memory.c

  Log Message:
  -----------
  [Offload] Update test to use `target parallel for reduction`

Re-enable test disabled in 1bf1f93d with a fix.


  Commit: 1159e7645b7f345e662759d763b3e6fcde62d005
      https://github.com/llvm/llvm-project/commit/1159e7645b7f345e662759d763b3e6fcde62d005
  Author: Ryan Holt <ryanholt at mathworks.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/canonicalize.mlir

  Log Message:
  -----------
  [mlir][linalg] Add folder for transpose(transpose) -> transpose (#93606)

Back to back `linalg.transpose` can be rewritten to a single transpose


  Commit: f55622f0ffa4e388cb4da47b655d2a4721f8a405
      https://github.com/llvm/llvm-project/commit/f55622f0ffa4e388cb4da47b655d2a4721f8a405
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M flang/lib/Lower/ConvertCall.cpp
    M flang/test/Lower/Intrinsics/associated.f90

  Log Message:
  -----------
  [flang] Lower non optional inquired argument in custom intrinsic lowering (#93592)

Handle lowering of non optional inquired argument in custom lowering.
Also fix an issue in the lowering of associated optional argument where
a box was emboxed again which led to weird result.


  Commit: e8de977716e45f815edf98b0c7f53b87a1558e73
      https://github.com/llvm/llvm-project/commit/e8de977716e45f815edf98b0c7f53b87a1558e73
  Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/GlobalISel/lds-zero-initializer.ll
    M llvm/test/CodeGen/AMDGPU/lds-zero-initializer.ll

  Log Message:
  -----------
  [AMDGPU] Fixed subtarget name in the lit test check-prefix string (NFC). (#93780)


  Commit: 647d2728c4dbc387521ce3984ebfda78ff2b031f
      https://github.com/llvm/llvm-project/commit/647d2728c4dbc387521ce3984ebfda78ff2b031f
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/unittests/Interpreter/CodeCompletionTest.cpp
    M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
    M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
    M clang/unittests/Interpreter/InterpreterTest.cpp
    M clang/unittests/Interpreter/InterpreterTestFixture.h

  Log Message:
  -----------
  [clang-repl] Fix SetUp in CodeCompletionTest fixture (#93816)

And sort out some unused headers


  Commit: 1ee02f9b6053617b741de542ee127c17c5a548be
      https://github.com/llvm/llvm-project/commit/1ee02f9b6053617b741de542ee127c17c5a548be
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/SemaTemplate/concepts.cpp

  Log Message:
  -----------
  [Clang] Fix overloading for constrained variadic functions (#93817)

Found by #93667


  Commit: a2bcb932f3130c3c18ceb06872da9002f6845c4b
      https://github.com/llvm/llvm-project/commit/a2bcb932f3130c3c18ceb06872da9002f6845c4b
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/test/API/functionalities/completion/TestCompletion.py

  Log Message:
  -----------
  [lldb] Attempt to fix TestCompletion on macos

Macos will automatically load dependent modules when creating a target,
resulting in more modules than the test expects.


  Commit: 6147a7b5f9479a4163c07064a9c78c2d5fe40d27
      https://github.com/llvm/llvm-project/commit/6147a7b5f9479a4163c07064a9c78c2d5fe40d27
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
    M llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
    A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/load.s
    A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/load.s

  Log Message:
  -----------
  [RISCV] Adjust FP load latencies from 6 to 5 in SiFiveP400/P600 scheduling models (#93735)

According to our performance measurements, FLH/W/D have load latencies
closer to 5 rather than 6 in these two models.


  Commit: facb767e5b78a024d70585b24254c769473b6b54
      https://github.com/llvm/llvm-project/commit/facb767e5b78a024d70585b24254c769473b6b54
  Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py

  Log Message:
  -----------
  [lldb] Fixed the TestGdbRemoteLibrariesSvr4Support test running on a remote target (#93825)

The TestGdbRemoteLibrariesSvr4Support test failed in case of Linux
x86_64 host and Linux Aarch64 target. Installing libraries to the remote
target is not enough. This test actively uses self.getBuildDir() and
os.path.realpath() which does not work in case of the remote target. So,
disable this test for remote target now.


  Commit: 59e2a6b08f3e40afea87da3838ba69e1e15b6672
      https://github.com/llvm/llvm-project/commit/59e2a6b08f3e40afea87da3838ba69e1e15b6672
  Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/test/API/python_api/debugger/TestDebuggerAPI.py

  Log Message:
  -----------
  [lldb] Fixed the TestDebuggerAPI test running on a remote target (#93829)

Recently we have disabled this test for Windows host and Linux target.
Now we faced the same issue #92419 in case of Linux x86_64 host and
Linux Aarch64 target.


  Commit: b62ba7f5b1caf99a3cbbe06d0e1c788c2dc85416
      https://github.com/llvm/llvm-project/commit/b62ba7f5b1caf99a3cbbe06d0e1c788c2dc85416
  Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py

  Log Message:
  -----------
  [lldb] Fixed the TestGdbRemotePlatformFile test running on a remote target (#93832)

Skip checking of few stat fields like st_dev (ID of device containing
file) in case of a remote target.


  Commit: ed35a92c404650b15a79ff38bcaff41de176cb78
      https://github.com/llvm/llvm-project/commit/ed35a92c404650b15a79ff38bcaff41de176cb78
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M .github/new-prs-labeler.yml
    A clang/include/clang/Sema/Attr.h
    M clang/include/clang/Sema/Sema.h
    A clang/include/clang/Sema/SemaAMDGPU.h
    A clang/include/clang/Sema/SemaARM.h
    A clang/include/clang/Sema/SemaBPF.h
    A clang/include/clang/Sema/SemaHexagon.h
    A clang/include/clang/Sema/SemaLoongArch.h
    A clang/include/clang/Sema/SemaMIPS.h
    A clang/include/clang/Sema/SemaNVPTX.h
    A clang/include/clang/Sema/SemaPPC.h
    A clang/include/clang/Sema/SemaSystemZ.h
    A clang/include/clang/Sema/SemaWasm.h
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/lib/Sema/CMakeLists.txt
    M clang/lib/Sema/Sema.cpp
    A clang/lib/Sema/SemaAMDGPU.cpp
    A clang/lib/Sema/SemaARM.cpp
    A clang/lib/Sema/SemaBPF.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    A clang/lib/Sema/SemaHexagon.cpp
    A clang/lib/Sema/SemaLoongArch.cpp
    A clang/lib/Sema/SemaMIPS.cpp
    A clang/lib/Sema/SemaNVPTX.cpp
    A clang/lib/Sema/SemaPPC.cpp
    A clang/lib/Sema/SemaSystemZ.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    A clang/lib/Sema/SemaWasm.cpp
    M clang/utils/TableGen/MveEmitter.cpp

  Log Message:
  -----------
  [clang] Introduce target-specific `Sema` components (#93179)

This patch introduces `SemaAMDGPU`, `SemaARM`, `SemaBPF`, `SemaHexagon`,
`SemaLoongArch`, `SemaMIPS`, `SemaNVPTX`, `SemaPPC`, `SemaSystemZ`,
`SemaWasm`. This continues previous efforts to split Sema up. Additional
context can be found in #84184 and #92682.

I decided to bundle target-specific components together because of their
low impact on `Sema`. That said, their impact on `SemaChecking.cpp` is
far from low, and I consider it a success.

Somewhat accidentally, I also moved Wasm- and AMDGPU-specific function
from `SemaDeclAttr.cpp`, because they were exposed in `Sema`. That went
well, and I consider it a success, too. I'd like to move the rest of
static target-specific functions out of `SemaDeclAttr.cpp` like we're
doing with built-ins in `SemaChecking.cpp` .


  Commit: 8aa80199751b0cd6631d057b0bfb21584acb206f
      https://github.com/llvm/llvm-project/commit/8aa80199751b0cd6631d057b0bfb21584acb206f
  Author: Brendan Dahl <brendan.dahl at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
    M llvm/test/CodeGen/WebAssembly/half-precision.ll
    M llvm/test/MC/WebAssembly/simd-encodings.s

  Log Message:
  -----------
  [WebAssembly] Implement all f16x8 relation instructions. (#93751)

All of these instructions can be generated using regular LL
instructions.

Specified at:

https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md


  Commit: 32546bd2ff822df2419589a03747c6d83415a59e
      https://github.com/llvm/llvm-project/commit/32546bd2ff822df2419589a03747c6d83415a59e
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

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


  Commit: a8e03aed6ab2675b8d19f93657edc48c82e93625
      https://github.com/llvm/llvm-project/commit/a8e03aed6ab2675b8d19f93657edc48c82e93625
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/docs/RemoveDIsDebugInfo.md

  Log Message:
  -----------
  [DebugInfo][RemoveDIs] Add documentation for updating code to handle debug records (#93562)

Although the patch that enables debug records by default has been
temporarily reverted, it will (eventually) be reverted and everyone's
code will be subjected to the new debug info format. Although this is
broadly a good thing, it is important that the documentation has enough
information to guide users through the update; this patch adds what
should hopefully be enough detail for most users to either find the
answers, or find out how to find those answers.


  Commit: cc2fafa1788908f69366821a04407083f770483e
      https://github.com/llvm/llvm-project/commit/cc2fafa1788908f69366821a04407083f770483e
  Author: Poseydon42 <vvmposeydon at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    A llvm/test/Transforms/InstSimplify/uscmp.ll

  Log Message:
  -----------
  [InstSimplify] Add constant folding support for `ucmp`/`scmp` intrinsics (#93730)

This PR adds support for folding calls to `ucmp`/`scmp` intrinsics with
constant arguments.


  Commit: f6c8e7dc3e1cbcecc2f01d898b895b96bb5723be
      https://github.com/llvm/llvm-project/commit/f6c8e7dc3e1cbcecc2f01d898b895b96bb5723be
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
    M mlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
    M mlir/test/Dialect/LLVMIR/rocdl.mlir
    M mlir/test/Target/LLVMIR/rocdl.mlir

  Log Message:
  -----------
  [MLIR][AMDGPU] Remove support for old llvm.amdgcn.buffer.* intrinsics (#93838)

They have been superseded by llvm.amdgcn.raw.buffer.* and
llvm.amdgcn.struct.buffer.*.


  Commit: 3d9d48523977af3590f7dd0edfd258454cb9e9cf
      https://github.com/llvm/llvm-project/commit/3d9d48523977af3590f7dd0edfd258454cb9e9cf
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

  Log Message:
  -----------
  [lldb][DWARF] Fix adding children to clang type that hasn't started definition. (#93839)

This fixes
https://github.com/llvm/llvm-project/pull/92328#issuecomment-2139339444
by not differentiating `DW_TAG_class_type` and `DW_TAG_structure_type`
in `UniqueDWARFASTTypeList`, because it's possible that DIE for a type
is `DW_TAG_class_type` in one CU but is `DW_TAG_structure_type` in a
different CU.

---------

Co-authored-by: Michael Buch <michaelbuch12 at gmail.com>


  Commit: 435114f9fe2139bec770e5a95799f4eab20639e7
      https://github.com/llvm/llvm-project/commit/435114f9fe2139bec770e5a95799f4eab20639e7
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    A mlir/test/Integration/Dialect/Vector/CPU/0-d-vectors.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf-full.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-ext.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-full.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf-full.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-ext.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-full.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero-block.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero-block.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/load-vertical.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/multi-tile-transpose.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f16f16f32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f64.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-i8i8i32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/ssve.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-load-vertical.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-multi-tile-transpose.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f16f16f32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f64.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-i8i8i32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-read-2d.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-write-2d.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transpose.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile-fill.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile_fill.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-read-2d.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-write-2d.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transpose.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/contraction.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/scalable-interleave.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/sve.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-contraction.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-interleave.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-sve.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/dot.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/inline-asm-vector-avx512.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/mask-compress.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/rsqrt.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/sparse-dot-product.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-dot.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-inline-asm-vector-avx512.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-mask-compress.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-rsqrt.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-sparse-dot-product.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-vp2intersect-i32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/vp2intersect-i32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/broadcast.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/compress.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/constant-mask.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/contraction.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/create-mask-v4i1.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/create-mask.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/expand.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/extract-strided-slice.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-col.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-row.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/fma.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/gather.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/index-vectors.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/insert-strided-slice.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/interleave.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/maskedload.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/maskedstore.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-col.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-row.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-f32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-i64.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/print-fp.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/print-int.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/print-str.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/realloc.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32-reassoc.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64-reassoc.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-i32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-i4.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-i64.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-si4.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-ui4.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/rewrite-narrow-types.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/scan.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/scatter.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/shape-cast.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/shuffle.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/shuffle16x16.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/sparse-dot-matvec.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/sparse-saxpy-jagged-matvec.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-broadcast.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-compress.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-constant-mask.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-contraction.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask-v4i1.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-expand.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-extract-strided-slice.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-col.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-row.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-fma.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-gather.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-index-vectors.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-insert-strided-slice.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-interleave.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-maskedload.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-maskedstore.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-col.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-row.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-f32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-i64.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-print-fp.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-print-int.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-print-str.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-realloc.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32-reassoc.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64-reassoc.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i4.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i64.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-si4.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-ui4.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-rewrite-narrow-types.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-scan.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-scatter.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-shape-cast.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle16x16.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-dot-matvec.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-saxpy-jagged-matvec.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-1d.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-2d.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-3d.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-to-loops.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-write.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transpose.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-1d.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-2d.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-3d.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-read.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-to-loops.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-write.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transpose.mlir

  Log Message:
  -----------
  [mlir][test] Rename Vector integration tests for CPU (nfc) (#93521)

To keep the test filenames consistent, this patch:
  * removes "test-" from  file names (there used to be a mix of
    "test-feature-1.mlir" and "feature-2.mlir"),
  * replaces "_" with "-" (there used to be a mix of "feature-3.mlir"
    and "feature_4.mlir").

Only files under test/Integration/Dialect/Vector/CPU are updated.


  Commit: ce5b371606422ed21cda0e24cdc89cb41cdc5600
      https://github.com/llvm/llvm-project/commit/ce5b371606422ed21cda0e24cdc89cb41cdc5600
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M bolt/test/AArch64/Inputs/array_end.lld_script
    M bolt/test/Inputs/lsda.ldscript

  Log Message:
  -----------
  [BOLT,test] Make linker scripts less sensitive to lld's orphan placement (#93763)

Then two tests rely on .interp being the first section.
llvm-bolt would crash if lld places .interp after .got
(f639b57f7993cadb82ee9c36f04703ae4430ed85).

For best portability, when a linker scripts specifies a SECTIONS
command, the first section for each PT_LOAD segment should be specified
with a MAXPAGESIZE alignment. Otherwise, linkers have freedom to decide
how to place orphan sections, which might break intention.


  Commit: 5f243b3fffca42ed320529a54aefd86087aa85f8
      https://github.com/llvm/llvm-project/commit/5f243b3fffca42ed320529a54aefd86087aa85f8
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

  Log Message:
  -----------
  AMDGPU: Generalize instruction shrinking code (#93810)

Try to avoid referring to specific operand names, except in the special
case. The special case for hasNamedOperand(Op32, sdst) seems to have
been dead code.


  Commit: 48175a5d9f62f0586c04e5a742dafa5e1943f19c
      https://github.com/llvm/llvm-project/commit/48175a5d9f62f0586c04e5a742dafa5e1943f19c
  Author: Miro Bucko <mbucko at meta.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/bindings/headers.swig
    A lldb/bindings/interface/SBAddressRangeDocstrings.i
    A lldb/bindings/interface/SBAddressRangeExtensions.i
    A lldb/bindings/interface/SBAddressRangeListDocstrings.i
    A lldb/bindings/interface/SBAddressRangeListExtensions.i
    M lldb/bindings/interfaces.swig
    M lldb/include/lldb/API/LLDB.h
    M lldb/include/lldb/API/SBAddress.h
    A lldb/include/lldb/API/SBAddressRange.h
    A lldb/include/lldb/API/SBAddressRangeList.h
    M lldb/include/lldb/API/SBBlock.h
    M lldb/include/lldb/API/SBDefines.h
    M lldb/include/lldb/API/SBFunction.h
    M lldb/include/lldb/API/SBStream.h
    M lldb/include/lldb/API/SBTarget.h
    M lldb/include/lldb/Core/AddressRange.h
    A lldb/include/lldb/Core/AddressRangeListImpl.h
    M lldb/include/lldb/Symbol/Block.h
    M lldb/include/lldb/lldb-forward.h
    M lldb/source/API/CMakeLists.txt
    A lldb/source/API/SBAddressRange.cpp
    A lldb/source/API/SBAddressRangeList.cpp
    M lldb/source/API/SBBlock.cpp
    M lldb/source/API/SBFunction.cpp
    M lldb/source/Core/AddressRange.cpp
    A lldb/source/Core/AddressRangeListImpl.cpp
    M lldb/source/Core/CMakeLists.txt
    M lldb/source/Symbol/Block.cpp
    A lldb/test/API/python_api/address_range/Makefile
    A lldb/test/API/python_api/address_range/TestAddressRange.py
    A lldb/test/API/python_api/address_range/main.cpp

  Log Message:
  -----------
  [lldb] Add SBAddressRange and SBAddressRangeList to SB API (#93836)

This adds new SB API calls and classes to allow a user of the SB API to obtain an address range from SBFunction and SBBlock. This is a second attempt to land the reverted PR #92014.


  Commit: ded04bf5d32a4fd5e0919053a598443f9d773549
      https://github.com/llvm/llvm-project/commit/ded04bf5d32a4fd5e0919053a598443f9d773549
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
    M llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 48175a5d9f62


  Commit: 270d95bfedc20c28f142ac63b4882dd06c869c90
      https://github.com/llvm/llvm-project/commit/270d95bfedc20c28f142ac63b4882dd06c869c90
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    R lld/test/ELF/linkerscript/orphan-align.s
    M lld/test/ELF/linkerscript/orphan.s
    R lld/test/ELF/linkerscript/orphans.s

  Log Message:
  -----------
  [ELF] Improve orphan placement tests

Merge orphan-align.test (which introduced `shouldSkip`) into orphan.s.


  Commit: 692ae5443b1778e138527ef55d799a4b535a36f9
      https://github.com/llvm/llvm-project/commit/692ae5443b1778e138527ef55d799a4b535a36f9
  Author: Jeremy Kun <jkun at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
    M mlir/test/Dialect/Polynomial/ops_errors.mlir

  Log Message:
  -----------
  [mlir][polynomial] verify from_tensor coeff type  (#93243)

Rebased over https://github.com/llvm/llvm-project/pull/93227

---------

Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>


  Commit: 73e07e924470ebab76a634e41fadf425a859e0ea
      https://github.com/llvm/llvm-project/commit/73e07e924470ebab76a634e41fadf425a859e0ea
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lld/test/ELF/linkerscript/orphan.s

  Log Message:
  -----------
  [ELF] Add RW then text test

Currently, lld assigns RF_NOT_SPECIAL so that orphan .interp and
SHT_NOTE are always before other sections. GNU ld doesn't do so. The
next change will remove RF_NOT_SPECIAL.


  Commit: 747d670baef35f0615b32652e93c97a2ff8dba18
      https://github.com/llvm/llvm-project/commit/747d670baef35f0615b32652e93c97a2ff8dba18
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lld/ELF/Writer.cpp
    M lld/test/ELF/linkerscript/orphan.s

  Log Message:
  -----------
  [ELF] Make .interp/SHT_NOTE not special

Follow-up to a previous simplification
2473b1af085ad54e89666cedf684fdf10a84f058.

The xor difference between a SHT_NOTE and a read-only SHT_PROGBITS
(previously >=NOT_SPECIAL) should be smaller than RF_EXEC. Otherwise,
for the following section layout, `findOrphanPos` would place .text
before note.

```
// simplified from linkerscript/custom-section-type.s
non orphans:
progbits 0x8060c00 NOT_SPECIAL
note     0x8040003

orphan:
.text    0x8061000 NOT_SPECIAL
```

rw-text.lds in orphan.s (added by
73e07e924470ebab76a634e41fadf425a859e0ea) demonstrates a similar case.
The new behavior is more similar to GNU ld.

#93763 fixed BOLT's brittle reliance on the previous .interp behavior.


  Commit: 8fa66c6ca7272268747835a0e86805307b62399c
      https://github.com/llvm/llvm-project/commit/8fa66c6ca7272268747835a0e86805307b62399c
  Author: Charlie Barto <chbarto at microsoft.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/test/Driver/cl-link.c
    M compiler-rt/CMakeLists.txt
    M compiler-rt/lib/asan/CMakeLists.txt
    M compiler-rt/lib/asan/asan_flags.cpp
    M compiler-rt/lib/asan/asan_globals_win.cpp
    M compiler-rt/lib/asan/asan_malloc_win.cpp
    A compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
    A compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
    A compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
    R compiler-rt/lib/asan/asan_win_dll_thunk.cpp
    M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
    A compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
    M compiler-rt/lib/asan/tests/CMakeLists.txt
    M compiler-rt/lib/profile/CMakeLists.txt
    M compiler-rt/lib/sanitizer_common/CMakeLists.txt
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
    R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
    R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
    A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
    R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
    R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
    R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
    R compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
    A compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
    A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
    A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
    A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
    A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
    R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
    R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
    M compiler-rt/lib/ubsan/CMakeLists.txt
    R compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
    R compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
    A compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
    R compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
    M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
    M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
    M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
    M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
    M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
    M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
    M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
    M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
    M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
    M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
    M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
    M compiler-rt/test/asan/TestCases/debug_double_free.cpp
    M compiler-rt/test/asan/TestCases/debug_report.cpp
    M compiler-rt/test/asan/TestCases/default_options.cpp
    M compiler-rt/test/asan/TestCases/on_error_callback.cpp
    M compiler-rt/test/asan/TestCases/report_error_summary.cpp
    M compiler-rt/test/asan/lit.cfg.py

  Log Message:
  -----------
  [asan][windows] Eliminate the static asan runtime on windows (#93770)

Re-Apply: 246234ac70faa1e3281a2bb83dfc4dd206a7d59c
Originally #81677

The static asan runtime on windows had various buggy hacks to ensure loaded dlls got the executable's copy of asan, these never worked all that well, so we have eliminated the static runtime altogether and made the dynamic runtime work for applications linking any flavor of the CRT.

Among other things this allows non-asan-instrumented applications to load asan-instrumented dlls that link against the static CRT.

Co-authored-by: Amy Wishnousky <amyw at microsoft.com>


  Commit: 5785048321ab82d18667655681d871f7cdc357e5
      https://github.com/llvm/llvm-project/commit/5785048321ab82d18667655681d871f7cdc357e5
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
    M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h

  Log Message:
  -----------
  [VPlan] Add VPIRBasicBlock, use to model pre-preheader. (#93398)

This patch adds a new special type of VPBasicBlock that wraps an
existing IR basic block. Recipes of the block get added before the
terminator of the wrapped IR basic block. Making it a subclass of
VPBasicBlock avoids duplicating various APIs to manage recipes in a
block, as well as makes sure the traversals filtering VPBasicBlocks
automatically apply as well.

Initially VPIRBasicBlock are only used for the pre-preheader (wrapping
the original preheader of the scalar loop).

As follow-up, this will be used to move more parts of the skeleton
inside VPlan, starting with the branch and condition in the middle
block.

Separated out of https://github.com/llvm/llvm-project/pull/92651

PR: https://github.com/llvm/llvm-project/pull/93398


  Commit: 485f9f589595006a8d10b8d39bde7124b0dc2042
      https://github.com/llvm/llvm-project/commit/485f9f589595006a8d10b8d39bde7124b0dc2042
  Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/include/llvm-libc-types/pthread_rwlockattr_t.h
    M libc/include/pthread.h.def
    M libc/spec/posix.td
    M libc/src/pthread/CMakeLists.txt
    A libc/src/pthread/pthread_rwlockattr_getkind_np.cpp
    A libc/src/pthread/pthread_rwlockattr_getkind_np.h
    M libc/src/pthread/pthread_rwlockattr_init.cpp
    A libc/src/pthread/pthread_rwlockattr_setkind_np.cpp
    A libc/src/pthread/pthread_rwlockattr_setkind_np.h
    M libc/test/src/pthread/CMakeLists.txt
    M libc/test/src/pthread/pthread_rwlockattr_test.cpp

  Log Message:
  -----------
  Reland: [libc][POSIX][pthreads] implemented missing pthread_rwlockattr functions (#93622)


New pull request for https://github.com/llvm/llvm-project/issues/89443

The previous PR was reverted after breaking fullbuild due to a missing
struct declaration, which I forgot to commit.

Reverts revert and adds the missing pthread_rwlockattr_getkind_np /
pthread_rwlockattr_setkind_np functions and tests respecitvely.


  Commit: 3af717d661e9fe8d562181b933a373ca58e41b27
      https://github.com/llvm/llvm-project/commit/3af717d661e9fe8d562181b933a373ca58e41b27
  Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M flang/examples/FeatureList/FeatureList.cpp
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/include/flang/Semantics/symbol.h
    M flang/lib/Lower/OpenACC.cpp
    M flang/lib/Parser/executable-parsers.cpp
    M flang/lib/Parser/openacc-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/check-acc-structure.cpp
    M flang/lib/Semantics/check-cuda.cpp
    M flang/lib/Semantics/check-do-forall.cpp
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/resolve123.f90
    A flang/test/Semantics/resolve124.f90
    M flang/test/Semantics/resolve55.f90

  Log Message:
  -----------
  [flang] Add parsing of DO CONCURRENT REDUCE clause (#92518)

Derived from #92480. This PR supports parsing of the DO CONCURRENT
REDUCE clause in Fortran 2023. Following the style of the OpenMP parser
in MLIR, the front end accepts both arbitrary operations and procedures
for the REDUCE clause. But later Semantics can notify type errors and
resolve procedure names.


  Commit: 0a93e9f2e264472f1c8c3b5d8726aa43a02ecace
      https://github.com/llvm/llvm-project/commit/0a93e9f2e264472f1c8c3b5d8726aa43a02ecace
  Author: Charlie Barto <chbarto at microsoft.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/test/Driver/cl-link.c
    M compiler-rt/CMakeLists.txt
    M compiler-rt/lib/asan/CMakeLists.txt
    M compiler-rt/lib/asan/asan_flags.cpp
    M compiler-rt/lib/asan/asan_globals_win.cpp
    M compiler-rt/lib/asan/asan_malloc_win.cpp
    R compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
    R compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
    R compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
    A compiler-rt/lib/asan/asan_win_dll_thunk.cpp
    M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
    R compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
    M compiler-rt/lib/asan/tests/CMakeLists.txt
    M compiler-rt/lib/profile/CMakeLists.txt
    M compiler-rt/lib/sanitizer_common/CMakeLists.txt
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
    A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
    A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
    R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
    A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
    A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
    A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
    A compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
    R compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
    R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
    R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
    R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
    R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
    A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
    A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
    M compiler-rt/lib/ubsan/CMakeLists.txt
    A compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
    A compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
    R compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
    A compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
    M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
    M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
    M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
    M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
    M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
    M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
    M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
    M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
    M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
    M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
    M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
    M compiler-rt/test/asan/TestCases/debug_double_free.cpp
    M compiler-rt/test/asan/TestCases/debug_report.cpp
    M compiler-rt/test/asan/TestCases/default_options.cpp
    M compiler-rt/test/asan/TestCases/on_error_callback.cpp
    M compiler-rt/test/asan/TestCases/report_error_summary.cpp
    M compiler-rt/test/asan/lit.cfg.py

  Log Message:
  -----------
  Revert "[asan][windows] Eliminate the static asan runtime on windows (#93770)"

This reverts commit 8fa66c6ca7272268747835a0e86805307b62399c.


  Commit: f8cc183ea244be6b8ea5e9da7733923e39c9fc38
      https://github.com/llvm/llvm-project/commit/f8cc183ea244be6b8ea5e9da7733923e39c9fc38
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/include/llvm/DWARFLinker/Utils.h
    M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
    M llvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp

  Log Message:
  -----------
  Fix the dsymutil heuristic for excluding system interfaces.  (#93745)

The function was meant to find the Developer/ dir, but it found a
Developer directory nested deep inside the top-level Developer dir.

The new implementation rejects everything in Xcode.app/Developer in
broad strokes.

rdar://128571037


  Commit: 7cfffe74eeb68fbb3fb9706ac7071f8caeeb6520
      https://github.com/llvm/llvm-project/commit/7cfffe74eeb68fbb3fb9706ac7071f8caeeb6520
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/include/llvm/Bitcode/BitcodeWriter.h
    M llvm/include/llvm/Bitstream/BitstreamWriter.h
    M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
    M llvm/include/llvm/Support/raw_ostream.h
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/Support/raw_ostream.cpp
    M llvm/unittests/Bitstream/BitstreamWriterTest.cpp

  Log Message:
  -----------
  Unittests and usability for BitstreamWriter incremental flushing (#92983)

- added unittests for the raw_fd_stream output case.

- the `BitstreamWriter` ctor was confusing, the relationship between the buffer and the file stream wasn't clear and in fact there was a potential bug in `BitcodeWriter` in the mach-o case, because that code assumed in-buffer only serialization. The incremental flushing behavior of flushing at end of block boundaries was an implementation detail that meant serializers not using blocks (for example) would need to know to check the buffer and flush. The bug was latent - in the sense that, today, because the stream being passed was not a `raw_fd_stream`, incremental buffering never kicked in.

The new design moves the responsibility of flushing to the `BitstreamWriter`, and makes it work with any `raw_ostream` (but incrementally flush only in the `raw_fd_stream` case). If the `raw_ostream` is over a buffer - i.e. a `raw_svector_stream` - then it's equivalent to today's buffer case. For all other `raw_ostream` cases, buffering is an implementation detail. In all cases, the buffer is flushed (well, in the buffer case, that's a moot statement).

This simplifies the state and state transitions the user has to track: you have a raw_ostream -> BitstreamWrite in it -> destroy the writer => the bitstream is completely written in your raw_ostream. The "buffer" case and the "raw_fd_stream" case become optimizations rather than imposing state transition concerns to the user.


  Commit: 0eb9e021b15f477b796a6aaed94c94887f19171c
      https://github.com/llvm/llvm-project/commit/0eb9e021b15f477b796a6aaed94c94887f19171c
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M libc/cmake/modules/CheckCompilerFeatures.cmake
    A libc/cmake/modules/compiler_features/check_float16.cpp
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-macros/CMakeLists.txt
    A libc/include/llvm-libc-macros/float16-macros.h
    M libc/include/math.h.def
    M libc/spec/spec.td
    M libc/spec/stdc.td
    M libc/src/__support/CPP/type_traits/is_floating_point.h
    M libc/src/__support/FPUtil/FPBits.h
    M libc/src/__support/macros/properties/CMakeLists.txt
    M libc/src/__support/macros/properties/types.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/fabsf16.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/fabsf16.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/fabsf16_test.cpp

  Log Message:
  -----------
  [libc][math][c23] Add fabsf16 C23 math function (#93567)

cc @lntue


  Commit: baabaa4ce9e79aa33e309eed515e67ae8e328c8b
      https://github.com/llvm/llvm-project/commit/baabaa4ce9e79aa33e309eed515e67ae8e328c8b
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Sema/SemaBase.h
    M clang/include/clang/Sema/SemaInternal.h
    M clang/lib/Sema/SemaBase.cpp
    M clang/lib/Sema/SemaDeclObjC.cpp
    M clang/lib/Sema/SemaExprObjC.cpp
    M clang/lib/Sema/SemaOpenMP.cpp

  Log Message:
  -----------
  [clang][NFC] Move `PDiag` into `SemaBase` (#93849)

This patch moves `PDiag` into `SemaBase`, making it readily available
everywhere across `Sema` without `SemaRef`, like the regular `Diag`.


  Commit: 973821cb44cf2826e2aea1cd40ff40e6e975b9d6
      https://github.com/llvm/llvm-project/commit/973821cb44cf2826e2aea1cd40ff40e6e975b9d6
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64StackTagging.cpp

  Log Message:
  -----------
  [MTE] rename RecordStackHistoryMode

We used the same name in the global name space for HWASan, so we got
a collision.


  Commit: c803c29039a9716436d338b7c513c75b7bbfa8f3
      https://github.com/llvm/llvm-project/commit/c803c29039a9716436d338b7c513c75b7bbfa8f3
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

  Log Message:
  -----------
  [nfc][InstrProf]Remove 'offsetOf' when parsing indexed profiles (#93346)

- In `Header::readFromBuffer`, read the buffer in the forward direction by using `readNext`.
- When compute the header size, spell out the constant.

With the changes above, we can remove `offsetOf` in InstrProf.cpp

---------

Co-authored-by: Kazu Hirata <kazu at google.com>


  Commit: 9faa623d96baa39fe109a74ff903c568c7a6782b
      https://github.com/llvm/llvm-project/commit/9faa623d96baa39fe109a74ff903c568c7a6782b
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M compiler-rt/test/asan/TestCases/debug_double_free.cpp
    M compiler-rt/test/asan/TestCases/debug_report.cpp

  Log Message:
  -----------
  [compiler-rt] [test] Work around MS CRT stdio format quirks on mingw too (#93787)

So far, these tests have been disabled in mingw build configurations
(built as asan-dynamic), but these were enabled in
246234ac70faa1e3281a2bb83dfc4dd206a7d59c, exposing the issue.

(That commit is currently reverted, but will probably be relanded in
some form soon.)


  Commit: ce7b67091267ffcc67194b0f116a63249a77230f
      https://github.com/llvm/llvm-project/commit/ce7b67091267ffcc67194b0f116a63249a77230f
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/lib/Parse/ParseOpenMP.cpp

  Log Message:
  -----------
  [clang][OpenMP] Simplify check for repeated clauses (#93611)

The `FirstClauses` is a vector of pointer-bool pairs, and the pointer
part of the pair is never used. Replace the vector with std::bitset, and
rename it to `SeenClauses` to make the purpose of it a bit clearer.


  Commit: 61afebdacc3b980fb82ea606d78d742847a133c3
      https://github.com/llvm/llvm-project/commit/61afebdacc3b980fb82ea606d78d742847a133c3
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

  Log Message:
  -----------
  [MemProf][NFC] Switch to DenseMaps (#93868)

Change a couple of maps from std::map to DenseMap, which showed
a modest (3.6%) reduction in peak RSS.


  Commit: 7b8048939024841e07f8d89ddfaa4311f9dd7e9c
      https://github.com/llvm/llvm-project/commit/7b8048939024841e07f8d89ddfaa4311f9dd7e9c
  Author: Artem Yurchenko <44875844+temyurchenko at users.noreply.github.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/lib/AST/DeclPrinter.cpp
    A clang/test/AST/ast-print-language-linkage.cpp

  Log Message:
  -----------
  [clang][AST] fix ast-print of `extern <lang>` with >=2 declarators (#93131)

Problem: the printer used to ignore all but the first declarator for
unbraced language linkage declarators. Furthemore, that one would be
printed without the final semicolon.

Solution: when there is more than one declarator, we print them in a
braced `extern <lang>` block. If the original declaration was unbraced
and there is one or less declarator, we omit the braces, but add the
semicolon.

**N.B.** We are printing braces which were, in some cases, absent from
the original CST. If that's an issue, I'll work on it. See the tests for
the examples.


  Commit: 224581cf3c8b734d619e261ec4705106282ae3a8
      https://github.com/llvm/llvm-project/commit/224581cf3c8b734d619e261ec4705106282ae3a8
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M flang/lib/Semantics/check-do-forall.cpp

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

This patch fixes:

  flang/lib/Semantics/check-do-forall.cpp:731:9: error: default label
  in switch which covers all enumeration values
  [-Werror,-Wcovered-switch-default]


  Commit: 22ada554d5123717d163fea5a2a8d87020b332fe
      https://github.com/llvm/llvm-project/commit/22ada554d5123717d163fea5a2a8d87020b332fe
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/include/llvm/DWARFLinker/Utils.h
    M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
    M llvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp

  Log Message:
  -----------
  [dsymutil] Also detect external downloadable toolchains (#93872)

and reject them when copying Swift interface files, since they can live
outside of DEVELOPER_DIR.


  Commit: 6f576d957e7efd2e3b2af90d03e626f0bafbd018
      https://github.com/llvm/llvm-project/commit/6f576d957e7efd2e3b2af90d03e626f0bafbd018
  Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M libc/test/UnitTest/LibcTest.cpp
    M libc/test/UnitTest/LibcTest.h
    M libc/test/UnitTest/LibcTestMain.cpp
    M libc/test/utils/UnitTest/testfilter_test.cpp

  Log Message:
  -----------
  [libc] android atest compat (#93852)

These changes slighly modify the output of the unittests so that they better
match GTest, so that utilities that parse the expected output from GTest (such
as Android's unit test harness) can read the output from our unit tests.

This allows our unit tests to be run on Android devices.

Add very primitive command line parsing to:
- support --gtest_color=no to disable printing terminal colors.
- recognize --gtest_print_time and print the test time in milliseconds.
  - most of our unit tests run on the order of microseconds, so its useful to
    preserve the existing behavior.  But upsteram GTest ONLY prints time tests
    in milliseconds, and Android's atest expects to be able to parse exactly
    that. Atest always passes --gtest_print_time. The word `took` is removed as
    that also differs from upstream GTest, tripping up parsers.
- ignore other --gtest_* flags

Do so so that atest can parse the output correctly.

Print the test number count before
each run, so that atest can parse this value correctly.

Link: https://android-review.googlesource.com/c/platform/external/llvm-libc/+/3107252
Link: https://google.github.io/googletest/advanced.html#colored-terminal-output
Link: https://google.github.io/googletest/advanced.html#suppressing-the-elapsed-time


  Commit: d471860f2d3bbc7208ebf6e9e3e5350677f9c290
      https://github.com/llvm/llvm-project/commit/d471860f2d3bbc7208ebf6e9e3e5350677f9c290
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

  Log Message:
  -----------
  [bazel] Port #92983 (#93874)


  Commit: 6e975ecf5c93c40d2f088425548eb6476332629c
      https://github.com/llvm/llvm-project/commit/6e975ecf5c93c40d2f088425548eb6476332629c
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/include/clang/Basic/DebugOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
    M clang/test/Driver/debug-options.c

  Log Message:
  -----------
  Reapply "[DebugInfo] Add flag to only emit referenced member functions" (#93767)

This reverts commit 02c6845c762dfd0a19d4a2f997990e160f392dae,
reapplying bfabc958c7c0d7ddc15f23383d9da836e8c6093f.

The patch was reverted due to the test failing on MacOS and Windows
where type units aren't supported. This is addressed by limiting type
unit flag/test coverage to Linux.

Complete C++ type information can be quite expensive - and there's
limited value in representing every member function, even those that
can't be called (we don't do similarly for every non-member function
anyway). So add a flag to opt out of this behavior for experimenting
with this more terse behavior.

I think Sony already does this by default, so perhaps with a change to
the defaults, Sony can migrate to this rather than a downstream patch.

This breaks current debuggers in some expected ways - but those
breakages are visible without this feature too. Consider member function
template instantiations - they can't be consistently enumerated in every
translation unit:

a.h:
```
struct t1 {
  template <int i>
  static int f1() {
    return i;
  }
};
namespace ns {
template <int i>
int f1() {
  return i;
}
}  // namespace ns
```
a.cpp:
```
void f1() {
  t1::f1<0>();
  ns::f1<0>();
}
```
b.cpp:
```
void f1();
int main() {
  f1();
  t1::f1<1>();
  ns::f1<1>();
}
```
```
(gdb) p ns::f1<0>()
$1 = 0
(gdb) p ns::f1<1>()
$2 = 1
(gdb) p t1::f1<0>()
Couldn't find method t1::f1<0>
(gdb) p t1::f1<1>()
$3 = 1
(gdb) s
f1 () at a.cpp:3
3         t1::f1<0>();
(gdb) p t1::f1<0>()
$4 = 0
(gdb) p t1::f1<1>()
Couldn't find method t1::f1<1>
(gdb)
```

(other similar non-canonical features are implicit special members
(copy/move ctor/assignment operator, default ctor) and nested types (eg:
pimpl idiom, where the nested type is declared-but-not-defined in one
TU, and defined in another TU))

lldb can't parse the template expressions above, so I'm not sure how to
test it there, but I'd guess it has similar problems. (

https://stackoverflow.com/questions/64602475/how-to-print-value-returned-by-template-member-function-in-gdb-lldb-debugging
so... I guess that's just totally not supported in lldb, how
unfortunate. And implicit special members are instantiated implicitly by
lldb, so missing those doesn't tickle the same issue)

Some very rudimentary numbers for a clang debug build:
.debug_info section size:
-g: 476MiB
-g -fdebug-types-section: 357MiB
-g -gomit-unreferenced-members: 340MiB

Though it also means a major reduction in .debug_str size,
-fdebug-types-section doesn't reduce string usage (so the first two
examples have the same .debug_str size, 247MiB), down to 175MiB.

So for total clang binary size (I don't have a quick "debug section size
reduction" on-hand): 1.45 (no type units) GiB -> 1.34 -> 1.22, so it
saves about 120MiB of binary size.

Original Differential Revision: https://reviews.llvm.org/D152017


  Commit: 8247068b70106d188d037b9cc4b8de3548108597
      https://github.com/llvm/llvm-project/commit/8247068b70106d188d037b9cc4b8de3548108597
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
    M llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
    M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll

  Log Message:
  -----------
  [RISCV] Support (truncate (smin (smax X, C1), C2)) for vnclipu in combineTruncToVnclip. (#93756)

If the smax removed all negative numbers, then we can treat the smin
like a umin.

If the smin and smax are in the other order we can swap them and use a
vnclipu as long as the smax constant is smaller than the smin constant.

This is based on similar code from X86's detectUSatPattern.


  Commit: 167cad531db897c708610447d2632f137931c4be
      https://github.com/llvm/llvm-project/commit/167cad531db897c708610447d2632f137931c4be
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lld/test/ELF/linkerscript/addr.test
    R lld/test/ELF/linkerscript/expr-invalid-sec.test
    R lld/test/ELF/linkerscript/expr-sections.test
    R lld/test/ELF/linkerscript/parse-section-in-addr.test

  Log Message:
  -----------
  [ELF] Improve ADDR tests

Merge some test files.
The "undefined section" error (`checkIfExists`) was previously untested.


  Commit: 493eefc93f2901dd987b8ff441004352b317cab9
      https://github.com/llvm/llvm-project/commit/493eefc93f2901dd987b8ff441004352b317cab9
  Author: Miro Bucko <mbucko at meta.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/test/API/python_api/address_range/TestAddressRange.py

  Log Message:
  -----------
  [lldb][test] Fix failing test TestAddressRange.py (#93871)

Test llvm-project/lldb/test/API/python_api/address_range/TestAddressRange.py is failing on Windows due adding a carriage return character at the end of line. Original PR is #93836.


  Commit: 031f08c0a5aa1e9fb6995e26f5e9270a81f077cd
      https://github.com/llvm/llvm-project/commit/031f08c0a5aa1e9fb6995e26f5e9270a81f077cd
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

  Log Message:
  -----------
  [bazel] Port #93567 (#93877)


  Commit: f795853d1f77bff69c3805f75e54fa7a32cc23d9
      https://github.com/llvm/llvm-project/commit/f795853d1f77bff69c3805f75e54fa7a32cc23d9
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Support/raw_ostream.cpp

  Log Message:
  -----------
  raw_ostream: Fix a comment in llvm::errs

https://reviews.llvm.org/D81156 tied errs() to outs().
030897523d43e3296f69d25a71a140d9e5793c6a removed the tie, but did not
update the comment.


  Commit: c4dad9a6b6dd048b4a8d771864ff905cbc2467af
      https://github.com/llvm/llvm-project/commit/c4dad9a6b6dd048b4a8d771864ff905cbc2467af
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.h

  Log Message:
  -----------
  [DirectX] Fix BitcodeWriter ctor after #92983


  Commit: 215f92b979277a7ea4d331ae25a3ab9b77c9da0e
      https://github.com/llvm/llvm-project/commit/215f92b979277a7ea4d331ae25a3ab9b77c9da0e
  Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
    A llvm/test/CodeGen/AMDGPU/load-store-opt-addc0.mir

  Log Message:
  -----------
  [AMDGPU] Fix crash in the SILoadStoreOptimizer (#93862)

It does not properly handle situation when address calculation uses
V_ADDC_U32 0, 0, carry-in (i.e. with both src0 and src1 immediates).


  Commit: d5f077cf52b3e14beb9932ddf7043685a31580b6
      https://github.com/llvm/llvm-project/commit/d5f077cf52b3e14beb9932ddf7043685a31580b6
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lld/ELF/LinkerScript.cpp

  Log Message:
  -----------
  [ELF] Simplify assignOffsets. NFC


  Commit: 90acfbf90ddcb9c8c3338373bd13cb44f73bbd00
      https://github.com/llvm/llvm-project/commit/90acfbf90ddcb9c8c3338373bd13cb44f73bbd00
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProfReader.h
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    M llvm/lib/ProfileData/MemProf.cpp

  Log Message:
  -----------
  [memprof] Use linear IDs for Frames and call stacks (#93740)

With this patch, we stop using on-disk hash tables for Frames and call
stacks.  Instead, we'll write out all the Frames as a flat array while
maintaining mappings from FrameIds to the indexes into the array.
Then we serialize call stacks in terms of those indexes.

Likewise, we'll write out all the call stacks as another flat array
while maintaining mappings from CallStackIds to the indexes into the
call stack array.  One minor difference from Frames is that the
indexes into the call stack array are not contiguous because call
stacks are variable-length objects.

Then we serialize IndexedMemProfRecords in terms of the indexes
into the call stack array.

Now, we describe each call stack with 32-bit indexes into the Frame
array (as opposed to the 64-bit FrameIds in Version 2).  The use of
the smaller type cuts down the profile file size by about 40% relative
to Version 2.  The departure from the on-disk hash tables contributes
a little bit to the savings, too.

For now, IndexedMemProfRecords refer to call stacks with 64-bit
indexes into the call stack array.  As a follow-up, I'll change that
to uint32_t, including necessary updates to RecordWriterTrait.


  Commit: 629b6f4eb129375324486181ac4fda1288ebecbc
      https://github.com/llvm/llvm-project/commit/629b6f4eb129375324486181ac4fda1288ebecbc
  Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M bolt/include/bolt/Core/FunctionLayout.h
    M bolt/lib/Core/FunctionLayout.cpp

  Log Message:
  -----------
  [BOLT][NFC] Extend updateLayoutIndices (#93861)

Make FunctionLayout::updateLayoutIndices const and add an overloaded
function that updates LayoutIndices given an Order parameter.


  Commit: fc2b15987b417174ee6d899178af08c47e04575b
      https://github.com/llvm/llvm-project/commit/fc2b15987b417174ee6d899178af08c47e04575b
  Author: Sterling Augustine <saugustine at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/apx/asm-constraint-2-jR.ll

  Log Message:
  -----------
  Send output to a temp file, even in the error case

Prior to this, the test tries to write to the source directory,
which prevents it from working when the source is on a read-only
file systems.


  Commit: 419d363385c7fa8bd969a817f95ab025ae94277c
      https://github.com/llvm/llvm-project/commit/419d363385c7fa8bd969a817f95ab025ae94277c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/preload-kernargs.ll

  Log Message:
  -----------
  AMDGPU: Add kernarg input attributes to preloaded kernarg test (#93669)

Explicitly mark the unused implicit arguments in the test, since this
should be sensitive to the number of free user SGPRs.

This is in preparation for #83131.


  Commit: d9fbccf9a9b1ee2b76267146b4582415df67e66c
      https://github.com/llvm/llvm-project/commit/d9fbccf9a9b1ee2b76267146b4582415df67e66c
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/test/Driver/debug-options.c

  Log Message:
  -----------
  Fix test on MacOS where -fstandalone-debug is the default

This test is meant to check the behavior when -fno-standalone-debug is
active - it doesn't care whether it's explicit or implicit, so let's
make it explicit so it applies equally to MacOS and other platforms.


  Commit: 235ddbd138b14aa1479adda2dc16f5f4055f1053
      https://github.com/llvm/llvm-project/commit/235ddbd138b14aa1479adda2dc16f5f4055f1053
  Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/docs/DirectXUsage.rst

  Log Message:
  -----------
  [DirectX] [Docs] Add DXILOpTableGenDesign.rst to toctree of DirectXUsage. (#93864)

Fix doc build failure.


  Commit: d4ff9615a1531f4a466b7d1fb0f175e3ae489289
      https://github.com/llvm/llvm-project/commit/d4ff9615a1531f4a466b7d1fb0f175e3ae489289
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/include/clang/Sema/Attr.h

  Log Message:
  -----------
  Add missing #include for ObjCMethodDecl.

DeclBase.h only contains a forward declaration of ObjCMethodDecl, and
when building clang/Sema/Attr.h with header modules this causes a build
failure because `llvm::isa<ObjCMethodDecl>` requires the full type.


  Commit: 852aaf54071ad072335dcac57f544d4da34c875a
      https://github.com/llvm/llvm-project/commit/852aaf54071ad072335dcac57f544d4da34c875a
  Author: Aaron Siddhartha Mondal <aaron at tracemachina.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M clang/cmake/caches/Fuchsia.cmake
    M clang/cmake/caches/VectorEngine.cmake
    M clang/utils/analyzer/entrypoint.py
    M compiler-rt/cmake/config-ix.cmake
    M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
    M compiler-rt/lib/xray/tests/CMakeLists.txt
    M lldb/docs/resources/build.rst
    M lldb/source/Core/CMakeLists.txt
    M llvm/CMakeLists.txt
    M llvm/cmake/config-ix.cmake
    R llvm/cmake/modules/FindTerminfo.cmake
    M llvm/cmake/modules/LLVMConfig.cmake.in
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/Config/config.h.cmake
    M llvm/lib/Support/CMakeLists.txt
    M llvm/lib/Support/Unix/Process.inc
    M llvm/utils/gn/README.rst
    R llvm/utils/gn/build/libs/terminfo/BUILD.gn
    R llvm/utils/gn/build/libs/terminfo/enable.gni
    M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
    M llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
    M utils/bazel/.bazelrc
    M utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
    M utils/bazel/llvm_configs/config.h.cmake

  Log Message:
  -----------
  Reapply "[Support] Remove terminfo dependency (#92865)" (#93889)

This reverts commit fe82a3da36196157c0caa1ef2505186782f750d1.

This broke LLDB on MacOS due to a missing symbol during linking.

The fix has been applied in c6c08eee37bada190bd1aa4593c88a5e2c8cdaac.

Original commit message:

The terminfo dependency introduces a significant nonhermeticity into the
build. It doesn't respect `--no-undefined-version` meaning that it's not
a dependency that can be built with Clang 17+. This forces maintainers
of source-based distributions to implement patches or ignore linker
errors.

Remove it to reduce the closure size and improve portability of
LLVM-based tools. Users can still use command line arguments to toggle
color support expliticly.

Fixes #75490
Closes #53294 #23355


  Commit: e1c3e16d24b5cc097ff08e9283f53319acd3f245
      https://github.com/llvm/llvm-project/commit/e1c3e16d24b5cc097ff08e9283f53319acd3f245
  Author: Akira Hatanaka <ahatanak at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/Decl.cpp
    M clang/test/SemaObjCXX/block-capture.mm

  Log Message:
  -----------
  [clang] Fix a crash when a variable is captured by a block nested inside a lambda (#93749)

`Eval->Value.get` returns a null pointer when the variable doesn't have
an initializer. Use `cast_if_present` instead of `cast`.

This fixes https://github.com/llvm/llvm-project/issues/93625.

rdar://128482541


  Commit: f38d84ce328c2acdce372680a41d8cf6c1bdf7c4
      https://github.com/llvm/llvm-project/commit/f38d84ce328c2acdce372680a41d8cf6c1bdf7c4
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
    M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
    M llvm/test/Transforms/LoopVectorize/vplan-dot-printing.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
    M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp

  Log Message:
  -----------
  [VPlan] Use ir-bb prefix for VPIRBasicBlock.

Follow-up to adjust the names and tests after
https://github.com/llvm/llvm-project/pull/93398.


  Commit: e9954ec087d640809082f46d1c7e5ac1767b798d
      https://github.com/llvm/llvm-project/commit/e9954ec087d640809082f46d1c7e5ac1767b798d
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/test/X86/register-fragments-bolt-symbols.s

  Log Message:
  -----------
  [BOLT] Detect .warm split functions as cold fragments (#93759)

CDSplit splits functions up to three ways: main fragment with no suffix,
and fragments with .cold and .warm suffixes.

Add .warm suffix to the regex used to recognize split fragments.

Test Plan: updated register-fragments-bolt-symbols.s


  Commit: aa98c75da49515fb399e2682dfe34c563d44bdf6
      https://github.com/llvm/llvm-project/commit/aa98c75da49515fb399e2682dfe34c563d44bdf6
  Author: gulfemsavrun <gulfem at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/lib/AST/DeclPrinter.cpp
    R clang/test/AST/ast-print-language-linkage.cpp

  Log Message:
  -----------
  Revert "[clang][AST] fix ast-print of `extern <lang>` with >=2 declarators" (#93912)

Reverts llvm/llvm-project#93131 because it broke some lldb tests on the
Fuchsia Clang toolchain builders.

https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8746482644341901905/infra


  Commit: db6de1a20f75cbfe1024f41e64ad39def91fa70f
      https://github.com/llvm/llvm-project/commit/db6de1a20f75cbfe1024f41e64ad39def91fa70f
  Author: Jianjian Guan <jacquesguan at me.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmul-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vmul-vp.ll

  Log Message:
  -----------
  [DAGCombiner][VP] Add DAGCombine for VP_MUL (#80105)

Use visitMUL to combine VP_MUL, share most logic of MUL with VP_MUL.

Migrate from https://reviews.llvm.org/D121187


  Commit: 461cc8612f563fadba2d9db157a0e17e2b463e4e
      https://github.com/llvm/llvm-project/commit/461cc8612f563fadba2d9db157a0e17e2b463e4e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll

  Log Message:
  -----------
  [LAA] Add test where stride is also used for BTC.

Add missing test coverage for follow-up to
https://github.com/llvm/llvm-project/pull/93499.


  Commit: c5fdb5c34e0dc3f5f3c0db19cf704b30a778cd0e
      https://github.com/llvm/llvm-project/commit/c5fdb5c34e0dc3f5f3c0db19cf704b30a778cd0e
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

  Log Message:
  -----------
  [clang-format] Insert a space between a keyword and a literal (#93632)

Fixes #93603.


  Commit: 1fa073ab896e65c55ff63487be0b41d7cea9aa77
      https://github.com/llvm/llvm-project/commit/1fa073ab896e65c55ff63487be0b41d7cea9aa77
  Author: Zixu Wang <9819235+zixu-w at users.noreply.github.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Object/MachOObjectFile.cpp
    A llvm/test/Object/Inputs/MachO/rebase-bind-table-trailing-opcode.yaml
    A llvm/test/Object/macho-rebase-bind-trailing-opcode-boundary.test

  Log Message:
  -----------
  [MachO] Stop parsing past end of rebase/bind table (#93897)

`MachORebaseEntry::moveNext()` and `MachOBindEntry::moveNext()` assume
that the rebase/bind table ends with `{REBASE|BIND}_OPCODE_DONE` or an
actual rebase/bind. However a valid rebase/bind table might also end
with other effectively no-op opcodes, which caused the parser to move
past the end and go into the next table, resulting in corrupted entries
or infinite loops.


  Commit: 089dfeee8a8761c35a3a56e75281275871dd53bc
      https://github.com/llvm/llvm-project/commit/089dfeee8a8761c35a3a56e75281275871dd53bc
  Author: Malay Sanghi <malay.sanghi at intel.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/lib/Headers/intrin.h
    M clang/test/CodeGen/X86/ms-x86-intrinsics.c

  Log Message:
  -----------
  [X86] Add support for MS inp functions. (#93804)

support _inp, _inpw, _inpd.
These functions were removed from the Windows runtime library, but aare
still supported for kernel mode development.


  Commit: 71ccd0d8ccf876e32e21514839195f159642fe4c
      https://github.com/llvm/llvm-project/commit/71ccd0d8ccf876e32e21514839195f159642fe4c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lldb/source/Expression/IRInterpreter.cpp

  Log Message:
  -----------
  [IRInterpreter] Return zero address for missing weak function (#93548)

If a weak function is missing, still return it's address (zero) rather
than failing interpretation. Otherwise we have a mismatch between
Interpret() and CanInterpret() resulting in failures that would not
occur with JIT execution.

Alternatively, we could try to look for weak symbols in CanInterpret()
and generally reject them there.

This is the root cause for the issue exposed by
https://github.com/llvm/llvm-project/pull/92885. Previously, the case
affected by that always fell back to JIT because an icmp constant
expression was used, which is not supported by the interpreter. Now a
normal icmp instruction is used, which is supported. However, we fail to
interpret due to incorrect handling of weak function addresses.


  Commit: 4985f25ffcc4735c36967fcdbd5d46e009b25827
      https://github.com/llvm/llvm-project/commit/4985f25ffcc4735c36967fcdbd5d46e009b25827
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/include/llvm/IR/GEPNoWrapFlags.h

  Log Message:
  -----------
  [IR] Fix IWYU violation (#93918)

GEPNoWrapFlags.h calls `assert` creating a undeclared identifier error
when running an Apple-stage2 build with LLVM_ENABLE_MODULES enabled.

resolves: rdar://129031201


  Commit: f49d26bc7766a6589bdbfc6fd752665ae5643b62
      https://github.com/llvm/llvm-project/commit/f49d26bc7766a6589bdbfc6fd752665ae5643b62
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M flang/include/flang/Runtime/support.h
    M flang/runtime/support.cpp
    M flang/unittests/Runtime/Support.cpp

  Log Message:
  -----------
  [flang][runtime] add IsAssumedSize API (#93857)

Needed for SELECT RANK implementation. I want to stay away from
generating the `rank > 0 && ...` logic in FIR codegen for now.


  Commit: 5228c2cbd6d834a76c24ca9f2aaa2c4f7a0b5510
      https://github.com/llvm/llvm-project/commit/5228c2cbd6d834a76c24ca9f2aaa2c4f7a0b5510
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/test/Fir/fir-ops.fir
    M flang/test/Fir/invalid.fir

  Log Message:
  -----------
  [flang][FIR] add fir.is_assumed_size operation (#93853)

Assumed-rank fir.box/class may describe assumed-size array. This case
needs special handling in SELECT RANK. It is not possible to generate
FIR code to detect that a fir.box is an assumed-size (the way to detect
that is to check that upper dimension extent is -1 in the descriptor).

Instead of emitting a runtime call directly in lowering, add an
operation that can later be lowered to a runtime call or inline code
when the descriptor layout is known.


  Commit: 0821b7937c2b7528b1d3a0fa06eb241ae9ce4074
      https://github.com/llvm/llvm-project/commit/0821b7937c2b7528b1d3a0fa06eb241ae9ce4074
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/DSInstructions.td
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/SMInstructions.td
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    M llvm/lib/Target/AMDGPU/VOPInstructions.td

  Log Message:
  -----------
  [AMDGPU] Copy Defs and Uses from Pseudo to Real Instructions (#93004)

Currently, the tablegen files that generate the instruction definitions
in lib/Target/AMDGPU/AMDGPUGenInstrInfo.inc often only include implicit
operands for the architecture-independent pseudo instructions, but not
for the corresponding real instructions. The missing implicit operands
(most prominently: the EXEC mask) do not affect code generation, since
that operates on pseudo instructions, but they are problematic when
working with real instructions, e.g., as a decoding result from the MC
layer.

This patch copies the implicit Defs and Uses from pseudo instructions to
the corresponding real instructions, so that implicit operands are also
defined for real instructions.

Addresses issue #89830.


  Commit: 63dc31b68b78bc0e5deef21b98cab72de997c471
      https://github.com/llvm/llvm-project/commit/63dc31b68b78bc0e5deef21b98cab72de997c471
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/test/Analysis/builtin_signbit.cpp
    M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
    M clang/test/CodeGen/constantexpr-fneg.c
    M clang/test/CodeGenCXX/cxx11-thread-local.cpp
    M clang/test/CodeGenCXX/ubsan-nullability-arg.cpp
    M clang/test/CodeGenCXX/weak-external.cpp
    M clang/test/Driver/linker-wrapper-image.c
    M clang/test/OpenMP/threadprivate_codegen.cpp
    M llvm/include/llvm/Analysis/TargetFolder.h
    M llvm/include/llvm/IR/ConstantFolder.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/test/Assembler/ConstantExprFold.ll
    M llvm/test/Assembler/ConstantExprNoFold.ll
    M llvm/test/Assembler/vector-cmp.ll
    M llvm/test/CodeGen/AMDGPU/lower-ctor-dtor-constexpr-alias.ll
    M llvm/test/CodeGen/AMDGPU/lower-ctor-dtor.ll
    M llvm/test/CodeGen/AMDGPU/lower-multiple-ctor-dtor.ll
    M llvm/test/Instrumentation/MemorySanitizer/check-constant-shadow.ll
    M llvm/test/Instrumentation/SanitizerBinaryMetadata/atomics.ll
    M llvm/test/Transforms/Attributor/value-simplify.ll
    M llvm/test/Transforms/InstCombine/binop-select-cast-of-select-cond.ll
    M llvm/test/Transforms/InstCombine/constant-fold-address-space-pointer.ll
    M llvm/test/Transforms/InstCombine/getelementptr.ll
    M llvm/test/Transforms/InstCombine/hoist-xor-by-constant-from-xor-by-value.ll
    M llvm/test/Transforms/InstCombine/pr33453.ll
    M llvm/test/Transforms/InstCombine/pr83947.ll
    M llvm/test/Transforms/InstCombine/rem.ll
    M llvm/test/Transforms/InstCombine/select-and-or.ll
    M llvm/test/Transforms/InstCombine/select-safe-transforms.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/bitcast.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/icmp-global.ll
    M llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll
    M llvm/test/Transforms/InstSimplify/compare.ll
    M llvm/test/Transforms/InstSimplify/past-the-end.ll
    M llvm/test/Transforms/JumpThreading/constant-fold-status.ll
    M llvm/test/Transforms/LowerTypeTests/cfi-direct-call1.ll
    M llvm/test/Transforms/LowerTypeTests/function-weak.ll
    M llvm/test/Transforms/SCCP/conditions-ranges.ll
    M llvm/test/Transforms/SimplifyCFG/phi-to-select-constexpr-icmp.ll

  Log Message:
  -----------
  Reapply [IR] Avoid creating icmp/fcmp constant expressions (#92885)

Reapply after https://github.com/llvm/llvm-project/pull/93548,
which should address the lldb failure on macos.

-----

Do not create icmp/fcmp constant expressions in IRBuilder etc anymore,
i.e. treat them as "undesirable". This is in preparation for removing
them entirely.

Part of:
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179


  Commit: e1cc9e4eaddcc295b4e775512e33b947b1514c17
      https://github.com/llvm/llvm-project/commit/e1cc9e4eaddcc295b4e775512e33b947b1514c17
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    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/OpenMP/threadprivate_codegen.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/test/Other/constant-fold-gep.ll
    M llvm/test/Transforms/InstCombine/gepgep.ll
    M llvm/test/Transforms/InstCombine/getelementptr.ll
    M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll

  Log Message:
  -----------
  [ConstantFold] Remove non-trivial gep-of-gep fold (#93823)

This fold is subtly incorrect, because DL-unaware constant folding does
not know the correct index type to use, and just performs the addition
in the type that happens to already be there. This is incorrect, since
sext(X)+sext(Y) is generally not the same as sext(X+Y). See the
`@constexpr_gep_of_gep_with_narrow_type()` for a miscompile with the
current implementation.

One could try to restrict the fold to cases where no overflow occurs,
but I'm not bothering with that here, because the DL-aware constant
folding will take care of this anyway. I've only kept the
straightforward zero-index case, where we just concatenate two GEPs.


  Commit: be566d2eacdaed972b90d2eeb1e66d732c9fe7c1
      https://github.com/llvm/llvm-project/commit/be566d2eacdaed972b90d2eeb1e66d732c9fe7c1
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/include/clang/AST/RecursiveASTVisitor.h

  Log Message:
  -----------
  [clang] AST Visitor: skip empty qualifiers in QualifiedTemplateName (#93926)


  Commit: f484c79e7a5c6502e12d3975734fb4335ab51103
      https://github.com/llvm/llvm-project/commit/f484c79e7a5c6502e12d3975734fb4335ab51103
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll

  Log Message:
  -----------
  [AArch64] Avoid NEON ctpop in Streaming-SVE mode (#93826)

The NEON ctpop instruction is also used for scalars.


  Commit: ae8627809076390dbab04e01f3bf9d384c9e124e
      https://github.com/llvm/llvm-project/commit/ae8627809076390dbab04e01f3bf9d384c9e124e
  Author: Yvan Roux <yvan.roux at foss.st.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/docs/Security.rst

  Log Message:
  -----------
  [Nomination] Add ST representative to Security group (#93176)

I'd like to nominate myself to join the LLVM Security group as a
representative of ST. I work in ST's compiler team contributing to
upstream (LLVM and GNU) and several downstream toolchains. We believe
that it is important for us to be part of this group to address or
report any potential security issues the LLVM project or our toolchains
may encounter.


  Commit: b86a9c5bf2fab0408a3d549995d6e2449f71a16d
      https://github.com/llvm/llvm-project/commit/b86a9c5bf2fab0408a3d549995d6e2449f71a16d
  Author: Théo Degioanni <theo.degioanni.llvm.deluge062 at simplelogin.fr>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    A mlir/include/mlir/Dialect/IRDL/IRDLSymbols.h
    M mlir/lib/Dialect/IRDL/CMakeLists.txt
    M mlir/lib/Dialect/IRDL/IR/IRDL.cpp
    M mlir/lib/Dialect/IRDL/IR/IRDLOps.cpp
    M mlir/lib/Dialect/IRDL/IRDLLoading.cpp
    A mlir/lib/Dialect/IRDL/IRDLSymbols.cpp
    M mlir/test/Dialect/IRDL/cmath.irdl.mlir
    M mlir/test/Dialect/IRDL/cyclic-types.irdl.mlir
    M mlir/test/Dialect/IRDL/invalid.irdl.mlir
    M mlir/test/Dialect/IRDL/testd.irdl.mlir

  Log Message:
  -----------
  [mlir][irdl] Lookup symbols near dialects instead of locally (#92819)

Because symbols cannot refer to operations outside of their symbol
tables, it was impossible to refer to operations outside of the dialect
currently being defined. This PR modifies the lookup logic to happen
relative to the symbol table containing the dialect-defining operations.
This is a bit of hack but should unblock the situation here.


  Commit: 51e459a561519c8d51e2b4cadddc0d1f99c8b7ef
      https://github.com/llvm/llvm-project/commit/51e459a561519c8d51e2b4cadddc0d1f99c8b7ef
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    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/OpenMP/threadprivate_codegen.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/test/Other/constant-fold-gep.ll
    M llvm/test/Transforms/InstCombine/gepgep.ll
    M llvm/test/Transforms/InstCombine/getelementptr.ll
    M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll

  Log Message:
  -----------
  Revert "[ConstantFold] Remove non-trivial gep-of-gep fold (#93823)"

This reverts commit e1cc9e4eaddcc295b4e775512e33b947b1514c17.

This causes some non-trivial text size increases in unoptimized
builds for Bullet. Revert while I investigate.


  Commit: b1be480b034f75bbc245bffc10d8cdc7193568d1
      https://github.com/llvm/llvm-project/commit/b1be480b034f75bbc245bffc10d8cdc7193568d1
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [DAGCombiner] Move CanReassociate down to first use. NFC.


  Commit: 48ba7da9c8e3d03beb27e3a5acf34a3a180d202d
      https://github.com/llvm/llvm-project/commit/48ba7da9c8e3d03beb27e3a5acf34a3a180d202d
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M libc/src/string/memory_utils/op_x86.h
    M libc/src/string/memory_utils/utils.h

  Log Message:
  -----------
  [libc][NFC] Allow compilation of `memcpy` with `-m32` (#93790)

Needed to support i386 (#93709).


  Commit: 2766a66fa777bbb654e08ccbcfdc3e61b70ba015
      https://github.com/llvm/llvm-project/commit/2766a66fa777bbb654e08ccbcfdc3e61b70ba015
  Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h

  Log Message:
  -----------
  [AMDGPU] Remove FlatVariant argument from isLegalFlatAddressingMode. NFC. (#93938)

This argument is easily deduced from AS argument.


  Commit: de32a3df354f1d01c0a5c81285ac786cea9d8bdf
      https://github.com/llvm/llvm-project/commit/de32a3df354f1d01c0a5c81285ac786cea9d8bdf
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/test/OpenMP/for_private_codegen.cpp
    M clang/test/OpenMP/for_reduction_codegen.cpp
    M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
    M clang/test/OpenMP/parallel_copyin_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/sections_lastprivate_codegen.cpp
    M clang/test/OpenMP/sections_private_codegen.cpp
    M clang/test/OpenMP/sections_reduction_codegen.cpp
    M clang/test/OpenMP/single_private_codegen.cpp

  Log Message:
  -----------
  [Clang] Regenerate test checks (NFC)

To minimize diffs in an upcoming change.


  Commit: 60a890d8556c3af3f0f3e6aeb1c29340f9bf27b6
      https://github.com/llvm/llvm-project/commit/60a890d8556c3af3f0f3e6aeb1c29340f9bf27b6
  Author: Sergey Kachkov <sergey.kachkov at syntacore.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    A llvm/test/Transforms/LoopUnroll/peel-loop-min-max-intrinsics.ll

  Log Message:
  -----------
  [LoopPeel] Add pre-commit test for min/max intrinsics


  Commit: c8fad4fb88b3c9cd7c4d0cf872273b44a879526f
      https://github.com/llvm/llvm-project/commit/c8fad4fb88b3c9cd7c4d0cf872273b44a879526f
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/lib/Optimizer/Transforms/OMPMarkDeclareTarget.cpp

  Log Message:
  -----------
  [flang][OpenMP][NFC] Reduce OMPMarkDeclareTarget boilerplate (#93797)

The pass constructor can be generated automatically by tablegen.

This pass does not need adapting to work with non-function top level
operations because it operates specifically on call operations inside of
an OpenMP declare target function.


  Commit: a65771fce4a2f25f16d4b3918ad6a11370637f7b
      https://github.com/llvm/llvm-project/commit/a65771fce4a2f25f16d4b3918ad6a11370637f7b
  Author: Henry Linjamäki <henry.linjamaki at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/docs/UsersManual.rst
    M clang/lib/Driver/ToolChains/SPIRV.cpp
    M clang/test/Driver/hipspv-toolchain.hip
    M clang/test/Driver/spirv-toolchain.cl
    M clang/test/lit.site.cfg.py.in

  Log Message:
  -----------
  [SPIR-V] Prefer llvm-spirv-<LLVM_VERSION_MAJOR> tool (#77897)

Prefer using `llvm-spirv-<LLVM_VERSION_MAJOR>` tool (i.e.
`llvm-spirv-18`) over plain `llvm-spirv`. If the versioned tool is not
found in PATH, fall back to use the plain `llvm-spirv`.

An issue with the using `llvm-spirv` is that the one found in PATH might
be compiled against older LLVM version which could lead to crashes or
obscure bugs. For example, `llvm-spirv` distributed by Ubuntu links
against different LLVM version depending on the Ubuntu release (LLVM-10
in 20.04LTS, LLVM-13 in 22.04LTS).


  Commit: 196dca7561b4c3865ef7d5e45c22d215619d7385
      https://github.com/llvm/llvm-project/commit/196dca7561b4c3865ef7d5e45c22d215619d7385
  Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/docs/analyzer/checkers.rst

  Log Message:
  -----------
  [clang][analyzer][NFC] Improve docs of alpha.unix.BlockInCriticalSection (#93812)

- Enhanced descriptions for blocking and critical section functions
- Added an additional code sample highlighting interleaved C and C++
style mutexes


  Commit: 46b3145b7c6bbe7014f9e790236717e4f8a711d8
      https://github.com/llvm/llvm-project/commit/46b3145b7c6bbe7014f9e790236717e4f8a711d8
  Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/docs/analyzer/checkers.rst
    M clang/test/Analysis/block-in-critical-section.cpp

  Log Message:
  -----------
  [clang][analyzer][NFC] Add test for a limitation of alpha.unix.BlockInCriticalSection checker (#93799)

Updated the documentation in `checkers.rst` to include an example of how
`trylock` function is handled.
Added a new test for a scenario where `pthread_mutex_trylock` is used,
demonstrating the current limitation.


  Commit: f34dedbf44a0578430f81de94f294f4474fee0fb
      https://github.com/llvm/llvm-project/commit/f34dedbf44a0578430f81de94f294f4474fee0fb
  Author: Sergey Kachkov <109674256+skachkov-sc at users.noreply.github.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopPeel.cpp
    M llvm/test/Transforms/LoopUnroll/peel-loop-min-max-intrinsics.ll

  Log Message:
  -----------
  [LoopPeel] Support min/max intrinsics in loop peeling (#93162)

This patch adds processing of min/max intrinsics in LoopPeel in the
similar way as it was done for conditional statements: for
min/max(IterVal, BoundVal) we peel iterations where IterVal < BoundVal
for monotonically increasing IterVal; for monotonically decreasing
IterVal we peel iterations where IterVal > BoundVal (strict comparision
predicates are used to minimize number of peeled iterations).


  Commit: 189efb0fbb5af31bebcc1eefdf41296e7e72b425
      https://github.com/llvm/llvm-project/commit/189efb0fbb5af31bebcc1eefdf41296e7e72b425
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/vselect-pcmp.ll

  Log Message:
  -----------
  [X86] vselect-pcmp.ll - add tests showing poor codegen on AVX1 targets where we have to split/concat 128-bit subvectors

We'd be better off consistently using 128-bit instructions

Based off a regression reported after #92794


  Commit: 8f4d5a32ace7f858881b6a59663ff6596b162dbc
      https://github.com/llvm/llvm-project/commit/8f4d5a32ace7f858881b6a59663ff6596b162dbc
  Author: Adam Siemieniuk <adam.siemieniuk at intel.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp
    M mlir/test/Dialect/Tensor/fold-reassociative-reshapes.mlir

  Log Message:
  -----------
  [mlir][tensor] Fold unpadding collapse_shape into extract_slice (#93554)


  Commit: f917c396c9855d7e0af0b1b3e6209757c2de0b51
      https://github.com/llvm/llvm-project/commit/f917c396c9855d7e0af0b1b3e6209757c2de0b51
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/HLFIRTools.h
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/lib/Optimizer/Builder/HLFIRTools.cpp
    M flang/test/HLFIR/maxloc-elemental.fir
    M flang/test/HLFIR/minloc-elemental.fir

  Log Message:
  -----------
  [flang] improve and rename Entity::hasNonDefaultLowerBounds (#93848)

Improve hasNonDefaultLowerBounds to follow box fir.convert. This helps
HLFIR helpers to generate less code when it can be easily deduced that
the fir.box lower bounds were set to ones.

It will help me for SELECT RANK lowering to avoid generating
hlfir.declare with lower bounds inside the RANK CASE (Current situation
would not be incorrect, the lower bounds would be SSA value ending-up
being one, I just want simpler IR).

Renamed to mayHaveNonDefaultLowerBounds since it may still answer yes when
the lower bounds are ones.


  Commit: 7acd2c0652250994a4d922bda7275d750f7bf1b7
      https://github.com/llvm/llvm-project/commit/7acd2c0652250994a4d922bda7275d750f7bf1b7
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lld/ELF/Arch/AArch64.cpp
    M lld/test/ELF/aarch64-fpic-got.s

  Log Message:
  -----------
  [lld][ELF][AArch64] Support `R_AARCH64_GOT_LD_PREL19` relocation (#89592)

With tiny code model, the GOT slot contents can be loaded via `ldr x0,
:got:sym` which corresponds to `R_AARCH64_GOT_LD_PREL19` static
GOT-relative relocation.

See
https://github.com/ARM-software/abi-aa/blob/main/aaelf64/aaelf64.rst#static-aarch64-relocations


  Commit: 23427b808c84fcbf20315dbbb62f6b48edf36c21
      https://github.com/llvm/llvm-project/commit/23427b808c84fcbf20315dbbb62f6b48edf36c21
  Author: Elvina Yakubova <eyakubova at nvidia.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M bolt/lib/Rewrite/DWARFRewriter.cpp

  Log Message:
  -----------
  [BOLT][NFC] Fix typo in DWARFRewriter.cpp (#93955)


  Commit: 37ecd43335f8ff57ea2df8d86f8b5a35c7cee5c2
      https://github.com/llvm/llvm-project/commit/37ecd43335f8ff57ea2df8d86f8b5a35c7cee5c2
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/ExecutionEngine/Interpreter/Execution.cpp

  Log Message:
  -----------
  [ExecutionEngine] Remove handling for removed ConstantExprs (NFCI)

These constant expressions no longer exist, so don't handle them.


  Commit: 765ce869916e2d0652e55cacea1cd175c4ad862b
      https://github.com/llvm/llvm-project/commit/765ce869916e2d0652e55cacea1cd175c4ad862b
  Author: Elvina Yakubova <eyakubova at nvidia.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M bolt/docs/CommandLineArgumentReference.md
    A bolt/docs/generate_doc.py

  Log Message:
  -----------
  [BOLT][DOC] Add script for automatic user guide generation (#93822)


  Commit: f0e8d003e5157c128f8f2375eac487b38e445648
      https://github.com/llvm/llvm-project/commit/f0e8d003e5157c128f8f2375eac487b38e445648
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/widen_load-3.ll

  Log Message:
  -----------
  [X86] widen_load-3.ll - add missing nounwind attributes


  Commit: 6ee845d2401b7f0e5f385fc0e3a8cb44afd667dc
      https://github.com/llvm/llvm-project/commit/6ee845d2401b7f0e5f385fc0e3a8cb44afd667dc
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/IR/Constants.cpp

  Log Message:
  -----------
  [IR] Remove handling for removed ConstantExprs (NFC)


  Commit: 654cd946296586e00c8d2f203a137b6a6b0d8be7
      https://github.com/llvm/llvm-project/commit/654cd946296586e00c8d2f203a137b6a6b0d8be7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [VPlan] Unconditionally run optimizeForVFAndUF.

Now that the VPlan for the main vector loop gets cloned in the epilogue
vectorization code path, there optimizeForVFAndUF can be applied
unconditionally.


  Commit: b52962d1b89ca9102a89497743b7576d572b437e
      https://github.com/llvm/llvm-project/commit/b52962d1b89ca9102a89497743b7576d572b437e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vselect-pcmp.ll

  Log Message:
  -----------
  [X86] LowerVSELECT - split v16i16/v32i8 pre-AVX2 VSELECT ops if enough of the operands are free to split.

Often on AVX1 we're better off consistently using 128-bit instructions, so recognise when the operands are loads that can be freely/cheaply split - ideally this functionality needs to be moved to isFreeToSplitVector but we're using it in a few places where we don't want to split loads yet.

Based off a regression reported after #92794


  Commit: 5c7f7cc4dea3e202b56cebaa303d7fb8b26fc18e
      https://github.com/llvm/llvm-project/commit/5c7f7cc4dea3e202b56cebaa303d7fb8b26fc18e
  Author: David Truby <david.truby at arm.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M flang/test/Driver/exec.f90

  Log Message:
  -----------
  [flang] Fix exec.f90 test on LIT integrated shell (#93961)

The exec.f90 test sets an environment variable for a specific command
directly
rather than using env, which doesn't work on shells that don't support
this
syntax, most notably the LIT integrated shell. This patch simply adds
env so
that this works on the integrated shell.


  Commit: edf4e02906bd0c57087a44e5c4890ffc453667b2
      https://github.com/llvm/llvm-project/commit/edf4e02906bd0c57087a44e5c4890ffc453667b2
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
    M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll

  Log Message:
  -----------
  [RISCV] Support multiple levels of truncates in combineTruncToVnclip. (#93752)

We can use multiple vnclips to saturate an i32 value into an i8 value.


  Commit: 6163775077236a0e602759912872a06162efd01b
      https://github.com/llvm/llvm-project/commit/6163775077236a0e602759912872a06162efd01b
  Author: Kirill Podoprigora <kirill.bast9 at mail.ru>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/README.txt

  Log Message:
  -----------
  [clang] ``README.txt``: Replace the link to the old bug tracker with the new one. (#93878)


  Commit: fb87e11e7253656ffe99726f45b679e08343bd5f
      https://github.com/llvm/llvm-project/commit/fb87e11e7253656ffe99726f45b679e08343bd5f
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll

  Log Message:
  -----------
  [RISCV] Add test case for strided scatter with scalar offset. NFC


  Commit: c5e417a812d86226b087346cadb05d3aae9fe1d0
      https://github.com/llvm/llvm-project/commit/c5e417a812d86226b087346cadb05d3aae9fe1d0
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/test/API/commands/session/save/TestSessionSave.py

  Log Message:
  -----------
  [lldb] Fix 'session save' command on Windows

1. Use dashes (-) instead of colons (:) as time separator in a session log
file name since Windows doesn't support saving files with names containing
colons.

2. Temporary file creation code is changed in the test:
On Windows, the temporary file should be closed before 'session save'
writes session log to it. NamedTemporaryFile() can preserve the file
after closing it with delete_on_close=False option.
However, this option is only available since Python 3.12. Thus
mkstemp() is used for temporary file creation as the more compatible
option.


  Commit: e6bef08e22ac52aca0d6364f972cfb49c483adb3
      https://github.com/llvm/llvm-project/commit/e6bef08e22ac52aca0d6364f972cfb49c483adb3
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
    M flang/test/HLFIR/bufferize01.fir

  Log Message:
  -----------
  [flang] Avoid double free in bufferize pass (#93922)

In some cases where we have an `hlfir.no_reassoc` operation, the
bufferization pass could not earse the hlfir.destroy op during the
`hlfir.associate` op conversion as show in the example below.

```
func.func @double_free(%arg0: !fir.boxchar<1>) {
  %c5 = arith.constant 5 : index
  %true = arith.constant true
  %0 = hlfir.as_expr %arg0 move %true : (!fir.boxchar<1>, i1) -> !hlfir.expr<!fir.char<1,?>>
  %1 = hlfir.no_reassoc %0 : !hlfir.expr<!fir.char<1,?>>
  %2:3 = hlfir.associate %1 typeparams %c5 {adapt.valuebyref} : (!hlfir.expr<!fir.char<1,?>>, index) -> (!fir.boxchar<1>, !fir.ref<!fir.char<1,?>>, i1)
  fir.call @noop(%2#0) : (!fir.boxchar<1>) -> ()
  hlfir.end_associate %2#1, %2#2 : !fir.ref<!fir.char<1,?>>, i1
  hlfir.destroy %0 : !hlfir.expr<!fir.char<1,?>>
  return
} 
func.func private @noop(!fir.boxchar<1>)
```

The bufferization pass is looking at uses of its source `%1` that is the
result of an `hlfir.no_reassoc` operation. In order to avoid double free
generation, also look at the indirection in presence of
`hlfir.no_reassoc`.


  Commit: 5e423f1c5119387879c04069f048d6dbfc2c90d6
      https://github.com/llvm/llvm-project/commit/5e423f1c5119387879c04069f048d6dbfc2c90d6
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/dotest.py
    M lldb/packages/Python/lldbsuite/test/dotest_args.py

  Log Message:
  -----------
  [lldb][test] Add --sysroot argument to dotest.py

This argument allows to set specific sysroot pass which will be used for
building LLDB API test programs.
It might come in handy for setting up cross-platform remote runs of API
tests on Windows host.

It can be useful for cross-compiling LLDB API tests. The argument can be
set using `LLDB_TEST_USER_ARGS` argument:
```
cmake ...
-DLLDB_TEST_USER_ARGS="...;--sysroot;C:\path\to\sysroot;..."
...
```


  Commit: ca0dae0d6be55863d0113d0a7e8e62e3f4763028
      https://github.com/llvm/llvm-project/commit/ca0dae0d6be55863d0113d0a7e8e62e3f4763028
  Author: Ivan Kosarev <ivan.kosarev at amd.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrFormats.td
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/SIInstructions.td

  Log Message:
  -----------
  [AMDGPU][NFC] Eliminate GCNPredicateControl. (#93964)

Removes ~100K instances of SIAssemblerPredicate and VIAssemblerPredicate
fields from instruction records.


  Commit: 85ea1aaf15b3721aaea35280ffdedad36128bf6b
      https://github.com/llvm/llvm-project/commit/85ea1aaf15b3721aaea35280ffdedad36128bf6b
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/test/SemaOpenACC/compute-construct-device_type-clause.c

  Log Message:
  -----------
  [OpenACC] Fix device_type clause appertainment

Seemingly I forgot to implement the appertainment checks when doing the
original device_type implementation, so we fell through to the 'not
implemented' section of the diagnostics.

This patch corrects the appertainment, so that we disallow it correctly.


  Commit: 98d5d3448d9ddc6fb07855eb45a08652bd530c01
      https://github.com/llvm/llvm-project/commit/98d5d3448d9ddc6fb07855eb45a08652bd530c01
  Author: Victor Perez <victor.perez at codeplay.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    A mlir/include/mlir/Conversion/GPUToLLVMSPV/GPUToLLVMSPVPass.h
    M mlir/include/mlir/Conversion/Passes.h
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/CMakeLists.txt
    A mlir/lib/Conversion/GPUToLLVMSPV/CMakeLists.txt
    A mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp
    A mlir/test/Conversion/GPUToLLVMSPV/gpu-to-llvm-spv.mlir

  Log Message:
  -----------
  [MLIR][GPU-LLVM] Define `-convert-gpu-to-llvm-spv` pass (#90972)

Define pass for GPU to LLVM conversion for SPIR-V backend tool ingest.

Supported operations:

- `gpu.block_id`
- `gpu.global_id`
- `gpu.block_dim`
- `gpu.thread_id`
- `gpu.grid_dim`
- `gpu.barrier`
- `gpu.shuffle`

---------

Signed-off-by: Victor Perez <victor.perez at codeplay.com>


  Commit: 7b6a89f346f281e5b7caa593a8c484eaf4264055
      https://github.com/llvm/llvm-project/commit/7b6a89f346f281e5b7caa593a8c484eaf4264055
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/LinkerScript.h
    M lld/ELF/Writer.cpp
    M lld/test/ELF/linkerscript/memory-err.s
    A lld/test/ELF/linkerscript/section-not-converge.test

  Log Message:
  -----------
  [ELF] Detect convergence of output section addresses

Some linker scripts don't converge. https://reviews.llvm.org/D66279
("[ELF] Make LinkerScript::assignAddresses iterative") detected
convergence of symbol assignments.

This patch detects convergence of output section addresses. While input
sections might also have convergence issues, they are less common as
expressions that could cause convergence issues typically involve output
sections and symbol assignments.

GNU ld has an error `non constant or forward reference address expression for section` that
correctly rejects
```
SECTIONS {
  .text ADDR(.data)+0x1000 : { *(.text) }
  .data : { *(.data) }
}
```

but not the following variant:
```
SECTIONS {
  .text foo : { *(.text) }
  .data : { *(.data) }
  foo = ADDR(.data)+0x1000;
}
```

Our approach consistently rejects both cases.

Link: https://discourse.llvm.org/t/lld-and-layout-convergence/79232

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


  Commit: 57eb92ea6c1fbc64692221727219078636ed6c86
      https://github.com/llvm/llvm-project/commit/57eb92ea6c1fbc64692221727219078636ed6c86
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test

  Log Message:
  -----------
  [llvm-objdump][test] Relax directory prefix check in source-interleave test (#93789)

This test currently has an explicit regex for characters that are
supposedly valid inside a directory name -- however, it does not
actually cover all necessary characters. For example, this test fails if
the path contains a tilde.

Instead, replace this with a wildcard.


  Commit: 775f1cd34daffa3e188bddcd600b6ccad1f72d24
      https://github.com/llvm/llvm-project/commit/775f1cd34daffa3e188bddcd600b6ccad1f72d24
  Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/test/Driver/amdgpu-macros.cl
    M clang/test/Driver/amdgpu-mcpu.cl
    M clang/test/Misc/target-invalid-cpu-note.c
    M llvm/docs/AMDGPUUsage.rst
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/include/llvm/TargetParser/TargetParser.h
    M llvm/lib/Object/ELFObjectFile.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/GCNProcessors.td
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
    M llvm/lib/TargetParser/TargetParser.cpp
    M llvm/test/CodeGen/AMDGPU/directive-amdgcn-target.ll
    M llvm/test/CodeGen/AMDGPU/elf-header-flags-mach.ll
    M llvm/test/CodeGen/AMDGPU/generic-targets-require-v6.ll
    M llvm/test/CodeGen/AMDGPU/hsa-generic-target-features.ll
    M llvm/test/Object/AMDGPU/elf-header-flags-mach.yaml
    M llvm/test/tools/llvm-objdump/ELF/AMDGPU/subtarget.ll
    M llvm/test/tools/llvm-readobj/ELF/AMDGPU/elf-headers.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  AMDGPU: Add gfx12-generic target (#93875)


  Commit: 97c34eb8df47543299500ee4cd0b877d184ed790
      https://github.com/llvm/llvm-project/commit/97c34eb8df47543299500ee4cd0b877d184ed790
  Author: Paul T Robinson <paul.robinson at sony.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/test/Driver/offloading-interoperability.c
    M clang/test/Driver/openmp-offload-gpu.c

  Log Message:
  -----------
  [CUDA] Fix a couple of driver tests that really weren't being run (#93960)


  Commit: 6416958067179c2987af0ef4568cd57f98b7e347
      https://github.com/llvm/llvm-project/commit/6416958067179c2987af0ef4568cd57f98b7e347
  Author: Paul T Robinson <paul.robinson at sony.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/test/Driver/offloading-interoperability.c
    M clang/test/Driver/openmp-offload-gpu.c

  Log Message:
  -----------
  Revert "[CUDA] Fix a couple of driver tests that really weren't being run" (#93988)

Reverts llvm/llvm-project#93960

The change to offloading-interoperability.c broke many bots.


  Commit: 07bd43945789e3fc8f57d21484a7f683d17166f3
      https://github.com/llvm/llvm-project/commit/07bd43945789e3fc8f57d21484a7f683d17166f3
  Author: RoseZhang03 <rosezhang at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/stdc.td
    M libc/src/__support/OSUtil/baremetal/CMakeLists.txt
    A libc/src/__support/OSUtil/baremetal/exit.cpp
    R libc/src/__support/OSUtil/baremetal/quick_exit.cpp
    A libc/src/__support/OSUtil/exit.h
    M libc/src/__support/OSUtil/gpu/CMakeLists.txt
    A libc/src/__support/OSUtil/gpu/exit.cpp
    R libc/src/__support/OSUtil/gpu/quick_exit.cpp
    M libc/src/__support/OSUtil/linux/CMakeLists.txt
    A libc/src/__support/OSUtil/linux/exit.cpp
    R libc/src/__support/OSUtil/linux/quick_exit.cpp
    R libc/src/__support/OSUtil/quick_exit.h
    M libc/src/__support/libc_assert.h
    M libc/src/stdlib/CMakeLists.txt
    M libc/src/stdlib/_Exit.cpp
    M libc/src/stdlib/exit.cpp
    A libc/src/stdlib/quick_exit.cpp
    A libc/src/stdlib/quick_exit.h
    M libc/src/unistd/_exit.cpp
    M libc/test/IntegrationTest/test.h
    M libc/test/src/stdlib/CMakeLists.txt
    A libc/test/src/stdlib/quick_exit_test.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc] added quick_exit function (#93620)

- In /libc/src/__support/ OSUtil, changed quick_exit to just exit, and
put in namespace
LIBC_NAMESPACE::internal.
- In /libc/src/stdlib added quick_exit
- Added test files for quick_exit


  Commit: 3b79c823f6a84632dbc40065cf8ec4b2878a9453
      https://github.com/llvm/llvm-project/commit/3b79c823f6a84632dbc40065cf8ec4b2878a9453
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [gn] port a65771fce4a2


  Commit: 41ddf128ea2ecfe0c418d2dfb5bbf99538498750
      https://github.com/llvm/llvm-project/commit/41ddf128ea2ecfe0c418d2dfb5bbf99538498750
  Author: David Stone <davidfromonline at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/include/clang/Basic/CustomizableOptional.h

  Log Message:
  -----------
  Remove dangling conversion to `optional<T> &` (#93385)


  Commit: 37f302348717d1cceb2708b50eb08d98789a3469
      https://github.com/llvm/llvm-project/commit/37f302348717d1cceb2708b50eb08d98789a3469
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [memprof] Use uint32_t for linear call stack IDs (#93924)

This patch switches to uint32_t for linear call stack IDs as uint32_t
is sufficient to index into the call stack array.


  Commit: 13b6284b9321ea684b4df299f430124681a14d90
      https://github.com/llvm/llvm-project/commit/13b6284b9321ea684b4df299f430124681a14d90
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [bazel] Port #92819 (#93992)


  Commit: 7caa812f2707fa3649c01000de6550dac226ce87
      https://github.com/llvm/llvm-project/commit/7caa812f2707fa3649c01000de6550dac226ce87
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [bazel] Port #92819 take 2 (#93995)

I missed this since it was still broken because of another patch
https://github.com/llvm/llvm-project/pull/93996


  Commit: 1e81b67925fdd77a3d65ba2a7f652d1e840512f4
      https://github.com/llvm/llvm-project/commit/1e81b67925fdd77a3d65ba2a7f652d1e840512f4
  Author: jimingham <jingham at apple.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lldb/source/DataFormatters/FormatManager.cpp
    M lldb/test/API/python_api/run_locker/TestRunLocker.py

  Log Message:
  -----------
  [lldb] FormatManager::GetPossibleMatches assumes all ValueObjects have targets. (#93880)

But one made in a situation where that's impossible might only have an
error, and no symbol context, so that's not necessarily true. Check for
the target's validity before using it.

Fixes issue #93313


  Commit: 34599266b27eb9265a4cde8a647059d25479f586
      https://github.com/llvm/llvm-project/commit/34599266b27eb9265a4cde8a647059d25479f586
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [bazel] Port #90972 (#93996)


  Commit: 9482af3ddede001aa6a4c36855b0880bd9964bdf
      https://github.com/llvm/llvm-project/commit/9482af3ddede001aa6a4c36855b0880bd9964bdf
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/lib/Lower/ConvertCall.cpp
    M flang/test/HLFIR/c_ptr_byvalue.f90
    M flang/test/Lower/CUDA/cuda-device-proc.cuf
    M flang/test/Lower/HLFIR/assumed-rank-iface.f90
    M flang/test/Lower/HLFIR/bindc-value-derived.f90
    M flang/test/Lower/HLFIR/block_bindc_pocs.f90
    M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
    M flang/test/Lower/HLFIR/calls-character-singleton-result.f90
    M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
    M flang/test/Lower/block.f90
    A flang/test/Lower/call-bindc.f90

  Log Message:
  -----------
  [flang] Carry over BIND(C) information to fir.call (#93981)

The BIND(C) attribute attached to a function can be lost when we do
indirect call. This information might be useful for codegen that have
specific ABI. This patch carry over the BIND(C) information to the
fir.call operation.


  Commit: c232137d93425dd87ccf960ca9ad515417325634
      https://github.com/llvm/llvm-project/commit/c232137d93425dd87ccf960ca9ad515417325634
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M flang/lib/Lower/ConvertCall.cpp
    A flang/test/Lower/HLFIR/elemental-result-length.f90

  Log Message:
  -----------
  [flang][HLFIR] compute elemental function result length parameters (#93983)

Prepare the argument and map them to their corresponding dummy symbol in
order to lower the specification expression of the function result.

Extract the preparation of arguments according to the interface to its
own function to be reused.

It seems there is no need to conditionally compute the length on the
input since all the information comes from the CharBoxValue or the
descriptor for cases where the number of element could be 0.


  Commit: 68a64812d7bac28412d43a0b4b19bae6db101c48
      https://github.com/llvm/llvm-project/commit/68a64812d7bac28412d43a0b4b19bae6db101c48
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    A clang/test/C/C11/n1464.c
    M clang/www/c_status.html

  Log Message:
  -----------
  [C11] Claim conformance to N1464

That's on the CMPLX macros which Clang supports via __builtin_complex.


  Commit: 458a31562aee703c15224dd9fcde19f67834a8f9
      https://github.com/llvm/llvm-project/commit/458a31562aee703c15224dd9fcde19f67834a8f9
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll

  Log Message:
  -----------
  [RISCV] Add more tests for strided gathers with scalar offsets. NFC


  Commit: f46d1463b835560d90ad3ac02b63c771e4ebe566
      https://github.com/llvm/llvm-project/commit/f46d1463b835560d90ad3ac02b63c771e4ebe566
  Author: Erick Velez <erickvelez7 at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Parse/ParseExprCXX.cpp
    M clang/test/CXX/drs/cwg0xx.cpp
    M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
    M clang/test/SemaCXX/template-specialization.cpp
    M clang/test/SemaTemplate/dependent-names.cpp
    M clang/test/SemaTemplate/template-id-expr.cpp
    M clang/test/SemaTemplate/template-id-printing.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang] require template arg list after template kw (#80801)

Require a template argument list after an identifier prefixed by the
template keyword. Introduced by [CWG
96](https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96),
but the current wording of
[[temp.names]p5](https://eel.is/c++draft/temp.names#6) was introduced in
[P1787R6](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html),
and became [temp.names]p6 somewhere else.

Fixes #53095

---------

Co-authored-by: Shafik Yaghmour <shafik.yaghmour at intel.com>


  Commit: 3b81d9d91b18c2bd06bd36d8512a3a284a8980a9
      https://github.com/llvm/llvm-project/commit/3b81d9d91b18c2bd06bd36d8512a3a284a8980a9
  Author: Paul T Robinson <paul.robinson at sony.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/test/Driver/offloading-interoperability.c
    M clang/test/Driver/openmp-offload-gpu.c

  Log Message:
  -----------
  Reapply "[CUDA] Fix a couple of driver tests that really weren't bein… (#94000)

…g run" (#93988)"

This reverts commit 6416958067179c2987af0ef4568cd57f98b7e347. 
Fix bots by using different options.


  Commit: b06e736982a3568fe2bcea8688550f9e393b7450
      https://github.com/llvm/llvm-project/commit/b06e736982a3568fe2bcea8688550f9e393b7450
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [MC] Speed up AttemptToFoldSymbolOffsetDifference in the absence of MCAsmLayout

The `FA < FB` check added by https://reviews.llvm.org/D153096 is slow.
Compute an informal layout order to speed up computation when
`AttemptToFoldSymbolOffsetDifference` is repeatedly called for the same
section.

Commit 9500a5d02e23f9b43294e5f662ac099f8989c0e4 ("[MC] Make UseAssemblerInfoForParsing mostly true")
exposed this performance pitfall, which was mitigated by
`setUseAssemblerInfoForParsing(false)` workarounds (e.g. commit
245491a9f384e4c53421196533c2a2b693efaf8d). The workaround can be removed
now.


  Commit: 5a02a9a2e67444494f086dfe1cd6f15ba2210bc0
      https://github.com/llvm/llvm-project/commit/5a02a9a2e67444494f086dfe1cd6f15ba2210bc0
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lldb/source/Core/Mangled.cpp
    A lldb/test/API/lang/c/non-mangled/Makefile
    A lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
    A lldb/test/API/lang/c/non-mangled/main.c

  Log Message:
  -----------
  [lldb] Improve identification of Dlang mangled names (#93881)

Reduce false positive identification of C names as Dlang mangled names. This happens 
when a C function uses the prefix `_D`.

The [Dlang ABI](https://dlang.org/spec/abi.html#name_mangling) shows that mangled names 
have a length immediately following the `_D` prefix. This change checks for a digit 
after the `_D` prefix, when identifying the mangling scheme of a symbol. This doesn't 
prevent false positives entirely, but does make it less likely.


  Commit: a9664407d7a9a4210133075e5adb67b365965727
      https://github.com/llvm/llvm-project/commit/a9664407d7a9a4210133075e5adb67b365965727
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M flang/test/Lower/OpenMP/threadprivate-default-clause.f90

  Log Message:
  -----------
  [flang][openmp] Fix test after PR #93981


  Commit: e19565c5c4679ac7f5414f35137f6df4f70e713a
      https://github.com/llvm/llvm-project/commit/e19565c5c4679ac7f5414f35137f6df4f70e713a
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [Offload][AMDGPU] Only allow memory pool access to valid agents (#93969)

Summary:
The logic since the next-gen plugins was added was that every single
agent would get access to a memory pool we allocated. This is necessary
for things like fine-grained memory and to faciliate d2d copied.
However, there are cases where an agent cannot legally access a memory
pool. We have a debug check for this, but it would always be triggered
in these situations because both uses of the function simply passed
every agent. This patch changes the behavior by only enabling memory
pool access for agents that can access the memory pool.


  Commit: e79c0806552880aa802c83f1edf59a3ffd39bdcc
      https://github.com/llvm/llvm-project/commit/e79c0806552880aa802c83f1edf59a3ffd39bdcc
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/cmake/modules/FindLibEdit.cmake

  Log Message:
  -----------
  [cmake] Allow multiple LibEdit_LIBRARIES (#93896)

If built statically, `libedit` may have a private static library
dependency on a provider of the `terminfo` API (e.g., `ncurses`). This
means that multiple libraries would need to be provided as the value for
`LibEdit_LIBRARIES`, but the current implementation of `FindLibEdit`
precludes this. This PR allows a list to be passed to
`LibEdit_LIBRARIES`.


  Commit: 435e5c10b0ea6cf2a9674760ef2f4977412386eb
      https://github.com/llvm/llvm-project/commit/435e5c10b0ea6cf2a9674760ef2f4977412386eb
  Author: RoseZhang03 <rosezhang at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M libc/src/__support/OSUtil/linux/exit.cpp

  Log Message:
  -----------
  [libc] restored original no_stack_protector syntax (#94005)

forward fix for #93620

-GCC doesn't recognize [[clang:: ']] prefix, so restored the original
__attribute__ syntax


  Commit: ed155f3f237a7e3a3e40a84d815225d27e83f0db
      https://github.com/llvm/llvm-project/commit/ed155f3f237a7e3a3e40a84d815225d27e83f0db
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxxabi/CMakeLists.txt
    M libunwind/CMakeLists.txt
    M llvm-libgcc/CMakeLists.txt

  Log Message:
  -----------
  [runtimes] Correctly apply libdir subdir for multilib (#93354)

We weren't applying the libdir subdir to header directories but this is
necessary for correctness when building e.g. ASan variant. This change
also updates path construction logic accross all runtimes and ensures
they're consistent.


  Commit: 4be3083bb39836466680a15f970ecc883d2e362a
      https://github.com/llvm/llvm-project/commit/4be3083bb39836466680a15f970ecc883d2e362a
  Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M bolt/include/bolt/Core/BinaryBasicBlock.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Passes/IdenticalCodeFolding.cpp
    M bolt/lib/Profile/YAMLProfileWriter.cpp

  Log Message:
  -----------
  [BOLT] Remove mutable from BB::LayoutIndex (#93224)

Removed mutability from BB::LayoutIndex, subsequently removed const from
BB::SetLayout, and changed BF::dfs to track visited blocks with a set as
opposed to tracking and altering LayoutIndexes for more consistent code.


  Commit: 95810690287283b3180a4a4f2452b4e4d51e217b
      https://github.com/llvm/llvm-project/commit/95810690287283b3180a4a4f2452b4e4d51e217b
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lld/test/ELF/fatlto/fatlto.test

  Log Message:
  -----------
  [lld][test] Precommit test for ld -r links with FatLTO PIC objects (#92817)

Currently, with PIC relocatable links, FatLTO sections are treated as
orphan
sections and incorrectly concatenated together. This test verifies the
current
behavior, but should be fixed to either merge those sections into a
single llvm
module, similar to what `llvm-link` would produce, or to drop them
altogether.


  Commit: f2f6569ecabd54cc7d26bf77424c0b8b674bf14d
      https://github.com/llvm/llvm-project/commit/f2f6569ecabd54cc7d26bf77424c0b8b674bf14d
  Author: Jeremy Kun <jkun at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
    M mlir/test/Dialect/Polynomial/ops.mlir

  Log Message:
  -----------
  [mlir][polynomial] ensure primitive root calculation doesn't overflow (#93368)

Rebased over https://github.com/llvm/llvm-project/pull/93243

Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>


  Commit: 96d19fdc2678d1246bb14fed3ff0fc557893d2c4
      https://github.com/llvm/llvm-project/commit/96d19fdc2678d1246bb14fed3ff0fc557893d2c4
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [ADT] Remove llvm::erase_value (#94003)

The function has been deprecated since:

  commit f9306f6de3bd19a2dcacd64566852a5f92c86e77
  Author: Kazu Hirata <kazu at google.com>
  Date:   Tue Oct 24 23:03:13 2023 -0700


  Commit: 99a0cd6f7edcb184a65d2e65842e7d9ece2a5eaf
      https://github.com/llvm/llvm-project/commit/99a0cd6f7edcb184a65d2e65842e7d9ece2a5eaf
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
    M llvm/test/CodeGen/RISCV/rvv/vfredmax.ll
    M llvm/test/CodeGen/RISCV/rvv/vfredmin.ll
    M llvm/test/CodeGen/RISCV/rvv/vfredosum.ll
    M llvm/test/CodeGen/RISCV/rvv/vfredusum.ll
    M llvm/test/CodeGen/RISCV/rvv/vfwredosum.ll
    M llvm/test/CodeGen/RISCV/rvv/vfwredusum.ll
    M llvm/test/CodeGen/RISCV/rvv/vredand.ll
    M llvm/test/CodeGen/RISCV/rvv/vredmax.ll
    M llvm/test/CodeGen/RISCV/rvv/vredmaxu.ll
    M llvm/test/CodeGen/RISCV/rvv/vredmin.ll
    M llvm/test/CodeGen/RISCV/rvv/vredminu.ll
    M llvm/test/CodeGen/RISCV/rvv/vredor.ll
    M llvm/test/CodeGen/RISCV/rvv/vredsum.ll
    M llvm/test/CodeGen/RISCV/rvv/vredxor.ll
    M llvm/test/CodeGen/RISCV/rvv/vwredsum.ll
    M llvm/test/CodeGen/RISCV/rvv/vwredsumu.ll

  Log Message:
  -----------
  [RISCV] Use TU policy for C reduction intrinsics. (#93970)

The C intrinsics should allow a value to be specified for the upper
elements.

This used to work before https://reviews.llvm.org/D146752 which should
have only changed the behavior for the autovectorizer. It clearly
changed all reductions.


  Commit: 3320249688d216a25d5297152e59b58e3fb89915
      https://github.com/llvm/llvm-project/commit/3320249688d216a25d5297152e59b58e3fb89915
  Author: Adam Paszke <apaszke at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M mlir/lib/Target/LLVM/NVVM/Target.cpp

  Log Message:
  -----------
  [MLIR][NVVM] Make the call to findTool optional for fatbinary (#93968)


  Commit: fc21387b6510ee44520f2f17fb671f1265a9055f
      https://github.com/llvm/llvm-project/commit/fc21387b6510ee44520f2f17fb671f1265a9055f
  Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
    M llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.mir

  Log Message:
  -----------
  [AMDGPU] Enable constant offset promotion to immediate FLAT (#93884)

Currently it is only supported for FLAT Global.


  Commit: 5849cbad0f124fed6773f47b67160d8674c93a9a
      https://github.com/llvm/llvm-project/commit/5849cbad0f124fed6773f47b67160d8674c93a9a
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M libc/utils/gpu/loader/Loader.h
    M libc/utils/gpu/loader/amdgpu/Loader.cpp
    M libc/utils/gpu/loader/nvptx/Loader.cpp

  Log Message:
  -----------
  [libc] Add line numbers to libc utility error messages (#94010)

Summary:
Currently we just print the error as seen, this makes it difficult if
something goes wrong to know where it failed. This patch just adds in
line numbers to all the error handling routines so you can trace it
back.


  Commit: 6119340e0bc538fbb884cea405fd6add9ed5798c
      https://github.com/llvm/llvm-project/commit/6119340e0bc538fbb884cea405fd6add9ed5798c
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/test/SemaOpenACC/compute-construct-async-clause.c
    M clang/test/SemaOpenACC/compute-construct-attach-clause.c
    M clang/test/SemaOpenACC/compute-construct-copy-clause.c
    M clang/test/SemaOpenACC/compute-construct-copyin-clause.c
    M clang/test/SemaOpenACC/compute-construct-copyout-clause.c
    M clang/test/SemaOpenACC/compute-construct-create-clause.c
    M clang/test/SemaOpenACC/compute-construct-default-clause.c
    M clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
    M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
    M clang/test/SemaOpenACC/compute-construct-if-clause.c
    M clang/test/SemaOpenACC/compute-construct-no_create-clause.c
    M clang/test/SemaOpenACC/compute-construct-num_gangs-clause.c
    M clang/test/SemaOpenACC/compute-construct-num_workers-clause.c
    M clang/test/SemaOpenACC/compute-construct-present-clause.c
    M clang/test/SemaOpenACC/compute-construct-private-clause.c
    M clang/test/SemaOpenACC/compute-construct-reduction-clause.c
    M clang/test/SemaOpenACC/compute-construct-self-clause.c
    M clang/test/SemaOpenACC/compute-construct-vector_length-clause.c
    M clang/test/SemaOpenACC/compute-construct-wait-clause.c

  Log Message:
  -----------
  [OpenACC] Audit/add tests to ensure we enforce appertainment correctly

I apparently missed a few other clauses as well when doing my initial
implementation, so this adds tests for all, and fixes up the few that
had problems.

This is something that I'll do better to keep an eye on, though
shouldn't be necessary once the rest of the clauses are implemented and
we can remove the 'default' case.


  Commit: cab81dd03813ac6333ad7fc031d72b84341fe2b9
      https://github.com/llvm/llvm-project/commit/cab81dd03813ac6333ad7fc031d72b84341fe2b9
  Author: Egor Pasko <pasko at chromium.org>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/test/CodeGen/X86/x86_64-instrument-functions.c
    M clang/test/CodeGen/instrument-objc-method.m
    M clang/test/CodeGen/lto-newpm-pipeline.c
    M clang/test/CodeGen/mcount-aix.c
    M clang/test/CodeGen/mcount.c
    M clang/test/Frontend/gnu-mcount.c
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/LinkAllPasses.h
    M llvm/include/llvm/Transforms/Utils.h
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/lib/Transforms/Scalar/Scalar.cpp
    M llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
    M llvm/test/CodeGen/AArch64/O0-pipeline.ll
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/ARM/O3-pipeline.ll
    M llvm/test/CodeGen/LoongArch/O0-pipeline.ll
    M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
    M llvm/test/CodeGen/PowerPC/O0-pipeline.ll
    M llvm/test/CodeGen/PowerPC/O3-pipeline.ll
    M llvm/test/CodeGen/RISCV/O0-pipeline.ll
    M llvm/test/CodeGen/RISCV/O3-pipeline.ll
    M llvm/test/CodeGen/X86/O0-pipeline.ll
    A llvm/test/CodeGen/X86/instrument-function-inlined.ll
    M llvm/test/CodeGen/X86/opt-pipeline.ll
    M llvm/test/Other/new-pass-manager.ll
    M llvm/test/Other/new-pm-O0-defaults.ll
    M llvm/test/Other/new-pm-defaults.ll
    M llvm/test/Other/new-pm-thinlto-prelink-defaults.ll
    M llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
    M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
    A llvm/test/Transforms/EntryExitInstrumenter/pre-inliner-instrumentation.ll
    M llvm/tools/llc/llc.cpp
    M llvm/tools/opt/optdriver.cpp

  Log Message:
  -----------
  [EntryExitInstrumenter] Move passes out of clang into LLVM default pipelines (#92171)

Move EntryExitInstrumenter(PostInlining=true) to as late as possible and
EntryExitInstrumenter(PostInlining=false) to an early pre-inlining stage
(but skip for ThinLTO post-link).

This should fix the issues reported in
https://github.com/rust-lang/rust/issues/92109 and
https://github.com/llvm/llvm-project/issues/52853. These are caused
by https://reviews.llvm.org/D97608.


  Commit: 8578b60758e6a588ec41a9678829cebec471f8e5
      https://github.com/llvm/llvm-project/commit/8578b60758e6a588ec41a9678829cebec471f8e5
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/lib/Headers/ptrauth.h

  Log Message:
  -----------
  [clang] Add ABI-defined key assignments to ptrauth.h. (#93901)

This is the current key assignment defined by the arm64e architecture
on Darwin platforms, and also matches the intended key assignments
in the initial ELF adopters.  This can be made more generic if needed,
by e.g., defining these in the preprocessor instead.


  Commit: 2db190fda609b4df3aa0bf17336ab64bc15f6115
      https://github.com/llvm/llvm-project/commit/2db190fda609b4df3aa0bf17336ab64bc15f6115
  Author: Han-Chung Wang <hanhan0912 at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Tensor/Utils/Utils.h
    M mlir/lib/Dialect/Tensor/Utils/Utils.cpp

  Log Message:
  -----------
  [mlir][tensor][NFC] Move function comments to where they are declared. (#94002)

According to LLVM style guide, we prefer putting the documentation
comments for public APIs into the header file.

See
https://llvm.org/docs/CodingStandards.html#doxygen-use-in-documentation-comments
for more details.


  Commit: 68fdc1cf87eb04686e079af27eaeec0f1c41f8cc
      https://github.com/llvm/llvm-project/commit/68fdc1cf87eb04686e079af27eaeec0f1c41f8cc
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lldb/source/Core/Mangled.cpp
    M lldb/unittests/Core/MangledTest.cpp

  Log Message:
  -----------
  [lldb] Fix Dlang symbol test breakage (#94046)

Follow up to #93881. Updates missed tests and handles `_Dmain`.


  Commit: cc548ec47c05971a67ed9ec7086d414aabcf8b05
      https://github.com/llvm/llvm-project/commit/cc548ec47c05971a67ed9ec7086d414aabcf8b05
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.td
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.h
    M llvm/test/CodeGen/AArch64/branch-target-enforcement-indirect-calls.ll
    A llvm/test/CodeGen/AArch64/ptrauth-bti-call.ll
    A llvm/test/CodeGen/AArch64/ptrauth-call-rv-marker.ll
    A llvm/test/CodeGen/AArch64/ptrauth-call.ll
    A llvm/test/CodeGen/AArch64/ptrauth-invoke.ll

  Log Message:
  -----------
  [AArch64][PAC] Lower authenticated calls with ptrauth bundles. (#85736)

This adds codegen support for the "ptrauth" operand bundles, which can
be used to augment indirect calls with the equivalent of an
`@llvm.ptrauth.auth` intrinsic call on the call target (possibly
preceded by an `@llvm.ptrauth.blend` on the auth discriminator if
applicable.)

This allows the generation of combined authenticating calls
on AArch64 (in the BLRA* PAuth instructions), while avoiding
the raw just-authenticated function pointer from being
exposed to attackers.

This is done by threading a PtrAuthInfo descriptor through
the call lowering infrastructure, eventually selecting a BLRA
pseudo.  The pseudo encapsulates the safe discriminator
computation, which together with the real BLRA* call get emitted
in late pseudo expansion in AsmPrinter.

Note that this also applies to the other forms of indirect calls,
notably invokes, rvmarker, and tail calls.  Tail-calls in particular
bring some additional complexity, with the intersecting register
constraints of BTI and PAC discriminator computation.
However this doesn't currently support PAuth_LR tail-call variants.

This also adopts an x8+ allocation order for GPR64noip, matching
GPR64.


  Commit: 62c61aa2bf23b7d886578708ec56b3ff07c3fcb0
      https://github.com/llvm/llvm-project/commit/62c61aa2bf23b7d886578708ec56b3ff07c3fcb0
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M compiler-rt/lib/msan/msan.cpp

  Log Message:
  -----------
  [msan] Change #ifdef SANITIZER_PPC to #if (#94009)

https://github.com/llvm/llvm-project/commit/0e96eebc7f681a7ce41f35909e609c7c61a11455
accidentally turned the prior patch
(https://github.com/llvm/llvm-project/commit/57a507930b50c445140feb68bffe1c21af53319e)
into a no-op because this macro is always defined (as either 1 or 0).
This patch changes it to correctly use #if.


  Commit: 9a8b73c7413002b4b4015a5b9ba27ad4482809aa
      https://github.com/llvm/llvm-project/commit/9a8b73c7413002b4b4015a5b9ba27ad4482809aa
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [memprof] Replace uint32_t with LinearCallStackId where appropriate (NFC) (#94023)

This patch replaces uint32_t with LinearCallStackId where appropriate.
I'm replacing uint64_t with LinearCallStackId in
writeMemProfCallStackArray, but that's OK because it's a value to be
used as LinearCallStackId anyway.


  Commit: ad884d97288c752ba9088d01cf7ab80b20e4d2a6
      https://github.com/llvm/llvm-project/commit/ad884d97288c752ba9088d01cf7ab80b20e4d2a6
  Author: royitaqi <royitaqi at users.noreply.github.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lldb/include/lldb/API/SBCommandInterpreter.h
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/include/lldb/Target/Statistics.h
    M lldb/source/Commands/CommandObjectStats.cpp
    M lldb/source/Commands/Options.td
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Target/Statistics.cpp
    M lldb/test/API/commands/statistics/basic/TestStats.py
    M lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py

  Log Message:
  -----------
  A few updates around "transcript" (#92843)

# Changes

1. Changes to the structured transcript.
1. Add fields `commandName` and `commandArguments`. They will hold the
name and the arguments string of the expanded/executed command (e.g.
`breakpoint set` and `-f main.cpp -l 4`). This is not to be confused
with the `command` field, which holds the user input (e.g. `br s -f
main.cpp -l 4`).
2. Add field `timestampInEpochSeconds`. It will hold the timestamp when
the command is executed.
3. Rename field `seconds` to `durationInSeconds`, to improve
readability, especially since `timestampInEpochSeconds` is added.
2. When transcript is available and the newly added option
`--transcript` is present, add the transcript to the output of
`statistics dump`, as a JSON array under a new field `transcript`.
3. A few test name and comment changes.


  Commit: 11791ae7b0b05b8bd8d806331ff51da618912cf8
      https://github.com/llvm/llvm-project/commit/11791ae7b0b05b8bd8d806331ff51da618912cf8
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M bolt/test/X86/addr32.s
    M bolt/test/X86/asm-func-debug.test
    M bolt/test/X86/avx512-trap.test
    M bolt/test/X86/bb-with-two-tail-calls.s
    M bolt/test/X86/block-reordering.test
    M bolt/test/X86/bolt-address-translation-internal-call.test
    M bolt/test/X86/bolt-address-translation-yaml.test
    M bolt/test/X86/bolt-address-translation.test
    M bolt/test/X86/branch-data.test
    M bolt/test/X86/broken_dynsym.test
    M bolt/test/X86/bug-function-layout-execount.s
    M bolt/test/X86/bug-reorder-bb-jrcxz.s
    M bolt/test/X86/calculate-emitted-block-size.s
    M bolt/test/X86/call-zero.s
    M bolt/test/X86/cdsplit-call-scale.s
    M bolt/test/X86/cdsplit-symbol-names.s
    M bolt/test/X86/cfi-expr-rewrite.s
    M bolt/test/X86/cfi-instrs-count.s
    M bolt/test/X86/cfi-instrs-reordered.s
    M bolt/test/X86/checkvma-large-section.test
    M bolt/test/X86/ctc-and-unreachable.test
    M bolt/test/X86/debug-fission-single-convert.s
    M bolt/test/X86/debug-fission-single.s
    M bolt/test/X86/double-jump.test
    M bolt/test/X86/dwarf-handle-visit-loclist-error.s
    M bolt/test/X86/dwarf-test-df-logging.test
    M bolt/test/X86/dwarf3-lowpc-highpc-convert.s
    M bolt/test/X86/dwarf4-cross-cu-backward-different-abbrev.test
    M bolt/test/X86/dwarf4-cross-cu-forward-different-abbrev.test
    M bolt/test/X86/dwarf4-cross-cu-loclist-dwarf4-loclist--dwarf5-loclist.test
    M bolt/test/X86/dwarf4-df-basic.test
    M bolt/test/X86/dwarf4-df-call-site-change-low-pc.test
    M bolt/test/X86/dwarf4-df-change-in-dw-op-gnu-addr-index-main.test
    M bolt/test/X86/dwarf4-df-do-no-convert-low-pc-high-pc-to-ranges.test
    M bolt/test/X86/dwarf4-df-dualcu-loclist.test
    M bolt/test/X86/dwarf4-df-dualcu.test
    M bolt/test/X86/dwarf4-df-inlined-subroutine-lowpc-0.test
    M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test
    M bolt/test/X86/dwarf4-df-no-base.test
    M bolt/test/X86/dwarf4-do-no-convert-low-pc-high-pc-to-ranges.test
    M bolt/test/X86/dwarf4-duplicate-types.test
    M bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
    M bolt/test/X86/dwarf4-ftypes-dwo-mono-input-dwp-output.test
    M bolt/test/X86/dwarf4-ftypes-dwp-input-dwo-output.test
    M bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test
    M bolt/test/X86/dwarf4-gdb-index-types-gdb-generated.test
    M bolt/test/X86/dwarf4-gdb-index-types-lld-generated.test
    M bolt/test/X86/dwarf4-invalid-reference-die-offset-no-internal-dwarf-error.s
    M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-cant-parse-die.s
    M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-invalid-die.s
    M bolt/test/X86/dwarf4-sibling.s
    M bolt/test/X86/dwarf4-size-0-inlined_subroutine.s
    M bolt/test/X86/dwarf4-split-dwarf-no-address.test
    M bolt/test/X86/dwarf4-split-gdb-index-types-gdb-generated.test
    M bolt/test/X86/dwarf4-subprogram-multiple-ranges.test
    M bolt/test/X86/dwarf4-subprogram-single-gc-ranges.test
    M bolt/test/X86/dwarf4-subprogram-single-ranges.test
    M bolt/test/X86/dwarf4-types-dwarf5-types.test
    M bolt/test/X86/dwarf4-types-dwarf5.test
    M bolt/test/X86/dwarf4-types-forward-backward-cross-reference.s
    M bolt/test/X86/dwarf4-types.test
    M bolt/test/X86/dwarf5-addr-section-reuse.s
    M bolt/test/X86/dwarf5-call-pc-function-null-check.test
    M bolt/test/X86/dwarf5-call-pc.test
    M bolt/test/X86/dwarf5-cu-no-debug-addr.test
    M bolt/test/X86/dwarf5-debug-info-dwarf4-debug-line.s
    M bolt/test/X86/dwarf5-debug-line-not-modified.test
    M bolt/test/X86/dwarf5-debug-line.s
    M bolt/test/X86/dwarf5-debug-loclists.s
    M bolt/test/X86/dwarf5-df-call-site-change-low-pc.test
    M bolt/test/X86/dwarf5-df-change-in-dw-op-gnu-addr-index-main.test
    M bolt/test/X86/dwarf5-df-cu-function-gc.test
    M bolt/test/X86/dwarf5-df-dualcu-loclist.test
    M bolt/test/X86/dwarf5-df-dualcu.test
    M bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test
    M bolt/test/X86/dwarf5-df-inlined-subroutine-range-0.test
    M bolt/test/X86/dwarf5-df-input-lowpc-ranges.test
    M bolt/test/X86/dwarf5-df-mono-dualcu.test
    M bolt/test/X86/dwarf5-df-output-dir-same-name.test
    M bolt/test/X86/dwarf5-df-types-dup-dwp-input.test
    M bolt/test/X86/dwarf5-do-no-convert-low-pc-high-pc-to-ranges.test
    M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb11.test
    M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb9.test
    M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-lld-generated.test
    M bolt/test/X86/dwarf5-dwarf4-monolithic.test
    M bolt/test/X86/dwarf5-dwarf4-types-backward-forward-cross-reference.test
    M bolt/test/X86/dwarf5-ftypes-dwo-mono-input-dwp-output.test
    M bolt/test/X86/dwarf5-ftypes-dwp-input-dwo-output.test
    M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb11.test
    M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb9.test
    M bolt/test/X86/dwarf5-gdb-index-types-lld-generated.test
    M bolt/test/X86/dwarf5-locaddrx.test
    M bolt/test/X86/dwarf5-locexpr-addrx.s
    M bolt/test/X86/dwarf5-locexpr-referrence.test
    M bolt/test/X86/dwarf5-loclist-offset-form.test
    M bolt/test/X86/dwarf5-lowpc-highpc-convert.s
    M bolt/test/X86/dwarf5-multiple-dw-op-addrx-locexpr.s
    M bolt/test/X86/dwarf5-one-loclists-two-bases.test
    M bolt/test/X86/dwarf5-rangeoffset-to-rangeindex.s
    M bolt/test/X86/dwarf5-return-pc-form-addr.test
    M bolt/test/X86/dwarf5-return-pc.test
    M bolt/test/X86/dwarf5-shared-str-offset-base.s
    M bolt/test/X86/dwarf5-split-dwarf4-monolithic.test
    M bolt/test/X86/dwarf5-split-gdb-index-types-gdb-generated.test
    M bolt/test/X86/dwarf5-subprogram-multiple-ranges.test
    M bolt/test/X86/dwarf5-subprogram-single-gc-ranges.test
    M bolt/test/X86/dwarf5-subprogram-single-ranges.test
    M bolt/test/X86/dwarf5-two-loclists.test
    M bolt/test/X86/dwarf5-two-rnglists.test
    M bolt/test/X86/dwarf5-types-backward-cross-reference.s
    M bolt/test/X86/dwarf5-types-forward-cross-reference.s
    M bolt/test/X86/dynrelocs.s
    M bolt/test/X86/exceptions-args.test
    M bolt/test/X86/fallthrough-to-noop.test
    M bolt/test/X86/false-jump-table.s
    M bolt/test/X86/fatal-error.s
    M bolt/test/X86/fragment-lite-reverse.s
    M bolt/test/X86/fragment-lite.s
    M bolt/test/X86/fragmented-symbols.s
    M bolt/test/X86/frame-opt-lea.s
    M bolt/test/X86/function-order-lite.s
    M bolt/test/X86/gdbindex.test
    M bolt/test/X86/high_pc_udata.s
    M bolt/test/X86/icp-inline.s
    M bolt/test/X86/ignored-interprocedural-reference.s
    M bolt/test/X86/indirect-goto-pie.test
    M bolt/test/X86/indirect-goto.test
    M bolt/test/X86/inlined-function-mixed.test
    M bolt/test/X86/insert-addr-rnglists_base.s
    M bolt/test/X86/insert-debug-info-entry.test
    M bolt/test/X86/internal-call-instrument-so.s
    M bolt/test/X86/internal-call-instrument.s
    M bolt/test/X86/interprocedural-ref-entry-point.s
    M bolt/test/X86/is-strip.s
    M bolt/test/X86/issue20.s
    M bolt/test/X86/issue20.test
    M bolt/test/X86/issue26.s
    M bolt/test/X86/issue26.test
    M bolt/test/X86/jmp-optimization.test
    M bolt/test/X86/jmpjmp.test
    M bolt/test/X86/jt-symbol-disambiguation-3.s
    M bolt/test/X86/jump-table-fixed-ref-pic.test
    M bolt/test/X86/jump-table-footprint-reduction.test
    M bolt/test/X86/jump-table-icp.test
    M bolt/test/X86/jump-table-pic-conflict.s
    M bolt/test/X86/jump-table-pic-order.test
    M bolt/test/X86/jump-table-reference.test
    M bolt/test/X86/layout-heuristic.test
    M bolt/test/X86/line-number.test
    M bolt/test/X86/log.test
    M bolt/test/X86/loop-inversion-pass.s
    M bolt/test/X86/loop-nest.test
    M bolt/test/X86/merge-fdata-bat-mode.test
    M bolt/test/X86/merge-fdata-nobat-mode.test
    M bolt/test/X86/merge-fdata-output.test
    M bolt/test/X86/no-entry-reordering.test
    M bolt/test/X86/no-output.test
    M bolt/test/X86/nolbr.s
    M bolt/test/X86/patch-entries.test
    M bolt/test/X86/pre-aggregated-perf.test
    M bolt/test/X86/pt_gnu_relro.s
    M bolt/test/X86/reader-stale-yaml-std.test
    M bolt/test/X86/reader-stale-yaml.test
    M bolt/test/X86/reader.test
    M bolt/test/X86/register-fragments-bolt-symbols.s
    M bolt/test/X86/relaxed-tailcall.test
    M bolt/test/X86/remove-unused.test
    M bolt/test/X86/rodata-simpl-loads.test
    M bolt/test/X86/sctc-bug.test
    M bolt/test/X86/sctc-bug2.test
    M bolt/test/X86/sctc-bug3.test
    M bolt/test/X86/sctc-bug4.test
    M bolt/test/X86/shared_object_entry.s
    M bolt/test/X86/shorten-mov.test
    M bolt/test/X86/shrinkwrapping-and-rsp.s
    M bolt/test/X86/shrinkwrapping-critedge.s
    M bolt/test/X86/shrinkwrapping-do-not-pessimize.s
    M bolt/test/X86/shrinkwrapping-insertcfi.s
    M bolt/test/X86/shrinkwrapping-lea.s
    M bolt/test/X86/shrinkwrapping-mov.s
    M bolt/test/X86/shrinkwrapping-pop-order.s
    M bolt/test/X86/shrinkwrapping-popf.s
    M bolt/test/X86/shrinkwrapping-restore-position.s
    M bolt/test/X86/shrinkwrapping.test
    M bolt/test/X86/split-all-lptrampoline.s
    M bolt/test/X86/split-all.s
    M bolt/test/X86/split-func-icf.s
    M bolt/test/X86/split-func-jump-table-fragment-bidirection.s
    M bolt/test/X86/split-func-jump-table-fragment-noparent.s
    M bolt/test/X86/split-func-jump-table-fragment-reverse.s
    M bolt/test/X86/split-func-jump-table-fragment.s
    M bolt/test/X86/split-func-jump-table-unknown.s
    M bolt/test/X86/split-landing-pad.s
    M bolt/test/X86/split-random.s
    M bolt/test/X86/static-exe.test
    M bolt/test/X86/symtab-secondary-entries.test
    M bolt/test/X86/tail-duplication-cache.s
    M bolt/test/X86/tail-duplication-cacheline.s
    M bolt/test/X86/tail-duplication-complex.s
    M bolt/test/X86/tail-duplication-jt.s
    M bolt/test/X86/tail-duplication-pass.s
    M bolt/test/X86/tail-duplication-prop-bug.s
    M bolt/test/X86/tailcall-traps.test
    M bolt/test/X86/tailcall.test
    M bolt/test/X86/unclaimed-jt-entries.s
    M bolt/test/X86/unreachable-jmp.s
    M bolt/test/X86/unreachable.test
    M bolt/test/X86/vararg.test
    M bolt/test/X86/yaml-multiple-profiles.test
    M bolt/test/X86/zero-sized-object.s
    M bolt/test/bad-exe.test
    M bolt/test/bolt-icf.test
    M bolt/test/bolt-info.test
    M bolt/test/heatmap.test
    M bolt/test/invalid-profile.test
    M bolt/test/keep-aranges.test
    M bolt/test/no-relocs.test
    M bolt/test/non-empty-debug-line.test
    M bolt/test/pie.test
    M bolt/test/re-optimize.test
    M bolt/test/runtime/X86/asm-dump.c
    M bolt/test/shared-object.test

  Log Message:
  -----------
  [BOLT][DWARF][NFC] Added double escape characters (#93348)

Added double escape characters to lines that describe a test.


  Commit: 278b3964655ab06576a27be57ee2378732bc7420
      https://github.com/llvm/llvm-project/commit/278b3964655ab06576a27be57ee2378732bc7420
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    A bolt/test/X86/Inputs/dwarf4-subprogram-multiple-ranges-other.s
    A bolt/test/X86/Inputs/dwarf5-subprogram-multiple-ranges-other.s
    A bolt/test/X86/dwarf4-subprogram-multiple-ranges-cus.test
    A bolt/test/X86/dwarf5-subprogram-multiple-ranges-cus.test

  Log Message:
  -----------
  [BOLT][DWARF][NFC] Add tests with multiple CUs (#93615)

Adds DWARF4 and DWARF5 tests with multiple CUs.


  Commit: 8d239d7fdf07dd640be3933fc72a9811ec0bc031
      https://github.com/llvm/llvm-project/commit/8d239d7fdf07dd640be3933fc72a9811ec0bc031
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M bolt/test/X86/dwarf5-df-input-lowpc-ranges.test

  Log Message:
  -----------
  [BOLT][DWARF][NFC] Fix formatting issue in DWARF5 split-dwarf test (#93746)

Remove double escape characters before a RUN in a test.


  Commit: a585446110d06ba12ea8151044f3ac97f98faf92
      https://github.com/llvm/llvm-project/commit/a585446110d06ba12ea8151044f3ac97f98faf92
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test

  Log Message:
  -----------
  [BOLT][DWARF][NFC] Fix formatting issue in DWARF4 split-dwarf test (#93747)

Remove double escape characters before a RUN in a test.


  Commit: bba5ee47e63298d61f6ea441a140144ce370ba92
      https://github.com/llvm/llvm-project/commit/bba5ee47e63298d61f6ea441a140144ce370ba92
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [memprof] Introduce memprof::LinearFrameId (NFC) (#94057)

This patch introduces memprof::LinearFrameId, which is a frame version
of memprof::LinearCallStackId.


  Commit: 840f9de9b14f40836fb28be77a4b70b41e8e9523
      https://github.com/llvm/llvm-project/commit/840f9de9b14f40836fb28be77a4b70b41e8e9523
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/MemProf.h

  Log Message:
  -----------
  [memprof] Use LinearFrameId and LinearCallStackId where appropriate (NFC) (#94076)


  Commit: f5bab9678e8c6b2a58abc7867a4a64408247cf13
      https://github.com/llvm/llvm-project/commit/f5bab9678e8c6b2a58abc7867a4a64408247cf13
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/test/CodeGen/M68k/pipeline.ll

  Log Message:
  -----------
  [M68k] Fix compilation pipeline check

- Fix check after cab81dd03813ac6333ad7fc031d72b84341fe2b9


  Commit: 0353f6abdd30c778778604c75e33cbe841a61199
      https://github.com/llvm/llvm-project/commit/0353f6abdd30c778778604c75e33cbe841a61199
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M bolt/test/AArch64/lit.local.cfg
    M bolt/test/X86/lit.local.cfg
    M bolt/test/lit.local.cfg

  Log Message:
  -----------
  [BOLT][test] Use correct normalized triple

bolt/test/lit.local.cfg wants to use the system GCC installation but it
specifies a wrong triple ("linux" instead of "linux-gnu") and relies on
clangDriver's loose GCC installation detection to pick up "*-linux-gnu".

This loose behavior may not work. Use "linux-gnu" instead.

Note: neither "linux" nor "linux-gnu" detects "linux-musl" triples, so
these tests currently fail on musl based systems.

Other files changes are cosmetic.


  Commit: 16832eb58563f77d917198ad9f86db1c2ee162c9
      https://github.com/llvm/llvm-project/commit/16832eb58563f77d917198ad9f86db1c2ee162c9
  Author: Sterling-Augustine <56981066+Sterling-Augustine at users.noreply.github.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M clang/lib/AST/QualTypeNames.cpp

  Log Message:
  -----------
  Guard against nullptr (#94084)

Protect against nullptr after #93926


  Commit: 1697030d9d7188473cc4129bd28f848a77d04d3d
      https://github.com/llvm/llvm-project/commit/1697030d9d7188473cc4129bd28f848a77d04d3d
  Author: Nuri Amari <nuri.amari99 at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/test/MachO/start-lib.s

  Log Message:
  -----------
  [MachO LLD] Respect -all_load with --start-lib --end-lib style archives (#93993)

The -all_load flag is intended to force the linker to load all lazy members, but doesn't do so if the archive is specified with --start-lib, --end-lib flags. The `-all_load` flag is global, that is it can be placed anywhere in the linker invocation, and it affects the load behavior of all conventional archives listed. Unlike ELF's --whole-archive, the user need not necessarily have access to the entire linker invocation to reasonably make use of the flag. The user can supply `-all_load` to a build system without inspecting the rest of the linker invocation.

To make the behavior of `--start-lib` style archives consistent with regular archives, this patch makes it so that -all_load also applies in this case.


  Commit: d337c504ef3652e9ccd75b21bbc79d010ee6c637
      https://github.com/llvm/llvm-project/commit/d337c504ef3652e9ccd75b21bbc79d010ee6c637
  Author: Tyler Lanphear <tylanphear at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [SLP][NFCI] Address issues seen in downstream Coverity scan. (#93757)

- Prevent null dereference: if the Mask given to
  `ShuffleInstructionBuilder::adjustExtracts()` is empty or all-poison,
  then `VecBase` will be `nullptr` and the call to
  `castToScalarTyElem(VecBase)` will dereference it. Add an assert
  to guard against this.

- Prevent use of uninitialized scalar: in the unlikely event that
  `CandidateVFs` is empty, then `AnyProfitableGraph` will be
  uninitialized in `if` condition following the loop. (This seems like a
  false-positive, but I submitted this change anyways as initializing
  bools costs nothing and is generally good practice)


  Commit: 142afde0eba4940f2b331274e9a3535fee960f35
      https://github.com/llvm/llvm-project/commit/142afde0eba4940f2b331274e9a3535fee960f35
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M libc/config/config.json
    M libc/docs/configure.rst
    M libc/hdr/types/CMakeLists.txt
    A libc/hdr/types/pid_t.h
    M libc/include/llvm-libc-types/CMakeLists.txt
    M libc/include/llvm-libc-types/cnd_t.h
    M libc/src/__support/File/dir.h
    M libc/src/__support/File/file.h
    M libc/src/__support/threads/CndVar.h
    M libc/src/__support/threads/fork_callbacks.cpp
    M libc/src/__support/threads/gpu/mutex.h
    M libc/src/__support/threads/linux/CMakeLists.txt
    M libc/src/__support/threads/linux/CndVar.cpp
    M libc/src/__support/threads/linux/mutex.h
    A libc/src/__support/threads/linux/raw_mutex.h
    M libc/src/__support/threads/thread.cpp
    M libc/src/pthread/pthread_mutex_init.cpp
    M libc/src/pthread/pthread_mutexattr.h
    M libc/src/stdlib/atexit.cpp
    M libc/src/threads/linux/CMakeLists.txt
    M libc/src/threads/mtx_init.cpp
    M libc/test/integration/src/__support/threads/thread_detach_test.cpp
    M libc/test/src/__support/CMakeLists.txt
    A libc/test/src/__support/threads/CMakeLists.txt
    A libc/test/src/__support/threads/linux/CMakeLists.txt
    A libc/test/src/__support/threads/linux/raw_mutex_test.cpp

  Log Message:
  -----------
  [libc] rework mutex (#92168)


  Commit: 85fd1688b2bbbbfc73ba97d95e621cfbfe9a3fff
      https://github.com/llvm/llvm-project/commit/85fd1688b2bbbbfc73ba97d95e621cfbfe9a3fff
  Author: gulfemsavrun <gulfem at google.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lldb/include/lldb/API/SBCommandInterpreter.h
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/include/lldb/Target/Statistics.h
    M lldb/source/Commands/CommandObjectStats.cpp
    M lldb/source/Commands/Options.td
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Target/Statistics.cpp
    M lldb/test/API/commands/statistics/basic/TestStats.py
    M lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py

  Log Message:
  -----------
  Revert "A few updates around "transcript"" (#94088)

Reverts llvm/llvm-project#92843 because it broke some lldb tests:

https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8746385730949743489/overview


  Commit: 8057756190afb8a8e5d550788fcc63914e920d0f
      https://github.com/llvm/llvm-project/commit/8057756190afb8a8e5d550788fcc63914e920d0f
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M libc/test/src/__support/threads/linux/raw_mutex_test.cpp

  Log Message:
  -----------
  [libc] fix test build on platforms without `SYS_fork` (#94087)


  Commit: f3444f650c7bf69456c554befa65cbebe8d41e91
      https://github.com/llvm/llvm-project/commit/f3444f650c7bf69456c554befa65cbebe8d41e91
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

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

  Log Message:
  -----------
  [RISCV] Fix incorrect use of TA in some tablegen class names. NFC

These either have an explicit policy operand or use TU policy.


  Commit: 4d4d6eb6e8b519fec7ca5b689762bb964a7ce186
      https://github.com/llvm/llvm-project/commit/4d4d6eb6e8b519fec7ca5b689762bb964a7ce186
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] findOrphanPos: avoid redundant getRankProximity call. NFC


  Commit: 1af0778f9c6e1ac0f6e2dfd0e56063cc21c4eea5
      https://github.com/llvm/llvm-project/commit/1af0778f9c6e1ac0f6e2dfd0e56063cc21c4eea5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/test/CodeGen/RISCV/rvv/vsub.ll

  Log Message:
  -----------
  [RISCV] Use vadd.vi for tail undisturbe vsub intrinsic with small immediate.

Our pattern previously checked for the merge operand being undef.


  Commit: 59116e0941c7f406526fc37acf52845bd8380402
      https://github.com/llvm/llvm-project/commit/59116e0941c7f406526fc37acf52845bd8380402
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/aix-tls-gd-longlong.ll

  Log Message:
  -----------
  [PowerPC] Update test so that target flags are exposed. NFC.


  Commit: 0f3d646cefbe00b4a1037dc68e9d76e5470e805f
      https://github.com/llvm/llvm-project/commit/0f3d646cefbe00b4a1037dc68e9d76e5470e805f
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Simplify findOrphanPos. NFC

Simplify the loop that considers sections of the same proximity. The two
involved conditions are due to:

* https://reviews.llvm.org/D111717 ("[ELF] Avoid adding an orphan section to a less suitable segment") and
* https://reviews.llvm.org/D112925 ("[ELF] Better resemble GNU ld when placing orphan sections into memory regions")


  Commit: 26814bbd4f65934d4e231ce407ec1b62c9d81df7
      https://github.com/llvm/llvm-project/commit/26814bbd4f65934d4e231ce407ec1b62c9d81df7
  Author: Pavel Samolysov <samolisov at gmail.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M clang/lib/Sema/SemaTemplateDeduction.cpp

  Log Message:
  -----------
  [clang] Fix a typo: ExplicitObje[C]tArgument. NFC (#94094)


  Commit: f85904868b282aa56c8bef90f169ca5ecd9957f8
      https://github.com/llvm/llvm-project/commit/f85904868b282aa56c8bef90f169ca5ecd9957f8
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Simplify findOrphanPos. NFC

When the orphan section is placed after i, incrementing then
decreamenting is quite difficult to understand. Simplify the code to a
single loop to make the intention clearer.


  Commit: 63fc26c72ae5095fc1ab20369d146538d03c4560
      https://github.com/llvm/llvm-project/commit/63fc26c72ae5095fc1ab20369d146538d03c4560
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M libc/test/src/__support/threads/linux/CMakeLists.txt
    M libc/test/src/__support/threads/linux/raw_mutex_test.cpp

  Log Message:
  -----------
  [libc] fix build failures due to SIGCHLD (#94093)


  Commit: 5d31360d710a9aa2a1bee4ea9bcdc4cd0ea0a72f
      https://github.com/llvm/llvm-project/commit/5d31360d710a9aa2a1bee4ea9bcdc4cd0ea0a72f
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M libcxx/include/__config
    M libcxx/include/__configuration/abi.h
    M libcxx/test/libcxx/input.output/filesystems/convert_file_time.pass.cpp

  Log Message:
  -----------
  [libc++] Remove the inline namespace for std::filesystem in ABIv2 (#92971)


  Commit: bfa8b6487bb4227e99176c0eb8c0215921c55e57
      https://github.com/llvm/llvm-project/commit/bfa8b6487bb4227e99176c0eb8c0215921c55e57
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M libcxx/include/__utility/pair.h

  Log Message:
  -----------
  [libc++][NFC] Format pair.h (#94101)


  Commit: 0864501b97a70ce7d6f1741514fae08eef7c237e
      https://github.com/llvm/llvm-project/commit/0864501b97a70ce7d6f1741514fae08eef7c237e
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip-rv64.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/combine.mir

  Log Message:
  -----------
  [GISel] Convert zext nneg to sext if it is cheaper (#93856)

This patch converts `zext nneg` to `sext` on RISCV to use free sext.

---------

Co-authored-by: Thorsten Schütt <schuett at gmail.com>


  Commit: daaaf4e9009edf38dfc3d01d3c30de0827ffd1b5
      https://github.com/llvm/llvm-project/commit/daaaf4e9009edf38dfc3d01d3c30de0827ffd1b5
  Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M clang/tools/scan-build/bin/set-xcode-analyzer
    M clang/utils/check_cfc/check_cfc.py

  Log Message:
  -----------
  [analyzer][NFC] Fix comparison to True/False (#94038)

from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):

> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.

Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>


  Commit: 16397e8ec7ffbee2907dfec698356f67672086e8
      https://github.com/llvm/llvm-project/commit/16397e8ec7ffbee2907dfec698356f67672086e8
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/test/SemaTemplate/concepts-lambda.cpp

  Log Message:
  -----------
  [Clang][Sema] Push an evaluation context for type constraints (#93945)

This helps getTemplateInstantiationArgs() to properly recover template
arguments of an enclosing concept Decl.

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


  Commit: cd676e5b27cb985697deac052c797057f5a33c06
      https://github.com/llvm/llvm-project/commit/cd676e5b27cb985697deac052c797057f5a33c06
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M lldb/cmake/modules/LLDBConfig.cmake

  Log Message:
  -----------
  [lldb] Guard some GCC-style flags from MSVC

A follow up to #92953. Suggested in https://github.com/llvm/llvm-project/pull/92953#issuecomment-2143274065


  Commit: 9d4b20a44e5c55499d6fc75663a6c7149a59543f
      https://github.com/llvm/llvm-project/commit/9d4b20a44e5c55499d6fc75663a6c7149a59543f
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td
    M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
    M mlir/test/Dialect/Bufferization/invalid.mlir
    M mlir/test/Dialect/Bufferization/ops.mlir

  Log Message:
  -----------
  [mlir][bufferization] Allow mixed static/dynamic shapes in `materialize_in_destination` op (#92681)

This commit relaxes the verifier of
`bufferization.materialize_in_destination` such that mixed
static/dynamic dimensions are allowed for the source and destination
operands. E.g., `tensor<5xf32>` and `tensor<?xf32>` are now compatible,
but it is assumed that the dynamic dimension is `5` at runtime.

This commit fixes #91265.


  Commit: cb7a03b41fff563c0cbb5145eed09f9b17edf9e2
      https://github.com/llvm/llvm-project/commit/cb7a03b41fff563c0cbb5145eed09f9b17edf9e2
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M libcxx/include/__string/constexpr_c_functions.h
    M libcxx/include/__type_traits/remove_pointer.h
    M libcxx/include/bitset
    M libcxx/test/std/time/time.zone/time.zone.leap/nonmembers/comparison.pass.cpp
    M libcxx/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp
    M libcxx/test/std/utilities/expected/expected.expected/monadic/transform_error.pass.cpp
    M libcxx/test/std/utilities/expected/expected.void/monadic/transform_error.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp
    M libcxx/test/std/utilities/variant/variant.visit.member/visit_return_type.pass.cpp
    M libcxxabi/test/catch_member_function_pointer_02.pass.cpp

  Log Message:
  -----------
   [libc++] Fix failures with GCC 14 (#92663)

Fixes #91831


  Commit: 47fd32f81c593ae698765e3f3f13998ac9a9abbf
      https://github.com/llvm/llvm-project/commit/47fd32f81c593ae698765e3f3f13998ac9a9abbf
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/PowerPC/pr85066.ll

  Log Message:
  -----------
  [DAGCombine] Fix type mismatch in `(shl X, cttz(Y)) -> (mul (Y & -Y),  X)` (#94008)

Proof: https://alive2.llvm.org/ce/z/J7GBMU

Same as https://github.com/llvm/llvm-project/pull/92753, the types of
LHS and RHS in shift nodes may differ.
+ When VT is smaller than ShiftVT, it is safe to use trunc.
+ When VT is larger than ShiftVT, it is safe to use zext iff
`is_zero_poison` is true (i.e., `opcode == ISD::CTTZ_ZERO_UNDEF`). See
also the counterexample `src_shl_cttz2 -> tgt_shl_cttz2` in the alive2
proofs.

Fixes issue
https://github.com/llvm/llvm-project/pull/85066#issuecomment-2142553617.


  Commit: 4c6367b3e521f0c18c14db5678748964aeae5215
      https://github.com/llvm/llvm-project/commit/4c6367b3e521f0c18c14db5678748964aeae5215
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll

  Log Message:
  -----------
  [LV] Add test with strided interleave groups and maximizing bandwidth.


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    A llvm/test/CodeGen/AMDGPU/issue92561-restore-undef-scc-verifier-error.ll

  Log Message:
  -----------
  AMDGPU: Remove arbitrary SCC liveness scan threshold (#94097)


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll

  Log Message:
  -----------
  [LV] Operands feeding pointers of interleave member pointers are free.

For interleave groups we only create a pointer for the start of the
interleave group, not all original loads/stores. Mark single-use ops
feeding interleave group mem ops as free when vectorizing.


  Commit: 598f37bb27c3a6e71252bbd15c587c7f11e20520
      https://github.com/llvm/llvm-project/commit/598f37bb27c3a6e71252bbd15c587c7f11e20520
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    A bolt/test/X86/Inputs/dwarf4-df-input-lowpc-ranges-other.s
    A bolt/test/X86/dwarf4-df-input-lowpc-ranges-cus.test

  Log Message:
  -----------
  [BOLT][DWARF][NFC] Add split-dwarf4 test with multiple CUs (#93741)

Adds a split-dwarf test for DWARF4 with multiple CUs.


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

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/pr44183.ll

  Log Message:
  -----------
  [DAG] Replace getValid*ShiftAmountConstant helpers with getValid*ShiftAmount helpers to support KnownBits analysis (#93182)

The getValidShiftAmountConstant/getValidMinimumShiftAmountConstant/getValidMaximumShiftAmountConstant helpers only worked with constant shift amounts, which could be problematic after type legalization (e.g. v2i64 might be partially scalarized or split into v4i32 on some targets such as 32-bit x86, Thumb2 MVE).

This patch proposes we generalize these helpers to work with ConstantRange+KnownBits if a scalar/buildvector constant isn't available.

Most restrictions are the same - the helper fails if any shift amount is out of bounds, getValidShiftConstant must be a specific constant uniform etc.

However, getValidMinimumShiftAmount/getValidMaximumShiftAmount now can return bounds values that aren't values in the actual data, as they are based off the common KnownBits of every vector element.

This addresses feedback on #92096


  Commit: 86bb5c8427346aafaafa42fbf96e405ae4ca07bf
      https://github.com/llvm/llvm-project/commit/86bb5c8427346aafaafa42fbf96e405ae4ca07bf
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M .github/workflows/restart-preempted-libcxx-jobs.yaml

  Log Message:
  -----------
  Create annotations to better explain restarter decision


  Commit: e9057c30a48cb502864063540a43d755dacd3b1c
      https://github.com/llvm/llvm-project/commit/e9057c30a48cb502864063540a43d755dacd3b1c
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M .github/workflows/restart-preempted-libcxx-jobs.yaml

  Log Message:
  -----------
  Create check run on workflow run to better display result.

In order to make the behavior of the libc++ restarter more visible
to users, this change creates a check run on the considered workflow
to let users know what action, if any, was taken


  Commit: 661d64bc20d58c4970b378dd3e87ee594d2b4150
      https://github.com/llvm/llvm-project/commit/661d64bc20d58c4970b378dd3e87ee594d2b4150
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/NVPTX/combine-mad.ll

  Log Message:
  -----------
  [NVPTX] disable combine-mad test for newer ptxas (#93919)


  Commit: 867c9f67132799d9f422866bc4b8790257118c47
      https://github.com/llvm/llvm-project/commit/867c9f67132799d9f422866bc4b8790257118c47
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M .github/workflows/restart-preempted-libcxx-jobs.yaml

  Log Message:
  -----------
  Fix permissions on restarter workflow


  Commit: ee8e0f3365c6b27c8a82fafa1dd4af10e16384f5
      https://github.com/llvm/llvm-project/commit/ee8e0f3365c6b27c8a82fafa1dd4af10e16384f5
  Author: Eric <eric at efcs.ca>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M libcxx/test/configs/llvm-libc++-android-ndk.cfg.in
    M libcxx/test/configs/llvm-libc++-mingw.cfg.in
    M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
    M libcxx/test/configs/llvm-libc++-shared-gcc.cfg.in
    M libcxx/test/configs/llvm-libc++-shared.cfg.in
    M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in

  Log Message:
  -----------
  Fix order of include flags for the target & regular include paths. (#93547)

The target include directory should always  come first,
since the regular includes are dependent on it


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

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp

  Log Message:
  -----------
  Fix GCC Wparentheses warning. NFC.


  Commit: 2a1ea151cccba3de21edb950099a75ca8d3ea604
      https://github.com/llvm/llvm-project/commit/2a1ea151cccba3de21edb950099a75ca8d3ea604
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
    M lldb/source/Utility/UriParser.cpp
    M llvm/lib/MC/MCExpr.cpp

  Log Message:
  -----------
  Use StringRef::starts_with (NFC) (#94112)


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

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

  Log Message:
  -----------
  [DAG] canCreateUndefOrPoison - only compute shift amount knownbits when not poison

Since #93182 we can now call computeKnownBits inside getValidMaximumShiftAmount to determine the bounds of the shift amount ensuring that it wasn't poison, meaning if we did freeze the ahift amount, isGuaranteedNotToBeUndefOrPoison would then fail as we can't call computeKnownBits through FREEZE for potentially poison values.

I'm still reducing a decent test case but wanted to get the buildbot fix ASAP.


  Commit: 2b2ce50fe843b5b550806a0ab15b06cd5c405d48
      https://github.com/llvm/llvm-project/commit/2b2ce50fe843b5b550806a0ab15b06cd5c405d48
  Author: Abhishek Varma <abhvarma at amd.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
    M mlir/include/mlir/Dialect/Tensor/Transforms/Transforms.h
    M mlir/include/mlir/Interfaces/TilingInterface.td
    M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
    M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
    M mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp
    M mlir/lib/Dialect/Tensor/Transforms/SwapExtractSliceWithProducerPatterns.cpp
    A mlir/test/Interfaces/TilingInterface/tile-and-fuse-consumer.mlir
    M mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.cpp
    M mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.td

  Log Message:
  -----------
  [MLIR][SCF] Add an API to fuse consumer to a producer within scf loop (#88712)

This commit adds an API (`tileAndFuseConsumerOfSlice`) to fuse consumer to a producer within
scf.for/scf.forall loop.

To support this two new methods are added to the `TilingInterface`
- `getIterationDomainTileFromOperandTile`
- `getTiledImplementationFromOperandTile`.

Consumer operations that implement this method can be used to be fused with tiled producer operands in a manner similar to (but essentially the inverse of) the fusion of an untiled producer with a tiled consumer.

Note that this only does one `tiled producer` -> `consumer` fusion. This could be called repeatedly for fusing multiple consumers. The current implementation also is conservative in when this kicks in (like single use of the value returned by the inter-tile loops that surround the tiled producer, etc.) These can be relaxed over time.

Signed-off-by: Abhishek Varma <abhvarma at amd.com>

---------

Signed-off-by: Abhishek Varma <abhvarma at amd.com>
Signed-off-by: Abhishek Varma <avarma094 at gmail.com>
Co-authored-by: cxy <chenxunyu1993 at gmail.com>


  Commit: 6e22b538da4b09efb10a59582a3f43d8128ae7d1
      https://github.com/llvm/llvm-project/commit/6e22b538da4b09efb10a59582a3f43d8128ae7d1
  Author: Hui <hui.xie1990 at gmail.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M libcxx/src/atomic.cpp
    A libcxx/test/libcxx/atomics/atomics.syn/wait.pass.cpp

  Log Message:
  -----------
  [libc++] Fix `std::atomic::wait` ulock wait UL_COMPARE_AND_WAIT64 (#92783)

in `atomic::wait`, when we call the platform wait ulock_wait , we are
using UL_COMPARE_AND_WAIT. But we should use UL_COMPARE_AND_WAIT64
instead as the address we are waiting for is a 64 bit integer.

fixes https://github.com/llvm/llvm-project/issues/85107

It is rather hard to test directly because in `atomic::wait`, before
calling into the platform wait, our c++ code has some poll logic which
checks the value not changing. Thus in this patch, the test is using the
internal function.


  Commit: e7e6e1ecadc59677b422044f514c2eb379ee719b
      https://github.com/llvm/llvm-project/commit/e7e6e1ecadc59677b422044f514c2eb379ee719b
  Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][bazel] Add bazel build support for https://github.com/llvm/llvm-project/commit/2b2ce50fe843b5b550806a0ab15b06cd5c405d48 (#94126)

Also drop errant header include from `Linalg` dialect into
`Dialect/SCF/Transforms/TileUsingInterface.cpp`


  Commit: c877eb3754ad1a61db2717530141eded580c3533
      https://github.com/llvm/llvm-project/commit/c877eb3754ad1a61db2717530141eded580c3533
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    A llvm/test/Transforms/InstCombine/fold-ext-eq-c-with-op.ll

  Log Message:
  -----------
  [InstCombine] Add tests for folding `(add X, (sext/zext (icmp eq X, C)))`; NFC


  Commit: 0310f7f2d0c56a5697710251cec9803cbf7b4d56
      https://github.com/llvm/llvm-project/commit/0310f7f2d0c56a5697710251cec9803cbf7b4d56
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/apint-shift.ll
    M llvm/test/Transforms/InstCombine/fold-ext-eq-c-with-op.ll

  Log Message:
  -----------
  [InstCombine] Fold `(add X, (sext/zext (icmp eq X, C)))`

We can convert this to a select based on the `(icmp eq X, C)`, then
constant fold the addition the true arm begin `(add C, (sext/zext 1))`
and the false arm being `(add X, 0)` e.g

    - `(select (icmp eq X, C), (add C, (sext/zext 1)), (add X, 0))`.

This is essentially a specialization of the only case that sees to
actually show up from #89020

Closes #93840


  Commit: d2cdc8ab45d74f8691f73cb5a2b8c431585cd449
      https://github.com/llvm/llvm-project/commit/d2cdc8ab45d74f8691f73cb5a2b8c431585cd449
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/include/llvm/CodeGen/SelectionDAGISel.h
    M llvm/include/llvm/CodeGen/StackProtector.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/Target/AArch64/AArch64.h
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
    M llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/R600ISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/ARC/ARC.h
    M llvm/lib/Target/ARC/ARCISelDAGToDAG.cpp
    M llvm/lib/Target/ARC/ARCTargetMachine.cpp
    M llvm/lib/Target/ARM/ARM.h
    M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
    M llvm/lib/Target/ARM/ARMTargetMachine.cpp
    M llvm/lib/Target/AVR/AVR.h
    M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
    M llvm/lib/Target/AVR/AVRTargetMachine.cpp
    M llvm/lib/Target/BPF/BPF.h
    M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
    M llvm/lib/Target/BPF/BPFTargetMachine.cpp
    M llvm/lib/Target/CSKY/CSKY.h
    M llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
    M llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
    M llvm/lib/Target/Hexagon/Hexagon.h
    M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
    M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h
    M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
    M llvm/lib/Target/Lanai/Lanai.h
    M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
    M llvm/lib/Target/Lanai/LanaiTargetMachine.cpp
    M llvm/lib/Target/LoongArch/LoongArch.h
    M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
    M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
    M llvm/lib/Target/M68k/M68k.h
    M llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp
    M llvm/lib/Target/M68k/M68kTargetMachine.cpp
    M llvm/lib/Target/MSP430/MSP430.h
    M llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
    M llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
    M llvm/lib/Target/Mips/Mips.h
    M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp
    M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.h
    M llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
    M llvm/lib/Target/Mips/MipsISelDAGToDAG.h
    M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
    M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
    M llvm/lib/Target/Mips/MipsTargetMachine.cpp
    M llvm/lib/Target/NVPTX/NVPTX.h
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/lib/Target/PowerPC/PPC.h
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
    M llvm/lib/Target/RISCV/RISCV.h
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    M llvm/lib/Target/Sparc/Sparc.h
    M llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
    M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
    M llvm/lib/Target/SystemZ/SystemZ.h
    M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
    M llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
    M llvm/lib/Target/VE/VE.h
    M llvm/lib/Target/VE/VEISelDAGToDAG.cpp
    M llvm/lib/Target/VE/VETargetMachine.cpp
    M llvm/lib/Target/WebAssembly/WebAssembly.h
    M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/lib/Target/X86/X86.h
    M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    A llvm/lib/Target/X86/X86ISelDAGToDAG.h
    A llvm/lib/Target/X86/X86PassRegistry.def
    M llvm/lib/Target/X86/X86TargetMachine.cpp
    M llvm/lib/Target/X86/X86TargetMachine.h
    M llvm/lib/Target/XCore/XCore.h
    M llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp
    M llvm/lib/Target/XCore/XCoreTargetMachine.cpp
    M llvm/lib/Target/Xtensa/XtensaISelDAGToDAG.cpp
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f64.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
    M llvm/test/CodeGen/AMDGPU/bug-v4f64-subvector.ll
    M llvm/test/CodeGen/AMDGPU/carryout-selection.ll
    M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-abs.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-bitreverse.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-ctlz-cttz.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-ctpop.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-min-max.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-negsubinlineconst.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-not-isel.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-xnor.ll
    M llvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
    M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
    M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f64.ll
    M llvm/test/CodeGen/AMDGPU/fneg-fabs-divergence-driven-isel.ll
    M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-rtn.ll
    M llvm/test/CodeGen/AMDGPU/img-nouse-adjust.ll
    M llvm/test/CodeGen/AMDGPU/implicit-def-muse.ll
    M llvm/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-general.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-amx.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-x87.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-special.ll
    M llvm/test/tools/llc/new-pm/start-stop.ll

  Log Message:
  -----------
  [NewPM][CodeGen] Port selection dag isel to new pass manager (#83567)

Port selection dag isel to new pass manager.
Only `AMDGPU` and `X86` support new pass version. `-verify-machineinstrs` in new pass manager belongs to verify instrumentation, it is enabled by default.


  Commit: f63b1d282609df0b4b5ae280b04722c6fecb505e
      https://github.com/llvm/llvm-project/commit/f63b1d282609df0b4b5ae280b04722c6fecb505e
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAGISel.h

  Log Message:
  -----------
  [SelectionDAG] Mark `SelectionDAGISel` destructor virtual (#94132)


  Commit: 3f9ba0004b2a27a721fd4a29364571d91197b82d
      https://github.com/llvm/llvm-project/commit/3f9ba0004b2a27a721fd4a29364571d91197b82d
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp

  Log Message:
  -----------
  [BPF] Remove unused ID in `SelectionDAGISel` (#94134)


  Commit: de37c06f01772e02465ccc9f538894c76d89a7a1
      https://github.com/llvm/llvm-project/commit/de37c06f01772e02465ccc9f538894c76d89a7a1
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
    M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h

  Log Message:
  -----------
  [Targets] Remove unused ID in *DAGToDAGISel (#94135)


  Commit: 8917afaf0ec2ebe390284e3727e720eaf97967eb
      https://github.com/llvm/llvm-project/commit/8917afaf0ec2ebe390284e3727e720eaf97967eb
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/include/llvm/CodeGen/SelectionDAGISel.h
    M llvm/include/llvm/CodeGen/StackProtector.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/Target/AArch64/AArch64.h
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
    M llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/R600ISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/ARC/ARC.h
    M llvm/lib/Target/ARC/ARCISelDAGToDAG.cpp
    M llvm/lib/Target/ARC/ARCTargetMachine.cpp
    M llvm/lib/Target/ARM/ARM.h
    M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
    M llvm/lib/Target/ARM/ARMTargetMachine.cpp
    M llvm/lib/Target/AVR/AVR.h
    M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
    M llvm/lib/Target/AVR/AVRTargetMachine.cpp
    M llvm/lib/Target/BPF/BPF.h
    M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
    M llvm/lib/Target/BPF/BPFTargetMachine.cpp
    M llvm/lib/Target/CSKY/CSKY.h
    M llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
    M llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
    M llvm/lib/Target/Hexagon/Hexagon.h
    M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
    M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h
    M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
    M llvm/lib/Target/Lanai/Lanai.h
    M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
    M llvm/lib/Target/Lanai/LanaiTargetMachine.cpp
    M llvm/lib/Target/LoongArch/LoongArch.h
    M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
    M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
    M llvm/lib/Target/M68k/M68k.h
    M llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp
    M llvm/lib/Target/M68k/M68kTargetMachine.cpp
    M llvm/lib/Target/MSP430/MSP430.h
    M llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
    M llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
    M llvm/lib/Target/Mips/Mips.h
    M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp
    M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.h
    M llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
    M llvm/lib/Target/Mips/MipsISelDAGToDAG.h
    M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
    M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
    M llvm/lib/Target/Mips/MipsTargetMachine.cpp
    M llvm/lib/Target/NVPTX/NVPTX.h
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/lib/Target/PowerPC/PPC.h
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
    M llvm/lib/Target/RISCV/RISCV.h
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    M llvm/lib/Target/Sparc/Sparc.h
    M llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
    M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
    M llvm/lib/Target/SystemZ/SystemZ.h
    M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
    M llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
    M llvm/lib/Target/VE/VE.h
    M llvm/lib/Target/VE/VEISelDAGToDAG.cpp
    M llvm/lib/Target/VE/VETargetMachine.cpp
    M llvm/lib/Target/WebAssembly/WebAssembly.h
    M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/lib/Target/X86/X86.h
    M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    R llvm/lib/Target/X86/X86ISelDAGToDAG.h
    R llvm/lib/Target/X86/X86PassRegistry.def
    M llvm/lib/Target/X86/X86TargetMachine.cpp
    M llvm/lib/Target/X86/X86TargetMachine.h
    M llvm/lib/Target/XCore/XCore.h
    M llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp
    M llvm/lib/Target/XCore/XCoreTargetMachine.cpp
    M llvm/lib/Target/Xtensa/XtensaISelDAGToDAG.cpp
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f64.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
    M llvm/test/CodeGen/AMDGPU/bug-v4f64-subvector.ll
    M llvm/test/CodeGen/AMDGPU/carryout-selection.ll
    M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-abs.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-bitreverse.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-ctlz-cttz.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-ctpop.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-min-max.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-negsubinlineconst.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-not-isel.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-xnor.ll
    M llvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
    M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
    M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f64.ll
    M llvm/test/CodeGen/AMDGPU/fneg-fabs-divergence-driven-isel.ll
    M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-rtn.ll
    M llvm/test/CodeGen/AMDGPU/img-nouse-adjust.ll
    M llvm/test/CodeGen/AMDGPU/implicit-def-muse.ll
    M llvm/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-general.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-amx.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-x87.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-special.ll
    M llvm/test/tools/llc/new-pm/start-stop.ll

  Log Message:
  -----------
  Revert "[NewPM][CodeGen] Port selection dag isel to new pass manager" (#94146)

This reverts commit de37c06f01772e02465ccc9f538894c76d89a7a1 to
de37c06f01772e02465ccc9f538894c76d89a7a1

It still breaks EXPENSIVE_CHECKS build. Sorry.


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

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

  Log Message:
  -----------
  [DAG] canCreateUndefOrPoison - fix missing argument typo

We were missing the PoisonOnly argument (so Depth + 1 was being used instead and the default Depth = 0 argument then being silently used)

Fixes #94145 and serves as the test case for 9e22c7a0ea87228dffcdfd7ab62724f72e0b3e30


  Commit: 45964eb9b88c46045e4e84beb4e2135cdeed6855
      https://github.com/llvm/llvm-project/commit/45964eb9b88c46045e4e84beb4e2135cdeed6855
  Author: Stephan T. Lavavej <stl at nuwen.net>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp
    M libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp
    M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_for_pred.pass.cpp
    M libcxx/test/support/test_macros.h

  Log Message:
  -----------
  [libc++] [test] Fix `__has_include` usage, expand condvarany and spaceship coverage (#94120)

Three unrelated, small improvements:

* `test_macros.h` was incorrectly saying `__has_include("<version>")`
instead of `__has_include(<version>)`.
+ This caused `<ciso646>` to always be included (noticed because MSVC's
STL emitted a deprecation warning).
  + I searched all of LLVM and found no other occurrences.
* `thread.condition.condvarany/wait_for_pred.pass.cpp` forgot to test
anything.
  + I followed what `wait_for.pass.cpp` is testing.
* Uncomment spaceship test coverage.


  Commit: b6ea134e4162e61c6b448ff48fd1deaa0d523166
      https://github.com/llvm/llvm-project/commit/b6ea134e4162e61c6b448ff48fd1deaa0d523166
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M .github/workflows/restart-preempted-libcxx-jobs.yaml

  Log Message:
  -----------
  Fix pagination issue in libc++ buildbot restarter


  Commit: 197c3a3efc703711ac8f14bc4f1765eaadb8e5bc
      https://github.com/llvm/llvm-project/commit/197c3a3efc703711ac8f14bc4f1765eaadb8e5bc
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
    M llvm/lib/MC/MCPseudoProbe.cpp
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseReinterpretMap.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp

  Log Message:
  -----------
  Use llvm::less_first (NFC) (#94136)


  Commit: e044283996f6f2a157c2087cffa6618f32cc5ae8
      https://github.com/llvm/llvm-project/commit/e044283996f6f2a157c2087cffa6618f32cc5ae8
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/MemProf.h

  Log Message:
  -----------
  [memprof] Use GlobalValue::GUID instead of uint64_t (NFC) (#94086)


  Commit: df9167bfb3040bee492fd6bf64b97175f105da50
      https://github.com/llvm/llvm-project/commit/df9167bfb3040bee492fd6bf64b97175f105da50
  Author: Stephan T. Lavavej <stl at nuwen.net>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    A libcxx/test/std/atomics/atomics.ref/member_types.compile.pass.cpp
    R libcxx/test/std/atomics/atomics.ref/member_types.pass.cpp
    A libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.compile.pass.cpp
    R libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp
    A libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.compile.pass.cpp
    R libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp
    A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.compile.pass.cpp
    R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.pass.cpp
    A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.compile.pass.cpp
    R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp
    A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.compile.pass.cpp
    R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp
    A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.compile.pass.cpp
    R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp
    A libcxx/test/std/containers/associative/map/gcc_workaround.compile.pass.cpp
    R libcxx/test/std/containers/associative/map/gcc_workaround.pass.cpp
    A libcxx/test/std/containers/associative/map/map.cons/default_recursive.compile.pass.cpp
    R libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp
    A libcxx/test/std/containers/associative/multimap/multimap.cons/default_recursive.compile.pass.cpp
    R libcxx/test/std/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp
    A libcxx/test/std/containers/associative/set/gcc_workaround.compile.pass.cpp
    R libcxx/test/std/containers/associative/set/gcc_workaround.pass.cpp
    A libcxx/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.compile.pass.cpp
    R libcxx/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.pass.cpp
    A libcxx/test/std/numerics/numbers/user_type.compile.pass.cpp
    R libcxx/test/std/numerics/numbers/user_type.pass.cpp
    A libcxx/test/std/strings/char.traits/char.traits.require/nothing_to_do.compile.pass.cpp
    R libcxx/test/std/strings/char.traits/char.traits.require/nothing_to_do.pass.cpp
    A libcxx/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.compile.pass.cpp
    R libcxx/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.pass.cpp
    A libcxx/test/std/strings/string.view/string.view.synop/nothing_to_do.compile.pass.cpp
    R libcxx/test/std/strings/string.view/string.view.synop/nothing_to_do.pass.cpp
    A libcxx/test/std/strings/strings.general/nothing_to_do.compile.pass.cpp
    R libcxx/test/std/strings/strings.general/nothing_to_do.pass.cpp

  Log Message:
  -----------
  [libc++] [test] Cleanup compile-only tests (#94121)

I noticed that these tests had empty `main` functions. Dropping them and
renaming the tests to `MEOW.compile.pass.cpp` will slightly improve test
throughput.


  Commit: c26a99384bce5719107d26f4617d6e3b1e9253ff
      https://github.com/llvm/llvm-project/commit/c26a99384bce5719107d26f4617d6e3b1e9253ff
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang][NFC] Update CWG issues list


  Commit: d9293519bce5d2a6a22b73933810306317b51b3b
      https://github.com/llvm/llvm-project/commit/d9293519bce5d2a6a22b73933810306317b51b3b
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M llvm/utils/TableGen/AsmMatcherEmitter.cpp
    M llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
    M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
    M llvm/utils/TableGen/Common/CodeGenSchedule.cpp
    M llvm/utils/TableGen/Common/CodeGenTarget.cpp
    M llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTableExecutorEmitter.cpp
    M llvm/utils/TableGen/DFAEmitter.cpp
    M llvm/utils/TableGen/FastISelEmitter.cpp
    M llvm/utils/TableGen/GlobalISelEmitter.cpp
    M llvm/utils/TableGen/InstrInfoEmitter.cpp
    M llvm/utils/TableGen/RegisterInfoEmitter.cpp

  Log Message:
  -----------
  [TableGen] Use llvm::unique (NFC) (#94163)


  Commit: 5367b2c862a7bfe138ee17994edfdb7938437064
      https://github.com/llvm/llvm-project/commit/5367b2c862a7bfe138ee17994edfdb7938437064
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M libcxx/include/__config
    M libcxx/include/__locale_dir/locale_base_api/android.h
    M libcxx/include/__locale_dir/locale_base_api/ibm.h
    M libcxx/include/__locale_dir/locale_base_api/musl.h
    M libcxx/include/__locale_dir/locale_base_api/openbsd.h
    M libcxx/include/__support/xlocale/__nop_locale_mgmt.h
    M libcxx/include/__support/xlocale/__posix_l_fallback.h
    M libcxx/include/__support/xlocale/__strtonum_fallback.h

  Log Message:
  -----------
  [libc++] Don't give functions C linkage (#94102)

There is no reason to give any of the functions C linkage. This makes
all of the libc++ functions have C++ linkage, removing the need for
`_LIBCPP_HIDE_FROM_ABI_C`.


  Commit: 80303cb287e2c52c7bf4923bc61ebe25b2421bdc
      https://github.com/llvm/llvm-project/commit/80303cb287e2c52c7bf4923bc61ebe25b2421bdc
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

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

  Log Message:
  -----------
  [clang-format] Handle attributes before lambda return arrow (#94119)

Fixes #92657.


  Commit: f06f0164199d4a968d8336937cd5ef2c05946d8d
      https://github.com/llvm/llvm-project/commit/f06f0164199d4a968d8336937cd5ef2c05946d8d
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M clang/unittests/Format/FormatTest.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  -----------
  [clang-format][NFC] Add missing parens of __attribute in unit tests


  Commit: 4ce65423be0ba1d90c11b6a79981d6314e1cf36d
      https://github.com/llvm/llvm-project/commit/4ce65423be0ba1d90c11b6a79981d6314e1cf36d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M llvm/lib/ProfileData/InstrProfReader.cpp

  Log Message:
  -----------
  [memprof] Use const ref for IndexedRecord (#94114)

The type of *Iter here is "const IndexedMemProfRecord &" as defined in
RecordLookupTrait.  Assigning *Iter to a variable of type
"const IndexedMemProfRecord &" avoids a copy, reducing the cycle and
instruction counts by 1.8% and 0.2%, respectively, with
"llvm-profdata show" modified to deserialize all MemProfRecords.

Note that RecordLookupTrait has an internal copy of
IndexedMemProfRecord, so we don't have to worry about a dangling
reference to a temporary.


  Commit: ab08df2292334d4980b3e81829a20904e59e13c9
      https://github.com/llvm/llvm-project/commit/ab08df2292334d4980b3e81829a20904e59e13c9
  Author: Joshua Cao <cao.joshua at yahoo.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/Function.h
    M llvm/lib/CodeGen/MachineOutliner.cpp
    M llvm/lib/IR/Attributes.cpp
    M llvm/unittests/IR/FunctionTest.cpp

  Log Message:
  -----------
  [IR] Do not set `none` for function uwtable (#93387)

This avoids the pitfall where we set the uwtable to none:
```
func.setUWTableKind(llvm::UWTableKind::None)
```
`Attribute::getAsString()` would see an unknown attribute and fail an
assertion. In this patch, we assert that we do not see a None uwtable
kind.

This also skips the check of `UWTableKind::Async`. It is dominated by
the check of `UWTableKind::Default`, which has the same enum value
(nfc).


  Commit: 2fbc9f217e5fe8db8444a87dbd7138a768b8aa85
      https://github.com/llvm/llvm-project/commit/2fbc9f217e5fe8db8444a87dbd7138a768b8aa85
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/include/clang/Format/Format.h

  Log Message:
  -----------
  [clang-format][doc] Clean up quotes, etc.


  Commit: d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a
      https://github.com/llvm/llvm-project/commit/d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M clang/include/clang/Format/Format.h

  Log Message:
  -----------
  [clang-format] Fix documentation build error

https://github.com/llvm/llvm-project/actions/runs/9342063971/job/25709589592


  Commit: f779ec7c13bdfccd29655d13a325f34c60797a76
      https://github.com/llvm/llvm-project/commit/f779ec7c13bdfccd29655d13a325f34c60797a76
  Author: Enna1 <xumingjie.enna1 at bytedance.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/BranchProbabilityInfo.cpp

  Log Message:
  -----------
  [BPI] Cache LoopExitBlocks to improve compile time (#93451)

The `LoopBlock` stored in `LoopWorkList` consist of basic block and its
loop data information. When iterate `LoopWorkList`, if estimated weight
of a loop is not stored in `EstimatedLoopWeight`, `getLoopExitBlocks()`
is called to get all exit blocks of the loop. The estimated weight of a
loop is calculated by iterating over edges leading from basic block to
all exit blocks of the loop. If at least one edge has unknown estimated
weight, the estimated weight of loop is unknown and will not be stored
in `EstimatedLoopWeight`. `LoopWorkList` can contain different blocks in
a same loop, so there is wasted work that calls `getLoopExitBlocks()`
for same loop multiple times.

Since computing the exit blocks of loop is expensive and the loop
structure is not mutated in Branch Probability Analysis, we can cache
the result and improve compile time.

With this change, the overall compile time for a file containing a very
large loop is dropped by around 82%.


  Commit: e12bf36d237f8ef16c25c266785f6d01fb50dbc1
      https://github.com/llvm/llvm-project/commit/e12bf36d237f8ef16c25c266785f6d01fb50dbc1
  Author: Dhruv Chawla <dhruvc at nvidia.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-op-trunc.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-select.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-hoist-same-hands.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/usubsat.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/xnor.ll

  Log Message:
  -----------
  [GISel][CombinerHelper] Combine op(trunc(x), trunc(y)) -> trunc(op(x, y)) (#89023)


  Commit: 718331f55529469586c99a55e4b382a1c7485842
      https://github.com/llvm/llvm-project/commit/718331f55529469586c99a55e4b382a1c7485842
  Author: hev <wangrui at loongson.cn>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/test/CodeGen/LoongArch/alsl.ll
    M llvm/test/CodeGen/LoongArch/atomicrmw-uinc-udec-wrap.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/add.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/and.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/call.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/load-store.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/sub.ll
    M llvm/test/CodeGen/LoongArch/select-to-shiftand.ll
    M llvm/test/CodeGen/LoongArch/sextw-removal.ll

  Log Message:
  -----------
  [LoongArch] Custom legalize i32 operations for LA64 to reduce signed extensions (#93811)


  Commit: f367eaa4647404414ab256d2ac3c4d4f6c6d1363
      https://github.com/llvm/llvm-project/commit/f367eaa4647404414ab256d2ac3c4d4f6c6d1363
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-02 (Sun, 02 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/MemProf.h

  Log Message:
  -----------
  [memprof] Add accessors to Frame::SymbolName (#94085)

This patch adds accessors to Frame::SymbolName so that we can change
the underlying type of SymbolName without affecting downstream users
once they switch to the new accessors.

Note that SymbolName is only used for debugging.  Changing the type of
SymbolName from std::optional<std::string> to
std::unique_ptr<std::string> cuts down sizeof(Frame) by half -- from
64 bytes to 32 bytes.  (std::optional<T> sets aside the storage in
case T is instantiated.)

During deserialization, the memory usage is dominated by Frames.
Shrinking the type cuts down the memory usage and deserialization time
nearly by half.


  Commit: 10e7671d9adf1da2f08d67fde6585c707ac4c1d2
      https://github.com/llvm/llvm-project/commit/10e7671d9adf1da2f08d67fde6585c707ac4c1d2
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/test/Transforms/InstCombine/lshr.ll

  Log Message:
  -----------
  Reland "[InstCombine] Fold (sub nuw X, (Y << nuw Z)) >>u exact Z --> (X >>u exact Z) sub nuw Y" (#93571)

This is the same fold as ((X << nuw Z) sub nuw Y) >>u exact Z --> X sub
nuw (Y >>u exact Z), but with the sub operands swapped.

Alive2 Proof:
https://alive2.llvm.org/ce/z/pT-RxG


  Commit: aaa4ff88d6a2ef69053211e7bbee623f24723b51
      https://github.com/llvm/llvm-project/commit/aaa4ff88d6a2ef69053211e7bbee623f24723b51
  Author: David Stone <davidfromonline at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/unittests/ReplayPeambleTests.cpp
    M clang/include/clang/APINotes/APINotesManager.h
    M clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
    M clang/include/clang/Serialization/ASTWriter.h
    M clang/include/clang/Serialization/ModuleManager.h
    M clang/lib/APINotes/APINotesManager.cpp
    M clang/lib/AST/ASTDumper.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/ExtractAPI/API.cpp
    M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp

  Log Message:
  -----------
  [clang][Modules] Remove unnecessary includes of `Module.h` (#93417)


  Commit: 5161a3f6e5e92c78c33aed5e38e0680a1a9b088e
      https://github.com/llvm/llvm-project/commit/5161a3f6e5e92c78c33aed5e38e0680a1a9b088e
  Author: martinboehme <mboehme at google.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
    M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
    M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp

  Log Message:
  -----------
  [clang][dataflow] Rewrite `getReferencedDecls()` with a `RecursiveASTVisitor`. (#93461)

We previously had a hand-rolled recursive traversal here that was
exactly what
`RecursiveASTVistor` does anyway. Using the visitor not only eliminates
the
explicit traversal logic but also allows us to introduce a common
visitor base
class for `getReferencedDecls()` and `ResultObjectVisitor`, ensuring
that the
two are consistent in terms of the nodes they visit. Inconsistency
between these
two has caused crashes in the past when `ResultObjectVisitor` tried to
propagate
result object locations to entities that weren't modeled becasue
`getReferencedDecls()` didn't visit them.


  Commit: a68638bf6a6a5cb60947753ccaf7d1de80f6c89e
      https://github.com/llvm/llvm-project/commit/a68638bf6a6a5cb60947753ccaf7d1de80f6c89e
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/lib/Serialization/ASTWriterDecl.cpp
    A clang/test/Modules/pr93859.cppm

  Log Message:
  -----------
  [C++20] [Modules] [Reduced BMI] Handling Deduction Guide in reduced BMI
carefully

Close https://github.com/llvm/llvm-project/issues/93859

The direct pattern of the issue is that, in a reduced BMI, we're going
to wrtie a class but we didn't write the deduction guide. Although we
handled deduction guide, but we tried to record the found deduction
guide from `noload_lookup` directly.

It is slightly problematic if the found deduction guide is from AST.
e.g.,

```
module;
export module m;
import xxx; // Also contains the class and the deduction guide
...
```

Then when we writes the class in the current file, we tried to record
the deduction guide, but `noload_lookup` returns the deduction guide
from the AST file then we didn't record the local deduction guide. Then
mismatch happens.

To mitiagte the problem, we tried to record the canonical declaration
for the decution guide.


  Commit: ef4c91c44311f96f174609219e126011ec085d1f
      https://github.com/llvm/llvm-project/commit/ef4c91c44311f96f174609219e126011ec085d1f
  Author: David Green <david.green at arm.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/ARM/vdiv_combine.ll

  Log Message:
  -----------
  [ARM] Rewrite vdiv_combine.ll test. NFC

Instcombine will convert the fdiv by constant to fmul. This cleans up the
vdiv_combine.ll test and adds fmul variants of the existing fdiv test.


  Commit: 12c85cd31088f64a1afbc5b2133dde2e1d2516d3
      https://github.com/llvm/llvm-project/commit/12c85cd31088f64a1afbc5b2133dde2e1d2516d3
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

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

  Log Message:
  -----------
  [bazel]: port for the libc change 142afde0eba4940f2b331274e9a3535fee960f35


  Commit: a41a20bd47968b16bb84761578628752080e9f24
      https://github.com/llvm/llvm-project/commit/a41a20bd47968b16bb84761578628752080e9f24
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/lib/Frontend/FrontendActions.cpp

  Log Message:
  -----------
  [NFC] [C++20] [Modules] [Reduced BMI] Reorder Emitting reduced BMI and normal BMI for named modules

When we generate the reduced BMI on the fly, the order of the emitting
phase is different within `-emit-obj` and `-emit-module-interface`.
Although this is meant to be fine, we observed it in
https://github.com/llvm/llvm-project/issues/93859 (that the different phase order may cause problems).
Also it turns out to be a different fundamental reason to the orders.

But it might be fine to make the order of emitting reducing BMI at first
to avoid such confusions in the future.


  Commit: 5b4445e5e5d09b4bdf0e3c1fab52719bfb3f75e2
      https://github.com/llvm/llvm-project/commit/5b4445e5e5d09b4bdf0e3c1fab52719bfb3f75e2
  Author: David Green <david.green at arm.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/AArch64/fdiv-const.ll

  Log Message:
  -----------
  [AArch64] Add a test for converting fdiv by constant to fmul. NFC


  Commit: f4a7f81a914ca8aceddd9b7a71e36bb0828ae052
      https://github.com/llvm/llvm-project/commit/f4a7f81a914ca8aceddd9b7a71e36bb0828ae052
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/include/clang/Format/Format.h

  Log Message:
  -----------
  [clang-format][doc] Minor cleanup


  Commit: 84742cd867b0e7e76da6bdc08cc7c56beac86168
      https://github.com/llvm/llvm-project/commit/84742cd867b0e7e76da6bdc08cc7c56beac86168
  Author: Stephan T. Lavavej <stl at nuwen.net>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M libcxx/test/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp
    M libcxx/test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp

  Log Message:
  -----------
  [libc++][test] Mark `optional` test functions as `TEST_CONSTEXPR_CXX20` (#94172)

[P2231R1](https://wg21.link/P2231R1) "Missing `constexpr` in
`std::optional` and `std::variant`" was accepted as a C++20 Defect
Report, not a C++17 Defect Report. Accordingly, `test_empty_emplace()`
and `check_reset()` should be marked as `TEST_CONSTEXPR_CXX20`. Note
that their `static_assert`s are properly guarded:


https://github.com/llvm/llvm-project/blob/4ce65423be0ba1d90c11b6a79981d6314e1cf36d/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp#L270-L272


https://github.com/llvm/llvm-project/blob/4ce65423be0ba1d90c11b6a79981d6314e1cf36d/libcxx/test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp#L53-L55

Found while running libc++'s tests with MSVC's STL, as we activate our
`constexpr` here for C++20 and above.


  Commit: ccb73e882b2d727877cfda42a14a6979cfd31f04
      https://github.com/llvm/llvm-project/commit/ccb73e882b2d727877cfda42a14a6979cfd31f04
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/AST/DeclID.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/include/clang/Serialization/ModuleManager.h
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ModuleFile.cpp
    A clang/test/Modules/no-transitive-decls-change.cppm

  Log Message:
  -----------
  [serialization] no transitive decl change (#92083)

Following of https://github.com/llvm/llvm-project/pull/86912

#### Motivation Example

The motivation of the patch series is that, for a module interface unit
`X`, when the dependent modules of `X` changes, if the changes is not
relevant with `X`, we hope the BMI of `X` won't change. For the specific
patch, we hope if the changes was about irrelevant declaration changes,
we hope the BMI of `X` won't change. **However**, I found the patch
itself is not very useful in practice, since the adding or removing
declarations, will change the state of identifiers and types in most
cases.

That said, for the most simple example,

```
// partA.cppm
export module m:partA;

// partA.v1.cppm
export module m:partA;
export void a() {}

// partB.cppm
export module m:partB;
export void b() {}

// m.cppm
export module m;
export import :partA;
export import :partB;

// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
    b();
}
```

the BMI of `onlyUseB` will change after we change the implementation of
`partA.cppm` to `partA.v1.cppm`. Since `partA.v1.cppm` introduces new
identifiers and types (the function prototype).

So in this patch, we have to write the tests as:

```
// partA.cppm
export module m:partA;
export int getA() { ... }
export int getA2(int) { ... }

// partA.v1.cppm
export module m:partA;
export int getA() { ... }
export int getA(int) { ... }
export int getA2(int) { ... }

// partB.cppm
export module m:partB;
export void b() {}

// m.cppm
export module m;
export import :partA;
export import :partB;

// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
    b();
}
```

so that the new introduced declaration `int getA(int)` doesn't introduce
new identifiers and types, then the BMI of `onlyUseB` can keep
unchanged.

While it looks not so great, the patch should be the base of the patch
to erase the transitive change for identifiers and types since I don't
know how can we introduce new types and identifiers without introducing
new declarations. Given how tightly the relationship between
declarations, types and identifiers, I think we can only reach the ideal
state after we made the series for all of the three entties.

#### Design details

The design of the patch is similar to
https://github.com/llvm/llvm-project/pull/86912, which extends the
32-bit DeclID to 64-bit and use the higher bits to store the module file
index and the lower bits to store the Local Decl ID.

A slight difference is that we only use 48 bits to store the new DeclID
since we try to use the higher 16 bits to store the module ID in the
prefix of Decl class. Previously, we use 32 bits to store the module ID
and 32 bits to store the DeclID. I don't want to allocate additional
space so I tried to make the additional space the same as 64 bits. An
potential interesting thing here is about the relationship between the
module ID and the module file index. I feel we can get the module file
index by the module ID. But I didn't prove it or implement it. Since I
want to make the patch itself as small as possible. We can make it in
the future if we want.

Another change in the patch is the new concept Decl Index, which means
the index of the very big array `DeclsLoaded` in ASTReader. Previously,
the index of a loaded declaration is simply the Decl ID minus
PREDEFINED_DECL_NUMs. So there are some places they got used
ambiguously. But this patch tried to split these two concepts.

#### Overhead

As https://github.com/llvm/llvm-project/pull/86912 did, the change will
increase the on-disk PCM file sizes. As the declaration ID may be the
most IDs in the PCM file, this can have the biggest impact on the size.
In my experiments, this change will bring 6.6% increase of the on-disk
PCM size. No compile-time performance regression observed. Given the
benefits in the motivation example, I think the cost is worthwhile.


  Commit: b71434f8b33b6538554a092155c7e8477b2899e1
      https://github.com/llvm/llvm-project/commit/b71434f8b33b6538554a092155c7e8477b2899e1
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/test/CodeGen/AArch64/arm64-reg-copy-noneon.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-load.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-test-register-mov.ll

  Log Message:
  -----------
  [AArch64] Avoid NEON ORR when NEON and SVE are unavailable (#93940)

For streaming-compatible functions with only +sme, we can't use
a NEON ORR (aliased as 'mov') for copies of Q-registers, so
we need to use a spill/fill instead.

This also fixes the fill, which should use the post-incrementing
addressing mode.


  Commit: 264b1b24869eb45463a98d70e9b9e991092acc28
      https://github.com/llvm/llvm-project/commit/264b1b24869eb45463a98d70e9b9e991092acc28
  Author: David Green <david.green at arm.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/ARM/vdiv_combine.ll

  Log Message:
  -----------
  [ARM] Convert vector fdiv+fcvt fixed-point combine to fmul.

Instcombine will convert fdiv by a power-2 to fmul, this converts the
PerformVDIVCombine that converts fdiv+fcvt to fixed-point fcvt to fmul+fcvt.
The fdiv tests will look worse, but won't appear in practice (and should be
improved again by #93882).


  Commit: ce73e17e3ab5ccfa33a977843e82a9bbfb6b4ce3
      https://github.com/llvm/llvm-project/commit/ce73e17e3ab5ccfa33a977843e82a9bbfb6b4ce3
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
    A llvm/test/CodeGen/SPIRV/event-wait-ptr-type.ll

  Log Message:
  -----------
  [SPIR-V] Validate type of the last parameter of OpGroupWaitEvents (#93661)

This PR fixes invalid OpGroupWaitEvents emission to ensure that SPIR-V
Backend inserts a bitcast before OpGroupWaitEvents if the last argument
is a pointer that doesn't point to OpTypeEvent.


  Commit: 763b96c86d81d51d0db430791a61fd1e8a406bce
      https://github.com/llvm/llvm-project/commit/763b96c86d81d51d0db430791a61fd1e8a406bce
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M lldb/source/DataFormatters/FormatManager.cpp
    M lldb/source/DataFormatters/ValueObjectPrinter.cpp
    M lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py
    M lldb/test/API/functionalities/data-formatter/synthcapping/fooSynthProvider.py

  Log Message:
  -----------
  [lldb] Avoid (unlimited) GetNumChildren calls when printing values (#93946)

For some data formatters, even getting the number of children can be an
expensive operations (e.g., needing to walk a linked list to determine
the number of elements). This is then wasted work when we know we will
be printing only small number of them.

This patch replaces the calls to GetNumChildren (at least those on the
"frame var" path) with the calls to the capped version, passing the
value of `max-children-count` setting (plus one)


  Commit: 09c0607919c958c1a816acd58cc6c6585aec51a6
      https://github.com/llvm/llvm-project/commit/09c0607919c958c1a816acd58cc6c6585aec51a6
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M lldb/test/API/lang/c/non-mangled/TestCNonMangled.py

  Log Message:
  -----------
  [lldb][test] Skip D lang mangling test on Windows

While the fix is reviewed.


  Commit: 8918d35dbde126c95350b674a2bb102692d90260
      https://github.com/llvm/llvm-project/commit/8918d35dbde126c95350b674a2bb102692d90260
  Author: David Stone <davidfromonline at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    A clang/include/clang/Basic/ASTSourceDescriptor.h
    M clang/include/clang/Basic/Module.h
    M clang/lib/AST/ExternalASTSource.cpp
    A clang/lib/Basic/ASTSourceDescriptor.cpp
    M clang/lib/Basic/CMakeLists.txt
    M clang/lib/Basic/Module.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/Serialization/ASTReader.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.h

  Log Message:
  -----------
  [clang][Modules] Move `ASTSourceDescriptor` into its own file (#67930)


  Commit: 6a217307641972e27f9eee1adb80e649e10f229f
      https://github.com/llvm/llvm-project/commit/6a217307641972e27f9eee1adb80e649e10f229f
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Optimizer/Transforms/OMPFunctionFiltering.cpp

  Log Message:
  -----------
  [flang][OpenMP][NFC] Reduce FunctionFiltering pass boilerplate (#93951)

The pass constructor can be generated automatically.

This pass doesn't need to be adapted to support other top level
operations because it is specifically supposed to filter functions. We
don't need to filter non-function top level operations because without
use inside of functions they shouldn't lead to any codegen.


  Commit: 770b6c792472e1ff87e8598728d37c516861218e
      https://github.com/llvm/llvm-project/commit/770b6c792472e1ff87e8598728d37c516861218e
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M lldb/test/API/lang/c/non-mangled/TestCNonMangled.py

  Log Message:
  -----------
  [lldb][test] Add missing import in D lang mangling test


  Commit: 6abf361953e9c5d019a72fd83765498d269eb080
      https://github.com/llvm/llvm-project/commit/6abf361953e9c5d019a72fd83765498d269eb080
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M lldb/test/API/lang/c/non-mangled/TestCNonMangled.py

  Log Message:
  -----------
  [lldb][test] Fix D lang mangling test on Windows (#94196)

On Windows the function does not have a symbol associated with it:
Function: id = {0x000001c9}, name = "_Dfunction", range =
[0x0000000140001000-0x0000000140001004)
      LineEntry: <...>

Whereas it does on Linux:
Function: id = {0x00000023}, name = "_Dfunction", range =
[0x0000000000000734-0x0000000000000738)
      LineEntry: <...>
Symbol: id = {0x00000058}, range =
[0x0000000000000734-0x0000000000000738), name="_Dfunction"

This means that frame.symbol is not valid on Windows.

However, frame.function is valid and it also has a "mangled" attribute.

So I've updated the test to check the symbol if we've got it, and the
function always.

In both cases we check that mangled is empty (meaning it has not been
treated as mangled) and that the display name matches the original
symbol name.


  Commit: d00731cb7fcc91047531069e029964a39935a5bb
      https://github.com/llvm/llvm-project/commit/d00731cb7fcc91047531069e029964a39935a5bb
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M lldb/test/API/tools/lldb-dap/variables/children/TestDAP_variables_children.py

  Log Message:
  -----------
  [lldb] s/assertEquals/assertEqual in TestDAP_variables_children


  Commit: 6b7444964a8d028989beee554a1f5c61d16a1cac
      https://github.com/llvm/llvm-project/commit/6b7444964a8d028989beee554a1f5c61d16a1cac
  Author: AlexGhiti <AlexGhiti at users.noreply.github.com>
  Date:   2024-06-03 (Mon, 03 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/test/CodeGen/RISCV/atomic-cmpxchg-branch-on-result.ll
    M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
    M llvm/test/CodeGen/RISCV/atomic-rmw.ll
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/MC/RISCV/rvzabha-invalid.s
    M llvm/test/MC/RISCV/rvzabha-valid.s
    M llvm/test/MC/RISCV/rvzabha-zacas-valid.s
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Remove experimental from Zabha (#93831)

The Zabha extension was ratified in April 2024.

Co-authored-by: Alexandre Ghiti <alexghiti at rivosinc.com>


  Commit: 5bfc444524d74b714b9efb2dc00c7bc36a3838e2
      https://github.com/llvm/llvm-project/commit/5bfc444524d74b714b9efb2dc00c7bc36a3838e2
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
    M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
    A flang/test/Lower/OpenMP/debug_info_conflict.f90

  Log Message:
  -----------
  [flang] Emit `argNo` debug info only for `func` block args (#93921)

Fixes a bug uncovered by
[pr43337.f90](https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/gomp/pr43337.f90)
in the test suite.

In particular, this emits `argNo` debug info only if the parent op of a
block is a `func.func` op. This avoids DI conflicts when a function
contains a nested OpenMP region that itself has block arguments with DI
attached to them; for example, `omp.parallel` with delayed privatization
enabled.


  Commit: a5641f106affc3afb899eee42eb40c2ded81f411
      https://github.com/llvm/llvm-project/commit/a5641f106affc3afb899eee42eb40c2ded81f411
  Author: Nathan Gauër <brioche at google.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/CMakeLists.txt
    M llvm/lib/Target/SPIRV/SPIRV.h
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
    A llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
    M llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
    A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-break.ll
    A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-convergence-in-break.ll
    A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-multiple-break.ll
    A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-simple-white-identity.ll

  Log Message:
  -----------
  [SPIR-V] Add pass to merge convergence region exit targets (#92531)

The structurizer required regions to be SESE: single entry, single exit.
This new pass transforms multiple-exit regions into single-exit regions.

```
      +---+
      | A |
      +---+
      /   \
   +---+ +---+
   | B | | C |  A, B & C belongs to the same convergence region.
   +---+ +---+
     |     |
   +---+ +---+
   | D | | E |  C & D belongs to the parent convergence region.
   +---+ +---+  This means B & C are the exit blocks of the region.
      \   /     And D & E the targets of those exits.
       \ /
        |
      +---+
      | F |
      +---+
```

This pass would assign one value per exit target:
B = 0
C = 1

Then, create one variable per exit block (B, C), and assign it to the
correct value: in B, the variable will have the value 0, and in C, the
value 1.

Then, we'd create a new block H, with a PHI node to gather those 2
variables, and a switch, to route to the correct target.

Finally, the branches in B and C are updated to exit to this new block.

```
      +---+
      | A |
      +---+
      /   \
   +---+ +---+
   | B | | C |
   +---+ +---+
      \   /
      +---+
      | H |
      +---+
      /   \
   +---+ +---+
   | D | | E |
   +---+ +---+
      \   /
       \ /
        |
      +---+
      | F |
      +---+
```

Note: the variable is set depending on the condition used to branch. If
B's terminator was conditional, the variable would be set using a
SELECT.
All internal edges of a region are left intact, only exiting edges are
updated.

---------

Signed-off-by: Nathan Gauër <brioche at google.com>


  Commit: e28b07019b47d3ca820ee9305b4b673f61febfec
      https://github.com/llvm/llvm-project/commit/e28b07019b47d3ca820ee9305b4b673f61febfec
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

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

  Log Message:
  -----------
  [gn build] Port 8918d35dbde1


  Commit: 4f2dba3c0b4e5f11b968a840b5f70070f5288cfe
      https://github.com/llvm/llvm-project/commit/4f2dba3c0b4e5f11b968a840b5f70070f5288cfe
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/test/CXX/drs/cwg28xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang] Add tests for some CWG issues from 2024-05-31 telecon (#94167)

This patch adds tests for some CWG issues that were discussed at
2024-05-31 telecon. While all of them are tentatively ready at the
moment, I'm expecting them to be moved to DRs without changes. CWG
issues that are expected to have follow-ups are not included in this PR.

I also realized that `cwg28xx.cpp` has been testing without
`-pedantic-errors`. I fixed that. Fortunately, no existing tests had
anything hidden by the lack of this flag.

The following CWG issues are covered:
[CWG2877](https://cplusplus.github.io/CWG/issues/2877.html) "Type-only
lookup for _using-enum-declarator_"
[CWG2882](https://cplusplus.github.io/CWG/issues/2882.html) "Unclear
treatment of conversion to `void`"
[CWG2883](https://cplusplus.github.io/CWG/issues/2883.html) "Definition
of "odr-usable" ignores lambda scopes"
[CWG2885](https://cplusplus.github.io/CWG/issues/2885.html)
"Non-eligible trivial default constructors"
[CWG2886](https://cplusplus.github.io/CWG/issues/2886.html) "Temporaries
and trivial potentially-throwing special member functions"


  Commit: bf4eaec44054fa3908d50898f572e15d89119c67
      https://github.com/llvm/llvm-project/commit/bf4eaec44054fa3908d50898f572e15d89119c67
  Author: Marc Auberer <marc.auberer at chillibits.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ADT/FunctionExtras.h
    M llvm/lib/Support/PrettyStackTrace.cpp

  Log Message:
  -----------
  [llvm] Replace deprecated aligned_storage with aligned byte array (#94169)

`std::aligned_storage` is deprecated with C++23, see
[here](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1413r3.pdf).

This replaces the usages of `std::aligned_storage` within llvm (only one
in ADT and one in Support) with an aligned `std::byte` array.
I will provide patches for other subcomponents as well.


  Commit: 910098e40572f9fe6bfde161eafd1b390a356043
      https://github.com/llvm/llvm-project/commit/910098e40572f9fe6bfde161eafd1b390a356043
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll

  Log Message:
  -----------
  [RISCV] Match strided vector bases in RISCVGatherScatterLowering (#93972)

Currently we only match GEPs with a scalar base pointer, but a common
pattern that's emitted from the loop vectorizer is a strided vector base
plus some sort of scalar offset:

    %base = getelementptr i64, ptr %p, <vscale x 1 x i64> %step
    %gep = getelementptr i64, <vscale x 1 x ptr> %base, i64 %offset

This is common for accesses into a struct e.g. f[i].b below:

    struct F { int a; char b; };

    void foo(struct F *f) {
      for (int i = 0; i < 1024; i += 2) {
        f[i].a++;
        f[i].b++;
      }
    }

This patch handles this case in RISCVGatherScatterLowering by recursing
on the base pointer if it's a vector.

With this we can convert roughly 80% of the indexed loads and stores
emitted to strided loads and stores on SPEC CPU 2017, -O3
-march=rva22u64_v


  Commit: 6b30180b663e1fe4de32046398581a374c8a54f2
      https://github.com/llvm/llvm-project/commit/6b30180b663e1fe4de32046398581a374c8a54f2
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/AST/DeclID.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/include/clang/Serialization/ModuleManager.h
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ModuleFile.cpp
    R clang/test/Modules/no-transitive-decls-change.cppm

  Log Message:
  -----------
  Revert "[serialization] no transitive decl change (#92083)"

This reverts commit ccb73e882b2d727877cfda42a14a6979cfd31f04.

It looks like there are some bots complaining about the patch.
See the post commit comment in
https://github.com/llvm/llvm-project/pull/92083 to track it.


  Commit: 22a7f7c3314328dd1ac20042158f4b68a4ac5c1f
      https://github.com/llvm/llvm-project/commit/22a7f7c3314328dd1ac20042158f4b68a4ac5c1f
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/test/tools/llvm-symbolizer/get-input-file.test
    M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp

  Log Message:
  -----------
  [symbolizer] Empty string is not an error (#92660)

After commit 1792852f86dc7 ([symbolizer] Change reaction on invalid
input) llvm-symbolizer issues an error on malformed command instead of
echoing it to the standard output, as in previous versions. It turns out
this behavior broke a use case when echoing was used to check if
llvm-symbolizer is working (https://github.com/llvm/llvm-project/commit/1792852f86dc75efa1f44d46b1a0daf386d64afa#commitcomment-142161925).

With this change an empty line as input is not considered as an error
anymore and does not produce any output on stderr. llvm-symbolizer still
respond on empty line with line not found, this is consistent with GNU
addr2line.

---------

Co-authored-by: James Henderson <46713263+jh7370 at users.noreply.github.com>


  Commit: 12fcca0afeb08fbe41d79c5387cfacb249992bb4
      https://github.com/llvm/llvm-project/commit/12fcca0afeb08fbe41d79c5387cfacb249992bb4
  Author: Corentin Ferry <corentin.ferry at amd.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
    M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir

  Log Message:
  -----------
  [mlir][emitc] Lower arith.andi, arith.ori, arith.xori to EmitC

This commit lowers bitwise arith ops to EmitC and also brings in `adaptValueType` and `adaptIntegralTypeSignedness` that other ArithToEmitC functions can benefit from.


  Commit: 9a7bd8a60f03595be5d42315790df6d409f81091
      https://github.com/llvm/llvm-project/commit/9a7bd8a60f03595be5d42315790df6d409f81091
  Author: Takuto Ikuta <tikuta at google.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/lib/Tooling/JSONCompilationDatabase.cpp
    M clang/unittests/Tooling/CompilationDatabaseTest.cpp

  Log Message:
  -----------
  remove goma support from clang (#93942)

goma is deprecated and not maintained anymore.

https://chromium.googlesource.com/infra/goma/client/


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

  Changed paths:
    M llvm/utils/TableGen/Basic/CodeGenIntrinsics.cpp
    M llvm/utils/TableGen/Basic/CodeGenIntrinsics.h

  Log Message:
  -----------
  [TableGen] CodeGenIntrinsic - pass DefaultProperties as ArrayRef instead of std::vector by value.

Avoid std::vector copies as setDefaultProperties just iterates across the Records

Fixes #89207


  Commit: 6ef785c9517e8e44ddda8263e5f319b44f56cff8
      https://github.com/llvm/llvm-project/commit/6ef785c9517e8e44ddda8263e5f319b44f56cff8
  Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/docs/analyzer/checkers.rst
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/test/Analysis/analyzer-enabled-checkers.c
    M clang/test/Analysis/block-in-critical-section.c
    M clang/test/Analysis/block-in-critical-section.cpp
    M clang/test/Analysis/block-in-critical-section.m
    M clang/test/Analysis/std-c-library-functions-arg-enabled-checkers.c
    M clang/www/analyzer/alpha_checks.html

  Log Message:
  -----------
  [clang][analyzer] Move unix.BlockInCriticalSection out of alpha (#93815)

After recent improvements (#80029) and testing on open-source projects,
the checker is ready to move out of the alpha package.


  Commit: 4812e9a487735c8e2d86070f335b3364f9847711
      https://github.com/llvm/llvm-project/commit/4812e9a487735c8e2d86070f335b3364f9847711
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/backedge-taken-count-guard-info.ll
    M llvm/test/Transforms/IndVarSimplify/trip-count-expansion-loop-guard-preserve-nsw.ll

  Log Message:
  -----------
  [SCEV] Preserve flags in SCEVLoopGuardRewriter for add and mul. (#91472)

SCEVLoopGuardRewriter only replaces operands with equivalent values, so
we should be able to transfer the flags from the original expression.

PR: https://github.com/llvm/llvm-project/pull/91472


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

  Changed paths:
    M llvm/include/llvm/IR/PatternMatch.h
    M llvm/test/Transforms/InstCombine/icmp-of-trunc-ext.ll

  Log Message:
  -----------
  [PatternMatch] Do not match constant expression trunc

Similar to the change previously made for binops, make m_Trunc()
only match instructions, not constant expressions. This is more
likely to cause a crash than do something useful.

Fixes crash reported at:
https://github.com/llvm/llvm-project/pull/92885#issuecomment-2145034670


  Commit: a58dd0e948040b75266b2ee02292a16ed7b2afd5
      https://github.com/llvm/llvm-project/commit/a58dd0e948040b75266b2ee02292a16ed7b2afd5
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/test/CXX/drs/cwg24xx.cpp
    M clang/test/CXX/drs/cwg2630.cpp
    M clang/test/CXX/drs/cwg26xx.cpp
    M clang/test/CXX/drs/cwg27xx.cpp

  Log Message:
  -----------
  [clang] Make sure all C++ DR tests are running with `-pedantic-errors` (#94203)

In #94167 I found out that `cwg28xx.cpp` has been running without
`-pedantic-errors` and fixed that. This patch fixes that for the rest of
the test suite. Only one test was affected with a trivial fix (warning
was escalated to an error).

I'm intentionally leaving out test for CWG2390, because it requires
major surgery. It's addressed in #94206.


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

  Changed paths:
    M llvm/test/CodeGen/AArch64/windows-extern-weak.ll

  Log Message:
  -----------
  [AArch64] Generate test checks (NFC)

Also mark the test as nounwind. The unwinding information does
not appear to be pertinent to the original intent of the test.


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

  Changed paths:
    R llvm/test/Assembler/2007-04-25-AssemblerFoldExternWeak.ll
    M llvm/test/Transforms/InstSimplify/compare.ll

  Log Message:
  -----------
  [Tests] Move test from Assembler to InstSimplify (NFC)

Make sure this test is preserved when icmp constant expressions
are removed.


  Commit: 955c2237629ae252bed44177f0b65a8805051add
      https://github.com/llvm/llvm-project/commit/955c2237629ae252bed44177f0b65a8805051add
  Author: Christian Kandeler <christian.kandeler at qt.io>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
    M clang-tools-extra/clangd/unittests/tweaks/DefineOutlineTests.cpp

  Log Message:
  -----------
  [clangd] Allow "move function body out-of-line" in non-header files (#69704)

Moving the body of member functions out-of-line makes sense for classes
defined in implementation files too.


  Commit: 5ff993a1a3fad8d3db149b5612b201b9ff31bfd8
      https://github.com/llvm/llvm-project/commit/5ff993a1a3fad8d3db149b5612b201b9ff31bfd8
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
    M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
    A llvm/test/CodeGen/SPIRV/transcoding/OpBitReverse_i2.ll

  Log Message:
  -----------
  [SPIR-V] Fix legalize info for G_BITREVERSE (#93699)

This PR fixes legalize info for G_BITREVERSE.


  Commit: 2f1229e40ecc200f76da1864cd0861a4c51bf917
      https://github.com/llvm/llvm-project/commit/2f1229e40ecc200f76da1864cd0861a4c51bf917
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/test/Assembler/ConstantExprNoFold.ll
    M llvm/test/Transforms/InstSimplify/compare.ll

  Log Message:
  -----------
  [Tests] Move some tests from Assembler to InstSimplify (NFC)

To make sure these are preserved when icmp constant expressions
are removed.


  Commit: 0f669154e114357d0af5eccd09f8e031c07a8a3e
      https://github.com/llvm/llvm-project/commit/0f669154e114357d0af5eccd09f8e031c07a8a3e
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalMerge.h
    M llvm/lib/CodeGen/GlobalMerge.cpp
    A llvm/test/CodeGen/RISCV/global-merge-minsize-smalldata-nonzero.ll
    A llvm/test/CodeGen/RISCV/global-merge-minsize-smalldata-zero.ll
    A llvm/test/CodeGen/RISCV/global-merge-minsize.ll

  Log Message:
  -----------
  [GlobalMerge] Add MinSize feature to the GlobalMerge Pass. (#93686)

We add a feature that prevents the GlobalMerge pass from considering
data smaller than a minimum size in bytes for merging.

The MinSize is set in 3 ways:
1. If global-merge-min-data-size is explicitly set, then it uses that
value.
2. If SmallDataLimit is set and non-zero, then SmallDataLimit + 1 is
used.
3. Otherwise, 0 is used, which means all sizes are considered for
merging.

We found that this feature allowed us to see the benefit of the
GlobalMerge pass while eliminating some merging that was not beneficial.
This feature allowed us to enable the GlobalMerge pass on RISC-V in our
downstream by default because it led to improvements on multiple
benchmark suites.

I plan to post a separate patch to propose enabling this by default on
RISC-V. But I do not want that discussion to be part of the discussion
of adding this feature, so I am keeping the patches separate.


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

  Changed paths:
    M llvm/test/Transforms/Attributor/cb_liveness_disabled.ll
    M llvm/test/Transforms/Attributor/cb_liveness_enabled.ll

  Log Message:
  -----------
  [Attributor] Remove unused metadata checks from liveness tests

Noticed while triaging the failures on #93673 - the attributor pass doesn't emit any range metadata in these tests


  Commit: 27fe52622618a7cac3bf3444349a0c40c9e8328f
      https://github.com/llvm/llvm-project/commit/27fe52622618a7cac3bf3444349a0c40c9e8328f
  Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Parse/ParseExprCXX.cpp
    A clang/test/SemaCXX/incomplete-array-extent.cpp

  Log Message:
  -----------
  [Clang] Fix crash on improper use of `__array_extent` (#94173)

Check whether parsing of the argument failed before attempting
to build the expression. 

Fixes #80474.


  Commit: 12949c952c4fbad776a860c003ccf176973278a0
      https://github.com/llvm/llvm-project/commit/12949c952c4fbad776a860c003ccf176973278a0
  Author: Paul T Robinson <paul.robinson at sony.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/test/Driver/aarch64-outliner.c
    M clang/test/Driver/amdgcn-gz-options.cl
    M clang/test/Driver/amdgpu-hip-system-arch.c
    M clang/test/Driver/amdgpu-invalid-target-id.s
    M clang/test/Driver/amdgpu-macros.cl
    M clang/test/Driver/amdgpu-openmp-system-arch-fail.c
    M clang/test/Driver/amdgpu-openmp-toolchain.c
    M clang/test/Driver/arm-float-abi-runtime-path.c
    M clang/test/Driver/arm-float-abi.c
    M clang/test/Driver/arm-machine-outliner.c
    M clang/test/Driver/cl-options.cu
    M clang/test/Driver/clang-offload-bundler-zlib.c
    M clang/test/Driver/clang-offload-bundler-zstd.c
    M clang/test/Driver/compress-noias.c
    M clang/test/Driver/cuda-arch-translation.cu
    M clang/test/Driver/cuda-bad-arch.cu
    M clang/test/Driver/cuda-bail-out.cu
    M clang/test/Driver/cuda-bindings.cu
    M clang/test/Driver/cuda-constructor-alias.cu
    M clang/test/Driver/cuda-cross-compiling.c
    M clang/test/Driver/cuda-detect-path.cu
    M clang/test/Driver/cuda-detect.cu
    M clang/test/Driver/cuda-external-tools.cu
    M clang/test/Driver/cuda-macosx.cu
    M clang/test/Driver/cuda-march.cu
    M clang/test/Driver/cuda-omp-unsupported-debug-options.cu
    M clang/test/Driver/cuda-openmp-driver.cu
    M clang/test/Driver/cuda-options.cu
    M clang/test/Driver/cuda-output-asm.cu
    M clang/test/Driver/cuda-phases.cu
    M clang/test/Driver/cuda-ptxas-path.cu
    M clang/test/Driver/cuda-version-check.cu
    M clang/test/Driver/cuda-windows.cu
    M clang/test/Driver/driverkit-arm64.c
    M clang/test/Driver/driverkit-arm64e.c
    M clang/test/Driver/driverkit-cplusplus.cpp
    M clang/test/Driver/driverkit-exceptions.cpp
    M clang/test/Driver/driverkit-path.c
    M clang/test/Driver/driverkit-rtti.cpp
    M clang/test/Driver/driverkit-target-cpu.c
    M clang/test/Driver/dwarf-target-version-clamp.cu
    M clang/test/Driver/elfiamcu-header-search.c
    M clang/test/Driver/global-isel.c
    M clang/test/Driver/gpu-libc-headers.c
    M clang/test/Driver/hexagon-toolchain-elf.c
    M clang/test/Driver/hip-autolink.hip
    M clang/test/Driver/hip-binding.hip
    M clang/test/Driver/hip-code-object-version.hip
    M clang/test/Driver/hip-cuid-hash.hip
    M clang/test/Driver/hip-cuid.hip
    M clang/test/Driver/hip-default-gpu-arch.hip
    M clang/test/Driver/hip-device-compile.hip
    M clang/test/Driver/hip-device-libs.hip
    M clang/test/Driver/hip-fpie-option.hip
    M clang/test/Driver/hip-gsplit-dwarf-options.hip
    M clang/test/Driver/hip-gz-options.hip
    M clang/test/Driver/hip-host-cpu-features.hip
    M clang/test/Driver/hip-include-path.hip
    M clang/test/Driver/hip-inputs.hip
    M clang/test/Driver/hip-invalid-target-id.hip
    M clang/test/Driver/hip-launch-api.hip
    M clang/test/Driver/hip-link-bc-to-bc.hip
    M clang/test/Driver/hip-link-bundle-archive.hip
    M clang/test/Driver/hip-link-save-temps.hip
    M clang/test/Driver/hip-link-static-library.hip
    M clang/test/Driver/hip-no-device-libs.hip
    M clang/test/Driver/hip-offload-arch.hip
    M clang/test/Driver/hip-offload-compress-zlib.hip
    M clang/test/Driver/hip-offload-compress-zstd.hip
    M clang/test/Driver/hip-options.hip
    M clang/test/Driver/hip-output-file-name.hip
    M clang/test/Driver/hip-phases.hip
    M clang/test/Driver/hip-printf.hip
    M clang/test/Driver/hip-rdc-device-only.hip
    M clang/test/Driver/hip-sanitize-options.hip
    M clang/test/Driver/hip-save-temps.hip
    M clang/test/Driver/hip-std.hip
    M clang/test/Driver/hip-syntax-only.hip
    M clang/test/Driver/hip-target-id.hip
    M clang/test/Driver/hip-toolchain-device-only.hip
    M clang/test/Driver/hip-toolchain-dwarf.hip
    M clang/test/Driver/hip-toolchain-features.hip
    M clang/test/Driver/hip-toolchain-mllvm.hip
    M clang/test/Driver/hip-toolchain-no-rdc.hip
    M clang/test/Driver/hip-toolchain-opt.hip
    M clang/test/Driver/hip-toolchain-rdc-separate.hip
    M clang/test/Driver/hip-toolchain-rdc-static-lib.hip
    M clang/test/Driver/hip-toolchain-rdc.hip
    M clang/test/Driver/hip-unbundle-preproc.hipi
    M clang/test/Driver/hip-wavefront-size.hip
    M clang/test/Driver/hip-windows-filename.hip
    M clang/test/Driver/hipspv-device-libs.hip
    M clang/test/Driver/hipspv-pass-plugin.hip
    M clang/test/Driver/hipspv-toolchain-rdc.hip
    M clang/test/Driver/hipspv-toolchain.hip
    M clang/test/Driver/indirect-tls-seg-refs.c
    M clang/test/Driver/invalid-offload-options.cpp
    M clang/test/Driver/invalid-target-id.cl
    M clang/test/Driver/lto.cu
    M clang/test/Driver/m68k-features.cpp
    M clang/test/Driver/mbackchain.c
    M clang/test/Driver/mips-abi.c
    M clang/test/Driver/mips-abicalls-warning.c
    M clang/test/Driver/mips-cs.cpp
    M clang/test/Driver/mips-fsf.cpp
    M clang/test/Driver/mips-gpopt-warning.c
    M clang/test/Driver/mips-img-v2.cpp
    M clang/test/Driver/mips-img.cpp
    M clang/test/Driver/mips-indirect-branch.c
    M clang/test/Driver/mips-mti-linux.c
    M clang/test/Driver/msan.c
    M clang/test/Driver/nvptx-cuda-system-arch.c
    M clang/test/Driver/openmp-offload-headers.c
    M clang/test/Driver/openmp-offload-infer.c
    M clang/test/Driver/openmp-offload-jit.c
    M clang/test/Driver/openmp-offload.c
    M clang/test/Driver/openmp-system-arch.c
    M clang/test/Driver/ppc-dependent-options.cpp
    M clang/test/Driver/ppc-float-abi-warning.cpp
    M clang/test/Driver/ppc-unsupported.c
    M clang/test/Driver/riscv32-toolchain-extra.c
    M clang/test/Driver/riscv64-toolchain-extra.c
    M clang/test/Driver/rocm-detect.cl
    M clang/test/Driver/rocm-detect.hip
    M clang/test/Driver/rocm-device-libs.cl
    M clang/test/Driver/save-temps.c
    M clang/test/Driver/sysroot.c
    M clang/test/Driver/target-id-macros.cl
    M clang/test/Driver/target-id.cl
    M clang/test/Driver/thinlto.cu
    M clang/test/Driver/tsan.c
    M clang/test/Driver/ve-toolchain.c
    M clang/test/Driver/ve-toolchain.cpp

  Log Message:
  -----------
  [Driver] Remove a bunch of unnecessary REQUIRES constraints (#94055)

Removed foo-registered-target constraints from a bunch of tests, because
mostly the driver doesn't need to have a target availabile. I ran
check-clang-driver using a build with only the XCore target, and these
all passed.

There are ~50 tests that still have foo-registered-target, and it looks
like most of them are either doing codegen when they don't need to, or
don't really belong in the Driver tests. But that's a task for another
day.


  Commit: 22b63b97ffd4e2d71c1ec2f8b4757b32587526c9
      https://github.com/llvm/llvm-project/commit/22b63b97ffd4e2d71c1ec2f8b4757b32587526c9
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/test/Transforms/Reassociate/reassoc_bool_vec.ll
    M llvm/test/Transforms/Reassociate/repeats.ll

  Log Message:
  -----------
  Revert "[Reassociate] Drop weight reduction to fix issue 91417 (#91469)" (#94210)

Reverts
https://github.com/llvm/llvm-project/commit/3bcccb6af685c3132a9ee578b9e11b2503c35a5c
and
https://github.com/llvm/llvm-project/commit/9a282724a29899e84adc91bdeaf639010408a80d
because #91469 causes a miscompilation
https://github.com/llvm/llvm-project/pull/91469#discussion_r1623925158.


  Commit: 875e91131847e3133d414c11c8ad721b52a287ee
      https://github.com/llvm/llvm-project/commit/875e91131847e3133d414c11c8ad721b52a287ee
  Author: Tomas Matheson <Tomas.Matheson at arm.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i64.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za64.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za64.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/aarch64-sme2-attrs.cpp
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_bmop.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtn.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fp_dots.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_frint.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_int_dots.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_max.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_maxnm.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_min.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_minnm.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mla.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlal.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlall.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mls.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlsl.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mop.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_read.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_reinterpret_svcount_svbool.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sqdmulh.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sub.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vdot.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_add.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_qrshr.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_rshl.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_write.c
    M clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_zero.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_revd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfadd.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmax.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmaxnm.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmin.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfminnm.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla_lane.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls_lane.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul_lane.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfsub.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create2_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dupq.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_extq.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fp_reduce.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get4_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_int_reduce.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1_single.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_loads.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_pred.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_vector.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qrshr.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1_single.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_store.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tblq.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tbxq.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_undef_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq2.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq2.c
    M clang/test/CodeGen/arm-vector_type-params-returns.c
    M clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
    M clang/test/Sema/aarch64-sme-func-attrs.c
    M clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
    M clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_imm.cpp
    M clang/test/Sema/aarch64-sme2p1-diagnostics.c
    M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
    M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_n.cpp
    M clang/test/Sema/aarch64-sve2p1-intrinsics/acle_sve2p1_imm.cpp

  Log Message:
  -----------
  [AArch64] Remove SME/SVE uses of FMVDependencies (#93695)

When FMV was added to AArch64, it added a dependency expansion step
after the -cc1 command line was parsed but before Sema, in
AArch64TargetInfo::initFeatureMap. One effect of this is that
-target-features specified on the -cc1 command line had some level
of incomplete and broken dependency expansion. Since then, many tests
have been added which depend on this behaviour.

The dependency expansion can be considered broken at this stage because
dependency expansion is already performed by the driver to generate the
-target-feature flags using an ExtensionSet. This class does
dependency evaluation and then generates a flattened representation of
the dependency graph in the form of -target-features, which are passed
to -cc1 in an arbitrary order (determined by the order of bits in the
bitset). Any dependency expansion done after -cc1 will be inherently
contradictory. It is impossible to accurately treat negative features
once the dependency graph has been flattened and the order randomised.

This patch fixes a large number of those tests, specifically ones where
only a dependent feature (e.g. -target-feature +sme2p1) was added to
the test -cc1 command, and not the necessary dependencies (e.g.
-target-feature +sme).

See PR #93695 further details.


  Commit: 8aa33f16e91d8f15037330620c1479555278dafe
      https://github.com/llvm/llvm-project/commit/8aa33f16e91d8f15037330620c1479555278dafe
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86LowerTileCopy.cpp
    M llvm/test/CodeGen/X86/AMX/amx-tile-basic.ll

  Log Message:
  -----------
  [X86][AMX] Check also AMX register live out for copy lowering (#93692)

Another bug fix for #83628.


  Commit: b301a98b33d75813d73838c1bd4c47024d044af6
      https://github.com/llvm/llvm-project/commit/b301a98b33d75813d73838c1bd4c47024d044af6
  Author: Angel Zhang <angel.zhang at amd.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M mlir/lib/Conversion/GPUToSPIRV/CMakeLists.txt
    M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
    A mlir/test/mlir-vulkan-runner/vector-interleave.mlir
    A mlir/test/mlir-vulkan-runner/vector-shuffle.mlir

  Log Message:
  -----------
  [mlir][spirv] Add integration tests for `vector.interleave` and `vector.shuffle` (#93858)

This PR tries to reland #93595 which was reverted in #93732 due to some
issues. The original PR:
- Add integration test for  `vector.shuffle` and `vector.interleave`
- Add `VectorToSPIRV` patterns to `GPUToSPIRVPass`

Description of the issue:
-
https://github.com/llvm/llvm-project/pull/93595#issuecomment-2138541700
- Using either `vector.load` or `vector.store` in the kernel function
will cause the validation layer to report an error
- Trying to bypass the issue by using `memref.load` and `memref.store`
to load/store individual elements from/to the vectors, and populate the
vectors using `vector.insertelement` and `vector.extractelement`
instead.


  Commit: 7bc7672925f8154be3b8220365d3f269ac43621c
      https://github.com/llvm/llvm-project/commit/7bc7672925f8154be3b8220365d3f269ac43621c
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M flang/include/flang/Evaluate/integer.h
    M flang/lib/Evaluate/fold-real.cpp
    M flang/runtime/reduction-templates.h

  Log Message:
  -----------
  [flang] Fix compilation errors due to new clang template requirements (#94204)

Since https://github.com/llvm/llvm-project/pull/80801 clang requires a
template argument list after the use of the template keyword.

https://lab.llvm.org/buildbot/#/builders/176/builds/10230

error: a template argument list is expected after a name prefixed by the
template keyword [-Wmissing-template-arg-list-after-template-kw]

This fixes the instances found by the AArch64 Linux builds.


  Commit: 0e62d5cf55479981da5e05e406bbca4afb3cdc4f
      https://github.com/llvm/llvm-project/commit/0e62d5cf55479981da5e05e406bbca4afb3cdc4f
  Author: Mike Crowe <mac at mcrowe.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseStdPrintCheck.cpp
    M clang-tools-extra/clang-tidy/utils/FormatStringConverter.cpp
    M clang-tools-extra/clang-tidy/utils/Matchers.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-custom.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-print-custom.cpp

  Log Message:
  -----------
  [clang-tidy] Fix assert in modernize-use-std-format/print (#94104)

Ensure that FormatStringConverter's constructor fails with a sensible
error message rather than asserting if the format string is not a narrow
string literal.

Also, ensure that we don't even get that far in modernize-use-std-print
and modernize-use-std-format by checking that the format string
parameter is a char pointer.

Fixes #92896


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

  Changed paths:
    M llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll

  Log Message:
  -----------
  [SimplifyCFG] branch-fold-threshold.ll - fix broken CHECKs

Fix typos in AGGRESIVE-->AGGRESSIVE + WAYAGGRESIVE->WAYAGGRESSIVE

This also exposed an issue that the WAYAGGRESSIVE run removed a block entirely, so the LABEL check was silently failing.

Noticed while triaging the failures on #93673


  Commit: 16c925ab5fd3d677792ce6575f81774c64b87cec
      https://github.com/llvm/llvm-project/commit/16c925ab5fd3d677792ce6575f81774c64b87cec
  Author: Xuan Zhang <144393379+xuanzh-meta at users.noreply.github.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineOutliner.cpp
    M llvm/test/CodeGen/AArch64/machine-outliner-overlap.mir

  Log Message:
  -----------
  [MachineOutliner] Efficient Implementation of MachineOutliner::findCandidates() (#90260)

This reduce the time complexity of the main loop of `findCandidates()`
method from $O(n^2)$ to $O(n \log n)$.

For small $n$, the modification does not regress the build time, but it
helps significantly when $n$ is large.

For one application, this reduces the runtime of the main loop from 120
seconds to 28 seconds.

This is the first commit for an enhanced version of machine outliner --
see
[RFC](https://discourse.llvm.org/t/rfc-enhanced-machine-outliner-part-1-fulllto-part-2-thinlto-nolto-to-come/78732).


  Commit: 83de21deb3de6a3b74ede098fefa469cec6bc29e
      https://github.com/llvm/llvm-project/commit/83de21deb3de6a3b74ede098fefa469cec6bc29e
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

  Log Message:
  -----------
  Revert "[RISCV] Store only VNInfo val no in VSETVLIInfo. NFC"

As noted in
https://github.com/llvm/llvm-project/pull/93796#issuecomment-2142752336,
a better way to teach RISCVInsertVSETVLI to work without LiveIntervals
is to set VNInfo to nullptr and teach the various methods to handle it.
We should try that approach first, so we no longer need this pre-commit
patch.

This reverts commit 4b4d36654d8056546b177b3d04c352ba0b16d7ea.


  Commit: 987e1b2ae3348a86b3f625119184a0f431c33bc7
      https://github.com/llvm/llvm-project/commit/987e1b2ae3348a86b3f625119184a0f431c33bc7
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/lib/Headers/cuda_wrappers/algorithm
    A clang/test/Headers/cuda_wrapper_algorithm.cu

  Log Message:
  -----------
  [CUDA][HIP] Fix std::min in wrapper header (#93976)

The std::min behaves like 'a<b?a:b', which does not match
libstdc++/libc++ behavior like 'b<a?b:a' when input is NaN.

Make it consistent with libstdc++/libc++.

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

Fixes: https://github.com/ROCm/HIP/issues/3502


  Commit: b41dbe6092fc6f9bdd4cad5c65644593398ae3ab
      https://github.com/llvm/llvm-project/commit/b41dbe6092fc6f9bdd4cad5c65644593398ae3ab
  Author: zhijian lin <zhijian at ca.ibm.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrP10.td

  Log Message:
  -----------
  [NFC] reorganize the PPCInstrP10.td based on the Predicates (#93835)

reorganize the PPCInstrP10.td based on comment
https://github.com/llvm/llvm-project/pull/92543#discussion_r1610908205
 
The instructions or patterns defined by same predicates are currently
placed at several different locations , They will be reorganized into
same group based on these predicates in the patch.


  Commit: 3315f0a2227b960265b9ed699e1ad33cdc5d3b65
      https://github.com/llvm/llvm-project/commit/3315f0a2227b960265b9ed699e1ad33cdc5d3b65
  Author: Ilya Biryukov <ibiryukov at google.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/include/clang/Serialization/ASTReader.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp

  Log Message:
  -----------
  [Serialization] Check for stack exhaustion when reading declarations (#79875)

Particular example that lead to this is a very long chain of
`UsingShadowDecl`s that we hit in our codebase in generated code.

To avoid that, check for stack exhaustion when deserializing the
declaration. At that point, we can point to source location of a
particular declaration that is being deserialized.


  Commit: 4023f4e70dc3cb23871cddc9c047874e4c477a51
      https://github.com/llvm/llvm-project/commit/4023f4e70dc3cb23871cddc9c047874e4c477a51
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Remove mention of argmemonly (NFC)

Replace argmemonly readonly with memory(argmem: read).


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

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp

  Log Message:
  -----------
  [ARM] Avoid reference into modified vector (#93965)

FirstCand is a reference to RepeatedSequenceLocs[0]. However, that
vector is being modified a lot throughout the function, including one
place that reassigns the whole vector. I'm not sure whether this can
really happen in practice, but it doesn't seem unlikely that this could
lead to a use-after-free.

Avoid this by directly using RepeatedSequenceLocs[0] at the start of the
function (as a lot of other places already do) and only creating
FirstCand at the end where no more modifications take place.


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

  Changed paths:
    M llvm/test/tools/llvm-reduce/mir/reduce-register-defs.mir

  Log Message:
  -----------
  [llvm-reduce] reduce-register-defs.mir - fix check prefix typo and incomplete codegen line

Noticed while triaging the failures on #93673


  Commit: 539dbfcfcf5705cf100999ad2483318192418e21
      https://github.com/llvm/llvm-project/commit/539dbfcfcf5705cf100999ad2483318192418e21
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/Support.h
    M flang/lib/Optimizer/Builder/Runtime/Support.cpp
    M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
    A flang/test/Fir/is_assumed_size-codegen.fir

  Log Message:
  -----------
  [flang][fir] add fir.is_assumed_size codegen (#93953)

Lower to IsAssumedSize runtime call in `--fir-assumed-rank-op` pass.


  Commit: b448efb8eafef7df2c8d467bbb9cd0fc1e2ea7d5
      https://github.com/llvm/llvm-project/commit/b448efb8eafef7df2c8d467bbb9cd0fc1e2ea7d5
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M offload/DeviceRTL/include/Utils.h
    M offload/DeviceRTL/src/Mapping.cpp
    M offload/DeviceRTL/src/Utils.cpp
    A offload/test/offloading/ompx_bare_shfl_down_sync.cpp
    M openmp/runtime/src/include/ompx.h.var

  Log Message:
  -----------
  Reapply "[OpenMP][OMPX] Add shfl_down_sync (#93311)" (#94139)


  Commit: 4cd115ca34231f1892b75b0fe12776b964a55ba2
      https://github.com/llvm/llvm-project/commit/4cd115ca34231f1892b75b0fe12776b964a55ba2
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M offload/test/offloading/ompx_bare_ballot_sync.c

  Log Message:
  -----------
  [OpenMP][OMPX] Fix ompx_ballot_sync test (#94140)

The current test is not really correct because the mask is set to
0xffffffff
even if it is on an AMDGPU whose wavefront size is 64. Besides,
`__AMDGCN_WAVEFRONT_SIZE` is not set on host compilation so the
verification
happens to work.


  Commit: d1aa9bac3c8ecc30fcc5d4d80a1f70c729aec909
      https://github.com/llvm/llvm-project/commit/d1aa9bac3c8ecc30fcc5d4d80a1f70c729aec909
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M flang/include/flang/Lower/ConvertExprToHLFIR.h
    M flang/lib/Evaluate/check-expression.cpp
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Optimizer/Builder/HLFIRTools.cpp
    A flang/test/Lower/HLFIR/select-rank.f90

  Log Message:
  -----------
  [flang] lower select rank (#93967)

Lower select rank according to [assumed-rank lowering design
doc](https://github.com/llvm/llvm-project/blob/main/flang/docs/AssumedRank.md).

The construct is lowered using fir.box_rank and fir.select_case
operation and, for the non pointer/allocatable case, a
fir.is_assumed_size + conditional branch before the select_case to deal
with the assumed-size case.

The way the CFG logic is generated, apart from the extra conditional
branch for assumed-size, is similar to what is done for SELECT CASE
lowering, hence the sharing of the construct level visitor. 
For the CFG parts. The main difference is that we need to keep track of
the selector to cook it and map it inside the cases (hence the new
members of the ConstructContext).

The only TODOs left are to deal with the RANK(*) case for polymorphic
entities and PDTs. I will do the polymorphic case in a distinct patch,
this patch has enough content.

Fortran::evaluate::IsSimplyContiguous change  is needed to avoid generating
copy-in/copy-out runtime calls when passing the RANK(*) associating
entity to some implicit interface.


  Commit: 9862080b1cbf685c0d462b29596e3f7206d24aa2
      https://github.com/llvm/llvm-project/commit/9862080b1cbf685c0d462b29596e3f7206d24aa2
  Author: Nishith Kumar M Shah <nishithshah2211 at users.noreply.github.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/include/clang/Lex/DependencyDirectivesScanner.h
    M clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
    M clang/lib/Frontend/FrontendActions.cpp
    M clang/lib/Lex/DependencyDirectivesScanner.cpp
    M clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
    M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
    M clang/unittests/Lex/DependencyDirectivesScannerTest.cpp
    M clang/unittests/Lex/PPDependencyDirectivesTest.cpp

  Log Message:
  -----------
  Pass LangOpts from CompilerInstance to DependencyScanningWorker (#93753)

This commit fixes https://github.com/llvm/llvm-project/issues/88896 by
passing LangOpts from the CompilerInstance to
DependencyScanningWorker so that the original LangOpts are
preserved/respected.
This makes for more accurate parsing/lexing when certain language
versions or features specific to versions are to be used.


  Commit: ac4cca3cb1186aa1e3e6a94c70cc3d34a91a67c3
      https://github.com/llvm/llvm-project/commit/ac4cca3cb1186aa1e3e6a94c70cc3d34a91a67c3
  Author: A. Jiang <de34 at live.cn>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M libcxx/include/locale
    M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_double.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_float.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp

  Log Message:
  -----------
  [libc++] Fix regression about parsing leading decimal points (#93989)

PR #77948 mistakenly rejected floating-point representation with a
leading decimal point, e.g. ".5".

This PR fixes the regression mentioned in
https://github.com/llvm/llvm-project/pull/77948#issuecomment-2141740346.


  Commit: 6b7b05b55926f1fecae34312a89c4271def7aa3a
      https://github.com/llvm/llvm-project/commit/6b7b05b55926f1fecae34312a89c4271def7aa3a
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/builders/builder.py
    M lldb/packages/Python/lldbsuite/test/configuration.py
    M lldb/packages/Python/lldbsuite/test/dotest.py
    M lldb/packages/Python/lldbsuite/test/dotest_args.py

  Log Message:
  -----------
  [lldb][test] Add --make argument to dotest.py (#93883)

This argument allows to specify the path to make which is used by
LLDB API tests to compile test programs.
It might come in handy for setting up cross-platform remote runs of API tests on Windows host.

It can be used to override the make path of LLDB API tests using `LLDB_TEST_USER_ARGS` argument:
```
cmake ...
-DLLDB_TEST_USER_ARGS="...;--make;C:\\Path\\to\\make.exe;..."
...
```


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

  Changed paths:
    M lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py

  Log Message:
  -----------
  [lldb][test][NFC] TestBreakpointSetRestart.py: split up assertion to determine which check specifically fails in CI

This test consistently fails on the public macOS ASAN CI (and isn't
reproducible locally):
```
FAIL: test_breakpoint_set_restart_dwarf
(TestBreakpointSetRestart.BreakpointSetRestart)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1756, in test_method
    return attrvalue(self)
  File
"/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py",
line 150, in wrapper
    return func(*args, **kwargs)
  File
"/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py",
line 36, in test_breakpoint_set_restart
    self.assertTrue(bp.IsValid() and bp.GetNumLocations() == 1,
VALID_BREAKPOINT)
AssertionError: False is not true : Got a valid breakpoint
```

>From this error we're not quite sure what about the breakpoint here is
the problem.

This patch splits up the assertion to narrow down the issue.


  Commit: af9a247990b10e2be4f3d691c1a967b46acdf7f8
      https://github.com/llvm/llvm-project/commit/af9a247990b10e2be4f3d691c1a967b46acdf7f8
  Author: Paul T Robinson <paul.robinson at sony.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/test/Driver/sysroot.c

  Log Message:
  -----------
  [Driver] Mark a test UNSUPPORTED to get the bots green again (#94253)

After #94055 this test failed on ARM/AArch64-hosted Windows, but it's
not clear why.


  Commit: ffec63b6a54f719976443cc17b6226030be17c52
      https://github.com/llvm/llvm-project/commit/ffec63b6a54f719976443cc17b6226030be17c52
  Author: Raul Tambre <raul at tambre.ee>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/cmake/modules/LLVMExternalProjectUtils.cmake

  Log Message:
  -----------
  [cmake] Pass -resource-dir to external projects as CMAKE_<LANG>_FLAGS_INIT instead of as a force override (#87330)

It's useful to use toolchain files for configuring runtimes builds.
Setting `CMAKE_<LANG>_FLAGS` is however forceful and precludes initialization from the _INIT variant meant to be set by toolchains.
The toolchain file still needs to append instead of just setting and be idempotent (`include_guard()`), but this way at least a special toolchain to account for LLVM won't be required.


  Commit: f873dd2c8d539378a5118da595ea3fba17ee2e73
      https://github.com/llvm/llvm-project/commit/f873dd2c8d539378a5118da595ea3fba17ee2e73
  Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M utils/bazel/configure.bzl

  Log Message:
  -----------
  fix(utils/**.py): fix comparison to None (#94022)

from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):

> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.

Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>


  Commit: 2f8675a0266263d01d124cb11defdc6c902b651c
      https://github.com/llvm/llvm-project/commit/2f8675a0266263d01d124cb11defdc6c902b651c
  Author: Paul T Robinson <paul.robinson at sony.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/test/Driver/offloading-interoperability.c

  Log Message:
  -----------
  [Driver] Fix a CUDA test (#94258)

See #94000 for a report of a downstream failure, this fixes it.


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

  Changed paths:
    M llvm/runtimes/CMakeLists.txt

  Log Message:
  -----------
  [LLVM] Fix runtimes builds not triggering without LLVM_ENABLE_RUNTIMES (#94225)

Summary:
The runtimes builds create separate projects. Normally these use
`LLVM_EANBLE_RUNTIMES`. However, we can also use `LLVM_RUNTIME_TARGETS`
and `RUNTIMES_<target>_LLVM_ENABLE_RUNTIMES` to enable them. Currently,
if `LLVM_RUNTIME_TARGETS` isn't specified this is completely ignored.
This patch fixes the behavior so we can only specify the cross-compiling
versions.


  Commit: 10ecdee651c47bd5a52b3039722601721372995b
      https://github.com/llvm/llvm-project/commit/10ecdee651c47bd5a52b3039722601721372995b
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M utils/bazel/configure.bzl

  Log Message:
  -----------
  Revert "fix(utils/**.py): fix comparison to None" (#94261)

Reverts llvm/llvm-project#94022

This is not actually valid bazel syntax. Buildbot failure: https://buildkite.com/llvm-project/upstream-bazel/builds/99430#018fdf11-6865-4d5d-be8e-7bfab59e3cd8


  Commit: cb7690af09b95bb944baf1b5a9ffb18f86c12130
      https://github.com/llvm/llvm-project/commit/cb7690af09b95bb944baf1b5a9ffb18f86c12130
  Author: Jeremy Day <jeremy at thebrowser.company>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Support/Errc.h
    M llvm/include/llvm/Support/WindowsError.h
    M llvm/lib/Support/CMakeLists.txt
    M llvm/lib/Support/ErrorHandling.cpp
    M llvm/lib/Support/Windows/Path.inc

  Log Message:
  -----------
  [Support] Handle delete_pending case for Windows fs::status (#90655)

If a delete is pending on the file queried for status, a misleading
`permission_denied` error code will be returned (this is the correct
mapping of the error set by GetFileAttributesW). By querying the
underlying NTSTATUS code via ntdll's RtlGetLastNtStatus, this case can
be disambiguated. If this underlying error code indicates a pending
delete, fs::status will return a new `pending_delete` error code to be
handled by callers

Fixes #89137


  Commit: 0232e2b15b8d3b2653f069a5683ccd29a5d29caf
      https://github.com/llvm/llvm-project/commit/0232e2b15b8d3b2653f069a5683ccd29a5d29caf
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    A lldb/test/requirements.txt

  Log Message:
  -----------
  [lldb] Add Python requirements.txt for test suite (#94220)

This means that CI won't have to hardcode these.


  Commit: 4f326468bdf9f63e562ac446210084a2997adbbd
      https://github.com/llvm/llvm-project/commit/4f326468bdf9f63e562ac446210084a2997adbbd
  Author: Abinaya Saravanan <quic_asaravan at quicinc.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    A llvm/test/Transforms/InstCombine/StoreToNull-DbgCheck.ll

  Log Message:
  -----------
  [InstCombine] Retain debug information on store to null instruction (#86105)

Call InsertNewInstWith() instead of InsertNewInstBefore() when creating
"store to null" instruction


  Commit: 3e228c8eaf03a5a688f2fce29aab4e2003b5d8d4
      https://github.com/llvm/llvm-project/commit/3e228c8eaf03a5a688f2fce29aab4e2003b5d8d4
  Author: Justin Fargnoli <jfargnoli at nvidia.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

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

  Log Message:
  -----------
  [GitHub] Add NVPTX backend labeler (#94080)

Add patterns to label NVPTX backend related changes automatically.


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

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp

  Log Message:
  -----------
  [SPIRV] Fix -Wunused-but-set-variable after #92531


  Commit: 2bc098b8aba089fe8328b3b8a8b6b6816cd5a908
      https://github.com/llvm/llvm-project/commit/2bc098b8aba089fe8328b3b8a8b6b6816cd5a908
  Author: Raul Tambre <raul at tambre.ee>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/lib/Sema/SemaCast.cpp
    M clang/test/Sema/warn-cast-function-type-strict.c
    M clang/test/Sema/warn-cast-function-type.c
    M clang/test/SemaCXX/warn-cast-function-type-strict.cpp
    M clang/test/SemaCXX/warn-cast-function-type.cpp

  Log Message:
  -----------
  [clang][Sema] Don't issue -Wcast-function-type-mismatch for enums with a matching underlying type (#87793)

Enums are passed as their underlying integral type so they're ABI compatible if the size matches.
Useful with C APIs that pass user-controlled values to callbacks that can be made type safe by using enumerations (e.g. GStreamer).

Discovered internally in some code after 999d4f840777bf8de26d45947192aa0728edc0fb.


  Commit: 2ee7f49addb60f100929d10ad24ebf1743943b0d
      https://github.com/llvm/llvm-project/commit/2ee7f49addb60f100929d10ad24ebf1743943b0d
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M libc/cmake/modules/prepare_libc_gpu_build.cmake

  Log Message:
  -----------
  [libc] Correctly find LLVM binaries when built in projects mode for GPU

Summary:
You can build the GPU libc support in projects mode. There were some
issues with it not finding the correct binaries. This patch fixes that.


  Commit: 25b037bdb5f722baa7f292c89770d24132edc082
      https://github.com/llvm/llvm-project/commit/25b037bdb5f722baa7f292c89770d24132edc082
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/NearestIntegerOperations.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/ceilf16.h
    A libc/src/math/floorf16.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/ceilf16.cpp
    A libc/src/math/generic/floorf16.cpp
    A libc/src/math/generic/roundevenf16.cpp
    A libc/src/math/generic/roundf16.cpp
    A libc/src/math/generic/truncf16.cpp
    A libc/src/math/roundevenf16.h
    A libc/src/math/roundf16.h
    A libc/src/math/truncf16.h
    M libc/test/src/math/smoke/CMakeLists.txt
    M libc/test/src/math/smoke/CeilTest.h
    M libc/test/src/math/smoke/FloorTest.h
    M libc/test/src/math/smoke/RoundEvenTest.h
    M libc/test/src/math/smoke/RoundTest.h
    M libc/test/src/math/smoke/TruncTest.h
    A libc/test/src/math/smoke/ceilf16_test.cpp
    A libc/test/src/math/smoke/floorf16_test.cpp
    A libc/test/src/math/smoke/roundevenf16_test.cpp
    A libc/test/src/math/smoke/roundf16_test.cpp
    A libc/test/src/math/smoke/truncf16_test.cpp

  Log Message:
  -----------
  [libc][math][c23] Add {ceil,floor,round,roundeven,trunc}f16 C23 math functions (#94001)


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

  Changed paths:
    M libc/src/__support/CPP/algorithm.h
    M libc/test/src/__support/CPP/CMakeLists.txt
    A libc/test/src/__support/CPP/algorithm_test.cpp

  Log Message:
  -----------
  [libc][CPP] Add all_of and find_if_not to algorithm.h (#94058)

This is needed for the allocator implementation for malloc.


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

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Common/Fortran-features.h
    M flang/lib/Parser/expr-parsers.cpp
    A flang/test/Evaluate/signed-mult-opd.f90

  Log Message:
  -----------
  [flang] Adjust "doubled operator" expression extension (#93353)

Most Fortran compilers accept "doubled operators" as a language
extension. This is the use of a unary '+' or '-' operator that is not
the first unparenthesized operator in an expression, as in 'x*-y'.

This compiler has implemented this extension, but in a way that's
different from other compilers' behavior. I interpreted the unary
'+'/'-' as a unary operator in the sense of C/C++, giving it a higher
priority than any binary (dyadic) operator.

All other compilers with this extension, however, give a unary '+'/'-' a
lower precedence than exponentiation ('**'), a binary operator that
C/C++ lacks. And this interpretation makes more sense for Fortran,
anyway, where the standard conforming '-x**y' must mean '-(x**y)'
already.

This patch makes 'x*-y**z' parse as 'x*-(y**z)', not 'x*(-y)**z)', and
adds a test to ensure that it does.


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

  Changed paths:
    M flang/lib/Parser/preprocessor.cpp
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    A flang/test/Preprocessing/args.h
    A flang/test/Preprocessing/include-args.F90

  Log Message:
  -----------
  [flang][preprocessing] Handle #include after & line continuation (#93382)

Some applications like to use a CPP-style #include directive to pull in
a common list of arguments, dummy arguments, or COMMON block variables
after a free-form & line continuation marker. This works naturally with
compilers that run an actual cpp pass over the input before doing
anything specific to Fortran, but it's a case that I missed with this
integrated preprocessor.


  Commit: 07b330132c0b7fd5b3ada1890840d0dbbd8cdb8e
      https://github.com/llvm/llvm-project/commit/07b330132c0b7fd5b3ada1890840d0dbbd8cdb8e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
    M llvm/test/Transforms/LoopVectorize/scalable-first-order-recurrence.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing.ll

  Log Message:
  -----------
  [VPlan] Model FOR extract of exit value in VPlan. (#93395)

This patch introduces a new ExtractFromEnd VPInstruction opcode to
extract the value of a FOR for users outside the loop (i.e. in the
scalar loop's exits). This moves the first part of fixing first order
recurrences to VPlan, and removes some additional code to patch up
live-outs, which is now handled automatically.

The majority of test changes is due to changes in the order of which the
extracts are generated now. As we are now using VPTransformState to
generate the extracts, we may be able to re-use existing extracts in the
loop body in some cases. For scalable vectors, in some cases we now have
to compute the runtime VF twice, as each extract is now independent, but
those should be trivial to clean up for later passes (and in line with
other places in the code that also liberally re-compute runtime VFs).

PR: https://github.com/llvm/llvm-project/pull/93395


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

  Changed paths:
    M libc/cmake/modules/LLVMLibCLibraryRules.cmake

  Log Message:
  -----------
  [libc] Add GPU utility dependencies if present

Summary:
These tools need to be built before we can do the library creation
stage. If they are generated in the same build then this is not
guaranteed so we should add explicit dependencies.


  Commit: c49bc1a3b782e38e4ffb5b274f1e7775af6c2315
      https://github.com/llvm/llvm-project/commit/c49bc1a3b782e38e4ffb5b274f1e7775af6c2315
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

  Log Message:
  -----------
  BitcodeWriter: ensure `Buffer` is heap allocated

PR #92983 accidentally changed the buffer allocation in
`llvm::WriteBitcodeToFile` to be allocated on the stack, which is
problematic given it's a large-ish buffer (256K)


  Commit: 572b4e70cbfca2c60ac13a9483ddb0e0fbd8ec43
      https://github.com/llvm/llvm-project/commit/572b4e70cbfca2c60ac13a9483ddb0e0fbd8ec43
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

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

  Log Message:
  -----------
  [libc][bazel] simplify type_traits with glob (#94079)

Previously the `type_traits` target manually listed all of the type
traits files. This patch replaces that with a glob to make the build
simpler.


  Commit: 13f6797826faedb910c7e8b1dfc1f134f3cef342
      https://github.com/llvm/llvm-project/commit/13f6797826faedb910c7e8b1dfc1f134f3cef342
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

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

  Log Message:
  -----------
  [clang-format] Handle AttributeMacros in parseRecord() (#94189)

Fixes #94184.


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

  Changed paths:
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Semantics/data-to-inits.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/resolve09.f90

  Log Message:
  -----------
  [flang] Better error message for RANK(NULL()) (#93577)

We currently complain that the argument may not be a procedure, which is
confusing. Distinguish the NULL() case from other error cases (which are
indeed procedures). And clean up the utility predicates used for these
tests -- the current IsProcedure() is really just a test for a procedure
designator.


  Commit: e783d5dbb6d61579bf941d310160a0ae259c7bec
      https://github.com/llvm/llvm-project/commit/e783d5dbb6d61579bf941d310160a0ae259c7bec
  Author: Paul T Robinson <paul.robinson at sony.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/test/Driver/sysroot.c

  Log Message:
  -----------
  [Driver] Fix the sysroot.c test properly (#94276)

A DEFAULT_SYSROOT interfered with the test, apparently. See #94055.


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

  Changed paths:
    M flang/lib/Semantics/resolve-names-utils.cpp
    M flang/test/Semantics/resolve118.f90

  Log Message:
  -----------
  [flang] Handle USE-associated symbols in module procedure interface b… (#93616)

…lock specification expressions

A subroutine or function interface block is of course allowed to
USE-associate symbols into its scope and use them for specification
expressions. This usage works, but crashes the module file output
generator. Fix.

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


  Commit: 6ef632ad36c522b03cf03c7dd76184a35d3b7f41
      https://github.com/llvm/llvm-project/commit/6ef632ad36c522b03cf03c7dd76184a35d3b7f41
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    R bolt/test/Inputs/lsda.ldscript
    M bolt/test/lsda-section-name.cpp

  Log Message:
  -----------
  [BOLT,test] Fix lsda.ldscript when MAXPAGESIZE>=0x10000

The intention is to check a section name different from
.gcc_except_table . Rather than using a linker script, use llvm-objcopy
--rename-section instead.


  Commit: 037a0528bbb4606388fb0805c34a413abbedea13
      https://github.com/llvm/llvm-project/commit/037a0528bbb4606388fb0805c34a413abbedea13
  Author: Jake Egan <Jake.egan at ibm.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
    M libcxx/test/support/count_new.h

  Log Message:
  -----------
  [libc++] Handle 0 size case for testing support operator new (#93834)

The return of malloc is implementation defined when the requested size
is 0. On platforms (such as AIX) that return a null pointer for 0 size,
operator new will throw a bad_alloc exception. operator new should
return a non null pointer for 0 size instead.


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

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/stmt-func01.f90

  Log Message:
  -----------
  [flang] Fix type inheritance for statement function dummy arguments (#93624)

The code that used existing type declarations (if any) for the names
being used as dummy arguments in a statement function definition would
apply those types only if they came from EntityDetails symbols. This
broke a case in which the type was being inherited from a Cray pointee.

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


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

  Changed paths:
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Parser/program-parsers.cpp
    M flang/lib/Semantics/check-call.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/call40.f90

  Log Message:
  -----------
  [flang] Adjust %REF/%VAL semantic checking (#93718)

In accordance with other compilers, don't require that a %REF() actual
argument be a modifiable variable. And move the %REF/%VAL semantic
checks to Semantics/check-call.cpp, where one would expect to find them.

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


  Commit: 5cb00785aa56d4acc97b083df5305d2959f6bd4a
      https://github.com/llvm/llvm-project/commit/5cb00785aa56d4acc97b083df5305d2959f6bd4a
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CGExprScalar.cpp
    A clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp

  Log Message:
  -----------
  Add option to generate additional debug info for expression dereferencing pointer to pointers.  (#94100)

This is another attempt to land #81545, which was reverted. 

Fixed test case by adding a target triple so that clang generates the same IR for all platforms


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

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Common/Fortran-features.h
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/call10.f90
    M flang/test/Semantics/elemental01.f90

  Log Message:
  -----------
  [flang] Relax constraints on PURE/ELEMENTAL dummy arguments (#93748)

The standard requires that dummy arguments to PURE functions be
INTENT(IN) or VALUE, but PURE subroutines are allowed to have modifiable
dummy arguments. This makes it impossible to declare atomic operations
as PURE functions, which consequently makes such atomic operations
ineligible for use in parallel constructs and DO CONCURRENT.

This patch downgrades this error to a warning by default, which can be
seen with -pedantic & al. and remain an error with -Werror.


  Commit: c2d061da7e17e61d4a0efad261e5280793c1b7ce
      https://github.com/llvm/llvm-project/commit/c2d061da7e17e61d4a0efad261e5280793c1b7ce
  Author: royitaqi <royitaqi at users.noreply.github.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M lldb/include/lldb/API/SBCommandInterpreter.h
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/include/lldb/Target/Statistics.h
    M lldb/source/Commands/CommandObjectStats.cpp
    M lldb/source/Commands/Options.td
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Target/Statistics.cpp
    M lldb/test/API/commands/statistics/basic/TestStats.py
    M lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py

  Log Message:
  -----------
  Re-merge `A few updates around "transcript"` (#92843) (#94067)

Problematic PR: https://github.com/llvm/llvm-project/pull/92843
Reverted by: https://github.com/llvm/llvm-project/pull/94088

The first PR added a test which fails in Linux builds (see the last few
comments there).
This PR contains all the changes in the first PR, plus the fix to the
said test.

---------

Co-authored-by: Roy Shi <royshi at meta.com>


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

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Common/Fortran-features.h
    M flang/lib/Semantics/check-call.cpp
    M flang/test/Semantics/call03.f90
    M flang/test/Semantics/call30.f90

  Log Message:
  -----------
  [flang] Add warnings about undefinable actuals for ASYNCHRONOUS/VOLAT… (#93851)

…ILE dummies

There's language in the standard (F'2023 15.5.2.5 p21) disallowing an
actual argument with a vector subscript from associating with a dummy
argument with either the ASYNCHRONOUS or VOLATILE attributes. This is a
bug in the standard, as (1) these attributes are actually relevant only
over the scope of the called procedure, (2) they can be applied in
nested scopes (internal subprograms and BLOCK) within the called
procedure, and (3) can be implicit within the called procedure and its
nested scopes in the case of ASYNCHRONOUS as a side effect of using a
dummy argument in an asynchronous data transfer statement. So issue a
warning. This new warning about undefinable actual arguments being
associated with ASYNCHRONOUS and VOLATILE dummy arguments subsumes an
existing warning about passing a constant actual to a VOLATILE dummy.

Resolves https://github.com/llvm/llvm-project/issues/93600.


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

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Semantics/null01.f90
    M flang/test/Semantics/resolve09.f90

  Log Message:
  -----------
  [flang] Improve handling of NULL() arguments to intrinsics (#93866)

Some intrinsics (extends_type_of, same_type_as) can accept a NULL actual
argument so long as it has a MOLD=. Some intrinsics that are marked in
the intrinsics table as accepting a NULL actual argument already should
only do so if it has a MOLD=. Distinguish table entries that accept a
NULL() only with a MOLD= from the few others that allow a bare NULL()
and update tests.

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


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

  Changed paths:
    M flang/runtime/external-unit.cpp
    M flang/runtime/file.cpp
    M flang/runtime/io-api-common.h
    M flang/runtime/pseudo-unit.cpp
    M flang/runtime/unit.h

  Log Message:
  -----------
  [flang][runtime] Resilient opening of anonymous unit (#93876)

When an I/O statement references a unit number that has not been
explicitly opened or predefined, the I/O runtime support library opens a
local "fort.N" file. If this fails, the program crashes, even when the
I/O statement has IOSTAT= or IOMSG= or ERR= control list items. Connect
the dots to enable resilience in these cases.


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

  Changed paths:
    M flang/lib/Semantics/resolve-labels.cpp
    M flang/test/Semantics/label05.f90

  Log Message:
  -----------
  [flang] Disallow branches into SELECT TYPE/RANK cases (#93893)

Ensure that a branch cannot be made into a case of a SELECT TYPE or
SELECT RANK construct.


  Commit: e31bfc040a240c4ba8b24df840290d6f31b83bfc
      https://github.com/llvm/llvm-project/commit/e31bfc040a240c4ba8b24df840290d6f31b83bfc
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
    M llvm/test/CodeGen/AMDGPU/lower-kernargs.ll
    M llvm/test/CodeGen/AMDGPU/lower-module-lds-indirect-extern-uses-max-reachable-alignment.ll
    M llvm/test/CodeGen/AMDGPU/preload-kernargs-IR-lowering.ll

  Log Message:
  -----------
  [AMDGPU] Strengthen preload intrinsics to noundef and nonnull (#92801)

The various preloaded registers (workitem IDs, workgroup IDs, and
various implicit pointers) always have a finite, invariant, well-defined
value throughout a well-defined program.

In cases where the compiler infers or the user declares that some
implicit input will not be used (ex. via amdgcn-no-workitem-id-y), the
behavior of the entire program is undefined, since that misdeclaration
can cause arbitrary other preloaded-register intrinsics to access the
wrong register. This case is not expected to arise in practice, but
could occur when the no implicit argument attributes were not cleared
correctly in the presence of external functions, indrect calls, or other
means of executing un-analyzable code. Failure to detect that case would
be a bug in the attributor.

This commit updates the documentation to reflect this long-standing
reality.

Then, on the basis that all implicit arguments are defined in all
correct programs, the intrinsics that return those values are
annototated with `noundef``. Some implicit pointer arguments gain a
`nonnull`, but the kernel argument segment pointer or implicit argument
pointers don't necessarily have this property.

This will prevent spurious calls to `freeze` in front-end optimizations
that destroy user-provided ranges on built-in IDs.

(While I'm here, this commit adds a test for `noundef` on kernel
arguments which is currently unimplemented)


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

  Changed paths:
    M flang/runtime/pseudo-unit.cpp

  Log Message:
  -----------
  [flang][runtime][CUDA] Fix build error (#94281)

I broke the build, and now I'm fixing it.


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

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/bind-c02.f90
    A flang/test/Semantics/bind-c16.f90

  Log Message:
  -----------
  [flang] Propagate the BIND(C) attribute into procedures from their in… (#93994)

…terfaces

In "PROCEDURE(iface) :: proc", if "iface" has the BIND(C) attribute,
then so should proc, as if the declaration had been "PROCEDURE(iface),
BIND(C) :: proc". This had been working in name resolution only in cases
where "iface" had been declared before "proc".

Note that if "iface" is declared with an empty binding name
("BIND(C,NAME='')"), "proc" does not inherit that property. Use an
explicit "BIND(C,NAME='')" on the "PROCEDURE" statement for that.

This behavior is not clearly defined in the standard, but seems to match
what some other Fortran compilers do.


  Commit: 0b4af3a5f4de61552000e4a864f63f2002cc525b
      https://github.com/llvm/llvm-project/commit/0b4af3a5f4de61552000e4a864f63f2002cc525b
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    A llvm/test/CodeGen/AArch64/lower-ptrmask-arm64_32.ll

  Log Message:
  -----------
  [llvm][SelectionDAG] Relax llvm.ptrmask's size check on arm64_32 (#94125)

Since pointers in memory, as well as the index type are both 32 bits,
but in registers pointers are 64 bits, the mask generated by
llvm.ptrmask needs to be zero-extended.

Fixes: #94075
Fixes: rdar://125263567


  Commit: 4ee950e75d40e335adb2d470b532d7375733f665
      https://github.com/llvm/llvm-project/commit/4ee950e75d40e335adb2d470b532d7375733f665
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/lower-ptrmask-arm64_32.ll
    M llvm/utils/UpdateTestChecks/asm.py

  Log Message:
  -----------
  update_test_checks: support more arm64_32-apple-watchos triples

Having the version in `get_run_handlers` meant that a RUN line without the
version in it would not match, and therefore UTC would generate a useless
catch-all check of the form:

```
;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
; CHECK: {{.*}}
```

This patch also adds `arm64_32` as a base-level run handler, and assumes it
will always apply to a darwin target (which is currently the case for all
arm64_32-* triples I see in tree currently).


  Commit: ae1596a31a6fac2f4daafe1e256d4a5cf3742617
      https://github.com/llvm/llvm-project/commit/ae1596a31a6fac2f4daafe1e256d4a5cf3742617
  Author: antangelo <contact at antangelo.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/test/CodeGen/preserve-call-conv.c
    M llvm/docs/LangRef.rst
    M llvm/lib/Target/AArch64/AArch64CallingConvention.h
    M llvm/lib/Target/AArch64/AArch64CallingConvention.td
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    A llvm/test/CodeGen/AArch64/dynamic-regmask-preserve-none.ll
    M llvm/test/CodeGen/AArch64/preserve.ll
    A llvm/test/CodeGen/AArch64/preserve_nonecc.ll
    A llvm/test/CodeGen/AArch64/preserve_nonecc_call.ll
    A llvm/test/CodeGen/AArch64/preserve_nonecc_musttail.ll
    A llvm/test/CodeGen/AArch64/preserve_nonecc_swift.ll

  Log Message:
  -----------
  [AArch64] Support preserve_none calling convention (#91046)

Adds AArch64 support for the `preserve_none` calling convention.
Registers X0-X7, X9-X15 and X19-X28 are caller save, and can be used to
pass arguments. Delegates to AAPCS for all other registers.

Closes #87423


  Commit: ccaccc3367aa3d892ca31eb11d4bcea4979bead1
      https://github.com/llvm/llvm-project/commit/ccaccc3367aa3d892ca31eb11d4bcea4979bead1
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp

  Log Message:
  -----------
  [Clang] Prevent null pointer dereference in target attribute mangling (#94228)

This patch adds assertions in the getMangledNameImpl() function to
ensure that the expected target attributes (TargetAttr,
TargetVersionAttr, and TargetClonesAttr) are not null before they are
passed to appendAttributeMangling() to prevent potential null pointer
dereferences and improve the robustness of the attribute mangling
process.

This assertion will trigger a runtime error with a clear message in
debug build if any of the expected attributes are missing, facilitating
early and easier diagnosis and debugging of such issues related to
attribute mangling.


  Commit: 30e983c40c71390c6c9506a8e4f914b85d009c3d
      https://github.com/llvm/llvm-project/commit/30e983c40c71390c6c9506a8e4f914b85d009c3d
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    M lld/CMakeLists.txt
    M lld/cmake/modules/AddLLD.cmake
    M lld/test/CMakeLists.txt
    M lld/unittests/CMakeLists.txt

  Log Message:
  -----------
  [lld] Revise IDE folder structure (#89747)

Update the folder titles for targets in the monorepository that have not
seen taken care of for some time. These are the folders that targets are
organized in Visual Studio and XCode
(`set_property(TARGET <target> PROPERTY FOLDER "<title>")`)
when using the respective CMake's IDE generator.

 * Ensure that every target is in a folder
 * Use a folder hierarchy with each LLVM subproject as a top-level folder
 * Use consistent folder names between subprojects
 * When using target-creating functions from AddLLVM.cmake, automatically
deduce the folder. This reduces the number of
`set_property`/`set_target_property`, but are still necessary when
`add_custom_target`, `add_executable`, `add_library`, etc. are used. A
LLVM_SUBPROJECT_TITLE definition is used for that in each subproject's
root CMakeLists.txt.


  Commit: 43847c1de60ddba26d93c138ad81aa0d3b3c8c31
      https://github.com/llvm/llvm-project/commit/43847c1de60ddba26d93c138ad81aa0d3b3c8c31
  Author: Namish Kukreja <namikukr at quicinc.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    A llvm/test/MC/AArch64/arm64ec-disallowed-regs.s

  Log Message:
  -----------
  [ARM64EC] Warn on using disallowed registers in assembly src. (#93618)

ARM64EC designates a set of disallowed registers, because a mapping does
not exist from them to x64. The MSVC assembler (armasm64) has a warning
for this.

A test is also included as part of the patch.

See the list of disallowed registers below:

https://learn.microsoft.com/en-us/cpp/build/arm64ec-windows-abi-conventions?view=msvc-170#register-mapping


  Commit: 0ea1271ee13c8c3d765904dba16dd27b91584d66
      https://github.com/llvm/llvm-project/commit/0ea1271ee13c8c3d765904dba16dd27b91584d66
  Author: Han-Chung Wang <hanhan0912 at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
    M mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
    M mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
    M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/Vector/Transforms/LowerVectorBitCast.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    A mlir/test/Dialect/Vector/vector-bitcast-lowering-transforms.mlir

  Log Message:
  -----------
  [mlir][vector] Add support for unrolling vector.bitcast ops. (#94064)

The revision unrolls vector.bitcast like:

```mlir
%0 = vector.bitcast %arg0 : vector<2x4xi32> to vector<2x2xi64>
```

to

```mlir
%cst = arith.constant dense<0> : vector<2x2xi64>
%0 = vector.extract %arg0[0] : vector<4xi32> from vector<2x4xi32>
%1 = vector.bitcast %0 : vector<4xi32> to vector<2xi64>
%2 = vector.insert %1, %cst [0] : vector<2xi64> into vector<2x2xi64>
%3 = vector.extract %arg0[1] : vector<4xi32> from vector<2x4xi32>
%4 = vector.bitcast %3 : vector<4xi32> to vector<2xi64>
%5 = vector.insert %4, %2 [1] : vector<2xi64> into vector<2x2xi64>
```

The scalable vector is not supported because of the limitation of
`vector::createUnrollIterator`. The targetRank could mismatch the final
rank during unrolling; there is no direct way to query what the final
rank is from the object.


  Commit: 7652a59407018c057cdc1163c9f64b5b6f0954eb
      https://github.com/llvm/llvm-project/commit/7652a59407018c057cdc1163c9f64b5b6f0954eb
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/include/llvm/CodeGen/SelectionDAGISel.h
    M llvm/include/llvm/CodeGen/StackProtector.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/Target/AArch64/AArch64.h
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
    M llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/R600ISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/ARC/ARC.h
    M llvm/lib/Target/ARC/ARCISelDAGToDAG.cpp
    M llvm/lib/Target/ARC/ARCTargetMachine.cpp
    M llvm/lib/Target/ARM/ARM.h
    M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
    M llvm/lib/Target/ARM/ARMTargetMachine.cpp
    M llvm/lib/Target/AVR/AVR.h
    M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
    M llvm/lib/Target/AVR/AVRTargetMachine.cpp
    M llvm/lib/Target/BPF/BPF.h
    M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
    M llvm/lib/Target/BPF/BPFTargetMachine.cpp
    M llvm/lib/Target/CSKY/CSKY.h
    M llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
    M llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
    M llvm/lib/Target/Hexagon/Hexagon.h
    M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
    M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h
    M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
    M llvm/lib/Target/Lanai/Lanai.h
    M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
    M llvm/lib/Target/Lanai/LanaiTargetMachine.cpp
    M llvm/lib/Target/LoongArch/LoongArch.h
    M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
    M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
    M llvm/lib/Target/M68k/M68k.h
    M llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp
    M llvm/lib/Target/M68k/M68kTargetMachine.cpp
    M llvm/lib/Target/MSP430/MSP430.h
    M llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
    M llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
    M llvm/lib/Target/Mips/Mips.h
    M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp
    M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.h
    M llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
    M llvm/lib/Target/Mips/MipsISelDAGToDAG.h
    M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
    M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
    M llvm/lib/Target/Mips/MipsTargetMachine.cpp
    M llvm/lib/Target/NVPTX/NVPTX.h
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/lib/Target/PowerPC/PPC.h
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
    M llvm/lib/Target/RISCV/RISCV.h
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    M llvm/lib/Target/Sparc/Sparc.h
    M llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
    M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
    M llvm/lib/Target/SystemZ/SystemZ.h
    M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
    M llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
    M llvm/lib/Target/VE/VE.h
    M llvm/lib/Target/VE/VEISelDAGToDAG.cpp
    M llvm/lib/Target/VE/VETargetMachine.cpp
    M llvm/lib/Target/WebAssembly/WebAssembly.h
    M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/lib/Target/X86/X86.h
    M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    A llvm/lib/Target/X86/X86ISelDAGToDAG.h
    A llvm/lib/Target/X86/X86PassRegistry.def
    M llvm/lib/Target/X86/X86TargetMachine.cpp
    M llvm/lib/Target/X86/X86TargetMachine.h
    M llvm/lib/Target/XCore/XCore.h
    M llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp
    M llvm/lib/Target/XCore/XCoreTargetMachine.cpp
    M llvm/lib/Target/Xtensa/XtensaISelDAGToDAG.cpp
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f64.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-rtn.ll
    M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
    M llvm/test/CodeGen/AMDGPU/bug-v4f64-subvector.ll
    M llvm/test/CodeGen/AMDGPU/carryout-selection.ll
    M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-abs.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-bitreverse.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-ctlz-cttz.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-ctpop.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-min-max.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-negsubinlineconst.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-not-isel.ll
    M llvm/test/CodeGen/AMDGPU/divergence-driven-xnor.ll
    M llvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
    M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
    M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f64.ll
    M llvm/test/CodeGen/AMDGPU/fneg-fabs-divergence-driven-isel.ll
    M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-rtn.ll
    M llvm/test/CodeGen/AMDGPU/img-nouse-adjust.ll
    M llvm/test/CodeGen/AMDGPU/implicit-def-muse.ll
    M llvm/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-general.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-amx.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-x87.ll
    M llvm/test/CodeGen/X86/apx/no-rex2-special.ll
    M llvm/test/tools/llc/new-pm/start-stop.ll

  Log Message:
  -----------
  Reland "[NewPM][CodeGen] Port selection dag isel to new pass manager" (#94149)

- Fix build with `EXPENSIVE_CHECKS`
- Remove unused `PassName::ID` to resolve warning
- Mark `~SelectionDAGISel` virtual so AArch64 backend can work properly


  Commit: fde6a37113150b49c5d4ba2cc5f342ffadf8e59c
      https://github.com/llvm/llvm-project/commit/fde6a37113150b49c5d4ba2cc5f342ffadf8e59c
  Author: pcc <peter at pcc.me.uk>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/libcxx/src/BUILD.gn
    M llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
    M llvm/utils/gn/secondary/libunwind/src/BUILD.gn

  Log Message:
  -----------
  gn build: Use -fvisibility-global-new-delete=force-hidden to build libcxx/libcxxabi/libunwind.

-fvisibility-global-new-delete-hidden is deprecated and clang was warning
about it on every build command. These libraries are always built using
a stage2 compiler, so we can use the new build flag unconditionally.

Reviewers: aeubanks

Reviewed By: aeubanks

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


  Commit: 8ec1161fe66def9af8973c8c073be7d043cc411c
      https://github.com/llvm/llvm-project/commit/8ec1161fe66def9af8973c8c073be7d043cc411c
  Author: Rahman Lavaee <rahmanl at google.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/BasicBlockPathCloning.cpp
    M llvm/test/CodeGen/X86/basic-block-sections-cloning-invalid.ll

  Log Message:
  -----------
  [Codegen, BasicBlockSections] Avoid cloning blocks which have their machine block address taken. (#94296)

These blocks usually show up in the form of branches within inline
assembly. Since it's hard to rewire them, we fully omit paths with such
blocks from path cloning.


  Commit: fbdd94847814c926f2767e656ba501b4ca7dfaae
      https://github.com/llvm/llvm-project/commit/fbdd94847814c926f2767e656ba501b4ca7dfaae
  Author: Lu Weining <luweining at loongson.cn>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    M lld/test/ELF/loongarch-relax-emit-relocs.s
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/test/MC/LoongArch/Relocations/relax-addsub.s
    M llvm/test/MC/LoongArch/Relocations/relax-align.s

  Log Message:
  -----------
  [LoongArch] Use R_LARCH_ALIGN without symbol as much as possible (#93775)

To support the third parameter of the alignment directive, R_LARCH_ALIGN
relocations need a non-zero symbol index.
In many cases we don't need the third parameter and can set the symbol
index to 0.
This patch will remove a lot of .Lla-relax-align* symbols and mitigate
the size regression due to
https://github.com/llvm/llvm-project/pull/72962.

Co-authored-by: Jinyang He <hejinyang at loongson.cn>
Co-authored-by: Weining Lu <luweining at loongson.cn>


  Commit: cac5d0e938da83ef627a6a8e3f39a47d54516626
      https://github.com/llvm/llvm-project/commit/cac5d0e938da83ef627a6a8e3f39a47d54516626
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

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

  Log Message:
  -----------
  [CodeGen] Fix compiler conditional combination (#94297)

Previously this assumed that `LLVM_ENABLE_ABI_BREAKING_CHECKS` would
always be enabled in this case, if it's not `TTI` does not exist.

Introduced in 7652a59407018c057cdc1163c9f64b5b6f0954eb


  Commit: 9b0e1c2ca25be58ea29b318d3515e6171f25f0ea
      https://github.com/llvm/llvm-project/commit/9b0e1c2ca25be58ea29b318d3515e6171f25f0ea
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    A llvm/include/llvm/CodeGen/FinalizeISel.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/CodeGen/FinalizeISel.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/test/CodeGen/AMDGPU/add_sub_u64_pseudos.mir
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wave.reduce.umax.mir
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wave.reduce.umin.mir
    M llvm/test/CodeGen/Mips/call-site-info-output.ll
    M llvm/test/CodeGen/RISCV/rvv/tail-agnostic-impdef-copy.mir
    M llvm/test/CodeGen/RISCV/select-optimize-multiple.mir
    M llvm/test/CodeGen/SystemZ/debuginstr-02.mir
    M llvm/test/CodeGen/SystemZ/multiselect-02.mir
    M llvm/test/CodeGen/Thumb2/mve-tp-loop.mir
    M llvm/test/CodeGen/X86/call-site-info-output.ll
    M llvm/test/CodeGen/X86/sjlj-shadow-stack-liveness.mir

  Log Message:
  -----------
  [NewPM][CodeGen] Port `finalize-isel` to new pass manager (#94214)

It should preserve more analysis results, but it happens immediately
after instruction selection.


  Commit: c7b7875e1e3e27995f0c8ec53f7ded305dc9d730
      https://github.com/llvm/llvm-project/commit/c7b7875e1e3e27995f0c8ec53f7ded305dc9d730
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M bolt/test/lsda-section-name.cpp

  Log Message:
  -----------
  Fix lsda-section-name adding back RUN line incorrectly removed in 6ef632ad36c522b0 (#94301)


  Commit: 4d20f495df1968ab51aebe9696923724ee80576d
      https://github.com/llvm/llvm-project/commit/4d20f495df1968ab51aebe9696923724ee80576d
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/test/CodeGen/PowerPC/aix-tls-gd-longlong.ll
    M llvm/test/CodeGen/PowerPC/aix-tls-le-xcoff-reloc-large32.ll
    M llvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc-large.ll

  Log Message:
  -----------
  [PowerPC] Remove DAG matching in ADDIStocHA (#93905)

The MI is generated in `PPCDAGToDAGISel::Select` so the match pattern isn't used and can be removed.


  Commit: 85e4e9d2150d62be578065cc22a37c2c7613ce88
      https://github.com/llvm/llvm-project/commit/85e4e9d2150d62be578065cc22a37c2c7613ce88
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
    M mlir/test/Dialect/Arith/invalid.mlir
    M mlir/test/IR/invalid-ops.mlir

  Log Message:
  -----------
  [mlir][arith] Further clean up select op definition (#93358)

* Improve the condition type requirement description ('scalar' ->
signless i1), to match what is actually verified.
* Use the `I1` type predicate instead of `AnyBooleanTypeMatch`.

Related discussion:
https://github.com/llvm/llvm-project/pull/93351#issuecomment-2130453233.


  Commit: 392ca64893dc77f823cb4734238f1ba1d271b997
      https://github.com/llvm/llvm-project/commit/392ca64893dc77f823cb4734238f1ba1d271b997
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M libc/test/src/fenv/getenv_and_setenv_test.cpp

  Log Message:
  -----------
  [libc][test] Fix TEST->TEST_F typo in getenv_and_setenv_test.cpp (#94304)

This manifests as `AddressSanitizer: stack-use-after-return` w/o this
change. The `~CheckFEnv()` method of checking fenv seems to only work
for test fixtures.


  Commit: d7a82d19a925bfdfc0b2030a73ac5c6b58a6576c
      https://github.com/llvm/llvm-project/commit/d7a82d19a925bfdfc0b2030a73ac5c6b58a6576c
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:

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

Created using spr 1.3.6-beta.1

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/5bfe6383342d...d7a82d19a925

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