[all-commits] [llvm/llvm-project] a89a54: Fix test introduced by d29fdfbc4e3b

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Jul 3 11:36:38 PDT 2024


  Branch: refs/heads/users/alexey-bataev/spr/slpreorder-buildvectorreduction-vectorization-and-fuse-the-loops
  Home:   https://github.com/llvm/llvm-project
  Commit: a89a54190ced6f7ded24eb3b6e5115dbe69eada8
      https://github.com/llvm/llvm-project/commit/a89a54190ced6f7ded24eb3b6e5115dbe69eada8
  Author: Joel E. Denny <jdenny.ornl at gmail.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M llvm/test/Feature/load_plugin_error.ll

  Log Message:
  -----------
  Fix test introduced by d29fdfbc4e3b

It breaks builds like:

https://lab.llvm.org/buildbot/#/builders/190/builds/744


  Commit: 133492fe18260d4b5ce2d70ff9575fa9c911d090
      https://github.com/llvm/llvm-project/commit/133492fe18260d4b5ce2d70ff9575fa9c911d090
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M libc/hdr/types/CMakeLists.txt
    A libc/hdr/types/struct_sigaction.h
    M libc/src/signal/linux/CMakeLists.txt
    M libc/src/signal/linux/signal.cpp
    M libc/src/signal/sigaction.h
    M libc/test/src/signal/CMakeLists.txt
    M libc/test/src/signal/sigaction_test.cpp
    M libc/test/src/signal/sigaltstack_test.cpp

  Log Message:
  -----------
  [libc] add proxy header for struct_sigaction (#96224)


  Commit: 57d3d070502f54c63c5fca588cf74b78d607e272
      https://github.com/llvm/llvm-project/commit/57d3d070502f54c63c5fca588cf74b78d607e272
  Author: RoseZhang03 <rosezhang at google.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    A libc/newhdrgen/class_implementation/classes/enumeration.py
    A libc/newhdrgen/class_implementation/classes/function.py
    A libc/newhdrgen/class_implementation/classes/include.py
    A libc/newhdrgen/class_implementation/classes/macro.py
    A libc/newhdrgen/class_implementation/classes/object.py
    A libc/newhdrgen/class_implementation/classes/type.py

  Log Message:
  -----------
  [libc] added newhdrgen class implementation (#96710)

Added a class representation of a libc header file, allowing for easier
conversion from YAML to .h file output.

Classes include:
- Function (representing function headers)
- Include (representing various include statements found on a header
  file)
- Macro (representing macro definitions)
- Enumeration (representing enum definitions)
- Type (representing include statements for NamedTypes)
- Object (representing ObjectSpec defintitions)


  Commit: a54704de0d019760c80517b97bd1df636076a059
      https://github.com/llvm/llvm-project/commit/a54704de0d019760c80517b97bd1df636076a059
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/WebAssembly/target-features-attrs.ll
    A llvm/test/CodeGen/WebAssembly/target-features-cpus.ll

  Log Message:
  -----------
  [WebAssembly] Split and tidy up target features test (#96735)

This splits `target-features.ll` into two tests:
`target-features-attrs.ll` and `target-features-cpus.ll`.

Now `target-features-attrs.ll` contains tests with bitcode function
attributes and `-mattr=` options. The current `target-features.ll`
file's FileCheck lines are confusing, mainly because it is unclear how
`CHECK` and `ATTRS` lines are meant to be different. Turns out, before
https://github.com/llvm/llvm-project/commit/67ec8744d7e72b50a5db5038c9643584ce57cb0c,
`-mattr=` options used to override any existing bitcode function
attributes, but after the commit that's not the case anymore. So the
original test had a line that tested `i32.atomic.rmw.cmpxchg` was not
generated when `-mattr=+simd128` was given (because the existing
`+atomics` in the function attributes is overriden). That commit deleted
that line and changed some `ATTRS` lines into `CHECK`, which was
confusing. This PR simplifies that part and does not test the absence of
any instructions, and the effect of `-mattr=` option is only tested with
the target features section.

And `target-features-cpus.ll` only tests the sets of features enabled by
`-mcpu=` lines. It is better to have this as a separate file because
once you have bitcode function attributes they end up in the target
features section too, making the testing of only the `-mcpu=` options
difficult.


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

  Changed paths:
    M libcxx/test/lit.cfg.py
    M libcxxabi/test/lit.cfg.py
    M libunwind/test/lit.cfg.py

  Log Message:
  -----------
  [runtimes][NFC] Improve error message when running Lit incorrectly


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

  Changed paths:
    M llvm/include/llvm/ADT/SmallVector.h
    M llvm/lib/Support/SmallVector.cpp

  Log Message:
  -----------
  [ADT] Always use 32-bit size type for SmallVector with 16-bit elements (#95536)

`SmallVector` has a special case to allow vector of char to exceed 4 GB
in
size on 64-bit hosts. Apply this special case only for 8-bit element
types, instead of all element types < 32 bits.

This makes `SmallVector<MCPhysReg>` more compact because `MCPhysReg` is
`uint16_t`.

---------

Co-authored-by: Nikita Popov <github at npopov.com>


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

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp

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

This patch fixes:

  clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp:1662:8: error: unused
  variable 'ParallelReduction' [-Werror,-Wunused-variable]


  Commit: 49e5cd2acc0d12f7cdb80aafd9ab26719d4415aa
      https://github.com/llvm/llvm-project/commit/49e5cd2acc0d12f7cdb80aafd9ab26719d4415aa
  Author: Kolya Panchenko <87679760+nikolaypanchenko at users.noreply.github.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll

  Log Message:
  -----------
  [LV][NFC] Marked functions as const. Added LLVM_DEBUG. (#96681)


  Commit: 02b57dedb73134bc81f09e2ff3c56e286091ba13
      https://github.com/llvm/llvm-project/commit/02b57dedb73134bc81f09e2ff3c56e286091ba13
  Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M libc/CMakeLists.txt
    M libc/benchmarks/CMakeLists.txt
    A libc/benchmarks/gpu/BenchmarkLogger.cpp
    A libc/benchmarks/gpu/BenchmarkLogger.h
    A libc/benchmarks/gpu/CMakeLists.txt
    A libc/benchmarks/gpu/LibcGpuBenchmark.cpp
    A libc/benchmarks/gpu/LibcGpuBenchmark.h
    A libc/benchmarks/gpu/LibcGpuBenchmarkMain.cpp
    A libc/benchmarks/gpu/src/CMakeLists.txt
    A libc/benchmarks/gpu/src/ctype/CMakeLists.txt
    A libc/benchmarks/gpu/src/ctype/isalnum_benchmark.cpp
    A libc/benchmarks/gpu/src/ctype/isalpha_benchmark.cpp
    A libc/benchmarks/gpu/timing/CMakeLists.txt
    A libc/benchmarks/gpu/timing/nvptx/CMakeLists.txt
    A libc/benchmarks/gpu/timing/nvptx/timing.h
    A libc/benchmarks/gpu/timing/timing.h
    M libc/cmake/modules/LLVMLibCTestRules.cmake

  Log Message:
  -----------
  [libc] NVPTX Profiling (#92009)

PR for adding microbenchmarking infrastructure for NVPTX. `nvlink`
cannot perform LTO, so we cannot inline `libc` functions and this
function call overhead is not adjusted for during microbenchmarking.


  Commit: 0c56fd0a29ffb0425ca2ee2a4ff8f380880fdbfa
      https://github.com/llvm/llvm-project/commit/0c56fd0a29ffb0425ca2ee2a4ff8f380880fdbfa
  Author: DianQK <dianqk at dianqk.net>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/CodeGen/AArch64/arm64-jumptable.ll
    M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
    M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll

  Log Message:
  -----------
  [SimplifyCFG] Forward indirect switch condition value if it can help fold the PHI (#95932)

Fixes #95919.


  Commit: 1abe22cab521b833a9aa62a7a8d44ae188ab107e
      https://github.com/llvm/llvm-project/commit/1abe22cab521b833a9aa62a7a8d44ae188ab107e
  Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ADT/SmallVector.h
    M llvm/lib/Support/SmallVector.cpp

  Log Message:
  -----------
  Revert "[ADT] Always use 32-bit size type for SmallVector with 16-bit elements" (#96826)

Reverts llvm/llvm-project#95536, this is breaking macOS GreenDragon
buildbots on arm64 and x86_64
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6522/console,
also breaks the Darwin LLVM buildbots:
https://lab.llvm.org/buildbot/#/builders/23/builds/398


  Commit: 3a462d89221a307c037a653bc9e0c9190f79c1b9
      https://github.com/llvm/llvm-project/commit/3a462d89221a307c037a653bc9e0c9190f79c1b9
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ReleaseModeModelRunner.h
    M llvm/unittests/Analysis/MLModelRunnerTest.cpp

  Log Message:
  -----------
  [mlgo] drop the prefix `_` in `_model_selector`

`_` upsets the saved model freezer (assumptions about python naming).


  Commit: c7adfb5e715334c9de176f434088bd9f89aa9eb3
      https://github.com/llvm/llvm-project/commit/c7adfb5e715334c9de176f434088bd9f89aa9eb3
  Author: DianQK <dianqk at dianqk.net>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/CodeGen/AArch64/arm64-jumptable.ll
    M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
    M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll

  Log Message:
  -----------
  Revert "[SimplifyCFG] Forward indirect switch condition value if it can help fold the PHI (#95932)"

This reverts commit 0c56fd0a29ffb0425ca2ee2a4ff8f380880fdbfa.
This is breaking https://lab.llvm.org/buildbot/#/builders/72/builds/483.


  Commit: 5dcf3d5335a8bd936c89a4cdf1da909e6b995b6f
      https://github.com/llvm/llvm-project/commit/5dcf3d5335a8bd936c89a4cdf1da909e6b995b6f
  Author: antangelo <contact at antangelo.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/Basic/Targets/AArch64.cpp
    A clang/test/CodeGenCXX/msabi-preserve-none-cc.cpp
    M clang/test/Sema/preserve-none-call-conv.c

  Log Message:
  -----------
  [MS ABI]: Support preserve_none in MS ABI (#96487)

Fixes ICE when compiling preserve_nonecc functions on Windows and adds
support for the calling convention on AArch64 for Windows targets.


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

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M libc/src/stdlib/rand.cpp
    M libc/src/stdlib/srand.cpp

  Log Message:
  -----------
  [libc] Remove atomic alignment diagnostics globally (#96803)

Summary:
These warnings mean that it will lower to a libcall. Previously we just
disabled it locally, which didn't work with GCC. This patch does it
globally in the compiler options if the compiler is clang.


  Commit: 5a052ef76a95e525bc2fb0abdb68cefbe2d1a2ec
      https://github.com/llvm/llvm-project/commit/5a052ef76a95e525bc2fb0abdb68cefbe2d1a2ec
  Author: DianQK <dianqk at dianqk.net>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/CodeGen/AArch64/arm64-jumptable.ll
    M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
    M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll

  Log Message:
  -----------
  Reapply "[SimplifyCFG] Forward indirect switch condition value if it can help fold the PHI (#95932)"

This reverts commit c7adfb5e715334c9de176f434088bd9f89aa9eb3.


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

  Changed paths:
    M clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst

  Log Message:
  -----------
  [clang-tidy] add default value for misc-use-internal-linkage [NFC] (#96779)


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

  Changed paths:
    M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
    M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
    M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/index.rst
    A clang-tools-extra/test/clang-tidy/infrastructure/allow-no-checks.cpp

  Log Message:
  -----------
  [clang-tidy] add option to avoid "no checks enabled" error (#96122)

When clang-tidy get an empty checks, it will throw "no checks enabled"
error and exit with non-zero return value.
It make clang-tidy's wrapper program confused when in big project some
files don't want to be checked and use `-checks=-*` to disable all
checks.

---------

Co-authored-by: Danny Mösch <danny.moesch at icloud.com>


  Commit: 1fa9f506d33a25c83f23862abd2400f1df3c413e
      https://github.com/llvm/llvm-project/commit/1fa9f506d33a25c83f23862abd2400f1df3c413e
  Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    A libc/newhdrgen/header.py
    A libc/newhdrgen/yaml_to_classes.py

  Log Message:
  -----------
  [libc] added newhdrgen python script and class file (#96671)

python script uses yaml and classes to generate c headers
header.py is only the main class file, the rest will be in another pr
more files to be added in multiple prs


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

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/lib/CodeGen/AsmPrinter/DIE.cpp
    M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
    M llvm/lib/CodeGen/EarlyIfConversion.cpp
    M llvm/lib/CodeGen/LexicalScopes.cpp
    M llvm/lib/CodeGen/LiveDebugVariables.cpp
    M llvm/lib/CodeGen/PeepholeOptimizer.cpp
    M llvm/lib/CodeGen/RegisterCoalescer.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
    M llvm/lib/CodeGen/StackSlotColoring.cpp
    M llvm/lib/CodeGen/TailDuplicator.cpp
    M llvm/lib/CodeGen/VLIWMachineScheduler.cpp

  Log Message:
  -----------
  [CodeGen] Use range-based for loops (NFC) (#96777)


  Commit: ca4e5a8d6e00d8a851c3bbd01442193f97a80139
      https://github.com/llvm/llvm-project/commit/ca4e5a8d6e00d8a851c3bbd01442193f97a80139
  Author: Matthew Weingarten <matt at weingarten.org>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

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

  Log Message:
  -----------
  [Memprof] Fixes memory leak in MemInfoBlock histogram. (#96834)

MemInfoBlocks (MIB) with empty callstacks are erased prematurely from
the CallStackProfileData. This patch frees allocated histogram buffers
when the MIB is associated with an empty callstack.


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

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp

  Log Message:
  -----------
  [ValueTracking][RISCV] Use ConstantRange::getUnsignedMax instead of getUpper to simplify some code. (#96816)

This avoids the need to subtract 1 and explain why.


  Commit: 1b8ab2f08998d3220e5d95003d47bb3d7cac966b
      https://github.com/llvm/llvm-project/commit/1b8ab2f08998d3220e5d95003d47bb3d7cac966b
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/GlobalDecl.h
    M clang/include/clang/AST/Mangle.h
    M clang/include/clang/AST/VTableBuilder.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/PointerAuthOptions.h
    M clang/include/clang/Basic/Thunk.h
    M clang/include/clang/CodeGen/CodeGenABITypes.h
    M clang/include/clang/CodeGen/ConstantInitBuilder.h
    M clang/include/clang/InstallAPI/Visitor.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/Mangle.cpp
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/AST/VTableBuilder.cpp
    M clang/lib/CodeGen/CGCXX.cpp
    M clang/lib/CodeGen/CGCXXABI.h
    M clang/lib/CodeGen/CGClass.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CGPointerAuth.cpp
    M clang/lib/CodeGen/CGVTT.cpp
    M clang/lib/CodeGen/CGVTables.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/CodeGen/ConstantEmitter.h
    M clang/lib/CodeGen/ConstantInitBuilder.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/CodeGen/MicrosoftCXXABI.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Headers/ptrauth.h
    M clang/lib/InstallAPI/Visitor.cpp
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/CodeGen/ptrauth-ubsan-vptr.cpp
    M clang/test/CodeGenCXX/catch-undef-behavior.cpp
    A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-call-2.cpp
    A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-call.cpp
    A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-virtual-dtor-call.cpp
    A clang/test/CodeGenCXX/ptrauth-explicit-vtable-pointer-control.cpp
    A clang/test/CodeGenCXX/ptrauth-rtti-layout.cpp
    A clang/test/CodeGenCXX/ptrauth-thunks.cpp
    A clang/test/CodeGenCXX/ptrauth-virtual-function.cpp
    A clang/test/CodeGenCXX/ptrauth-vtable-virtual-inheritance-thunk.cpp
    M clang/test/CodeGenCXX/ubsan-vtable-checks.cpp
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    A clang/test/SemaCXX/ptrauth-incomplete-virtual-member-function-return-arg-type.cpp
    A clang/test/SemaCXX/vtable_pointer_authentication_attribute.cpp
    M clang/utils/TableGen/ClangAttrEmitter.cpp

  Log Message:
  -----------
   [clang] Implement pointer authentication for C++ virtual functions, v-tables, and VTTs (#94056)

Virtual function pointer entries in v-tables are signed with address
discrimination in addition to declaration-based discrimination, where an
integer discriminator the string hash (see
`ptrauth_string_discriminator`) of the mangled name of the overridden
method. This notably provides diversity based on the full signature of
the overridden method, including the method name and parameter types.
This patch introduces ItaniumVTableContext logic to find the original
declaration of the overridden method.
On AArch64, these pointers are signed using the `IA` key (the
process-independent code key.)

V-table pointers can be signed with either no discrimination, or a
similar scheme using address and decl-based discrimination. In this
case, the integer discriminator is the string hash of the mangled
v-table identifier of the class that originally introduced the vtable
pointer.
On AArch64, these pointers are signed using the `DA` key (the
process-independent data key.)

Not using discrimination allows attackers to simply copy valid v-table
pointers from one object to another. However, using a uniform
discriminator of 0 does have positive performance and code-size
implications on AArch64, and diversity for the most important v-table
access pattern (virtual dispatch) is already better assured by the
signing schemas used on the virtual functions. It is also known that
some code in practice copies objects containing v-tables with `memcpy`,
and while this is not permitted formally, it is something that may be
invasive to eliminate.

This is controlled by:
```
  -fptrauth-vtable-pointer-type-discrimination
  -fptrauth-vtable-pointer-address-discrimination
```

In addition, this provides fine-grained controls in the
ptrauth_vtable_pointer attribute, which allows overriding the default
ptrauth schema for vtable pointers on a given class hierarchy, e.g.:
```
  [[clang::ptrauth_vtable_pointer(no_authentication, no_address_discrimination, 
                                  no_extra_discrimination)]]
  [[clang::ptrauth_vtable_pointer(default_key, default_address_discrimination,
                                  custom_discrimination, 0xf00d)]]
```

The override is then mangled as a parametrized vendor extension:
```
"__vtptrauth" I
 <key>
 <addressDiscriminated>
 <extraDiscriminator>
E
```

To support this attribute, this patch adds a small extension to the
attribute-emitter tablegen backend.

Note that there are known areas where signing is either missing
altogether or can be strengthened. Some will be addressed in later
changes (e.g., member function pointers, some RTTI).
`dynamic_cast` in particular is handled by emitting an artificial
v-table pointer load (in a way that always authenticates it) before the
runtime call itself, as the runtime doesn't have enough information
today to properly authenticate it. Instead, the runtime is currently
expected to strip the v-table pointer.

---------

Co-authored-by: John McCall <rjmccall at apple.com>
Co-authored-by: Ahmed Bougacha <ahmed at bougacha.org>


  Commit: 34e5a71b3219391309eb498a55e4d49831e1f9ab
      https://github.com/llvm/llvm-project/commit/34e5a71b3219391309eb498a55e4d49831e1f9ab
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/ptrauth-intrinsics.ll

  Log Message:
  -----------
  [InstCombine] Combine ptrauth constants into ptrauth intrinsics. (#94705)

When we encounter two consecutive ptrauth intrinsics, we can already
combine the inner matching sign + auth pair, e.g.:
  resign(sign(p,ks,ds),ks,ds,kr,dr) -> sign(p,kr,dr)

We can generalize that to ptrauth constants, which are effectively
constant equivalents to ptrauth.sign, i.e.:
  resign(ptrauth(p,ks,ds),ks,ds,kr,dr) -> ptrauth(p,kr,dr)
  auth(ptrauth(p,k,d),k,d) -> p

While there, cleanup a redundant return after eraseInstFromFunction in
the shared (intrinsic|constant)->intrinsic folding code.


  Commit: c791d86eab13634ec372196977eeac8f3e9f4805
      https://github.com/llvm/llvm-project/commit/c791d86eab13634ec372196977eeac8f3e9f4805
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [NFC][RegAlloc] Delete unused option

The option -disable-spill-hoist does not actually control anything and
is not used anywhere, so it should be removed.


  Commit: 6ca387cbcb207abe2a07bbb1b536f099c2e246e7
      https://github.com/llvm/llvm-project/commit/6ca387cbcb207abe2a07bbb1b536f099c2e246e7
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/DomTreeUpdater.h
    A llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
    M llvm/include/llvm/CodeGen/MachineBasicBlock.h
    A llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h
    M llvm/include/llvm/CodeGen/MachinePostDominators.h
    M llvm/lib/Analysis/DomTreeUpdater.cpp
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    A llvm/lib/CodeGen/MachineDomTreeUpdater.cpp
    M llvm/unittests/CodeGen/CMakeLists.txt
    A llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp

  Log Message:
  -----------
  [CodeGen] Introduce `MachineDomTreeUpdater` (#95369)

This commit converts most of `DomTreeUpdater` into
`GenericDomTreeUpdater` class template, so IR and MIR can reuse some
codes.
There are some differences between interfaces of `BasicBlock` and
`MachineBasicBlock`, so subclasses still need to implement some
functions, like `forceFlushDeletedBB`.


  Commit: 91b614fc63acd0480afb76579e0200afbf9a381e
      https://github.com/llvm/llvm-project/commit/91b614fc63acd0480afb76579e0200afbf9a381e
  Author: ChiaHungDuan <chiahungduan at google.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp

  Log Message:
  -----------
  [scudo] Minor refactoring of secondary cache test (#95995)


  Commit: 0f8849349ae3d3f2f537ad6ab233a586fb39d375
      https://github.com/llvm/llvm-project/commit/0f8849349ae3d3f2f537ad6ab233a586fb39d375
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/DomTreeUpdater.h
    R llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
    M llvm/include/llvm/CodeGen/MachineBasicBlock.h
    R llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h
    M llvm/include/llvm/CodeGen/MachinePostDominators.h
    M llvm/lib/Analysis/DomTreeUpdater.cpp
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    R llvm/lib/CodeGen/MachineDomTreeUpdater.cpp
    M llvm/unittests/CodeGen/CMakeLists.txt
    R llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp

  Log Message:
  -----------
  Revert "[CodeGen] Introduce `MachineDomTreeUpdater`" (#96846)

Reverts llvm/llvm-project#95369
Many build bots failed


  Commit: ef067cf4b6d46cd48d2ed5cfe2300fe83b6bcc8a
      https://github.com/llvm/llvm-project/commit/ef067cf4b6d46cd48d2ed5cfe2300fe83b6bcc8a
  Author: Max Winkler <max.enrico.winkler at gmail.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M llvm/lib/Demangle/MicrosoftDemangle.cpp
    A llvm/test/Demangle/ms-auto-templates.test

  Log Message:
  -----------
  Fix MSVC Demangling with auto NTTP mangled names for function pointer, pointer to data and integral types (#96590)

As cited here, https://github.com/llvm/llvm-project/pull/92477, undname
needs updating to support the new auto NTTP name mangling.

In short the deduced type of the auto NTTP parameter is mangled as `$M
<type> <nttp-param>`. However the deduced type is not printed for the
undecorated name so the `$M <type>` is parsed but simply ignored when
stringifying the generated AST.


  Commit: 6b931ab516616127ce4cd5a0ad5e37d5a1d1696b
      https://github.com/llvm/llvm-project/commit/6b931ab516616127ce4cd5a0ad5e37d5a1d1696b
  Author: Clement Courbet <courbet at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [clang][transformer] Introduce a `constructExprArgs` range selector. (#95901)

This is similar to `callArgs` but for construct exprs like `S(42)` or
`{42}`.


  Commit: 73e6f9f95b51d7be1f93deded219005027f8d270
      https://github.com/llvm/llvm-project/commit/73e6f9f95b51d7be1f93deded219005027f8d270
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn

  Log Message:
  -----------
  gn: hwasan: fixup hwasan-preinit (#96748)

The build rule for hwasan_preinit outputs libclang_rt.hwasan_preinit,
but clang expects hwasan-preinit (with a dash, rather than an
underscore) when selecting the library in the frontend.

Also, we were missing the hwasan-preinit dependency in check-hwasan.

For posterity, this now passes hwasan unit tests on Android with:
 $ cat args.gn
clang_base_path = "/usr/local"
llvm_enable_assertions = true
llvm_targets_to_build = "all"
android_ndk_path = "/path/to/Android.sdk/ndk/25.2.9519653"
 $ /path/to/llvm/utils/gn/gn.py gen build
 $ ANDROID_SERIAL=xxx ninja -C build check-hwasan


  Commit: 73e46c2bb4949be986d9eac98d95a206d7f003e2
      https://github.com/llvm/llvm-project/commit/73e46c2bb4949be986d9eac98d95a206d7f003e2
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/BranchFolding.cpp
    M llvm/lib/CodeGen/EarlyIfConversion.cpp
    M llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
    M llvm/lib/CodeGen/IfConversion.cpp
    M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp
    M llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/lib/CodeGen/MachineTraceMetrics.cpp
    M llvm/lib/CodeGen/TailDuplication.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
    M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
    M llvm/lib/Target/Hexagon/HexagonLoopAlign.cpp
    M llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
    M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
    M llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
    M llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
    M llvm/test/CodeGen/Generic/MachineBranchProb.ll

  Log Message:
  -----------
  [CodeGen][NewPM] Port machine-branch-prob to new pass manager (#96389)

Like IR version `print<branch-prob>`, there is also a
`print<machine-branch-prob>`.


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

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

  Log Message:
  -----------
  [RISCV] Use StringRef instead of string_view in RISCVISAInfo. NFC

This is the only use of string_view in the file. Switch to StringRef
for consistency.


  Commit: b4ab52c8e71e819c13606de3500043eaa701e1ea
      https://github.com/llvm/llvm-project/commit/b4ab52c8e71e819c13606de3500043eaa701e1ea
  Author: harishch4 <harishcse44 at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    A flang/test/Lower/OpenMP/order-clause.f90
    M llvm/include/llvm/Frontend/OpenMP/OMP.td
    M llvm/unittests/Frontend/OpenMPDecompositionTest.cpp

  Log Message:
  -----------
  [Flang][OpenMP] Lowering Order clause to MLIR (#96730)


  Commit: 3cd3b2165e52b9c7fa71aaee1421c8effe4f526b
      https://github.com/llvm/llvm-project/commit/3cd3b2165e52b9c7fa71aaee1421c8effe4f526b
  Author: Kito Cheng <kito.cheng at sifive.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/ValueTypes.cpp
    M llvm/utils/TableGen/VTEmitter.cpp

  Log Message:
  -----------
  [ValueTypes][NFC] Generate EVT::getTypeForEVT from GenVT.inc (#96608)

Most of MVT has simple mapping to the LLVM type, so it would be nice to
auto generate that from ValueTypes.td, that could reduce the effort when
we adding new MVT, especially new vector MVT with different size.


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

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/CodeGenCXX/microsoft-uuidof.cpp

  Log Message:
  -----------
  [clang][Interp] Fix CXXUuidOfExprs with incomplete record types

Create a dummy variable for those cases.


  Commit: 002e819247b59debe71605aad9967203a119886b
      https://github.com/llvm/llvm-project/commit/002e819247b59debe71605aad9967203a119886b
  Author: yifeizh2 <yifei.zhang at intel.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
    M mlir/test/Dialect/Linalg/data-layout-propagation.mlir

  Log Message:
  -----------
  [mlir][linalg] Fix empty outer dim case for packing reshape op (#96732)

This PR fixes the issue reported in
[comment](https://github.com/llvm/llvm-project/pull/93529#discussion_r1653311765).


  Commit: ab58b6d58edf6a7c8881044fc716ca435d7a0156
      https://github.com/llvm/llvm-project/commit/ab58b6d58edf6a7c8881044fc716ca435d7a0156
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/BranchFolding.cpp
    M llvm/lib/CodeGen/EarlyIfConversion.cpp
    M llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
    M llvm/lib/CodeGen/IfConversion.cpp
    M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp
    M llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/lib/CodeGen/MachineTraceMetrics.cpp
    M llvm/lib/CodeGen/TailDuplication.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
    M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
    M llvm/lib/Target/Hexagon/HexagonLoopAlign.cpp
    M llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
    M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
    M llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
    M llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
    M llvm/test/CodeGen/Generic/MachineBranchProb.ll

  Log Message:
  -----------
  Revert "[CodeGen][NewPM] Port machine-branch-prob to new pass manager" (#96858)

Reverts llvm/llvm-project#96389
Some ppc bots failed.


  Commit: b5cc19e572855136eb4080208a9bd5ecef785aa3
      https://github.com/llvm/llvm-project/commit/b5cc19e572855136eb4080208a9bd5ecef785aa3
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/docs/GlobalISel/GenericOpcode.rst
    M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
    M llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.h
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/ptrauth-constant-in-code.ll
    A llvm/test/CodeGen/AArch64/ptrauth-constant-in-code.ll
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-variadics.td
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
    M llvm/test/TableGen/GlobalISelEmitter.td

  Log Message:
  -----------
  [PAC][AArch64] Lower ptrauth constants in code (#94241)

Depends on #94240.

Define the following pseudos for lowering ptrauth constants in code:

- non-`extern_weak`:
  - no GOT load needed: `MOVaddrPAC` - similar to `MOVaddr`, with added
    PAC;
  - GOT load needed: `LOADgotPAC` - similar to `LOADgot`, with added PAC;
- `extern_weak`: `LOADauthptrstatic` - similar to `LOADgot`, but use a
  special stub slot named `sym$auth_ptr$key$disc` filled by dynamic linker
  during relocation resolving instead of a GOT slot.

---------

Co-authored-by: Ahmed Bougacha <ahmed at bougacha.org>


  Commit: 605098dcd4e79b27c86784b1a3d7fc6e3010ce00
      https://github.com/llvm/llvm-project/commit/605098dcd4e79b27c86784b1a3d7fc6e3010ce00
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M mlir/lib/Transforms/Utils/DialectConversion.cpp

  Log Message:
  -----------
  Revert "[mlir][Transforms][NFC] Dialect Conversion: Move argument materialization logic (#96329)"

This reverts commit c01ce797619359ee282773dfc4b1e91ff0a30435. It depends
on f1e0657d144f5a3cfef4b625d0f875f4dacd21d1 which breaks SCF lowering.


  Commit: 4d46b460f9fe00c33545d9b0b320194d5e4b49b5
      https://github.com/llvm/llvm-project/commit/4d46b460f9fe00c33545d9b0b320194d5e4b49b5
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M mlir/docs/DialectConversion.md
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/test/Transforms/test-legalize-type-conversion.mlir

  Log Message:
  -----------
  Revert "[mlir][Transforms] Dialect conversion: Simplify handling of dropped arguments (#96207)"

This reverts commit f1e0657d144f5a3cfef4b625d0f875f4dacd21d1.

It breaks SCF conversion, see test case on the PR.


  Commit: 37481628ba4c069c2ddc471b2e2036f883405938
      https://github.com/llvm/llvm-project/commit/37481628ba4c069c2ddc471b2e2036f883405938
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M libcxx/include/__type_traits/conditional.h

  Log Message:
  -----------
  Revert "[libc++] Use _If for conditional_t (#96193)"

This reverts commit 2274c66e6faaaf29ad693b1ae3e5a7b0228a1950. It makes
libc++ non-conforming, see discussion on the PR.


  Commit: a1ad98813006cefcdf88336db3f81a15b6bf36fb
      https://github.com/llvm/llvm-project/commit/a1ad98813006cefcdf88336db3f81a15b6bf36fb
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [clang] Make header self-contained. NFC.


  Commit: 223a2102fe312f442f9b55a8bafa909e03b0f4ed
      https://github.com/llvm/llvm-project/commit/223a2102fe312f442f9b55a8bafa909e03b0f4ed
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [AArch64] Fix unused variable in release builds. NFC.


  Commit: 99251f5a11a34c415079afcba11f52ec6469fe60
      https://github.com/llvm/llvm-project/commit/99251f5a11a34c415079afcba11f52ec6469fe60
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/docs/GlobalISel/GenericOpcode.rst
    M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
    M llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.h
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    R llvm/test/CodeGen/AArch64/GlobalISel/ptrauth-constant-in-code.ll
    R llvm/test/CodeGen/AArch64/ptrauth-constant-in-code.ll
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-variadics.td
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
    M llvm/test/TableGen/GlobalISelEmitter.td

  Log Message:
  -----------
  Revert "[PAC][AArch64] Lower ptrauth constants in code (#94241)" (#96865)

This reverts #94241.

See buildbot failure
https://lab.llvm.org/buildbot/#/builders/51/builds/570


  Commit: 7a969ec1e114b6674c08e82ca048a3c4576bf0dd
      https://github.com/llvm/llvm-project/commit/7a969ec1e114b6674c08e82ca048a3c4576bf0dd
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/PatternMatch.h
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp

  Log Message:
  -----------
  [PatternMatch] Use m_Not instead of m_c_Xor with m_AllOnes() (#96837)


  Commit: bdeee9b105b7f1e75adcbfbd43f884d4ddb1a612
      https://github.com/llvm/llvm-project/commit/bdeee9b105b7f1e75adcbfbd43f884d4ddb1a612
  Author: Niranjan Hasabnis <niranjan.hasabnis at intel.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Interfaces/DataLayoutInterfaces.h
    M mlir/include/mlir/Interfaces/DataLayoutInterfaces.td
    M mlir/lib/Dialect/DLTI/DLTI.cpp
    M mlir/lib/Interfaces/DataLayoutInterfaces.cpp
    M mlir/test/Dialect/DLTI/invalid.mlir
    M mlir/test/Dialect/DLTI/roundtrip.mlir
    M mlir/test/Dialect/DLTI/valid.mlir
    M mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp

  Log Message:
  -----------
  DLTI: Simplifying getDevicePropertyValue API by returning Attribute type value (#96706)

**Rationale**

- With the current flexibility of supporting any type of value, we will
need to offer type-specific APIs to fetch a value (e.g.,
`getDevicePropertyValueAsInt` for integer type,
`getDevicePropertyValueAsFloat` for float type, etc.) A single type of
value will eliminate this need.
- Current flexibility can also lead to typing errors when a user fetches
the value of a property using an API that is not consistent with the
type of the value.

**What is the change**

For following system description,


```
 module attributes {
   dlti.target_system_spec = #dlti.target_system_spec<
     "CPU": #dlti.target_device_spec<
      #dlti.dl_entry<"max_vector_op_width", 64.0 : f32>>,
     "GPU": #dlti.target_device_spec<
      #dlti.dl_entry<"max_vector_op_width", 128 : ui32>>
   >} {}
```

a user no longer needs to use `getDevicePropertyValueAsInt` for
retrieving GPU's `max_vector_op_width` and
`getDevicePropertyValueAsFloat` for retrieving CPU's
`max_vector_op_width`. Instead it can be done with a uniform API of
`getDevicePropertyValue`.


  Commit: 0ae23708ef4345f0832ba4443ce7b184248b4784
      https://github.com/llvm/llvm-project/commit/0ae23708ef4345f0832ba4443ce7b184248b4784
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.cpp
    M lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.h
    M lldb/source/Target/RegisterFlags.cpp

  Log Message:
  -----------
  [lldb] Do not produce field information for registers known not to exist (#95125)

Currently the logic is generate field information for all registers in
LinuxArm64RegisterFlags and then as we walk the existing register info,
only those that are in that existing info will get the new fields
patched in.

This works fine but on a review for FreeBSD support it was pointed out
that this is not obvious from the source code.

So instead I've allowed the construction of empty lists of fields, and
field detection methods can return an empty field list if they think
that the register will never exist.

Then the pre-existing code will see the empty field list, and never look
for that register in the register info.

I think removing the assert is ok because the GDB classes filter out
empty field lists at runtime, and anyone updating the built in field
information would presumably notice if none of the fields they intended
to add were displayed.

mte_ctrl and svcr are the only registers that need this so far.

There is no extra testing here as the behaviour is the same, it doesn't
add field information to regiters that don't exist. The mechanism is
just clearer now.


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

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.pops.exiting.wave.id.ll

  Log Message:
  -----------
  [AMDGPU] Fix unwanted LICM/CSE of llvm.amdgcn.pops.exiting.wave.id (#96190)

Mark both the intrinsic and the selected MachineInstr as having side
effects to prevent MachineLICM and MachineCSE from moving/removing them.


  Commit: 9a9ec228cdcf75d01be82be5be13e1542f0fc75d
      https://github.com/llvm/llvm-project/commit/9a9ec228cdcf75d01be82be5be13e1542f0fc75d
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/bindings/python/python-swigsafecast.swig
    M lldb/bindings/python/python-wrapper.swig
    M lldb/include/lldb/API/SBEvent.h
    M lldb/include/lldb/API/SBStream.h
    M lldb/include/lldb/Interpreter/Interfaces/ScriptedInterface.h
    A lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/include/lldb/Target/ThreadPlanPython.h
    M lldb/include/lldb/lldb-forward.h
    M lldb/source/Interpreter/ScriptInterpreter.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
    M lldb/source/Target/ThreadPlanPython.cpp
    M lldb/test/API/functionalities/step_scripted/Steps.py
    M lldb/test/API/functionalities/thread_plan/wrap_step_over.py
    M lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp

  Log Message:
  -----------
  [lldb] Make use of Scripted{Python,}Interface for ScriptedThreadPlan (#70392) (#96868)

This patch makes ScriptedThreadPlan conforming to the ScriptedInterface
& ScriptedPythonInterface facilities by introducing 2
ScriptedThreadPlanInterface & ScriptedThreadPlanPythonInterface classes.

This allows us to get rid of every ScriptedThreadPlan-specific SWIG
method and re-use the same affordances as other scripting offordances,
like Scripted{Process,Thread,Platform} & OperatingSystem.

To do so, this adds new transformer methods for `ThreadPlan`, `Stream` &
`Event`, to allow the bijection between C++ objects and their python
counterparts.

This just re-lands #70392 after fixing test failures.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>


  Commit: 8a43dc3efdd9bfba0bea32061ef2f3397a968eb9
      https://github.com/llvm/llvm-project/commit/8a43dc3efdd9bfba0bea32061ef2f3397a968eb9
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/lib/Sema/CMakeLists.txt
    A clang/lib/Sema/CheckExprLifetime.cpp
    A clang/lib/Sema/CheckExprLifetime.h
    M clang/lib/Sema/SemaInit.cpp

  Log Message:
  -----------
  [clang][Sema] Move the initializer lifetime checking code from SemaInit.cpp to a new place, NFC (#96758)

This is a refactoring change for better code isolation and reuse, the
first step to extend it for assignments.


  Commit: 15fc801cf0ca7a4d09fe52546394efa51414047a
      https://github.com/llvm/llvm-project/commit/15fc801cf0ca7a4d09fe52546394efa51414047a
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/lib/Target/X86/X86InstrCMovSetCC.td
    M llvm/lib/Target/X86/X86InstrFragments.td
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.h
    A llvm/test/CodeGen/X86/apx/cf.ll

  Log Message:
  -----------
  [X86][CodeGen] Support hoisting load/store with conditional faulting (#96720)

1. Add TTI interface for conditional load/store.
2. Mark 1 x i16/i32/i64 masked load/store legal so that it's not
   legalized in pass scalarize-masked-mem-intrin.
3. Visit 1 x i16/i32/i64 masked load/store to build a target-specific
   CLOAD/CSTORE node to avoid error in
   `DAGTypeLegalizer::ScalarizeVectorResult`.
4. Combine DAG to simplify the nodes for CLOAD/CSTORE.
5. Lower CLOAD/CSTORE to CFCMOV by pattern match.

This is CodeGen part of #95515


  Commit: ba60d8a11af2cdd7e80e2fd968cdf52adcabf5a1
      https://github.com/llvm/llvm-project/commit/ba60d8a11af2cdd7e80e2fd968cdf52adcabf5a1
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Target/RegisterFlags.h
    M lldb/source/Core/DumpRegisterInfo.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
    M lldb/source/Target/RegisterFlags.cpp
    M lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterFlags.py
    M lldb/unittests/Core/DumpRegisterInfoTest.cpp

  Log Message:
  -----------
  [lldb] Parse and display register field enums (#95768)

This teaches lldb to parse the enum XML elements sent by lldb-server,
and make use of the information in `register read` and `register info`.

The format is described in

https://sourceware.org/gdb/current/onlinedocs/gdb.html/Enum-Target-Types.html.

The target XML parser will drop any invalid enum or evalue. If we find
multiple evalue for the same value, we will use the last one we find.

The order of evalues from the XML is preserved as there may be good
reason they are not in numerical order.


  Commit: 6c2f5d6cdeee1a458700e33797fd8df263b748b9
      https://github.com/llvm/llvm-project/commit/6c2f5d6cdeee1a458700e33797fd8df263b748b9
  Author: Hugh Delaney <hugh.delaney at codeplay.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/test/CodeGen/NVPTX/param-align.ll

  Log Message:
  -----------
  [NVPTX] Don't use underlying alignment to align param (#96793)

Previously, if a ptr had align N, then the NVPTX lowering was taking
this align N to refer to the alignment of the pointer type itself, as
opposed to the alignment of the memory that it points to.

As such, if a kernel with signature

```
define void @foo(ptr align 4 %_arg_ptr)
```

takes align 4 to be the alignment of the parameter, this would result in
breaking the ld.param into two separate loads like so:

```
	ld.param.u32 	%rd1, [foo_param_0+4];
	shl.b64 	%rd2, %rd1, 32;
	ld.param.u32 	%rd3, [foo_param_0];
	or.b64  	%rd4, %rd2, %rd3;
```

It isn't necessary as far as I can tell from the PTX ISA documents to
specify the alignment of params, nor to break the loading of params into
smaller loads based on their alignment. So this patch changes the
codegen to the better:

```
	ld.param.u64 	%rd1, [foo_param_0];
```


  Commit: 2033b1cf16f040e1369d8efba8439dcd3e36ed31
      https://github.com/llvm/llvm-project/commit/2033b1cf16f040e1369d8efba8439dcd3e36ed31
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/test/CodeGen/coverage-target-attr.c

  Log Message:
  -----------
  [CodeGen] Don't write coverage to source directory in test


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

  Changed paths:
    A llvm/test/Transforms/PhaseOrdering/X86/blendv-select.ll

  Log Message:
  -----------
  [X86] Add phase ordering test coverage for #58895


  Commit: dfd2711f8f70fca45d2ddbca0eede7ad957ec307
      https://github.com/llvm/llvm-project/commit/dfd2711f8f70fca45d2ddbca0eede7ad957ec307
  Author: Yi Wu <yi.wu2 at arm.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M flang/docs/Intrinsics.md
    M flang/runtime/execute.cpp
    M flang/unittests/Runtime/CommandTest.cpp

  Log Message:
  -----------
  Revert "Revert "[flang] Fix execute_command_line cmdstat is not set when error occurs" (#96365)" (#96774)

The fix broke llvm-test-suite, so it was reverted previously. With test
fixes added in https://github.com/llvm/llvm-test-suite/pull/137, it
should now pass the tests

This reverts commit 435635652fd226fa292abcff6a10d3df9dbd74e3.


  Commit: 253a294b54a6096a0b66f840931dd0e345d70c4f
      https://github.com/llvm/llvm-project/commit/253a294b54a6096a0b66f840931dd0e345d70c4f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/PassInstrumentation.h
    M llvm/include/llvm/IR/PassManager.h
    M llvm/include/llvm/IR/PassManagerImpl.h
    M llvm/lib/IR/PassManager.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    A llvm/test/Other/crash-stack-trace.ll
    M llvm/test/Other/print-on-crash.ll

  Log Message:
  -----------
  [PassManager] Add pretty stack frames (#96078)

In NewPM pass managers, add a "pretty stack frame" that tells you which
pass crashed while running which function.

For example `opt -O3 -passes-ep-peephole=trigger-crash-function test.ll`
will print something like this:

```
Stack dump:
0.	Program arguments: build/bin/opt -S -O3 -passes-ep-peephole=trigger-crash-function test.ll
1.	Running pass "function<eager-inv>(mem2reg,instcombine<max-iterations=1;no-use-loop-info;no-verify-fixpoint>,trigger-crash-function,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-sink-common-insts;speculate-blocks;simplify-cond-branch>)" on module "test.ll"
2.	Running pass "trigger-crash-function" on function "fshl_concat_i8_i8"
```

While the crashing pass is usually evident from the stack trace, this
also shows which function triggered the crash, as well as the pipeline
string for the pass (including options).

Similar functionality existed in the LegacyPM.


  Commit: 3f537a00dc7e623f63fd5e8b1c0b430d546f7386
      https://github.com/llvm/llvm-project/commit/3f537a00dc7e623f63fd5e8b1c0b430d546f7386
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Support/MathExtras.h

  Log Message:
  -----------
  MathExtras: s/constexpr inline/constexpr/ (NFC) (#96890)

constexpr implies inline.


  Commit: 0cb748b9ba7cea72bee1bcf7c94f26c646053bb1
      https://github.com/llvm/llvm-project/commit/0cb748b9ba7cea72bee1bcf7c94f26c646053bb1
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py

  Log Message:
  -----------
  [lldb][test] Refactor no target XML test

To make it more easy to check a bug later.


  Commit: 204c403b5215197ecdbdb68ca7f11402d6d9892b
      https://github.com/llvm/llvm-project/commit/204c403b5215197ecdbdb68ca7f11402d6d9892b
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/test/API/functionalities/step_scripted/TestStepScripted.py

  Log Message:
  -----------
  [lldb/test] Mark TestStepScripted.py as XFAIL temporarily (#96894)

After landing 9a9ec228cdcf, some of the `TestStepScripted.py` methods
started failing on various bots:

- https://lab.llvm.org/buildbot/#/builders/162/builds/851
- https://lab.llvm.org/buildbot/#/builders/59/builds/650
-
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6546/
- https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/lldb-cmake/3359/

Since I'm not able to reproduce the test failure locally (tested on
darwin x86_64/arm64 & linux arm64), I'll mark these as XFAIL until I can
reproduce it or attach to a bot to investigate the issue on it directly.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>


  Commit: 2a948d11c0540004dc906d948bac58398bafe928
      https://github.com/llvm/llvm-project/commit/2a948d11c0540004dc906d948bac58398bafe928
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/DeclPrinter.cpp
    M clang/test/PCH/cxx2a-requires-expr.cpp

  Log Message:
  -----------
  [Clang][AST] Let DeclPrinter print trailing requires expressions for template parameters (#96864)

As discussed in
https://github.com/llvm/llvm-project/pull/96084#discussion_r1654629993,
it would be nice to present these trailing constraints on template
parameters when printing CTAD decls through a DeclPrinter.


  Commit: d4e9ba59d6a2e334c983fa79f43b167d0583772b
      https://github.com/llvm/llvm-project/commit/d4e9ba59d6a2e334c983fa79f43b167d0583772b
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  [mlir][OpenMP] Standardise representation of reduction clause (#96215)

Now all operations with a reduction clause have an array of bools
controlling whether each reduction variable should be passed by
reference or value.

This was already supported for Wsloop and Parallel. The new operations
modified here currently have no flang lowering or translation to LLVMIR
and so further changes are not needed.

It isn't possible to check the verifier in
mlir/test/Dialect/OpenMP/invalid.mlir because there is no way of parsing
an operation to have an incorrect number of byref attributes. The
verifier exists to pick up buggy operation builders or in-place
operation modification.


  Commit: 2731d26948384f1ec2c30ce6692c60e9414ea2ec
      https://github.com/llvm/llvm-project/commit/2731d26948384f1ec2c30ce6692c60e9414ea2ec
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [mlir][vector] Support more mask types in foldTransferFullMask() (#96761)

Using the existing `getMaskFormat()` this can be extended to support
`arith.constant` masks.


  Commit: 06079233f86325cb27a8197975a2bf351652e190
      https://github.com/llvm/llvm-project/commit/06079233f86325cb27a8197975a2bf351652e190
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/AArch64/cost-no-valid-vplans-built.ll

  Log Message:
  -----------
  [VPlan] Return std::nullopt early if plans are empty.

Fixes a crash caused by abf5969.


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

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

  Log Message:
  -----------
  [Sema] HLSLCompareFloatingRank - don't dereference getAs<> results

Use castAs<> to assert the cast is valid to help avoid null dereferences

Fixes static analyser warning


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RICSV] PerformDAGCombine - don't directly dereference dyn_cast results

Use cast<> to assert the cast is valid to help avoid null dereferences

Fixes static analyser warnings


  Commit: 7c866cc69ffbc71eb1f3b849ee4fa16b02dd8732
      https://github.com/llvm/llvm-project/commit/7c866cc69ffbc71eb1f3b849ee4fa16b02dd8732
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachinePostDominators.h

  Log Message:
  -----------
  [CodeGen] Mark MachinePostDominatorTree constructor explicit (#96852)

Align with PostDominatorTree.


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

  Changed paths:
    M clang/lib/Sema/TreeTransform.h

  Log Message:
  -----------
  [Sema] TransformTypeOfExprType / TransformTypeOfType - don't dereference getAs<> results

Use castAs<> to assert the cast is valid to help avoid null dereferences

Fixes static analyser warnings


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

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

  Log Message:
  -----------
  [X86] computeKnownBitsForPMADDWD - the final addition of the signextended multiplies is not guaranteed to be NSW

https://rust.godbolt.org/z/3f1bevnoT
https://alive2.llvm.org/ce/z/cjixBY

Noticed by @alexfh


  Commit: e035ef0e7423c1a4c78e922508da817dbd5b6a02
      https://github.com/llvm/llvm-project/commit/e035ef0e7423c1a4c78e922508da817dbd5b6a02
  Author: Fabian Mora <fmora.dev at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/CMakeLists.txt
    A mlir/include/mlir/Dialect/Ptr/CMakeLists.txt
    A mlir/include/mlir/Dialect/Ptr/IR/CMakeLists.txt
    A mlir/include/mlir/Dialect/Ptr/IR/PtrAttrDefs.td
    A mlir/include/mlir/Dialect/Ptr/IR/PtrAttrs.h
    A mlir/include/mlir/Dialect/Ptr/IR/PtrDialect.h
    A mlir/include/mlir/Dialect/Ptr/IR/PtrDialect.td
    A mlir/include/mlir/Dialect/Ptr/IR/PtrOps.h
    A mlir/include/mlir/Dialect/Ptr/IR/PtrOps.td
    A mlir/include/mlir/Dialect/Ptr/IR/PtrTypes.h
    M mlir/include/mlir/InitAllDialects.h
    M mlir/lib/Dialect/CMakeLists.txt
    A mlir/lib/Dialect/Ptr/CMakeLists.txt
    A mlir/lib/Dialect/Ptr/IR/CMakeLists.txt
    A mlir/lib/Dialect/Ptr/IR/PtrAttrs.cpp
    A mlir/lib/Dialect/Ptr/IR/PtrDialect.cpp
    A mlir/lib/Dialect/Ptr/IR/PtrTypes.cpp
    A mlir/test/Dialect/Ptr/layout.mlir
    A mlir/test/Dialect/Ptr/types.mlir

  Log Message:
  -----------
  [mlir][Ptr] Init the Ptr dialect with the `!ptr.ptr` type. (#86860)

This patch initializes the `ptr` dialect directories and base files,
adding the `!ptr.ptr` type and the `#ptr.spec<...>` data layout spec
attribute.

The `!ptr.ptr` type is an opaque pointer type optionally parameterized
by a memory space. This type typically represents a handle to an object
in memory or target-dependent values like `nullptr`.

The implementation of the `DataLayoutTypeInterface` interface for
`!ptr.ptr` was adapted from `!llvm.ptr`'s implementation. This
implementation uses the `#ptr.spec<...>` attribute for defining the data
layout specification.

See [[RFC] `ptr` dialect & modularizing ptr ops in the LLVM
dialect](https://discourse.llvm.org/t/rfc-ptr-dialect-modularizing-ptr-ops-in-the-llvm-dialect/75142)
for rationale and roadmap.


  Commit: 34fe6da6e464e74a331c056d050074a6c9216527
      https://github.com/llvm/llvm-project/commit/34fe6da6e464e74a331c056d050074a6c9216527
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaOpenMP.cpp

  Log Message:
  -----------
  [clang][OpenMP] Place some common code in functions (#96811)

There are chunks of code repeated in a number of functions. This patch
moves some of that code into individual functions.


  Commit: 656b8f5ec4ba3fe8ec7bdef125ccd42ed43b0b16
      https://github.com/llvm/llvm-project/commit/656b8f5ec4ba3fe8ec7bdef125ccd42ed43b0b16
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [PassManager] Drop Function.h and Module.h includes (NFC) (#96892)

Replace them with forward declarations.


  Commit: 468d668c5c4031366ae38804927b450f9faf409c
      https://github.com/llvm/llvm-project/commit/468d668c5c4031366ae38804927b450f9faf409c
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/lib/AST/CMakeLists.txt
    R clang/lib/AST/Interp/ByteCodeExprGen.cpp
    R clang/lib/AST/Interp/ByteCodeExprGen.h
    R clang/lib/AST/Interp/ByteCodeStmtGen.cpp
    R clang/lib/AST/Interp/ByteCodeStmtGen.h
    A clang/lib/AST/Interp/Compiler.cpp
    A clang/lib/AST/Interp/Compiler.h
    M clang/lib/AST/Interp/Context.cpp
    M clang/lib/AST/Interp/EvalEmitter.h
    M clang/lib/AST/Interp/Program.cpp

  Log Message:
  -----------
  [clang][Interp] Merge ByteCodeExprGen and ByteCodeStmtGen (#83683)

We currently cannot generate bytecode for statements once we've decided
we want to generate bytecode for expressions. This is a problem for `StmtExpr`, which is
an expression that requires us to evaluate a statement.

Merge ByteCodeExprGen and ByteCodeStmtGen, so we don't do that distinction anymore. Rename them to Compiler at the same time.


  Commit: e9b8cd0c806db00f0981fb36717077c941426302
      https://github.com/llvm/llvm-project/commit/e9b8cd0c806db00f0981fb36717077c941426302
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
    M llvm/test/MC/Sparc/sparc-mem-asi-instructions.s
    M llvm/test/MC/Sparc/sparcv9-instructions.s

  Log Message:
  -----------
  [SPARC][IAS] Rework ASI/Prefetch tag matching in prep for `ParseForAllFeatures`

Unify parts of ASI and Prefetch tag matching at `parseASITag`
and `parsePrefetchTag` to use a common function to parse any immediate
expressions. This introduces a slight regression to error messages,
but is needed so we can enable `ParseForAllFeatures`
in `MatchOperandParserImpl` in a future patch.

Reviewers: jrtc27, brad0, rorth, s-barannikov

Reviewed By: s-barannikov

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


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

  Changed paths:
    M llvm/test/CodeGen/X86/combine-pmadd.ll

  Log Message:
  -----------
  [X86] Add test case to check computeKnownBitsForPMADDWD doesn't assume add nsw


  Commit: 1de1818fabb474d724741ee28baa5a7e1d972b00
      https://github.com/llvm/llvm-project/commit/1de1818fabb474d724741ee28baa5a7e1d972b00
  Author: Zibi Sarbinowski <zibi at ca.ibm.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
    A llvm/test/CodeGen/SystemZ/systemz-large-stack-frames.ll
    M llvm/test/CodeGen/SystemZ/zos-prologue-epilog.ll

  Log Message:
  -----------
  [SystemZ] Address issue with supper large stack frames (#96318)

This PR fixes the following failure by adjusting the calculation of
maximum displacement from Stack Pointer.

`LLVM ERROR: Error while trying to spill R5D from class ADDR64Bit:
Cannot scavenge register without an emergency spill slot!
`


  Commit: 8f63d154ec996cba590a83a4542dd545c78af85c
      https://github.com/llvm/llvm-project/commit/8f63d154ec996cba590a83a4542dd545c78af85c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGenCUDA/builtins-amdgcn.cu
    M clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
    M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl

  Log Message:
  -----------
  clang/AMDGPU: Use atomicrmw for ds fmin/fmax builtins (#96738)


  Commit: 4477ff68366679b156b9de812bd88d165a1668e0
      https://github.com/llvm/llvm-project/commit/4477ff68366679b156b9de812bd88d165a1668e0
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
    M llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/Bitcode/amdgcn-atomic.ll
    R llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.fmax.ll
    R llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.fmin.ll
    R llvm/test/CodeGen/AMDGPU/lds-atomic-fmin-fmax.ll

  Log Message:
  -----------
  AMDGPU: Remove ds_fmin/ds_fmax intrinsics (#96739)

These have been replaced with atomicrmw.


  Commit: 4e70720139ff8b03ab02087df249ce4fd4bbfd59
      https://github.com/llvm/llvm-project/commit/4e70720139ff8b03ab02087df249ce4fd4bbfd59
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/code-size-estimate.ll
    M llvm/test/CodeGen/AMDGPU/extra-lds-size.ll
    M llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll

  Log Message:
  -----------
  [AMDGPU] Add some gfx1200 test coverage


  Commit: 5da6f64db3184be89ee8b7cca4e5e055baaef964
      https://github.com/llvm/llvm-project/commit/5da6f64db3184be89ee8b7cca4e5e055baaef964
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/test/API/functionalities/step_scripted/TestStepScripted.py

  Log Message:
  -----------
  [lldb] Un-XFAIL TestStepScripted.test_misspelled_plan_name

XFAIL in #96894 was too wide. This one actually passes.


  Commit: 4ed8796bfe7e2666b56ae9fc5b8fe9ec05e0566f
      https://github.com/llvm/llvm-project/commit/4ed8796bfe7e2666b56ae9fc5b8fe9ec05e0566f
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [clang][OpenMP] clang-format SemaOpenMP.cpp, NFC

There are only a handful of changes, and now the entire file can be
kept clang-formatted.


  Commit: 4080f174ab21ae13ca1f58fffe3bb1ce5e2ccf3b
      https://github.com/llvm/llvm-project/commit/4080f174ab21ae13ca1f58fffe3bb1ce5e2ccf3b
  Author: lntue <35648136+lntue at users.noreply.github.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M libc/config/darwin/arm/entrypoints.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/config/windows/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/sincos.cpp
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/sincos_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/sincos_test.cpp

  Log Message:
  -----------
  [libc][math] Implement double precision sincos correctly rounded to all rounding modes. (#96719)

Sharing the same algorithm as double precision sin:
https://github.com/llvm/llvm-project/pull/95736 and cos:
https://github.com/llvm/llvm-project/pull/96591


  Commit: 2b6e3f3f90020ea5e8d0df64ca99735bf9ef6864
      https://github.com/llvm/llvm-project/commit/2b6e3f3f90020ea5e8d0df64ca99735bf9ef6864
  Author: Ivan Kosarev <ivan.kosarev at amd.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/test/MC/Disassembler/AMDGPU/decode-err.txt

  Log Message:
  -----------
  [AMDGPU] Fix MC/Disassembler/AMDGPU/decode-err.txt. (#96621)

It fails downstream now that
https://github.com/llvm/llvm-project/pull/95237 removed flushing the
output stream on printing every instruction.


  Commit: 264197516495910588d19fb19b6793e9be1bd6a3
      https://github.com/llvm/llvm-project/commit/264197516495910588d19fb19b6793e9be1bd6a3
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    A lldb/test/Shell/SymbolFile/DWARF/enum-declaration-uniqueness.cpp

  Log Message:
  -----------
  [lldb/DWARF] Unique enums parsed from declarations (#96751)

This is a regression from #96484 caught by @ZequanWu.

Note that we will still create separate enum types for types parsed from
two definitions. This is different from how we handle classes, but it is
not a regression.

I'm also adding the DieToType check to the class type parsing code,
although in this case, the type uniqueness should be enforced by the
UniqueDWARFASTType map.


  Commit: 2d209d964a17687f70299d756a7b5e9fa342e0b4
      https://github.com/llvm/llvm-project/commit/2d209d964a17687f70299d756a7b5e9fa342e0b4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/MemorySSA.h
    M llvm/include/llvm/IR/BasicBlock.h
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/include/llvm/IR/Instruction.h
    M llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
    M llvm/lib/Analysis/BranchProbabilityInfo.cpp
    M llvm/lib/Analysis/CaptureTracking.cpp
    M llvm/lib/Analysis/DemandedBits.cpp
    M llvm/lib/Analysis/IVDescriptors.cpp
    M llvm/lib/Analysis/IVUsers.cpp
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Analysis/Lint.cpp
    M llvm/lib/Analysis/Loads.cpp
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Analysis/LoopUnrollAnalyzer.cpp
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    M llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
    M llvm/lib/Analysis/MemoryLocation.cpp
    M llvm/lib/Analysis/MustExecute.cpp
    M llvm/lib/Analysis/StackSafetyAnalysis.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/IR/Instruction.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/MVETailPredication.cpp
    M llvm/lib/Target/BPF/BPFPreserveStaticOffset.cpp
    M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/lib/Target/X86/X86InterleavedAccess.cpp
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/lib/Transforms/Scalar/GuardWidening.cpp
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/lib/Transforms/Scalar/LICM.cpp
    M llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
    M llvm/lib/Transforms/Scalar/LoopDeletion.cpp
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    M llvm/lib/Transforms/Scalar/LoopInstSimplify.cpp
    M llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
    M llvm/lib/Transforms/Scalar/LoopRotation.cpp
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/lib/Transforms/Scalar/MergeICmps.cpp
    M llvm/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/lib/Transforms/Scalar/Scalarizer.cpp
    M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
    M llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
    M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
    M llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp
    M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
    M llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
    M llvm/lib/Transforms/Utils/CloneFunction.cpp
    M llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/LoopConstrainer.cpp
    M llvm/lib/Transforms/Utils/LoopPeel.cpp
    M llvm/lib/Transforms/Utils/LoopSimplify.cpp
    M llvm/lib/Transforms/Utils/LoopUnroll.cpp
    M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    M llvm/lib/Transforms/Utils/LoopVersioning.cpp
    M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
    M llvm/lib/Transforms/Utils/SSAUpdater.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp
    M llvm/tools/llvm-stress/llvm-stress.cpp

  Log Message:
  -----------
  [IR] Add getDataLayout() helpers to BasicBlock and Instruction (#96902)

This is a helper to avoid writing `getModule()->getDataLayout()`. I
regularly try to use this method only to remember it doesn't exist...

`getModule()->getDataLayout()` is also a common (the most common?)
reason why code has to include the Module.h header.


  Commit: 43953af9d3e4bf8fcc88ea3211c468474ea5af85
      https://github.com/llvm/llvm-project/commit/43953af9d3e4bf8fcc88ea3211c468474ea5af85
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [bazel] Port e035ef0e7423c1a4c78e922508da817dbd5b6a02


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp

  Log Message:
  -----------
  [AMDGPU] Only reinitialize disassembler Bytes array when needed. NFC. (#96666)


  Commit: 34e34a03ac83b51e90f8788945f9668446e468f8
      https://github.com/llvm/llvm-project/commit/34e34a03ac83b51e90f8788945f9668446e468f8
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/vectorize-conv-masked-and-scalable.mlir

  Log Message:
  -----------
  [mlir][linalg] Mark xfers as in-bounds when masking depthwise convs (#96771)

If this is not set the fact that the dynamic channel is in-bounds cannot
be inferred automatically (like it can for static sizes), which
eventually leads to it being marked as out-of-bounds (which prevents
some rewrites).


  Commit: f1c54d72104cb163120c6ab65587766b12e7d959
      https://github.com/llvm/llvm-project/commit/f1c54d72104cb163120c6ab65587766b12e7d959
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Sema/SemaHLSL.h
    M clang/include/clang/Sema/SemaObjC.h
    M clang/include/clang/Sema/SemaOpenCL.h
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaExprObjC.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/lib/Sema/SemaObjC.cpp
    M clang/lib/Sema/SemaOpenCL.cpp

  Log Message:
  -----------
  [clang][NFC] Move more things out of `SemaChecking.cpp` (#96641)

This patch moves some functions out of `SemaChecking.cpp`. ObjC-, HLSL-,
OpenCL-related functions are affected.

This patch continues the effort of splitting `Sema` into parts.
Additional context can be found in
https://github.com/llvm/llvm-project/pull/84184 and
https://github.com/llvm/llvm-project/pull/92682.


  Commit: 8a7730fb88445a019fe150d5db4f6642e43afd04
      https://github.com/llvm/llvm-project/commit/8a7730fb88445a019fe150d5db4f6642e43afd04
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    R lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py
    A lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXMLRegisters.py

  Log Message:
  -----------
  [lldb] Don't call AddRemoteRegisters if the target XML did not include any registers (#96907)

Fixes #92541

When e69a3d18f48bc0d81b5dd12e735a2ec898ce64d added fallback register
layouts, it assumed that the choices were target XML with registers, or
no target XML at all.

In the linked issue, a user has a debug stub that does have target XML,
but it's missing register information.

This caused us to finalize the register information using an empty set
of registers got from target XML, then fail an assert when we attempted
to add the fallback set. Since we think we've already completed the
register information.

This change adds a check to prevent that first call and expands the
existing tests to check each architecture without target XML and with
target XML missing register information.


  Commit: 42c3edb4819ff2e9608f645fb5793dcb33b47f9c
      https://github.com/llvm/llvm-project/commit/42c3edb4819ff2e9608f645fb5793dcb33b47f9c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/docs/ProgrammersManual.rst
    M llvm/include/llvm/ADT/SmallPtrSet.h
    M llvm/unittests/ADT/SmallPtrSetTest.cpp

  Log Message:
  -----------
  [SmallPtrSet] Don't leave tombstones in small mode (#96762)

When erasing elements in small mode, we currently leave behind
tombstones. This means that insertion into the SmallPtrSet also has to
check for these, making the operation more expensive than it really
should be.

We don't really need the tombstones in small mode, because we can just
replace with the last element in the set instead. This changes the
order, but SmallPtrSet order is fundamentally unstable anyway.

However, not leaving tombstones means that the erase() operation now
invalidates iterators. This means that consumers that want to remove
elements while iterating over the set have to use remove_if() instead.
If they fail to do so, there will be an assertion failure thanks to
debug epochs, so any such cases are easy to detect (and I have already
fixed all cases inside llvm at least).


  Commit: aa24e36d037caee2a4106f721a0ac2ab2a1bc335
      https://github.com/llvm/llvm-project/commit/aa24e36d037caee2a4106f721a0ac2ab2a1bc335
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineInstr.h
    M llvm/lib/CodeGen/MachineInstr.cpp

  Log Message:
  -----------
  [CodeGen] Cache Opcode in MachineInstr (#96797)

This avoids the indirection through MCID when just accessing the opcode.
This uses two of the four padding bytes at the end of MachineInstr.


  Commit: a1bce0b89e800cb7ab1d3cf3437f8f34d0695468
      https://github.com/llvm/llvm-project/commit/a1bce0b89e800cb7ab1d3cf3437f8f34d0695468
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p1.cpp
    M clang/test/Misc/warning-flags.c
    A clang/test/SemaCXX/warn-explicit-specialization-storage-class.cpp

  Log Message:
  -----------
  Clang: Add warning flag for storage class specifiers on explicit specializations (#96699)

With the recent fix for this situation in class members (#93873) (for
which the fixed code is invalid prior to this patch - making migrating
code difficult as it must be in lock-step with the compiler migration,
if building with -Werror) it'd be really useful to be able to disable
this warning during the compiler migration/decouple the compiler
migration from the source fixes.

In theory this approach will regress the codebase to the previous
non-member cases of this issue that were already being held back by the
warning (as opposed to if we carved out the new cases into a separate
warning from the existing cases) but I think this'll be so rare and the
cleanup so simple, that the extra regressions of disabling the warning
broadly won't be too much of a problem. (but if folks disagree, I'm open
to making the warning more fine-grained)


  Commit: dade11f55e7c1045fc322bf61e84345f3dadb958
      https://github.com/llvm/llvm-project/commit/dade11f55e7c1045fc322bf61e84345f3dadb958
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2024-06-27 (Thu, 27 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/attributes.ll
    M llvm/test/MC/RISCV/attribute-arch.s
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Bump Pointer Masking extension version (#96715)

These extensions had their version number bumped and still experimental
(under public review). I didn't see anything in the [commit
history](https://github.com/riscv/riscv-j-extension/commits/master/)
since #79929 that would warrant a change to the implementation of
pointer masking in the compiler.


  Commit: 2fefc042ce8faf8516ae66e1529d87c7130094a1
      https://github.com/llvm/llvm-project/commit/2fefc042ce8faf8516ae66e1529d87c7130094a1
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    R lldb/test/Shell/SymbolFile/DWARF/enum-declaration-uniqueness.cpp
    A lldb/test/Shell/SymbolFile/DWARF/x86/enum-declaration-uniqueness.cpp

  Log Message:
  -----------
  [lldb/test] Fix enum-declaration-uniqueness.cpp

Dereferencing a pointer variable without a running process does not work
on every arch/os. Fix the test to x86-linux, where it is known to work.


  Commit: 6d61d83736ca23c336472e7f2bda59b7bb307bba
      https://github.com/llvm/llvm-project/commit/6d61d83736ca23c336472e7f2bda59b7bb307bba
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M libc/src/__support/threads/callonce.h
    M libc/src/__support/threads/linux/CMakeLists.txt
    M libc/src/__support/threads/linux/callonce.cpp
    A libc/src/__support/threads/linux/callonce.h

  Log Message:
  -----------
  [libc] inline fast path of callonce (#96226)

Split from #91572

---------

Co-authored-by: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>


  Commit: 50b15341182e0a5f53dd6e9b4a00fef56f31147c
      https://github.com/llvm/llvm-project/commit/50b15341182e0a5f53dd6e9b4a00fef56f31147c
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/InterpState.h

  Log Message:
  -----------
  [clang][Interp] Don't diagnose non-const reads from the evaluating decl


  Commit: 8d237190ecc4ac90865d80dbb11a34c6719b406d
      https://github.com/llvm/llvm-project/commit/8d237190ecc4ac90865d80dbb11a34c6719b406d
  Author: Matthias Gehre <matthias.gehre at amd.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h
    M mlir/include/mlir/Dialect/Tosa/Utils/ConversionUtils.h
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
    M mlir/lib/Dialect/Tosa/Utils/ConversionUtils.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir

  Log Message:
  -----------
  TosaToLinalg: Support unsigned tosa.clamp (#91749)

This implements the lowering of tosa.clamp with unsigned operand to
linalg.

We interpret the `min/max : i64`  attributes on `clamp` to be signed.

This means that when the operand has type `ui64`, one cannot represent
limits across the whole range.


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
    M llvm/test/CodeGen/RISCV/rv32zbkb.ll
    M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zbkb.ll
    M llvm/test/CodeGen/RISCV/rv64zbkb.ll
    M llvm/test/MC/RISCV/rv32zbkb-only-valid.s
    M llvm/test/MC/RISCV/rv32zbkb-valid.s
    M llvm/test/MC/RISCV/rv64zbkb-valid.s

  Log Message:
  -----------
  [RISCV] Support zext.h mnemonic with Zbkb. (#96821)

Zbkb adds generic pack insructions. The zext.h encodings from Zbb are
subsets of the generic encodings with rs2=x0. zext.h is pack on RV32 and
packw on RV64.

Previously we only supported zext.h as a single instruction mnemonic in
the assembler when Zbb was enabled. Otherwise we would emit it as 2
shifts. This patches recognizes it when either Zbkb or Zbb is enabled.

This patch also enables the zext.h isel patterns when Zbkb is enabled
without Zbb.


  Commit: 4168233badd4de41fee1bdc0a9701c5360ea1ead
      https://github.com/llvm/llvm-project/commit/4168233badd4de41fee1bdc0a9701c5360ea1ead
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/test/MC/X86/align-branch-single.s

  Log Message:
  -----------
  [X86,test] Add a JCC erratum test for Windows

Increase test coverage exposed by #96835.


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

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
    M llvm/lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp

  Log Message:
  -----------
  [MC,X86] emitInstruction: remove virtual function calls due to Intel JCC Erratum

https://reviews.llvm.org/D70157 (for Intel Jump Conditional Code
Erratum) introduced two virtual function calls in the generic
MCObjectStreamer::emitInstruction, which added some overhead.

This patch removes the virtual function overhead:

* Define `llvm::X86_MC::emitInstruction` that calls `emitInstruction{Begin,End}`.
* Define {X86ELFStreamer,X86WinCOFFStreamer}::emitInstruction to call `llvm::X86_MC::emitInstruction`

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


  Commit: e258bb38dc8f00cc366df877d0e6f869657b7a8b
      https://github.com/llvm/llvm-project/commit/e258bb38dc8f00cc366df877d0e6f869657b7a8b
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/AttrDocs.td

  Log Message:
  -----------
  [clang][docs] Update the gsl::Pointer/Owner attr doc (#96908)

- Fix some errors in the snippet;
- update the code snippet to reflect the current implementation status
in clang;


  Commit: 5bbec8f4b6a26e8b4a4209d90a2ad0a0d2416a55
      https://github.com/llvm/llvm-project/commit/5bbec8f4b6a26e8b4a4209d90a2ad0a0d2416a55
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCSection.h
    M llvm/include/llvm/MC/MCSectionCOFF.h
    M llvm/include/llvm/MC/MCSectionDXContainer.h
    M llvm/include/llvm/MC/MCSectionELF.h
    M llvm/include/llvm/MC/MCSectionGOFF.h
    M llvm/include/llvm/MC/MCSectionMachO.h
    M llvm/include/llvm/MC/MCSectionSPIRV.h
    M llvm/include/llvm/MC/MCSectionWasm.h
    M llvm/include/llvm/MC/MCSectionXCOFF.h
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/MCSectionCOFF.cpp
    M llvm/lib/MC/MCSectionELF.cpp
    M llvm/lib/MC/MCSectionMachO.cpp
    M llvm/lib/MC/MCSectionWasm.cpp
    M llvm/lib/MC/MCSectionXCOFF.cpp

  Log Message:
  -----------
  [MC] Make MCSection::isVirtualSection non-virtual (#96920)

This method is called once per encoded instruction, but never changes
throughout the lifetime of a section. Store this information as a bit
flag in the MCSection instead.


  Commit: 1448ed2000ff0be17025dab0aad7412d054425eb
      https://github.com/llvm/llvm-project/commit/1448ed2000ff0be17025dab0aad7412d054425eb
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/include/flang/Optimizer/Support/InternalNames.h
    M flang/include/flang/Optimizer/Support/Utils.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Support/CMakeLists.txt
    M flang/lib/Optimizer/Support/InternalNames.cpp
    A flang/lib/Optimizer/Support/Utils.cpp
    M flang/test/Fir/fir-ops.fir
    A flang/test/Lower/HLFIR/type-info-components.f90

  Log Message:
  -----------
  [flang] add extra component information in fir.type_info (#96746)

fir.type does not contain all Fortran level information about
components. For instance, component lower bounds and default initial
value are lost. For correctness purpose, this does not matter because
this information is "applied" in lowering (e.g., when addressing the
components, the lower bounds are reflected in the hlfir.designate).

However, this "loss" of information will prevent the generation of
correct debug info for the type (needs to know about lower bounds). The
initial value could help building some optimization pass to get rid of
initialization runtime calls.

This patch adds lower bound and initial value information into
fir.type_info via a new fir.dt_component operation. This operation is
generated only for component that needs it, which helps keeping the IR
small for "boring" types.

In general, adding Fortran level info in fir.type_info will allow
delaying the generation of "type descriptors" gobals that are very
verbose in FIR and make it hard to work with FIR dumps from applications
with many derived types.


  Commit: 1ff05876fb686cfee99c31b9dd69b051e34a31fa
      https://github.com/llvm/llvm-project/commit/1ff05876fb686cfee99c31b9dd69b051e34a31fa
  Author: darkbuck <michael.hliao at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/unittests/CodeGen/GlobalISel/CMakeLists.txt
    A llvm/unittests/CodeGen/GlobalISel/CallLowering.cpp

  Log Message:
  -----------
  [GlobalISel] Add unit tests for call lowering on byref support



Reviewers: tschuett, spaits, aemerson, arsenm

Reviewed By: spaits, arsenm

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


  Commit: 6a66b8224d8cbdb6156b9a12d9339fee71898941
      https://github.com/llvm/llvm-project/commit/6a66b8224d8cbdb6156b9a12d9339fee71898941
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/include/flang/Optimizer/Support/InternalNames.h
    M flang/include/flang/Optimizer/Support/Utils.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Support/CMakeLists.txt
    M flang/lib/Optimizer/Support/InternalNames.cpp
    R flang/lib/Optimizer/Support/Utils.cpp
    M flang/test/Fir/fir-ops.fir
    R flang/test/Lower/HLFIR/type-info-components.f90

  Log Message:
  -----------
  Revert "[flang] add extra component information in fir.type_info" (#96937)

Reverts llvm/llvm-project#96746
Breaking shared library buillds:
https://lab.llvm.org/buildbot/#/builders/89/builds/931


  Commit: 61975cdf44a75917a738ca7fa9971b03f6d4fad8
      https://github.com/llvm/llvm-project/commit/61975cdf44a75917a738ca7fa9971b03f6d4fad8
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/Disasm.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Print global temporary value in Program::dump()

There is quite a problem here, so print both the value we have in
Program as well as the value from the LifetimeExtendedTemporaryDecl.


  Commit: aa9bf71ca4eac50f4dfad9bb7b302491265cb889
      https://github.com/llvm/llvm-project/commit/aa9bf71ca4eac50f4dfad9bb7b302491265cb889
  Author: Anh Tuyen Tran <34661776+anhtuyenibm at users.noreply.github.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/test/DebugInfo/attr-btf_type_tag.ll

  Log Message:
  -----------
  On AIX we don’t have .debug_addr section. (#96935)

According to Zheng @chenzheng1030, there is no .debug_addr section on
AIX.
Due to its absence on AIX, the test case may produce inconsistent
results, either passing or failing. This PR ensures that the test case
is marked as not applicable for AIX.


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

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

  Log Message:
  -----------
  [MC] Chain together fragments only if Subsections.size() > 1

and delete an unneeded setParent call.


  Commit: d7cd41e571cb8def7914cce51b49e009f8851634
      https://github.com/llvm/llvm-project/commit/d7cd41e571cb8def7914cce51b49e009f8851634
  Author: Jinjie Huang <huangjinjie at bytedance.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    A llvm/test/tools/llvm-dwp/X86/empty_warning.s
    M llvm/tools/llvm-dwp/llvm-dwp.cpp

  Log Message:
  -----------
  Give a warning when no dwo files are provided (#94336)

In some scenarios based on the split-dwarf build process, the dwo file
is not generated as expected(That is to say, no dwo file path is stored
in the binary). When the llvm-dwp tool is called to generate the .dwp
file, it will exit without any warning.
 
So, the plan is to prompt a warning to tell the user that the dwo file
was not actually generated.
<img width="699" alt="image"
src="https://github.com/llvm/llvm-project/assets/150100070/5e5742f6-daad-450f-87e9-cb25449c3c7a">


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

  Changed paths:
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/test/Bitcode/amdgcn-atomic.ll

  Log Message:
  -----------
  AMDGPU: Add amdgpu.no.fine.grained.memory when upgrading old atomic intrinsics (#89655)

This should replicate the old intrinsic behavior better when codegen of
the raw instruction will require metadata in the future.


  Commit: 559ea40d9a12b0027cd7dbd955da31c06e6369f8
      https://github.com/llvm/llvm-project/commit/559ea40d9a12b0027cd7dbd955da31c06e6369f8
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/MachineInstrBundle.cpp
    M llvm/lib/CodeGen/MachineTraceMetrics.cpp
    M llvm/lib/CodeGen/RegAllocBasic.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/CodeGen/TailDuplicator.cpp

  Log Message:
  -----------
  [CodeGen] Use range-based for loops (NFC) (#96855)


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

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

  Log Message:
  -----------
  [X86] Remove PMADDWD/PMADDUBSW known bits handling due to performance issues

This appears to be causing an slow (infinite?) loop when building the highway open source project - most likely due to the high number of computeKnownBits calls (although improving early-out doesn't appear help so far).

I'm reverting support to unstick the highway team and will revisit this shortly.

Reported by @alexfh


  Commit: ea686686477921f571d3b492de44664eafb82465
      https://github.com/llvm/llvm-project/commit/ea686686477921f571d3b492de44664eafb82465
  Author: Vaibhav <56088720+VaibhavRumale at users.noreply.github.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    A llvm/test/Transforms/InstCombine/fabs-fneg-fold.ll

  Log Message:
  -----------
  [InstCombine] Add fold for fabs(-x) -> fabs(x) (#95627)

This patch folds `fabs(-x) -> fabs(x)`

Closes #94170

Proofs: https://alive2.llvm.org/ce/z/gjzmgf


  Commit: b949b6420775fe3466dc5a5bf34eab1d14e39e8f
      https://github.com/llvm/llvm-project/commit/b949b6420775fe3466dc5a5bf34eab1d14e39e8f
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/test/API/functionalities/step_scripted/Steps.py
    M lldb/test/API/functionalities/step_scripted/TestStepScripted.py

  Log Message:
  -----------
  Revert "[lldb/test] Mark TestStepScripted.py as XFAIL temporarily (#96894)" (#96942)

This tentatively reverts commit 204c403b5215197ecdbdb68ca7f11402d6d9892b
to remove the XFAIL from the tests while also trying to fix them at the
same time.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>


  Commit: aae8e5cb74634d1690168975c2dd3e053b3ad35c
      https://github.com/llvm/llvm-project/commit/aae8e5cb74634d1690168975c2dd3e053b3ad35c
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt

  Log Message:
  -----------
  [libc] Include additional math functions in baremetal config (#96926)

These are all supported on arm32 and riscv32.


  Commit: 37fe152e0c9f47b0a9ef9663df1ddecffef6f338
      https://github.com/llvm/llvm-project/commit/37fe152e0c9f47b0a9ef9663df1ddecffef6f338
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/test/API/functionalities/step_scripted/Steps.py
    M lldb/test/API/functionalities/step_scripted/TestStepScripted.py

  Log Message:
  -----------
  Revert "Revert "[lldb/test] Mark TestStepScripted.py as XFAIL temporarily (#96894)"" (#96946)

Reverts llvm/llvm-project#96942 since the test failures are still
happening:

https://lab.llvm.org/buildbot/#/builders/162/builds/899/


  Commit: e34dbb127af0596d07d01b9fa6cab5b2488ff37b
      https://github.com/llvm/llvm-project/commit/e34dbb127af0596d07d01b9fa6cab5b2488ff37b
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-27 (Thu, 27 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/include/llvm-libc-macros/float16-macros.h
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/dyadic_float.h
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/FMA.h
    M libc/src/__support/FPUtil/multiply_add.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/f16fma.h
    A libc/src/math/f16fmaf128.h
    A libc/src/math/f16fmal.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/f16fma.cpp
    A libc/src/math/generic/f16fmaf128.cpp
    A libc/src/math/generic/f16fmal.cpp
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/FmaTest.h
    A libc/test/src/math/f16fma_test.cpp
    M libc/test/src/math/f16fmaf_test.cpp
    A libc/test/src/math/f16fmal_test.cpp
    M libc/test/src/math/fmaf_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/f16fma_test.cpp
    A libc/test/src/math/smoke/f16fmaf128_test.cpp
    A libc/test/src/math/smoke/f16fmal_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp

  Log Message:
  -----------
  [libc][math][c23] Add f16fma{,l,f128} C23 math function (#96711)

Part of #93566.


  Commit: aa8409fdca5e738c30a4ab70a3dc809bb4e9160d
      https://github.com/llvm/llvm-project/commit/aa8409fdca5e738c30a4ab70a3dc809bb4e9160d
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt

  Log Message:
  -----------
  [libc][math][c23] Temporarily disable f16fma{,l,f128} on AArch64 (#96952)

See Buildbot failures:

- https://lab.llvm.org/buildbot/#/builders/104/builds/936
- https://lab.llvm.org/buildbot/#/builders/71/builds/932
- https://lab.llvm.org/buildbot/#/builders/131/builds/913


  Commit: 918313d17d38d8723d5d81fef008538677abf9cc
      https://github.com/llvm/llvm-project/commit/918313d17d38d8723d5d81fef008538677abf9cc
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
    M llvm/test/Transforms/SLPVectorizer/X86/call.ll

  Log Message:
  -----------
  [SLPVectorizer] Support SLPVectorizer cases of tan across all backends (#95517)

This PR is intended to address the limited SLPVectorizer support of tan
raised in the comments of this PR:
https://github.com/llvm/llvm-project/pull/94559.

Right now emitting the tan intrinsisic allows you to vectorize tan, but
emitting the libfunc does not. to address this the libcall needs to be
mapped to the intrinsic. and the libcall and function name need to be
marked approriately so they can be optimized or defined as a call
lowering.


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
    M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll

  Log Message:
  -----------
  AMDGPU: Fix no return atomicrmw fadd v2f16 selection for gfx908 (#96948)

We previously would always expand this with a cmpxchg loop, while
it should be the same conditions as the f32 case (except for the
denormal concern).


  Commit: 868b90df07e08617a9be33178ac33437aaa00942
      https://github.com/llvm/llvm-project/commit/868b90df07e08617a9be33178ac33437aaa00942
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/include/module.modulemap

  Log Message:
  -----------
  [clang] Fix incomplete umbrella warnings when building clang modules (NFC) (#96939)


  Commit: f14ad74478494cbd9d23af841d6f6b2808afda71
      https://github.com/llvm/llvm-project/commit/f14ad74478494cbd9d23af841d6f6b2808afda71
  Author: PeterChou1 <peter.chou at mail.utoronto.ca>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/HTMLGenerator.cpp
    M clang-tools-extra/clang-doc/Representation.cpp
    M clang-tools-extra/clang-doc/Representation.h
    M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
    A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.css
    A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.js
    A clang-tools-extra/test/clang-doc/assets.cpp
    M clang-tools-extra/test/clang-doc/basic-project.test
    M clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp

  Log Message:
  -----------
  Reapply [clang-doc] Add --asset option to clang-doc (#96358)

Reapply https://github.com/llvm/llvm-project/pull/94717
Adds a new option --asset which allows users to specified the asset
folder for the html output of clang-doc.

This patch adds a better test for --asset option + fixes bug where
clang-doc assumes that user supplied js file is assume to be index.js


  Commit: ecfbb8504ed2a92fc145045d2c05f5980405660e
      https://github.com/llvm/llvm-project/commit/ecfbb8504ed2a92fc145045d2c05f5980405660e
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/HTMLGenerator.cpp

  Log Message:
  -----------
  [clang-doc][NFC] Fix style guide violations in HTMLGenerator.cpp

This patch addresses several code style issues that conflict with the
project's style guide. Primarily the naming of functions, and `else`
after `return` statements. It only addresses issues found in
HTMLGenerator.cpp.

Reviewers: petrhosek

Reviewed By: petrhosek

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


  Commit: d3ca779d7264bf0751eb4db632c14d8bc05608ca
      https://github.com/llvm/llvm-project/commit/d3ca779d7264bf0751eb4db632c14d8bc05608ca
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_script.test
    M llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_test.py
    M llvm/utils/mlgo-utils/tests/corpus/extract_ir_script.test
    M llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
    M llvm/utils/mlgo-utils/tests/corpus/make_corpus_script.test
    M llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py
    M llvm/utils/mlgo-utils/tests/lit.local.cfg

  Log Message:
  -----------
  [MLGO] Remove python-38 flag from tests (#96961)

Previously, we had a python-38 flag for the mlgo-utils tests as they
needed a python version higher than what LLVM required by default due to
type annotations. Now that LLVM's default Python version minimum is 3.8,
we can remove this flag.


  Commit: ac9f06c2a839e0065bc96179208c5071c9d4fb7e
      https://github.com/llvm/llvm-project/commit/ac9f06c2a839e0065bc96179208c5071c9d4fb7e
  Author: Terry Wilmarth <terry.l.wilmarth at intel.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M openmp/runtime/test/parallel/omp_parallel_num_threads_list.c

  Log Message:
  -----------
  [OpenMP] Fix test omp_parallel_num_threads_list.c to require fewer threads. (#96916)

Original test case used too many threads for some environments. This update
reduces to a max of 36 threads.


  Commit: 6b55ec1198ce9356340372fd8233b907d8d4cea2
      https://github.com/llvm/llvm-project/commit/6b55ec1198ce9356340372fd8233b907d8d4cea2
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt
    M libc/config/gpu/entrypoints.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt

  Log Message:
  -----------
  [libc] Sort entrypoints alphabetically (#96955)

This makes it easier to diff the different configurations.


  Commit: 4134b33c6a362cb462b335177d6d9e8235f04309
      https://github.com/llvm/llvm-project/commit/4134b33c6a362cb462b335177d6d9e8235f04309
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py
    M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir_lib.py
    M llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py

  Log Message:
  -----------
  [MLGO] Add ability to extract IR from bazel using aquery (#96964)

This patch adds in support for extracting IR from binaries built with
bazel through querying the linker command line using bazel aquery.


  Commit: 5b363483cf2461617fbb2449491c9914811c8d53
      https://github.com/llvm/llvm-project/commit/5b363483cf2461617fbb2449491c9914811c8d53
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/SemaCXX/type-traits.cpp

  Log Message:
  -----------
  [Clang] Fix __is_trivially_equality_comparable returning true with ineligebile defaulted overloads (#93113)

This changes `__is_trivially_equality_comparable` to do overload
resolution instead, which fixes a couple of false-positives (and a
false-negative as a drive-by).

Fixes #89293


  Commit: e55aa027f813679ca63c9b803690ce792a3d7b28
      https://github.com/llvm/llvm-project/commit/e55aa027f813679ca63c9b803690ce792a3d7b28
  Author: Pete Steinfeld <47540744+psteinfeld at users.noreply.github.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M flang/runtime/matmul.cpp

  Log Message:
  -----------
  [flang] Fix runtime error messages for the MATMUL intrinsic (#96928)

There are three forms of MATMUL -- where the first argument is a rank 1
array, where the second argument is a rank 1 array, and where both
arguments are rank 2 arrays. There's code in the runtime that detects
when the array shapes are incorrect. But the code that emits an error
message assumes that both arguments are rank 2 arrays.

This change contains code for the other two cases.


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

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

  Log Message:
  -----------
  [RISCV] Fold processSingleLetterExtension/processMultiLetterExtension into RISCVISAInfo::parseArchString.

The end of both functions was very similar. Merging reduces the
duplication.

I'm planning to make additional changes to this code soon.


  Commit: 7a03666401342e71995f8e221a8755eb69187876
      https://github.com/llvm/llvm-project/commit/7a03666401342e71995f8e221a8755eb69187876
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M libc/src/__support/FPUtil/NearestIntegerOperations.h
    M libc/src/__support/FPUtil/dyadic_float.h
    M libc/src/__support/FPUtil/generic/FMA.h
    M libc/src/__support/FPUtil/generic/div.h
    M libc/src/__support/big_int.h

  Log Message:
  -----------
  [libc] Fix compilation errors that occur when building with GCC (#96976)


  Commit: 2879a03647918a347d9f99fd1f9898206baf9128
      https://github.com/llvm/llvm-project/commit/2879a03647918a347d9f99fd1f9898206baf9128
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M .github/workflows/issue-write.yml
    M .github/workflows/pr-request-release-note.yml
    M llvm/utils/git/github-automation.py

  Log Message:
  -----------
  [workflows] Fix release note request workflow (#94784)

We need to use the issue-write workflow to write the comments, because
pull_request targets don't have permissions to write comments.


  Commit: 7d6de19f9ad889d4391b3eef37c584c986d99f84
      https://github.com/llvm/llvm-project/commit/7d6de19f9ad889d4391b3eef37c584c986d99f84
  Author: akirchhoff-modular <akirchhoff at modular.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M mlir/tools/mlir-tblgen/RewriterGen.cpp

  Log Message:
  -----------
  [mlir] Fix -Wextra-semi warnings in generated code (NFC) (#96981)

While building a downstream project including `mlir-tblgen`-generated
headers, I received some `-Wextra-semi` warnings. Fix these in the
generated code by removing the extra semicolon in the generator.


  Commit: 8e1f7793971b5d5b6516146260fe86ec6e0f8c1e
      https://github.com/llvm/llvm-project/commit/8e1f7793971b5d5b6516146260fe86ec6e0f8c1e
  Author: akirchhoff-modular <akirchhoff at modular.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [clang] [TargetCXXABI] Fix -Wextra-semi warning (NFC) (#96982)

While building a downstream project including `TargetCXXABI.h`, I
received a `-Wextra-semi` warning. This PR removes the extra semicolon,
fixing the warning.


  Commit: 804415825b97e974c96a92580bcbeaf4c7ff0a04
      https://github.com/llvm/llvm-project/commit/804415825b97e974c96a92580bcbeaf4c7ff0a04
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M compiler-rt/test/tsan/Darwin/fork_deadlock.cpp

  Log Message:
  -----------
  [test][compiler-rt] Mark fork_deadlock.cpp UNSUPPORTED

This test is broken since there's no "syscall.h". As requested in #96597, mark test as UNSUPPORTED instead of reverting.


  Commit: 2430a354bfb9e8c08e0dd5f294012b40afb75ce0
      https://github.com/llvm/llvm-project/commit/2430a354bfb9e8c08e0dd5f294012b40afb75ce0
  Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    A bolt/include/bolt/Core/BinaryFunctionCallGraph.h
    A bolt/include/bolt/Core/CallGraph.h
    A bolt/include/bolt/Core/CallGraphWalker.h
    R bolt/include/bolt/Passes/BinaryFunctionCallGraph.h
    R bolt/include/bolt/Passes/CallGraph.h
    R bolt/include/bolt/Passes/CallGraphWalker.h
    M bolt/include/bolt/Passes/HFSort.h
    M bolt/include/bolt/Passes/RegReAssign.h
    M bolt/include/bolt/Passes/ReorderFunctions.h
    A bolt/lib/Core/BinaryFunctionCallGraph.cpp
    M bolt/lib/Core/CMakeLists.txt
    A bolt/lib/Core/CallGraph.cpp
    A bolt/lib/Core/CallGraphWalker.cpp
    R bolt/lib/Passes/BinaryFunctionCallGraph.cpp
    M bolt/lib/Passes/CMakeLists.txt
    R bolt/lib/Passes/CallGraph.cpp
    R bolt/lib/Passes/CallGraphWalker.cpp
    M bolt/lib/Passes/FrameAnalysis.cpp
    M bolt/lib/Passes/FrameOptimizer.cpp
    M bolt/lib/Passes/IndirectCallPromotion.cpp
    M bolt/lib/Passes/JTFootprintReduction.cpp
    M bolt/lib/Passes/RegAnalysis.cpp
    M bolt/lib/Passes/RegReAssign.cpp
    M bolt/lib/Passes/StokeInfo.cpp

  Log Message:
  -----------
  [BOLT][NFC] Move CallGraph from Passes to Core (#96922)

Moved CallGraph and BinaryFunctionCallGraph from Passes to
Core for future use in stale matching.


  Commit: c63eaddb629aa8d016b26c9c60c92aa5dcae3b43
      https://github.com/llvm/llvm-project/commit/c63eaddb629aa8d016b26c9c60c92aa5dcae3b43
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [bazel] Port #96805 (#96988)


  Commit: ca06b610841c849eb1db43ad057310c8f7eea81e
      https://github.com/llvm/llvm-project/commit/ca06b610841c849eb1db43ad057310c8f7eea81e
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/test/X86/issue20.s
    M bolt/test/X86/issue20.test
    M bolt/test/X86/sctc-bug4.test

  Log Message:
  -----------
  [BOLT] Omit CFI state while printing functions without CFI (#96723)

If a function has no CFI program attached to it, do not print redundant
empty CFI state for every basic block.


  Commit: eec9d0b6816e815fbe009941c1fda3b39c38adeb
      https://github.com/llvm/llvm-project/commit/eec9d0b6816e815fbe009941c1fda3b39c38adeb
  Author: zhicong zhong <zhiczhong at outlook.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
    M mlir/test/Dialect/Linalg/transform-tile-reduction.mlir

  Log Message:
  -----------
  [mlir][Linalg] use linalg.reduce to simplify the mergeReductions in partialReductionInterface  (#94579)

The current implementation of `mergeReduction` in
`LinalgOpPartialReductionInterface` builds a `linalg.generic` from
scratch. While we already have `linalg.reduce` op which has the same
semantic as this generic op, this PR replaces the generic op with
`linalg.reduce` to simplify the implementation.


  Commit: 2dff96d37a8419dab7a6ec3e1f8de917c7adb4ea
      https://github.com/llvm/llvm-project/commit/2dff96d37a8419dab7a6ec3e1f8de917c7adb4ea
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVPostRAExpandPseudoInsts.cpp

  Log Message:
  -----------
  [RISCV] Remove unneeded code from RISCVPostRAExpandPseudo::expandMovImm. NFC

We accidentally left a call to generateInstSeq when we rewrote the
code to use the X86InstrInfo::movImm.


  Commit: 7423bf78eb53d81ce0c7b3a38e39a56341ca2a89
      https://github.com/llvm/llvm-project/commit/7423bf78eb53d81ce0c7b3a38e39a56341ca2a89
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCSection.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCSection.cpp

  Log Message:
  -----------
  [MC] Ensure subsections have a MCDataFragment

Similar to 21fac2d1d060b0f9b11a746718e58d4cd1ee97e5 for sections. This
makes it feasible to cache the current fragment in MCStreamer.


  Commit: d16b21b17d13ecd88a068bb803df43e53d3b04ba
      https://github.com/llvm/llvm-project/commit/d16b21b17d13ecd88a068bb803df43e53d3b04ba
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
    M bolt/test/X86/linux-alt-instruction.s

  Log Message:
  -----------
  [BOLT][Linux] Support ORC for alternative instructions (#96709)

Alternative instruction sequences in the Linux kernel can modify the
stack and thus they need their own ORC unwind entries. Since there's
only one ORC table, it has to be "shared" among multiple instruction
sequences. The kernel achieves this by putting a restriction on
instruction boundaries. If ORC state changes at a given IP, only one of
the alternative sequences can have an instruction starting/ending at
this IP. Then, developers can insert NOPs to guarantee the above
requirement is met.

The most common use of ORC with alternatives is "pushf; pop %rax"
sequence used for paravirtualization. Note that newer kernel versions
no longer use .parainstructions; instead, they utilize alternatives for
the same purpose.

Before we implement a better support for alternatives, we can safely
skip ORC entries associated with them.

Fixes #87052.


  Commit: 874b880fce8522b06c6cf73a76612a844e2eaf1b
      https://github.com/llvm/llvm-project/commit/874b880fce8522b06c6cf73a76612a844e2eaf1b
  Author: harishch4 <harishcse44 at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/openmp-llvm.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Lowering support for Order clause in SIMD directive (#96866)


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

  Changed paths:
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/include/llvm/MC/MCObjectStreamer.h
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCStreamer.cpp

  Log Message:
  -----------
  [MC] Cache current fragment in MCStreamer

This eliminates indirection through `getCurrentSectionOnly()->curFragList()->Tail`.


  Commit: d38b518e0444b42123ac05ac5cce267baecec294
      https://github.com/llvm/llvm-project/commit/d38b518e0444b42123ac05ac5cce267baecec294
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/BranchFolding.cpp
    M llvm/lib/CodeGen/EarlyIfConversion.cpp
    M llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
    M llvm/lib/CodeGen/IfConversion.cpp
    M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp
    M llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/lib/CodeGen/MachineTraceMetrics.cpp
    M llvm/lib/CodeGen/TailDuplication.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
    M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
    M llvm/lib/Target/Hexagon/HexagonLoopAlign.cpp
    M llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
    M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
    M llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
    M llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
    A llvm/test/tools/llc/new-pm/machine-branch-prob.ll

  Log Message:
  -----------
  Reapply "[CodeGen][NewPM] Port machine-branch-prob to new pass manager" (#96858) (#96869)

This reverts commit ab58b6d58edf6a7c8881044fc716ca435d7a0156.
In `CodeGen/Generic/MachineBranchProb.ll`, `llc` crashed with dumped MIR
when targeting PowerPC. Move test to `llc/new-pm`, which is X86
specific.


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

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

  Log Message:
  -----------
  [MC] Remove unneeded nullness check from getOrCreateDataFragment. NFC

`getCurrentFragment()` no longer returns null after
7423bf78eb53d81ce0c7b3a38e39a56341ca2a89.


  Commit: 4a746e50b14f252b40e03860562636dd1ded8044
      https://github.com/llvm/llvm-project/commit/4a746e50b14f252b40e03860562636dd1ded8044
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M flang/lib/Lower/DirectivesCommon.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp

  Log Message:
  -----------
  [NFC][flang] Remove unused `converter` parameter. (#96854)

Removes an unused parameter in 2 utils that generate bounds ops.


  Commit: 0c454df448c1edd1ce65573b8343721636cc541b
      https://github.com/llvm/llvm-project/commit/0c454df448c1edd1ce65573b8343721636cc541b
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp

  Log Message:
  -----------
  [MC] Make changeSection private

Using changeSection externally would cause `CurFrag` to be out of sync
of `SectionStack`. Remove some uses from MipsTargetStreamer.cpp.


  Commit: 993d2383e68b22475cbd734b4e194911cf15df2f
      https://github.com/llvm/llvm-project/commit/993d2383e68b22475cbd734b4e194911cf15df2f
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h

  Log Message:
  -----------
  [ctx_prof] Remove `Buffer` field in PGOCtxProfWriter

Not needed anymore after PR #92983, and moreover, creating the same issue c49bc1a3b782e38e4ffb5b274f1e7775af6c2315 fixed in `BitcodeWriter.cpp`.


  Commit: 1488fb4153367b9c20e8c0ca7aa40bc8437ea3d3
      https://github.com/llvm/llvm-project/commit/1488fb4153367b9c20e8c0ca7aa40bc8437ea3d3
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/docs/GlobalISel/GenericOpcode.rst
    M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
    M llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.h
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/ptrauth-constant-in-code.ll
    A llvm/test/CodeGen/AArch64/ptrauth-constant-in-code.ll
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-variadics.td
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
    M llvm/test/TableGen/GlobalISelEmitter.td

  Log Message:
  -----------
  [PAC][AArch64] Lower ptrauth constants in code (#96879)

This re-applies #94241 after fixing buildbot failure, see
https://lab.llvm.org/buildbot/#/builders/51/builds/570

According to standard, `constexpr` variables and `const` variables
initialized with constant expressions can be used in lambdas w/o
capturing - see https://en.cppreference.com/w/cpp/language/lambda.
However, MSVC used on buildkite seems to ignore that rule and does not
allow using such uncaptured variables in lambdas: we have "error C3493:
'Mask16' cannot be implicitly captured because no default capture mode
has been specified" - see
https://buildkite.com/llvm-project/github-pull-requests/builds/73238

Explicitly capturing such a variable, however, makes buildbot fail with
"error: lambda capture 'Mask16' is not required to be captured for this
use [-Werror,-Wunused-lambda-capture]" - see
https://lab.llvm.org/buildbot/#/builders/51/builds/570.

Fix both cases by using `0xffff` value directly instead of giving a name
to it.

Original PR description below.

Depends on #94240.

Define the following pseudos for lowering ptrauth constants in code:

- non-`extern_weak`:
  - no GOT load needed: `MOVaddrPAC` - similar to `MOVaddr`, with added
PAC;
  - GOT load needed: `LOADgotPAC` - similar to `LOADgot`, with added PAC;
- `extern_weak`: `LOADauthptrstatic` - similar to `LOADgot`, but use a
special stub slot named `sym$auth_ptr$key$disc` filled by dynamic linker
during relocation resolving instead of a GOT slot.

---------

Co-authored-by: Ahmed Bougacha <ahmed at bougacha.org>


  Commit: 897489b0d62a0a37ebb0640a6d35bfa61c538967
      https://github.com/llvm/llvm-project/commit/897489b0d62a0a37ebb0640a6d35bfa61c538967
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Fix formatting in RISCVFeatures.td. NFC


  Commit: 544830a840ae70aa25465243cf1a3d301a9c2cf1
      https://github.com/llvm/llvm-project/commit/544830a840ae70aa25465243cf1a3d301a9c2cf1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
    M llvm/test/MC/RISCV/rv32zbkb-only-valid.s
    M llvm/test/MC/RISCV/rv64zbkb-valid.s

  Log Message:
  -----------
  [RISCV] Rework zext.h handling for Zbkb again. (#96957)

Use the Zbb zext.h nstructions only when Zbb is enabled. In both the
assembler and codegen.
Use pack/packw for zext.h when Zbkb is enabled, but Zbb is not. This is
accomplished with extra isel patterns for CodeGen and InstAliases for
the assembler that are used with Zbkb and not Zbb.

This fixes the quirk that the assembler and disassembler printed
something different for pack rd, rs1, x0.


  Commit: 567b2c608c307c097315dd5ec4d6a5bbcddf898d
      https://github.com/llvm/llvm-project/commit/567b2c608c307c097315dd5ec4d6a5bbcddf898d
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/SemaCXX/type-traits.cpp

  Log Message:
  -----------
  Revert "[Clang] Fix __is_trivially_equality_comparable returning true with ineligebile defaulted overloads" (#97002)

Reverts llvm/llvm-project#93113


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

  Changed paths:
    M llvm/include/llvm/MC/MCObjectStreamer.h
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCStreamer.cpp

  Log Message:
  -----------
  [MC] switchSectionNoPrint: update CurFrag

To ensure that CurFrag->Parent and SectionStack.back() are in sync.


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

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

  Log Message:
  -----------
  [MC] Replace one nullable getCurrentSectionOnly with CurFrag

We will implement getCurrentSectionOnly with `CurFrag->getParent()`,
which is non-null. Eliminate a nullable use.


  Commit: 52216349b6faf41351f4bd370439031c416b8f9b
      https://github.com/llvm/llvm-project/commit/52216349b6faf41351f4bd370439031c416b8f9b
  Author: Johannes Reifferscheid <jreiffers at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Support/MathExtras.h
    M mlir/lib/IR/AffineExpr.cpp
    M mlir/unittests/IR/AffineExprTest.cpp

  Log Message:
  -----------
  Do not trigger UB during AffineExpr parsing. (#96896)

Currently, parsing expressions that are undefined will trigger UB during
compilation (e.g. `9223372036854775807 * 2`). This change instead
leaves the expressions as they were.

This change is an NFC for compilations that did not previously involve
UB.


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

  Changed paths:
    M llvm/include/llvm/MC/MCObjectStreamer.h
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCELFStreamer.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCStreamer.cpp

  Log Message:
  -----------
  [MC] Remove nullable getCurrentSectionOnly use from AsmParser

We will implement getCurrentSectionOnly with `CurFrag->getParent()`,
which is non-null. Eliminate a nullable use.


  Commit: 626eef5ecf92e98cbfccfa6134e0a760e7592813
      https://github.com/llvm/llvm-project/commit/626eef5ecf92e98cbfccfa6134e0a760e7592813
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [MC] Optimize getCurrentSectionOnly using CurFrag and make it non-nullable

Follow-up to e48c4011ca80385573f1b92793c75dc98abb228f ("[MC] Cache current fragment in MCStreamer").

Prerequisite: a few commits that removed nullable getCurrentSectionOnly calls.


  Commit: 133ab9a8c82a31549f060da33fd7e14f1d7f39fd
      https://github.com/llvm/llvm-project/commit/133ab9a8c82a31549f060da33fd7e14f1d7f39fd
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll

  Log Message:
  -----------
  [RISCV] Add test for extending AVL live range across blocks. NFC

This adds a separate test case for an existing issue fixed in #96200,
where we failing to extend the live range of an AVL when inserting a
vsetvli if the AVL was from a different block.


  Commit: d58ded4e5b9625cba23a5865822100bfd998972b
      https://github.com/llvm/llvm-project/commit/d58ded4e5b9625cba23a5865822100bfd998972b
  Author: Kito Cheng <kito.cheng at sifive.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-non-power-of-2.ll

  Log Message:
  -----------
  [RISCV][test] Precommit test for non-power-of-2 VLS type code gen


  Commit: 519e0bb094bd9444b64ac62f2e8192543fdb94b9
      https://github.com/llvm/llvm-project/commit/519e0bb094bd9444b64ac62f2e8192543fdb94b9
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h

  Log Message:
  -----------
  [ctx_prof] Type the stream parameter of PGOCtxProfWriter to match BitstreamWriter's


  Commit: 9df71d7673b5c98e1032d01be83724a45b42fafc
      https://github.com/llvm/llvm-project/commit/9df71d7673b5c98e1032d01be83724a45b42fafc
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
    M llvm/include/llvm/IR/Function.h
    M llvm/include/llvm/IR/GlobalValue.h
    M llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Analysis/DependenceAnalysis.cpp
    M llvm/lib/Analysis/InlineCost.cpp
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Analysis/Lint.cpp
    M llvm/lib/Analysis/MemDerefPrinter.cpp
    M llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp
    M llvm/lib/Analysis/StackLifetime.cpp
    M llvm/lib/Analysis/StackSafetyAnalysis.cpp
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/CodeGen/Analysis.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/ExpandMemCmp.cpp
    M llvm/lib/CodeGen/ExpandVectorPredication.cpp
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
    M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
    M llvm/lib/CodeGen/HardwareLoops.cpp
    M llvm/lib/CodeGen/IndirectBrExpandPass.cpp
    M llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
    M llvm/lib/CodeGen/MachineFunction.cpp
    M llvm/lib/CodeGen/SafeStack.cpp
    M llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
    M llvm/lib/CodeGen/SjLjEHPrepare.cpp
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/CodeGen/TypePromotion.cpp
    M llvm/lib/CodeGen/WinEHPrepare.cpp
    M llvm/lib/ExecutionEngine/ExecutionEngine.cpp
    M llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
    M llvm/lib/ExecutionEngine/Orc/Mangling.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/Function.cpp
    M llvm/lib/IR/Globals.cpp
    M llvm/lib/IR/Mangler.cpp
    M llvm/lib/Linker/LinkModules.cpp
    M llvm/lib/Object/IRSymtab.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.h
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/R600TargetTransformInfo.cpp
    M llvm/lib/Target/ARC/ARCTargetTransformInfo.h
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.h
    M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
    M llvm/lib/Target/BPF/BPFTargetTransformInfo.h
    M llvm/lib/Target/BPF/BTFDebug.cpp
    M llvm/lib/Target/DirectX/DirectXAsmPrinter.cpp
    M llvm/lib/Target/DirectX/DirectXTargetTransformInfo.h
    M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
    M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
    M llvm/lib/Target/Lanai/LanaiTargetObjectFile.cpp
    M llvm/lib/Target/Lanai/LanaiTargetTransformInfo.h
    M llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.h
    M llvm/lib/Target/M68k/GISel/M68kCallLowering.cpp
    M llvm/lib/Target/Mips/MipsTargetMachine.cpp
    M llvm/lib/Target/Mips/MipsTargetObjectFile.cpp
    M llvm/lib/Target/Mips/MipsTargetTransformInfo.h
    M llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
    M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
    M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h
    M llvm/lib/Target/NVPTX/NVVMReflect.cpp
    M llvm/lib/Target/PowerPC/GISel/PPCCallLowering.cpp
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
    M llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
    M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
    M llvm/lib/Target/RISCV/RISCVTargetObjectFile.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVTargetTransformInfo.h
    M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
    M llvm/lib/Target/SystemZ/SystemZSubtarget.cpp
    M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
    M llvm/lib/Target/TargetLoweringObjectFile.cpp
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/lib/Target/VE/VETargetTransformInfo.h
    M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h
    M llvm/lib/Target/X86/GISel/X86CallLowering.cpp
    M llvm/lib/Target/X86/X86PartialReduction.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.h
    M llvm/lib/Target/XCore/XCoreISelLowering.cpp
    M llvm/lib/Target/XCore/XCoreTargetObjectFile.cpp
    M llvm/lib/Target/XCore/XCoreTargetTransformInfo.h
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/lib/Transforms/Coroutines/CoroElide.cpp
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/IPO/ConstantMerge.cpp
    M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    M llvm/lib/Transforms/IPO/GlobalSplit.cpp
    M llvm/lib/Transforms/IPO/PartialInlining.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
    M llvm/lib/Transforms/Scalar/AnnotationRemarks.cpp
    M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/lib/Transforms/Scalar/EarlyCSE.cpp
    M llvm/lib/Transforms/Scalar/Float2Int.cpp
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
    M llvm/lib/Transforms/Scalar/InferAlignment.cpp
    M llvm/lib/Transforms/Scalar/InstSimplifyPass.cpp
    M llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
    M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
    M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
    M llvm/lib/Transforms/Scalar/LoopFuse.cpp
    M llvm/lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/lib/Transforms/Scalar/NaryReassociate.cpp
    M llvm/lib/Transforms/Scalar/NewGVN.cpp
    M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
    M llvm/lib/Transforms/Scalar/SCCP.cpp
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
    M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
    M llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
    M llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
    M llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
    M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
    M llvm/lib/Transforms/Utils/CloneFunction.cpp
    M llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
    M llvm/lib/Transforms/Utils/FunctionComparator.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/lib/Transforms/Utils/LoopConstrainer.cpp
    M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
    M llvm/lib/Transforms/Utils/LowerSwitch.cpp
    M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
    M llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp

  Log Message:
  -----------
  [IR] Add getDataLayout() helpers to Function and GlobalValue (#96919)

Similar to https://github.com/llvm/llvm-project/pull/96902, this adds
`getDataLayout()` helpers to Function and GlobalValue, replacing the
current `getParent()->getDataLayout()` pattern.


  Commit: c931ac5994c4f896f0db03c425924ed38601252a
      https://github.com/llvm/llvm-project/commit/c931ac5994c4f896f0db03c425924ed38601252a
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/DomTreeUpdater.h
    A llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
    M llvm/include/llvm/CodeGen/MachineBasicBlock.h
    A llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h
    M llvm/lib/Analysis/DomTreeUpdater.cpp
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    A llvm/lib/CodeGen/MachineDomTreeUpdater.cpp
    M llvm/unittests/CodeGen/CMakeLists.txt
    A llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp

  Log Message:
  -----------
  Reapply "[CodeGen] Introduce `MachineDomTreeUpdater`" (#96846) (#96851)

This reverts commit 0f8849349ae3d3f2f537ad6ab233a586fb39d375.
Resolve conflict in `MachinePostDominators.h` There is a conflict after
merging #96378, resolved in #96852. Both PRs modified
`MachinePostDominators.h` and triggered build failure.


  Commit: dd0245e3d74955ace14c95d288abf72346ad52e8
      https://github.com/llvm/llvm-project/commit/dd0245e3d74955ace14c95d288abf72346ad52e8
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/add.ll

  Log Message:
  -----------
  [InstCombine] Relax one-use requirement for add iN (sext i1 X), (sext i1 Y) --> sext (X | Y) to iN (#90509)

Since these remove instructions as long as at least one of X or Y is
one-use, we don't need to check one-use for both.


  Commit: 4403ece3c5ddccddab365624a1be7cf595a0e52f
      https://github.com/llvm/llvm-project/commit/4403ece3c5ddccddab365624a1be7cf595a0e52f
  Author: epitavy <32581827+epitavy at users.noreply.github.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [ORC] Do not set CodeModel::Small in LLJITBuilder if JTMB already has a value

 (#88115) (#90599)

Closes #88115


  Commit: 72055622e9c63f6ddae850e8382ea095effd2008
      https://github.com/llvm/llvm-project/commit/72055622e9c63f6ddae850e8382ea095effd2008
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [Support] Fix xxh3_128bits for Win32 builds after #95863

`__emulu` is used without including `intrin.h`. Actually, it's better to
rely on compiler optimizations. In this LLVM copy, we try to eliminate
unneceeded workarounds for old compilers.

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


  Commit: 918057c43aed90583eed5fe14450b2d75366b662
      https://github.com/llvm/llvm-project/commit/918057c43aed90583eed5fe14450b2d75366b662
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [lldb/DWARF] Don't start class definitions in ParseStructureLikeDIE (#96755)

Right now, ParseStructureLikeDIE begins the class definition (which
amounts to parsing the opening "{" of a class and promising to be able
to fill it in later) if it finds a definition DIE.

This makes sense in the current setup, where we eagerly search for the
definition die (so that we will either find it in the beginning or don't
find it at all), but with delayed definition searching (#92328), this
created an (in my view, undesirable) inconsistency, where the final
state of the type (whether it has begun its definition) depended on
whether we happened to start out with a definition DIE or not.

This patch attempts to pre-emptively rectify that by establishing a new
invariant: the definition is never started eagerly. It can only be
started in one of two ways:
- we're completing the type, in which case we will start the definition,
parse everything and immediately finish it
- we need to parse a member (typedef, nested class, method) of the class
without needing the definition itself. In this case, we just start the
definition to insert the member we need.

Besides the delayed definition search, I believe this setup has a couple
of other benefits:
- It treats ObjC and C++ classes the same way (we were never starting
the definition of those)
- unifies the handling of types that types that have a definition and
those that do. When adding (e.g.) a nested class we would previously be
going down a different code path depending on whether we've found a
definition DIE for that type. Now, we're always taking the
definition-not-found path (*)
- it reduces the amount of time a class spends in the funny "definition
started". Aside from the addition of stray addition of nested classes,
we always finish the definition right after we start it.

(*) Herein lies a danger, where if we're missing some calls to
    PrepareContextToReceiveMembers, we could trigger a crash when
    trying to add a member to the not-yet-started-to-be-defined classes.
    However, this is something that could happen before as well (if we
    did not have a definition for the class), and is something that
    would be exacerbated by #92328 (because it could happen even if we
    the definition exists, but we haven't found it yet). This way, it
    will at least happen consistently, and the fix should consist of
    adding a PrepareContextToReceiveMembers in the appropriate place.


  Commit: 5db35792dbf4f3d0ee8c425019cc9846102e2e15
      https://github.com/llvm/llvm-project/commit/5db35792dbf4f3d0ee8c425019cc9846102e2e15
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn

  Log Message:
  -----------
  [gn] port d7dd778cde84 (share/clang-doc)


  Commit: 937d79bc9d089c06ba02db909e28c1076542bd8e
      https://github.com/llvm/llvm-project/commit/937d79bc9d089c06ba02db909e28c1076542bd8e
  Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
  Date:   2024-06-28 (Fri, 28 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/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-fpowi-optsize.ll
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-fpowi.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.powi.ll

  Log Message:
  -----------
  [GlobalISel][AArch64][AMDGPU] Expand FPOWI into series of multiplication (#95217)

SelectionDAG already converts FPOWI into a series of optimized multiplications, 
this patch introduces the same optimization into GlobalISel.


  Commit: 7934fcef26c2e5e7d451bb9c36b5a344b342a015
      https://github.com/llvm/llvm-project/commit/7934fcef26c2e5e7d451bb9c36b5a344b342a015
  Author: CarolineConcatto <caroline.concatto at arm.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/arm_sme.td
    M clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
    A clang/test/Sema/aarch64-sme2p1-intrinsics/acle_sme2p1_imm.cpp
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
    M llvm/lib/Target/AArch64/SMEInstrFormats.td
    M llvm/test/CodeGen/AArch64/sme2p1-intrinsics-movaz.ll

  Log Message:
  -----------
  [CLANG][LLVM][AArch64]Add SME2.1 intrinsics for MOVAZ tile to vector,… (#88499)

… single

According to the specification in
ARM-software/acle#309 this adds the intrinsics

// And similarly for u8.
svint8_t svreadz_hor_za8_s8(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");

// And similarly for u16, bf16 and f16.
svint16_t svreadz_hor_za16_s16(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");

// And similarly for u32 and f32.
svint32_t svreadz_hor_za32_s32(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");

// And similarly for u64 and f64.
svint64_t svreadz_hor_za64_s64(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");

// And similarly for s16, s32, s64, u8, u16, u32, u64, bf16, f16, f32,
f64 svint8_t svreadz_hor_za128_s8(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");


  Commit: 76864e6af134aa240069d42ba15e0b89fd7d6b4c
      https://github.com/llvm/llvm-project/commit/76864e6af134aa240069d42ba15e0b89fd7d6b4c
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/DeclBase.h
    M clang/lib/AST/Decl.cpp
    M clang/lib/Sema/SemaLookup.cpp
    A clang/test/Modules/forward-friend.cppm

  Log Message:
  -----------
  [C++20] [Modules] Don't find module for linkage for decls in global
module

Possibly fix https://github.com/llvm/llvm-project/issues/96693

The direct reason is that we are calculating the linkage for the
declaration too early so that the linkage got calculated incorrectly.

And after I look into the problem, I found it is completely not
necessary to calculate the linkage there. It is for ModulesTS. So I
simply removes that legacy experimental code and fix the issue.


  Commit: 23413169299b872a9d0a9b947c2d27172b5f4cb0
      https://github.com/llvm/llvm-project/commit/23413169299b872a9d0a9b947c2d27172b5f4cb0
  Author: Balázs Kéri <balazs.keri at ericsson.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/docs/analyzer/checkers.rst
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/test/Analysis/analyzer-checker-option-help.c

  Log Message:
  -----------
  [clang][analyzer] Improve documentation of checker 'cplusplus.Move' (NFC) (#96295)


  Commit: bb83a3df25a8c46dd586caf26635f5658e7b3316
      https://github.com/llvm/llvm-project/commit/bb83a3df25a8c46dd586caf26635f5658e7b3316
  Author: Lucas Duarte Prates <lucas.prates at arm.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/CodeGen/aarch64-targetattr.c
    M clang/test/Driver/aarch64-fp16.c
    M clang/test/Driver/aarch64-sve2.c
    M clang/test/Driver/aarch64-v81a.c
    M clang/test/Driver/aarch64-v82a.c
    M clang/test/Driver/aarch64-v83a.c
    M clang/test/Driver/aarch64-v84a.c
    M clang/test/Driver/aarch64-v85a.c
    M clang/test/Driver/aarch64-v86a.c
    M clang/test/Driver/aarch64-v87a.c
    M clang/test/Driver/aarch64-v88a.c
    M clang/test/Driver/aarch64-v89a.c
    A clang/test/Driver/aarch64-v8a.c
    M clang/test/Driver/aarch64-v91a.c
    M clang/test/Driver/aarch64-v92a.c
    M clang/test/Driver/aarch64-v93a.c
    M clang/test/Driver/aarch64-v94a.c
    M clang/test/Driver/aarch64-v95a.c
    A clang/test/Driver/aarch64-v9a.c
    M clang/test/Driver/print-supported-extensions.c
    M clang/test/Preprocessor/aarch64-target-features.c
    M clang/tools/driver/cc1_main.cpp
    M flang/test/Driver/target-cpu-features.f90
    M llvm/include/llvm/MC/MCSubtargetInfo.h
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/MC/MCSubtargetInfo.cpp
    M llvm/lib/Target/AArch64/AArch64Features.td
    M llvm/lib/TargetParser/AArch64TargetParser.cpp
    M llvm/unittests/TargetParser/TargetParserTest.cpp
    M llvm/utils/TableGen/ARMTargetDefEmitter.cpp

  Log Message:
  -----------
  Re-land: "[AArch64] Add ability to list extensions enabled for a target" (#95805) (#96795)

This introduces the new `--print-enabled-extensions` command line option
to AArch64, which prints the list of extensions that are enabled for the
target specified by the combination of `--target`/`-march`/`-mcpu`
values.

The goal of the this option is both to enable the manual inspection of
the enabled extensions by users and to enhance the testability of
architecture versions and CPU targets implemented in the compiler.

As part of this change, a new field for `FEAT_*` architecture feature
names was added to the TableGen entries. The output of the existing
`--print-supported-extensions` option was updated accordingly to show
these in a separate column.


  Commit: 1130e923e2d7fe046101bf639bc5ebcde194c005
      https://github.com/llvm/llvm-project/commit/1130e923e2d7fe046101bf639bc5ebcde194c005
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/source/Interpreter/ScriptInterpreter.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
    M lldb/source/Target/ThreadPlanPython.cpp
    M lldb/test/API/functionalities/step_scripted/TestStepScripted.py

  Log Message:
  -----------
  [lldb/Interpreter] Discard ScriptedThreadPlan::GetStopDescription return value (#96985)

This patch changes `ScriptedThreadPlan::GetStopDescription` behavior by
discarding its return value since it is optional in the first place (the
user doesn't need to provide a return value in their implementation).

This patch also addresses the test failures in TestStepScripted
following 9a9ec22 and re-enables the tests that were XFAIL'd previously.

The issue here was that the `Stream*` that's passed to
`ThreadPlanPython::GetDescription` wasn't being passed by reference to
the python method so it was never updated to reflect how the python
method interacted with it.

This patch solves this issue by making a temporary `StreamSP` that will
be passed to the python method by reference, after what we will copy its
content to the caller `Stream` pointer argument.

---------

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>


  Commit: b22ea2dc1e065f14a88df44e22a62427965a9b05
      https://github.com/llvm/llvm-project/commit/b22ea2dc1e065f14a88df44e22a62427965a9b05
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lldb/source/Utility/Broadcaster.cpp

  Log Message:
  -----------
  [lldb] Use SmallVector::erase correctly

erase() invalidates the iterator, we must use the returned iterator to
continue iterating.

This does not actually make a difference with the current implementation
of SmallVector (erase will effectively return the same pointer), but it
avoids future confusion.


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

  Changed paths:
    M clang/lib/AST/ASTDumper.cpp

  Log Message:
  -----------
  [clang][NFC] Use provided stream in APValue::dump()

I assume this is a copy/paste error.


  Commit: 11456944d481b5d1b139e346ea7992c0b692781a
      https://github.com/llvm/llvm-project/commit/11456944d481b5d1b139e346ea7992c0b692781a
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [InstCombine] Add tests for folding `(mul (div exact X, C0), C1)`; NFC


  Commit: afa3d58ee2224f1037116f4cab44a23bd232a416
      https://github.com/llvm/llvm-project/commit/afa3d58ee2224f1037116f4cab44a23bd232a416
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstCombine/exact.ll

  Log Message:
  -----------
  [InstCombine] Fold `(mul (div exact X, C0), C1)` -> `(div exact X, C0/C1)`

We can do this if `C0 % C1 == 0` and if we avoid UB in the signed
case.

Proofs: https://alive2.llvm.org/ce/z/HHWHDg

Closes #96915


  Commit: c50ef30cce32b8e864b90a4ca27c68882d46a19c
      https://github.com/llvm/llvm-project/commit/c50ef30cce32b8e864b90a4ca27c68882d46a19c
  Author: Joshua Batista <jbatista at microsoft.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/include/clang/Parse/Parser.h
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/lib/Parse/ParseHLSL.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    A clang/test/ParserHLSL/bitfields.hlsl
    A clang/test/ParserHLSL/hlsl_annotations_on_struct_members.hlsl
    M clang/test/SemaHLSL/Semantics/invalid_entry_parameter.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error.hlsl

  Log Message:
  -----------
  [ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (#96346)

`MaybeParseHLSLAnnotations` should be run on Field Decls instead of just
assuming that any colon after a field decl is a bitfield. In the case
that HLSL is the language, the code after the colon may be an
annotation. This PR gives the parser a chance to parse the subsequent
text as if it was an HLSL annotation.

The burden of parsing is now on the HLSL parser, but the actual work
needs to be done in handling every case of an hlsl annotation on a field
decl. SV_DispatchThreadID was straightforward enough to implement in
this PR, and tests have been added that the annotation appears as an
attribute in the AST.

Previously, the `hlsl_annotations_on_struct_members.hlsl` test would
result in an error shown below on the line that declares variable `a` in
struct Eg9:
error: use of undeclared identifier
     'SV_DispatchThreadID'
This is because the annotation is parsed as if it was a c++ bit field,
and an identifier
that represents an integer is expected, but not found.

This test ensures that hlsl annotations are parsed when parsing struct
decls.
This test not only ensures we make progress by moving the validation
error from the realm of
C++ and expecting bitfields, to HLSL and a specialized error for the
recognized annotation, but also
validates that the parser does parse the annotation and adds an
attribute to the field decl in the AST.

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


  Commit: 6334d0af3b235e1b1f003519245393a7d8ee4d9a
      https://github.com/llvm/llvm-project/commit/6334d0af3b235e1b1f003519245393a7d8ee4d9a
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    A llvm/test/Analysis/LoopAccessAnalysis/pr96656.ll
    A llvm/test/Transforms/LoopVersioning/pr96656.ll

  Log Message:
  -----------
  LAA, LVer: add pre-commit tests for #96656 (#96925)

The issue is in LoopAccessAnalysis, but the regression was seen in the
user LoopVersioning. Hence, add pre-commit tests for both, in
preparation to fix the issue in LoopAccessAnalysis.


  Commit: 7c181955637197f7a1b37b00d271254f85f66d85
      https://github.com/llvm/llvm-project/commit/7c181955637197f7a1b37b00d271254f85f66d85
  Author: Rin Dobrescu <irina.dobrescu at arm.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SchedNeoverseV2.td
    M llvm/test/tools/llvm-mca/AArch64/Neoverse/V2-basic-instructions.s

  Log Message:
  -----------
  [AArch64] Add flag setting instructions to scheduling model. (#96880)

Some flag setting instructions (such as ANDS, ADDS, CCMN) were missing
from the V2 scheduling model. This patch adds them in.


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

  Changed paths:
    A llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
    A llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll

  Log Message:
  -----------
  [InstCombine][X86] Add tests for special case, constant folding and demanded elts handling for PMADDWD/PMADDUBSW intrinsics


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-atomic-fadd.v2f16.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.v2f16-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.v2f16-rtn.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Make pk f16 atomicrmw fadd legal for gfx908

The subtarget features for these are a bit of a mess; the no return
version should probably be implied by the with-return feature.


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

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll

  Log Message:
  -----------
  [InstCombine][X86] simplifyDemandedVectorEltsIntrinsic - add handling for PMADDWD/PMADDUBSW intrinsics


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

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll

  Log Message:
  -----------
  [InstCombine][X86] Add zero arg handling for PMADDWD/PMADDUBSW intrinsics

PMADDWD/PMADDUBSW - multiply by zero folds

Initial setup to handle future PMADDWD/PMADDUBSW simplification / constant folding


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

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV] Cache DataLayout in class (NFC)

PR #96919 caused a minor compile-time regression, mostly because
SCEV now goes through an extra out-of-line function to fetch the
data layout, and does this a lot. Cache the DataLayout in SCEV
to avoid these repeated calls.


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

  Changed paths:
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll

  Log Message:
  -----------
  [InstCombine][X86] Add commuted undef arg tests for PMADDWD/PMADDUBSW intrinsics


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

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll

  Log Message:
  -----------
  [InstCombine][X86] Add constant folding for PMADDWD/PMADDUBSW intrinsics


  Commit: c78b6fdf4602e9d43270581a9a5eeb1fd15c4f8d
      https://github.com/llvm/llvm-project/commit/c78b6fdf4602e9d43270581a9a5eeb1fd15c4f8d
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/lldb/tools/lldb-test/BUILD.gn

  Log Message:
  -----------
  [gn] build lldb-test with dead code stripping

Needed as a workaround for
https://github.com/llvm/llvm-project/pull/96985#pullrequestreview-2147599208

Hopefully this will be resolved soon and we can remove this again.


  Commit: a7cddd4818ff148eb8b1c4d94cccbbb213f9a0f4
      https://github.com/llvm/llvm-project/commit/a7cddd4818ff148eb8b1c4d94cccbbb213f9a0f4
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/lldb/tools/lldb-server/BUILD.gn

  Log Message:
  -----------
  [gn] build lldb-server with dead code stripping too

Needed as a workaround for
https://github.com/llvm/llvm-project/pull/96985#pullrequestreview-2147599208

Hopefully this will be resolved soon and we can remove this again.


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

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll

  Log Message:
  -----------
  [InstCombine][X86] Add undef arg handling for PMADDWD/PMADDUBSW intrinsics

These fold to zero, not undef, as the other arg could still be zero.


  Commit: a2e3af5d581547d3ea53e5383d6f7f1cab45120a
      https://github.com/llvm/llvm-project/commit/a2e3af5d581547d3ea53e5383d6f7f1cab45120a
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/source/Interpreter/ScriptInterpreter.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
    M lldb/source/Target/ThreadPlanPython.cpp
    M lldb/test/API/functionalities/step_scripted/TestStepScripted.py

  Log Message:
  -----------
  Revert "[lldb/Interpreter] Discard ScriptedThreadPlan::GetStopDescription return value (#96985)"

This reverts commit 1130e923e2d7fe046101bf639bc5ebcde194c005.
Very likely causes build problems on Windows and with LLVM_NO_DEAD_STRIP=ON,
see https://github.com/llvm/llvm-project/pull/96985#pullrequestreview-2147599208


  Commit: d248abaf2c0b494ea83279ff38df637c92c441f7
      https://github.com/llvm/llvm-project/commit/d248abaf2c0b494ea83279ff38df637c92c441f7
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/lldb/tools/lldb-server/BUILD.gn

  Log Message:
  -----------
  Revert "[gn] build lldb-server with dead code stripping too"

This reverts commit a7cddd4818ff148eb8b1c4d94cccbbb213f9a0f4.
Reverting the lldb commit.


  Commit: e573a4844a3f8521c7a11a4dd5e609d3217a7be4
      https://github.com/llvm/llvm-project/commit/e573a4844a3f8521c7a11a4dd5e609d3217a7be4
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/lldb/tools/lldb-test/BUILD.gn

  Log Message:
  -----------
  Revert "[gn] build lldb-test with dead code stripping"

This reverts commit c78b6fdf4602e9d43270581a9a5eeb1fd15c4f8d.
Reverting the lldb commit.


  Commit: 28944dbb2a0d4e017097768c4c40a49456a61494
      https://github.com/llvm/llvm-project/commit/28944dbb2a0d4e017097768c4c40a49456a61494
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [bazel] Add missing dependencies for e34dbb127af0596d07d01b9fa6cab5b2488ff37b


  Commit: 8ecef3d994430f445501c2516095dd785644b952
      https://github.com/llvm/llvm-project/commit/8ecef3d994430f445501c2516095dd785644b952
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/unittests/MC/AMDGPU/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 17eaa23f7ecd


  Commit: c68952efe79d883f40c80b353a62521e9aa7646d
      https://github.com/llvm/llvm-project/commit/c68952efe79d883f40c80b353a62521e9aa7646d
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/unittests/CodeGen/GlobalISel/BUILD.gn

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


  Commit: bb2853e09b0c0b911ed6c41766076cba67e06e35
      https://github.com/llvm/llvm-project/commit/bb2853e09b0c0b911ed6c41766076cba67e06e35
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/bolt/lib/Core/BUILD.gn
    M llvm/utils/gn/secondary/bolt/lib/Passes/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 2430a354bfb9


  Commit: 99b61da3cba5bc7ff053adb1b912508d57793ce3
      https://github.com/llvm/llvm-project/commit/99b61da3cba5bc7ff053adb1b912508d57793ce3
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [gn build] Port 468d668c5c40


  Commit: 012f6cb4040a43f6d778ca75936439778bc5195c
      https://github.com/llvm/llvm-project/commit/012f6cb4040a43f6d778ca75936439778bc5195c
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

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


  Commit: 9138c2c2d4b4e24b8b7a648a3108e714515b4fd4
      https://github.com/llvm/llvm-project/commit/9138c2c2d4b4e24b8b7a648a3108e714515b4fd4
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn

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


  Commit: 1be515b87430ed09ce65384dc8aa80bc560c27d2
      https://github.com/llvm/llvm-project/commit/1be515b87430ed09ce65384dc8aa80bc560c27d2
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

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


  Commit: 7f68675f64e0aa0aa014e538d145c650034ebae2
      https://github.com/llvm/llvm-project/commit/7f68675f64e0aa0aa014e538d145c650034ebae2
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M libc/src/__support/high_precision_decimal.h
    M libc/test/src/__support/math_extras_test.cpp

  Log Message:
  -----------
  [libc] Fix compilation error on targets without 128-bit int types (#97039)

See Buildbot failures:

- https://lab.llvm.org/buildbot/#/builders/11/builds/743
- https://lab.llvm.org/buildbot/#/builders/182/builds/362


  Commit: 7878d9c0363528c44effe55aae2843fbabb6dd0e
      https://github.com/llvm/llvm-project/commit/7878d9c0363528c44effe55aae2843fbabb6dd0e
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/index/remote/Client.h

  Log Message:
  -----------
  [clangd] Replace an include with a forward declaration

The real Client.cpp and other users of Client.h (ClangdMain.cpp, Dexp.cpp)
already include index/Index.h, so no effect there.

And UnimplementedClient.cpp only returns `nullptr` and doesn't need
to know the full type.

Makes it possible to compile UnimplementedClient.cpp without having
to wait for clang's tblgen code generators.

No behavior change.


  Commit: 69c99ad7e84b075bbafc541a2e4397e18975391d
      https://github.com/llvm/llvm-project/commit/69c99ad7e84b075bbafc541a2e4397e18975391d
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/index/remote/Client.h

  Log Message:
  -----------
  [clangd] Fix build on linux after 7878d9c036352


  Commit: 6c5b62b846ec327dd8e78d4c365b3059a298c019
      https://github.com/llvm/llvm-project/commit/6c5b62b846ec327dd8e78d4c365b3059a298c019
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Passes/Instrumentation.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT][NFC] Separate isReversibleBranch's 2 semantics (#95572)

`isUnsupportedBranch` was renamed (and inverted)  to `isReversibleBranch`, as that was how it was being used. But one use  in `BinaryFunction::disassemble` was using the original meaning to detect unsupported branches, and the `isUnsupportedBranch` had 2 separate semantic checks.

Move the unsupported branch check from `isReversibleBranch` to a new entry point: `isUnsupportedInstruction`. Call that from `BinaryFunction::disassemble`.

Move the dynamic branch check from X86's isReversibleBranch to the base class, as it is not an architecture-specific check.

Remove unnecessary `isReversibleBranch` calls from Instrumentation and X86 MCPlusBuilder.


  Commit: e5094baf96d593e304d8240e72475f0d5edeb32e
      https://github.com/llvm/llvm-project/commit/e5094baf96d593e304d8240e72475f0d5edeb32e
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/DomTreeUpdater.h
    M llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
    A llvm/include/llvm/Analysis/GenericDomTreeUpdaterImpl.h
    M llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h
    M llvm/lib/Analysis/DomTreeUpdater.cpp
    M llvm/lib/CodeGen/MachineDomTreeUpdater.cpp

  Log Message:
  -----------
  [DomTreeUpdater] Split implementations (#97027)

Move implementations of `GenericDomTreeUpdater` to
GenericDomTreeUpdaterImpl.h


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

  Changed paths:
    M llvm/test/CodeGen/X86/combine-pmadd.ll

  Log Message:
  -----------
  [X86] Convert PMADDWD constant folding tests to whole vector tests to check all the results


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

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

  Log Message:
  -----------
  [X86] combineVPMADD - add constant folding support for PMADDWD/PMADDUBSW instructions


  Commit: 4169338e75cdce73d34063532db598c95ee82ae4
      https://github.com/llvm/llvm-project/commit/4169338e75cdce73d34063532db598c95ee82ae4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/Interpreter/DeviceOffload.cpp
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/VectorUtils.h
    M llvm/include/llvm/IR/Analysis.h
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/include/llvm/Transforms/Utils/Debugify.h
    M llvm/lib/Analysis/CallPrinter.cpp
    M llvm/lib/Analysis/InlineAdvisor.cpp
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Analysis/LoopInfo.cpp
    M llvm/lib/Analysis/LoopPass.cpp
    M llvm/lib/Analysis/MLInlineAdvisor.cpp
    M llvm/lib/Analysis/StructuralHash.cpp
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
    M llvm/lib/CodeGen/AsmPrinter/AIXException.cpp
    M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
    M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
    M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
    M llvm/lib/CodeGen/CFGuardLongjmp.cpp
    M llvm/lib/CodeGen/EHContGuardCatchret.cpp
    M llvm/lib/CodeGen/GCMetadata.cpp
    M llvm/lib/CodeGen/KCFI.cpp
    M llvm/lib/CodeGen/MachineCheckDebugify.cpp
    M llvm/lib/CodeGen/MachineFunctionPass.cpp
    M llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
    M llvm/lib/CodeGen/RegAllocBase.cpp
    M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/CodeGen/WinEHPrepare.cpp
    M llvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
    M llvm/lib/IR/PassManager.cpp
    M llvm/lib/LTO/UpdateCompilerUsed.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64FastISel.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.h
    M llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp
    M llvm/lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
    M llvm/lib/Target/ARM/Thumb1InstrInfo.cpp
    M llvm/lib/Target/ARM/Thumb2InstrInfo.cpp
    M llvm/lib/Target/AVR/AVRAsmPrinter.cpp
    M llvm/lib/Target/BPF/BPFAsmPrinter.cpp
    M llvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
    M llvm/lib/Target/BPF/BTFDebug.cpp
    M llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
    M llvm/lib/Target/Mips/MipsAsmPrinter.cpp
    M llvm/lib/Target/Mips/MipsISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
    M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
    M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVTargetObjectFile.cpp
    M llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/Target.cpp
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyMCLowerPrePass.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/lib/Target/X86/X86IndirectBranchTracking.cpp
    M llvm/lib/Target/X86/X86InsertPrefetch.cpp
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86PreTileConfig.cpp
    M llvm/lib/Target/X86/X86ReturnThunks.cpp
    M llvm/lib/Target/X86/X86Subtarget.cpp
    M llvm/lib/Transforms/IPO/CalledValuePropagation.cpp
    M llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp
    M llvm/lib/Transforms/Instrumentation/PGOForceFunctionAttrs.cpp
    M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
    M llvm/lib/Transforms/Scalar/MakeGuardsExplicit.cpp
    M llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
    M llvm/lib/Transforms/Utils/CanonicalizeAliases.cpp
    M llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
    M llvm/lib/Transforms/Utils/LowerGlobalDtors.cpp
    M llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp
    M llvm/unittests/Analysis/DDGTest.cpp
    M llvm/unittests/Analysis/GlobalsModRefTest.cpp
    M llvm/unittests/Analysis/IVDescriptorsTest.cpp
    M llvm/unittests/Analysis/LoopInfoTest.cpp
    M llvm/unittests/Analysis/LoopNestTest.cpp
    M llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp
    M llvm/unittests/CodeGen/AMDGPUMetadataTest.cpp
    M llvm/unittests/CodeGen/MLRegAllocDevelopmentFeatures.cpp
    M llvm/unittests/CodeGen/SelectionDAGAddressAnalysisTest.cpp
    M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
    M llvm/unittests/MI/LiveIntervalTest.cpp
    M llvm/unittests/MIR/MachineMetadata.cpp
    M llvm/unittests/Target/AArch64/InstSizes.cpp
    M llvm/unittests/Target/ARM/InstSizes.cpp
    M llvm/unittests/Target/LoongArch/InstSizes.cpp
    M llvm/unittests/Target/RISCV/RISCVInstrInfoTest.cpp
    M llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
    M llvm/unittests/Target/X86/MachineSizeOptsTest.cpp
    M llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
    M llvm/unittests/Transforms/Utils/LoopRotationUtilsTest.cpp
    M llvm/unittests/Transforms/Utils/LoopUtilsTest.cpp
    M llvm/unittests/Transforms/Utils/UnrollLoopTest.cpp
    M polly/lib/Analysis/ScopBuilder.cpp
    M polly/lib/Support/SCEVAffinator.cpp
    M polly/lib/Transform/DeLICM.cpp

  Log Message:
  -----------
  [IR] Don't include Module.h in Analysis.h (NFC) (#97023)

Replace it with a forward declaration instead. Analysis.h is pulled in
by all passes, but not all passes need to access the module.


  Commit: 7ef08eacd5e125eca0881c00f83c4b108ba7c502
      https://github.com/llvm/llvm-project/commit/7ef08eacd5e125eca0881c00f83c4b108ba7c502
  Author: Yun-Fly <yunfei.song at intel.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.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/test/Interfaces/TilingInterface/tile-fuse-and-yield-using-interface.mlir

  Log Message:
  -----------
  [mlir][scf] Extend option to yield replacement for multiple results case (#93144)

This patch extends the functionality of yielding replacement for multiple 
results case and adds another optional argument called `yieldResultNumber` 
indicating which result(s) need yield. If not given, all of results will be yield 
by default.


  Commit: 08892cc07da9faf4c0e1efa966025936c952211b
      https://github.com/llvm/llvm-project/commit/08892cc07da9faf4c0e1efa966025936c952211b
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [clang][OpenMP] Simplify handling of `if` clause (#96936)

Get the allowed name modifiers from the list of constituent leaf
directives.


  Commit: 9c95617c796f1cd178eaf3001bce543b8acee32f
      https://github.com/llvm/llvm-project/commit/9c95617c796f1cd178eaf3001bce543b8acee32f
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py
    M lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py
    M lldb/test/API/functionalities/load_unload/TestLoadUnload.py
    M lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py
    M lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py
    M lldb/test/API/functionalities/signal/TestSendSignal.py

  Log Message:
  -----------
  [lldb][test][NFC] Remove BOM characters from tests (#97045)

These handful of tests had a BOM (Byte order mark) at the beginning of
the file. This marker is unnecessary in our test files. The main
motivation for this is that the `ast` python module breaks when passing
a file to it with a BOM marker (and might break other tooling which
doesn't expect it). E.g.,:
```
"""Test that lldb command 'process signal SIGUSR1' to send a signal to the inferior works."""
^
SyntaxError: invalid non-printable character U+FEFF
```

If anyone is aware of a good reason to keep it, happy to drop this.


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

  Changed paths:
    M lldb/test/API/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py

  Log Message:
  -----------
  [lldb][test][NFC] TestWatchpointConditionCmd.py: remove BOM character

Missed this file in https://github.com/llvm/llvm-project/pull/97045


  Commit: 0606c64da8b73768aded766b11e37fd77365e39d
      https://github.com/llvm/llvm-project/commit/0606c64da8b73768aded766b11e37fd77365e39d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [MLRegAllocPriorityAdvisor] Add missing include


  Commit: 46e848a23b212204b01abdc898a53b553d9a57c0
      https://github.com/llvm/llvm-project/commit/46e848a23b212204b01abdc898a53b553d9a57c0
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lldb/test/API/lang/cpp/alignas_base_class/TestAlignAsBaseClass.py
    M lldb/test/API/lang/cpp/alignas_base_class/main.cpp
    A lldb/test/Shell/SymbolFile/DWARF/no_unique_address-alignment.cpp
    A lldb/test/Shell/SymbolFile/DWARF/packed.cpp

  Log Message:
  -----------
  [lldb][test] Add test-cases for packed/aligned structures (#96932)

Adds test that checks whether LLDB correctly infers the
alignment of packed structures. Specifically, the
`InferAlignment` code-path of the `ItaniumRecordLayoutBuilder`
where it assumes that overlapping field offsets imply a
packed structure and thus sets alignment to `1`. See discussion
in https://github.com/llvm/llvm-project/pull/93809.

While here, also added a test-case where we check alignment of
a class whose base has an explicit `DW_AT_alignment
(those don't get transitively propagated in DWARF, but don't seem
like a problem for LLDB).

Lastly, also added an XFAIL-ed tests where the aforementioned
`InferAlignment` kicks in for overlapping fields (but in this
case incorrectly since the structure isn't actually packed).


  Commit: 7ae4b8e99fd845af745ccb1bb5d4cd26c6cee23b
      https://github.com/llvm/llvm-project/commit/7ae4b8e99fd845af745ccb1bb5d4cd26c6cee23b
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/test/tools/llvm-dwp/X86/empty_warning.s

  Log Message:
  -----------
  [llvm-dwp] Avoid writing to source directory in test


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

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
    M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/readability/simplify-boolean-expr.cpp

  Log Message:
  -----------
  [clang-tidy] improve messages when auto-fix does not work (#96917)

Fixes: #93157


  Commit: 5997ebdb4feae22e83ec23cc9ee14e3eb7a39e10
      https://github.com/llvm/llvm-project/commit/5997ebdb4feae22e83ec23cc9ee14e3eb7a39e10
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp

  Log Message:
  -----------
  [analyzer][NFC] Use ArrayRef for input parameters (#93203)

Fixes #79684


  Commit: 5e1de27f680591a870d78e9952b23f76aed7f456
      https://github.com/llvm/llvm-project/commit/5e1de27f680591a870d78e9952b23f76aed7f456
  Author: James Y Knight <jyknight at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M libcxx/include/__utility/pair.h

  Log Message:
  -----------
  Revert "[libc++][NFC] Simplify pair a bit" (#97003)

Reverts llvm/llvm-project#96165

The change broke code like

  #include <utility>
  #include <vector>

  struct Test {
    std::vector<std::pair<int, Test>> v;
  };

  std::pair<int, Test> p;

under `-std=c++20`, apparently by triggering certain template
evaluations too eagerly.


  Commit: aca71efefe3d5907a1128566540d386d2aea8aa9
      https://github.com/llvm/llvm-project/commit/aca71efefe3d5907a1128566540d386d2aea8aa9
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/DomTreeUpdater.h
    M llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
    M llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h

  Log Message:
  -----------
  [DomTreeUpdater] Move flushing back into the derived classes

Calling a derived method from a base class destructor leaves you in a
half-destroyed state. Sanitizers complain about that.


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

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

  Log Message:
  -----------
  [X86] combineVectorCompare - add constant folding support for PCMPEQ/PCMPGT instructions


  Commit: f425db8732770c8abe1f18f7b3606a4aba45b7d8
      https://github.com/llvm/llvm-project/commit/f425db8732770c8abe1f18f7b3606a4aba45b7d8
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/docs/HIPSupport.rst

  Log Message:
  -----------
  [clang][docs] Add preliminary documentation for SPIR-V support in the HIPAMD ToolChain (#96657)

This is mostly stealing from #75357, and updating it to reflect the
pivot towards AMDGCN flavoured SPIR-V and the slightly different set of
limitations. As we bring up more functionality it will be updated
accordingly. With thanks to @yxsamliu.


  Commit: 66f55a7f483deb05ce3067a2565c381daf1d0f52
      https://github.com/llvm/llvm-project/commit/66f55a7f483deb05ce3067a2565c381daf1d0f52
  Author: Michael Klemm <michael.klemm at amd.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    A flang/test/Driver/print-resource-dir.F90

  Log Message:
  -----------
  [Flang] Re-enable -print-resource-dir compiler option (#96799)

This PR re-enables the command line option `-print-resources-dir` after
PR #96557 has reverted the changes made.

The way this works now, is that it simply prints the current resource
dir, which points to clang/$version.


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-sext.ll
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll
    M llvm/test/CodeGen/X86/cmpf-avx.ll
    M llvm/test/CodeGen/X86/vector-popcnt-256-ult-ugt.ll
    M llvm/test/CodeGen/X86/vector-sext.ll
    M llvm/test/CodeGen/X86/vector-unsigned-cmp.ll

  Log Message:
  -----------
  [X86] Fold concat(PCMP*(),PCMP*()) -> CMPPS(concat,concat) on AVX1 targets (#95915)

This is a more restricted solution to #82242 (vs the more general #82290 + #84360) whereby if we're concat'ing PCMPEQ/GT nodes to 256-bits on a AVX1 target then determine if the integer values are in bounds to allow them to be converted to FP for a (legal) float comparison.

By performing this inside combineConcatVectorOps and working on PCMPEQ/GT nodes and not ICMP, we delay the fold until after more lowering has occurred, which avoids many of the issues where we were getting 'stuck' with CMPPS or unnecessary 256-bit nodes, and can more easily determine if either of the new concats() will be free.

Additionally this patch requires BOTH comparison operands to be in range, while technically not required this does help avoid the remaining regressions. It doesn't require that one of the operands is constant as it didn't seem necessary to include that constraint.

I've reused some of the code from #82290, and we may be able to add additional functionality (more CondCode patterns, v4i64/v4f64 handling, 'bitcastable' integers etc.) in future patches.

Fixes #82242


  Commit: a139f8480f200a673e184b1a7d1907a3e16cca56
      https://github.com/llvm/llvm-project/commit/a139f8480f200a673e184b1a7d1907a3e16cca56
  Author: Zhikai Zeng <backlight.zzk at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaOverload.cpp
    A clang/test/SemaCXX/lambda-call.cpp

  Log Message:
  -----------
  [Clang][Sema] fix assertion failure about invalid conversion when calling lambda (#96431)

fixes https://github.com/llvm/llvm-project/issues/96205

The cause is that some `Conversions[ConvIdx]` here is not initialized 


https://github.com/llvm/llvm-project/blob/eb76bc38ffc286e62fdb8f8d897b5de04b2575be/clang/lib/Sema/SemaOverload.cpp#L7888-L7901

and we do not check whether `Cand->Conversions[I]` is initialized or not
here.


https://github.com/llvm/llvm-project/blob/eb76bc38ffc286e62fdb8f8d897b5de04b2575be/clang/lib/Sema/SemaOverload.cpp#L12148-L12158


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

  Changed paths:
    M llvm/test/CodeGen/X86/combine-pmadd.ll

  Log Message:
  -----------
  [X86] Add test case for situation where constant folding PMADDWD was causing an infinite loop in PCMPGT commuting between 2 constant values.

Reported by @alexfh


  Commit: 3106e97d4bdd46a38fa5c50578cf4aee62d04bf3
      https://github.com/llvm/llvm-project/commit/3106e97d4bdd46a38fa5c50578cf4aee62d04bf3
  Author: Madhur Amilkanthwar <madhura at nvidia.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/fptrunc.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Generate libcall for s128 G_FPTRUNC (#96602)

This patch would generate libcall if the source type is s128. This is
the root cause for many fallbacks in RajaPerf benchmark.


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

  Changed paths:
    M llvm/include/llvm/Analysis/AliasAnalysis.h
    M llvm/include/llvm/Analysis/Delinearization.h
    M llvm/include/llvm/Analysis/DemandedBits.h
    M llvm/include/llvm/Analysis/DominanceFrontier.h
    M llvm/include/llvm/Analysis/IVUsers.h
    M llvm/include/llvm/Analysis/LazyValueInfo.h
    M llvm/include/llvm/Analysis/LoopAnalysisManager.h
    M llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
    M llvm/include/llvm/IR/Analysis.h
    M llvm/include/llvm/IR/PassManagerImpl.h
    M llvm/include/llvm/Transforms/IPO/ExtractGV.h
    M llvm/include/llvm/Transforms/IPO/HotColdSplitting.h
    M llvm/include/llvm/Transforms/IPO/Internalize.h
    M llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
    M llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
    M llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h
    M llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
    M llvm/include/llvm/Transforms/Scalar/Reassociate.h
    M llvm/include/llvm/Transforms/Scalar/SpeculativeExecution.h
    M llvm/include/llvm/Transforms/Utils/Cloning.h
    M llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h
    M llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
    M llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
    M llvm/lib/CodeGen/PseudoSourceValue.cpp
    M llvm/lib/CodeGen/SafeStackLayout.h
    M llvm/lib/Target/AArch64/AArch64MCInstLower.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.h
    M llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
    M llvm/lib/Transforms/Utils/CountVisits.cpp
    M llvm/lib/Transforms/Utils/HelloWorld.cpp

  Log Message:
  -----------
  [IR] Remove Function.h include from Analysis.h (NFC) (#97056)

Use a forward-declaration instead.


  Commit: 0f61ba679fa1942397c8d2661f3339c305cc101b
      https://github.com/llvm/llvm-project/commit/0f61ba679fa1942397c8d2661f3339c305cc101b
  Author: Marco Elver <elver at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M compiler-rt/test/metadata/common.h

  Log Message:
  -----------
  [compiler-rt] Remove unnecessary ;

NFC.


  Commit: 383419931e5a0d58e6bc1ea898db07b4a967e344
      https://github.com/llvm/llvm-project/commit/383419931e5a0d58e6bc1ea898db07b4a967e344
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp

  Log Message:
  -----------
  [NFC][mlgo] Fix imports post- PR#97023


  Commit: a52be0cc114cc58a35bee65c517adaeb66ee6d89
      https://github.com/llvm/llvm-project/commit/a52be0cc114cc58a35bee65c517adaeb66ee6d89
  Author: Santhosh Kumar Ellendula <quic_sellendu at quicinc.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py
    A lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
    M lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py
    M lldb/tools/lldb-dap/lldb-dap.cpp
    M lldb/tools/lldb-dap/package.json

  Log Message:
  -----------
  [lldb-dap] Added "port" property to vscode "attach" command. (#91570)

Adding a "port" property to the VsCode "attach" command likely extends
the functionality of the debugger configuration to allow attaching to a
process using PID or PORT number.
Currently, the "Attach" configuration lets the user specify a pid. We
tell the user to use the attachCommands property to run "gdb-remote ".
Followed the below conditions for "attach" command with "port" and "pid"
We should add a "port" property. If port is specified and pid is not,
use that port to attach. If both port and pid are specified, return an
error saying that the user can't specify both pid and port.

Ex - launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "lldb-dap Debug",
"type": "lldb-dap",
"request": "attach",
"gdb-remote-port":1234,
"program": "${workspaceFolder}/a.out",
"args": [],
"stopOnEntry": false,
"cwd": "${workspaceFolder}",
"env": [],

    }
]
}

---------

Co-authored-by: Santhosh Kumar Ellendula <sellendu at hu-sellendu-hyd.qualcomm.com>
Co-authored-by: Santhosh Kumar Ellendula <sellendu at hu-sellendu-lv.qualcomm.com>


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

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

  Log Message:
  -----------
  [X86] computeKnownBitsForTargetNode - add handling for PMADDWD/PMADDUBSW nodes

These were reverted in fa0e9acea5e4d363eef6acc484afc1b22ab8e698 while we triaged an infinite loop regression


  Commit: b46880400556e1b02ac2d4961175e047fed4e382
      https://github.com/llvm/llvm-project/commit/b46880400556e1b02ac2d4961175e047fed4e382
  Author: Mogball <jeff at modular.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M .github/CODEOWNERS

  Log Message:
  -----------
  [mlir] Add myself as codeowner of the index dialect


  Commit: 0cc3fe460105c4c0c78139d7a78da557c3502298
      https://github.com/llvm/llvm-project/commit/0cc3fe460105c4c0c78139d7a78da557c3502298
  Author: Jeff Niu <jeff at modular.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
    M mlir/test/Target/LLVMIR/nvvmir.mlir

  Log Message:
  -----------
  Revert "[mlir][NVVM] Disallow results on kernel functions (#96399)" (#97074)

NVVM IR itself doesn't place any restriction that a function annotated
as `nvvm.kernel` actually has no results, so this is a mismatch at the
NVVMDialect level and NVVMIR. The GPU dialect might enforce that kernel
functions have no results, but it doesn't make sense to propagate this
constraint downstream.

Reverts llvm/llvm-project#96399


  Commit: 57dabc1dffdc0181192cf80b79740f50814763a5
      https://github.com/llvm/llvm-project/commit/57dabc1dffdc0181192cf80b79740f50814763a5
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M libcxx/src/CMakeLists.txt

  Log Message:
  -----------
  [libc++] Fix how we pass /MANIFEST flag on Windows without clang-cl (#96967)

If we're compiling with Clang (not clang-cl) on Windows, we need to use
-Xlinker to pass the /MANIFEST option.

Fixes #96430


  Commit: 3497500946c9b6a1b2e1452312a24c41ee412b34
      https://github.com/llvm/llvm-project/commit/3497500946c9b6a1b2e1452312a24c41ee412b34
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M libcxx/include/__configuration/availability.h
    M libcxx/test/libcxx/strings/basic.string/string.capacity/PR53170.pass.cpp
    M libcxx/test/libcxx/strings/basic.string/string.capacity/allocation_size.pass.cpp
    M libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
    M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp
    M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.signals.pass.cpp
    M libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/toctou.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/bool.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/double.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/float.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/int.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_double.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_long.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/pointer.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/short.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_int.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long_long.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_short.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/streambuf.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_chart.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size_chart.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf_chart.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size_chart.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/peek.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/read.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg_off.pass.cpp
    M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp
    M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minus1.pass.cpp
    M libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/ios_Init.multiple.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.pass.cpp
    M libcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp
    M libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
    M libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
    M libcxx/test/std/localization/codecvt_unicode.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/table_size.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp
    M libcxx/test/std/localization/locales/locale/locale.cons/name_construction.pass.cpp
    M libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp
    M libcxx/test/std/strings/basic.string/string.capacity/max_size.pass.cpp
    M libcxx/test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp
    M libcxx/test/std/strings/basic.string/string.capacity/reserve_size.pass.cpp
    M libcxx/test/std/thread/futures/futures.async/async_race.38682.pass.cpp
    M libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp
    M libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp
    M libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp
    M libcxx/utils/libcxx/test/features.py
    M libcxxabi/test/catch_function_01.pass.cpp
    M libcxxabi/test/catch_function_03.pass.cpp
    M libcxxabi/test/catch_member_data_pointer_01.pass.cpp
    M libcxxabi/test/catch_member_function_pointer_02.pass.cpp
    M libcxxabi/test/catch_member_pointer_nullptr.pass.cpp
    M libcxxabi/test/catch_multi_level_pointer.pass.cpp
    M libcxxabi/test/catch_null_pointer_to_object_pr64953.pass.cpp
    M libcxxabi/test/catch_pointer_nullptr.pass.cpp
    M libcxxabi/test/catch_ptr_02.pass.cpp
    M libcxxabi/test/cxa_vec_new_overflow_PR41395.pass.cpp
    M libcxxabi/test/dynamic_cast.pass.cpp
    M libcxxabi/test/exception_object_alignment.pass.cpp
    M libcxxabi/test/incomplete_type.sh.cpp
    M libcxxabi/test/test_aux_runtime_op_array_new.pass.cpp
    M libcxxabi/test/test_demangle.pass.cpp
    M libcxxabi/test/test_exception_address_alignment.pass.cpp
    M libcxxabi/test/uncaught_exception.pass.cpp
    M libcxxabi/test/uncaught_exceptions.pass.cpp

  Log Message:
  -----------
  [libc++] Clean up and update deployment target features (#96312)

This patch removes many annotations that are not relevant anymore since
we don't support or test back-deploying to macOS < 10.13. It also cleans
up raw usage of target triples to identify versions of dylibs shipped on
prior versions of macOS, and uses the target-agnostic Lit features
instead. Finally, it reorders both the Lit backdeployment features and
the corresponding availability macros in the library in a way that makes
more sense, and reformulates the Lit backdeployment features in terms of
when a version of LLVM was introduced instead of encoding the system
versions on which it hasn't been introduced yet. Although one can be
derived from the other, encoding the negative form is extremely
error-prone.

Fixes #80901


  Commit: 5fd2af38e461445c583d7ffc2fe23858966eee76
      https://github.com/llvm/llvm-project/commit/5fd2af38e461445c583d7ffc2fe23858966eee76
  Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M offload/DeviceRTL/CMakeLists.txt
    A offload/DeviceRTL/include/Profiling.h
    A offload/DeviceRTL/src/Profiling.cpp
    M offload/plugins-nextgen/common/include/GlobalHandler.h
    M offload/plugins-nextgen/common/src/GlobalHandler.cpp
    M offload/plugins-nextgen/common/src/PluginInterface.cpp
    M offload/test/CMakeLists.txt
    M offload/test/lit.cfg
    M offload/test/lit.site.cfg.in
    A offload/test/offloading/pgo1.c

  Log Message:
  -----------
  [PGO][OpenMP] Instrumentation for GPU devices (#76587)

This pull request is the first part of an ongoing effort to extends PGO
instrumentation to GPU device code. This PR makes the following changes:

- Adds blank registration functions to device RTL
- Gives PGO globals protected visibility when targeting a supported GPU
- Handles any addrspace casts for PGO calls
- Implements PGO global extraction in GPU plugins (currently only dumps
info)

These changes can be tested by supplying `-fprofile-instrument=clang`
while targeting a GPU.


  Commit: 061e3aa08e35d2714f8bcda87aacf08e9e21771b
      https://github.com/llvm/llvm-project/commit/061e3aa08e35d2714f8bcda87aacf08e9e21771b
  Author: Erick Velez <erickvelez7 at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/Parse/Parser.cpp
    M clang/test/Parser/cxx2a-concepts-requires-expr.cpp

  Log Message:
  -----------
  [clang] require arg list in type specifiers using template kw (#94674)

Require a template argument list after a name prefixed by the template
keyword in nested name specifiers. Addresses [CWG
96](https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96)
which was superseded by
[P1787](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html).

Followup to #80801.


  Commit: e17b17d86e6a9d2c77b7a63822c26bda2fa05067
      https://github.com/llvm/llvm-project/commit/e17b17d86e6a9d2c77b7a63822c26bda2fa05067
  Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M libc/newhdrgen/class_implementation/classes/function.py
    A libc/newhdrgen/yaml_combined/ctype.yaml
    A libc/newhdrgen/yaml_combined/fenv.yaml
    A libc/newhdrgen/yaml_combined/math.yaml
    A libc/newhdrgen/yaml_combined/pthread.yaml
    A libc/newhdrgen/yaml_combined/sched.yaml
    A libc/newhdrgen/yaml_combined/signal.yaml
    A libc/newhdrgen/yaml_combined/stdfix.yaml
    A libc/newhdrgen/yaml_combined/stdio.yaml
    A libc/newhdrgen/yaml_combined/stdlib.yaml
    A libc/newhdrgen/yaml_combined/string.yaml
    A libc/newhdrgen/yaml_combined/strings.yaml
    A libc/newhdrgen/yaml_combined/sys_mman.yaml
    A libc/newhdrgen/yaml_combined/sys_wait.yaml
    A libc/newhdrgen/yaml_combined/time.yaml
    M libc/newhdrgen/yaml_to_classes.py

  Log Message:
  -----------
  [libc] added yaml_combined files, frontend for new headergen (#96833)

These are the yaml files that have combined functions from different
libraries
Rose will be adding the rest of the yaml in the next pr
Missing assert.yaml -- work in progress


  Commit: f65a52ab0ec22cf5c25ccf3c9d86b7635964b864
      https://github.com/llvm/llvm-project/commit/f65a52ab0ec22cf5c25ccf3c9d86b7635964b864
  Author: royitaqi <royitaqi at users.noreply.github.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Target/Statistics.h
    M lldb/source/Commands/Options.td
    M lldb/test/API/commands/statistics/basic/TestStats.py

  Log Message:
  -----------
  In `statistics dump --summary`, add back the `targets` section (#97004)

# Change

https://github.com/llvm/llvm-project/pull/95075 accidentally removed the
`targets` section from `statistics dump --summary`. Adding it back, by
setting the default value to `true` in
`StatisticsOptions::GetIncludeTargets()`.

Updated the description for the options.
Updated tests.


# Verification

Manually verified the fix by running `statist dump --summary` and
comparing three versions of LLDB (in commit order):
1. Before https://github.com/llvm/llvm-project/pull/95075
2. After https://github.com/llvm/llvm-project/pull/95075
3. After this fix

The expected result is that 1 and 3 give the same sections, while 2 is
missing the `targets` section when in summary mode. The output (see
Appendix) matches the expectation.


# Appendix: Manual Test Output

## `statistics dump --summary` of 1

```
(lldb) statistics dump --summary
{
  "memory": {
    "strings": {
      "bytesTotal": 724992,
      "bytesUnused": 714547,
      "bytesUsed": 10445
    }
  },
  "targets": [
    {
      "sourceMapDeduceCount": 0,
      "totalSharedLibraryEventHitCount": 0
    }
  ],
  "totalDebugInfoByteSize": 597,
  "totalDebugInfoEnabled": 1,
  "totalDebugInfoIndexLoadedFromCache": 0,
  "totalDebugInfoIndexSavedToCache": 0,
  "totalDebugInfoIndexTime": 0.00070699999999999995,
  "totalDebugInfoParseTime": 2.5999999999999998e-05,
  "totalModuleCount": 1,
  "totalModuleCountHasDebugInfo": 1,
  "totalModuleCountWithIncompleteTypes": 0,
  "totalModuleCountWithVariableErrors": 0,
  "totalSymbolTableIndexTime": 0.000223,
  "totalSymbolTableParseTime": 0.00025799999999999998,
  "totalSymbolTableStripped": 0,
  "totalSymbolTablesLoadedFromCache": 0,
  "totalSymbolTablesSavedToCache": 0
}
(lldb)
```

## `statistics dump --summary` of 3

Should be the same as above.

```
(lldb) statistics dump --summary
{
  "memory": {
    "strings": {
      "bytesTotal": 516096,
      "bytesUnused": 510353,
      "bytesUsed": 5743
    }
  },
  "targets": [
    {
      "sourceMapDeduceCount": 0,
      "totalSharedLibraryEventHitCount": 0
    }
  ],
  "totalDebugInfoByteSize": 597,
  "totalDebugInfoEnabled": 1,
  "totalDebugInfoIndexLoadedFromCache": 0,
  "totalDebugInfoIndexSavedToCache": 0,
  "totalDebugInfoIndexTime": 0.0022139999999999998,
  "totalDebugInfoParseTime": 0.00031700000000000001,
  "totalModuleCount": 1,
  "totalModuleCountHasDebugInfo": 1,
  "totalModuleCountWithIncompleteTypes": 0,
  "totalModuleCountWithVariableErrors": 0,
  "totalSymbolTableIndexTime": 0.0014499999999999999,
  "totalSymbolTableParseTime": 0.001848,
  "totalSymbolTableStripped": 0,
  "totalSymbolTablesLoadedFromCache": 0,
  "totalSymbolTablesSavedToCache": 0
}
(lldb)
```

## `statistics dump --summary` of 2

Should be missing the `targets` section.

```
(lldb) statistics dump --summary
{
  "memory": {
    "strings": {
      "bytesTotal": 716800,
      "bytesUnused": 705887,
      "bytesUsed": 10913
    }
  },
  "totalDebugInfoByteSize": 597,
  "totalDebugInfoEnabled": 1,
  "totalDebugInfoIndexLoadedFromCache": 0,
  "totalDebugInfoIndexSavedToCache": 0,
  "totalDebugInfoIndexTime": 0.001374,
  "totalDebugInfoParseTime": 0.000174,
  "totalModuleCount": 1,
  "totalModuleCountHasDebugInfo": 1,
  "totalModuleCountWithIncompleteTypes": 0,
  "totalModuleCountWithVariableErrors": 0,
  "totalSymbolTableIndexTime": 0.00068300000000000001,
  "totalSymbolTableParseTime": 0.0010139999999999999,
  "totalSymbolTableStripped": 0,
  "totalSymbolTablesLoadedFromCache": 0,
  "totalSymbolTablesSavedToCache": 0
}
(lldb)
```

Co-authored-by: royshi <royshi at meta.com>


  Commit: 2222fddfc0a2ff02036542511597839856289094
      https://github.com/llvm/llvm-project/commit/2222fddfc0a2ff02036542511597839856289094
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCCodeEmitter.h
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h

  Log Message:
  -----------
  [MC,X86] De-virtualize emitPrefix

and remove x86-specific emitPrefix from the generic MCCodeEmitter.

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


  Commit: 76c8e1d8575fbeebdc0e18e0792e8f0a623834b3
      https://github.com/llvm/llvm-project/commit/76c8e1d8575fbeebdc0e18e0792e8f0a623834b3
  Author: David Green <david.green at arm.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll

  Log Message:
  -----------
  [VectorCombine] Guard against the lane zero select predicate being scalar

All but the first lane was being checked, but this could leave the first lane
with a scalar select predicate. This just extends the check to make sure the
types are all the same


  Commit: 7d17114c6b5f83ad3a58d2fb14068ea43738443c
      https://github.com/llvm/llvm-project/commit/7d17114c6b5f83ad3a58d2fb14068ea43738443c
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
    M llvm/lib/Target/DirectX/DirectXIRPasses/PointerTypeAnalysis.cpp
    M llvm/lib/Target/DirectX/DirectXIRPasses/PointerTypeAnalysis.h

  Log Message:
  -----------
  [DirectX] Add missing includes after #97023


  Commit: 3f24561bc14fab4dbedd95955c45983197b659f3
      https://github.com/llvm/llvm-project/commit/3f24561bc14fab4dbedd95955c45983197b659f3
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp
    M llvm/unittests/Target/SPIRV/SPIRVConvergenceRegionAnalysisTests.cpp

  Log Message:
  -----------
  [unittest] Include Module.h after #97023


  Commit: f0bffb15b26e65436fa6cf4de12aa85ad0566efa
      https://github.com/llvm/llvm-project/commit/f0bffb15b26e65436fa6cf4de12aa85ad0566efa
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lldb/test/Shell/SymbolFile/DWARF/x86/dwp-foreign-type-units.cpp

  Log Message:
  -----------
  Fix the test to deal with non-deterministic output. (#96800)

When we check for the "struct CustomType" in the NODWP, we can just make
sure that we have both types showing up, the next tests will validate
the types are correct. Also added a "-DAG" to the integer and float
types. This should fix the flakiness in this test.


  Commit: 5d476c9ef4cccce7f534d5607f953b3107d770af
      https://github.com/llvm/llvm-project/commit/5d476c9ef4cccce7f534d5607f953b3107d770af
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [AsmPrinter] Don't compute Darwin triple on non-Darwin (#97069)

There's no point in computing (=parsing) a triple on non-MachO/Darwin
platforms.


  Commit: ecd6742f7b38328d61e62a6c988101c5c327eb82
      https://github.com/llvm/llvm-project/commit/ecd6742f7b38328d61e62a6c988101c5c327eb82
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [MC][NFC] Make getCurrentFragment inline (#97066)

It's a very simple method now, which is called quite often, so make it
an inline function.


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

  Changed paths:
    M llvm/lib/MC/MCParser/ELFAsmParser.cpp
    M llvm/lib/MC/MCParser/WasmAsmParser.cpp
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp

  Log Message:
  -----------
  [MC] Replace getCurrentSection().first with getCurrentSectionOnly. NFC


  Commit: 027d0128df2271885c019ed432c63aa45ed1fd78
      https://github.com/llvm/llvm-project/commit/027d0128df2271885c019ed432c63aa45ed1fd78
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp

  Log Message:
  -----------
  [MC,Hexagon] Simplify switchSection. NFC


  Commit: 319e11daee807981db61dad3da90d9bf36317e03
      https://github.com/llvm/llvm-project/commit/319e11daee807981db61dad3da90d9bf36317e03
  Author: Gheorghe-Teodor Bercea <doru.bercea at amd.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/index/remote/Client.h

  Log Message:
  -----------
  Revert: [clangd] Replace an include with a forward declaration (#97082)

Reverting due to failures on several buildbots.


  Commit: 808e0f1c4666eb2de13d816dbf597801a42e5f19
      https://github.com/llvm/llvm-project/commit/808e0f1c4666eb2de13d816dbf597801a42e5f19
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    R libc/config/linux/platform_defs.h.inc
    R libc/config/linux/signal.h.in
    R libc/config/linux/syscall_numbers.h.inc
    M libc/include/CMakeLists.txt
    M libc/include/sys/syscall.h.def

  Log Message:
  -----------
  [libc] remove include_file headergen usage (#96970)

Previously headergen had a mechanism to copy the contents of one file
inot another. This wasn't ever used properly, and isn't supported by the
new headergen design. We will investigate better ways to support
different syscall definitions in future.


  Commit: 2c8b912f630f9ec647a4870b9c5ee922c2ec1298
      https://github.com/llvm/llvm-project/commit/2c8b912f630f9ec647a4870b9c5ee922c2ec1298
  Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M offload/DeviceRTL/CMakeLists.txt
    R offload/DeviceRTL/include/Profiling.h
    R offload/DeviceRTL/src/Profiling.cpp
    M offload/plugins-nextgen/common/include/GlobalHandler.h
    M offload/plugins-nextgen/common/src/GlobalHandler.cpp
    M offload/plugins-nextgen/common/src/PluginInterface.cpp
    M offload/test/CMakeLists.txt
    M offload/test/lit.cfg
    M offload/test/lit.site.cfg.in
    R offload/test/offloading/pgo1.c

  Log Message:
  -----------
  Revert "[PGO][OpenMP] Instrumentation for GPU devices (#76587)"

This reverts commit 5fd2af38e461445c583d7ffc2fe23858966eee76. It caused build issues and broke the buildbot.


  Commit: 6ba764a54e2ce359117bf9a9d615e06dc3da6144
      https://github.com/llvm/llvm-project/commit/6ba764a54e2ce359117bf9a9d615e06dc3da6144
  Author: Julian Brown <jtb20 at cantab.net>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/AST/StmtOpenMP.cpp
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/Sema/SemaOpenMP.cpp

  Log Message:
  -----------
  [OpenMP] [NFC] SemaOpenMP.cpp and StmtOpenMP.cpp spelling fixes (#96814)

This patch just fixes a few spelling mistakes in the above two files. (I
changed one British spelling to American -- analyse to analyze --
because the latter spelling is used elsewhere in file, and it's probably
best to be consistent.)


  Commit: 3d11b3d750b735a149ab47b6ad8b8f98929c36a5
      https://github.com/llvm/llvm-project/commit/3d11b3d750b735a149ab47b6ad8b8f98929c36a5
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll

  Log Message:
  -----------
  [ConstraintElim] Add test for mis-compile due to #94610.

Additional test coverage for a miscompile in earlier versions of
https://github.com/llvm/llvm-project/pull/94610.


  Commit: 370555c02c81fb3ab2f41f608d26aa85b8ca1ec5
      https://github.com/llvm/llvm-project/commit/370555c02c81fb3ab2f41f608d26aa85b8ca1ec5
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MCA/InstrBuilder.h
    M llvm/lib/MCA/InstrBuilder.cpp
    M llvm/unittests/tools/llvm-mca/X86/TestIncrementalMCA.cpp

  Log Message:
  -----------
  [MCA] Parameterize variant scheduling classes by hash (#92849)

This patch looks up variant scheduling classes using a hash of the
instruction. Keying by the pointer breaks certain use cases that might
occur out of tree, like decoding an execution trace instruction by
instruction and creating MCA instructions as one goes along, like in the
MCAD case. In this case, the MCInst will always have the same address
and thus all instructions with the same variant scheduling class will
end up with the same instruction description, leading to undesired
behavior (assertions, uses after free, invalid results, etc.).


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

  Changed paths:
    M llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp

  Log Message:
  -----------
  [llvm-exegesis] Fix -Wdangling-else gcc warning. NFC.


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

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

  Log Message:
  -----------
  [Sema] LambdaScopeForCallOperatorInstantiationRAII - fix typo in early out logic (#96888)

We should be checking for a failed dyn_cast on the ParentFD result - not the loop invariant FD root value.

Seems to have been introduced in #65193

Noticed by static analyser (I have no specific test case).


  Commit: cf311a1131b9aef3e66b2a20ad49cfc77212754b
      https://github.com/llvm/llvm-project/commit/cf311a1131b9aef3e66b2a20ad49cfc77212754b
  Author: Mogball <jeff at modular.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
    M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
    M llvm/test/DebugInfo/NVPTX/cu-range-hole.ll

  Log Message:
  -----------
  [NVPTX] Fix DWARF section printing

There was a lot of changes to MC recently, so I'm no longer sure what is
the root cause here, but the NVPTX DWARF printing was printing an
extra closing brace, causing the PTX to be invalid. This should fix it
by only printing the closing brace when the printer has already seen an
opening brace for a DWARF section.


  Commit: 592abf29f9f7f73e6be28bef4574172125e4ab3f
      https://github.com/llvm/llvm-project/commit/592abf29f9f7f73e6be28bef4574172125e4ab3f
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/Driver/Driver.cpp

  Log Message:
  -----------
  [Driver] BuildOffloadingActions: Actually stabilize iteration order

In
```
/tmp/StaticDebug/bin/clang -ccc-print-phases -lsomelib -fopenmp=libomp --target=powerpc64-ibm-linux-gnu -fopenmp-targets=x86_64-pc-linux-gnu,powerpc64-ibm-linux-gnu clang/test/Driver/openmp-offload.c clang/test/Driver/openmp-offload.c
```

Both ToolChains have one single empty arch. llvm::sort in
LLVM_ENABLE_EXPENSIVE_CHECKS=on builds could swap the two entries.

Fixes: 255986e27fcf9f0b36f7a23fbe030fcca1ba0249


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

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

  Log Message:
  -----------
  InstCombine: Add tests that atomicrmw canonicalizations preserve MD (#97059)

This is basically all the existing test functions copied, with additional
sample metadata. It's a bit noisy and lazy, maybe it would be better to just
add metadata to the existing cases?


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

  Changed paths:
    M flang/runtime/pointer.cpp

  Log Message:
  -----------
  [flang] Fix excess allocation (#96663)

A recent patch introduced an error in an aligned byte size calculation
that causes an extra word to be allocated when the original byte size is
already aligned (including the case of zero). Fix.


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

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/boz-literal-constants.f90

  Log Message:
  -----------
  [flang] Handle BOZ as right-hand side of assignment (#96672)

F'2023 allows BOZ to appear in more contexts, including the common
extension of the right-hand side of an assignment to an INTEGER or REAL
variable. Implement that one case now.


  Commit: 6cb45aea92dc87974a0064c182600228c6e94329
      https://github.com/llvm/llvm-project/commit/6cb45aea92dc87974a0064c182600228c6e94329
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/include/lldb/Utility/StreamString.h
    M lldb/source/Interpreter/ScriptInterpreter.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
    M lldb/source/Target/ThreadPlanPython.cpp
    M lldb/test/API/functionalities/step_scripted/TestStepScripted.py

  Log Message:
  -----------
  Reland "[lldb/Interpreter] Discard ScriptedThreadPlan::GetStopDescription return value (#96985)" (#97092)

This reverts commit a2e3af5d581547d3ea53e5383d6f7f1cab45120a and solves
the build error in
https://lab.llvm.org/buildbot/#/builders/141/builds/369.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>


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

  Changed paths:
    M lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py
    M lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py
    M lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py
    M lldb/test/API/functionalities/completion/TestCompletion.py
    M lldb/test/API/functionalities/gdb_remote_client/TestIOSSimulator.py
    M lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
    M lldb/test/API/lang/cpp/diamond/TestCppDiamond.py
    M lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py
    M lldb/test/API/lang/rust/enum-structs/TestRustEnumStructs.py
    M lldb/test/API/test_utils/TestDecorators.py

  Log Message:
  -----------
  [lldb][test] Remove duplicate testcase names in API test-suite (#97043)

In one of my recent PRs I mistakenly had two test-cases with the same
name, preventing one of them to run. Since it's an easy mistake to make
(e.g., copy pasting existing test-cases), I ran following sanity-check
script over `lldb/test/API`, which found couple of tests which were
losing coverage because of this (or in some cases simply had duplicate
tests):
```
import ast
import sys

filename = sys.argv[1]
print(f'Checking {filename}...')
tree = ast.parse(open(filename, 'r').read())

for node in ast.walk(tree):
    if not isinstance(node, ast.ClassDef):
        continue

    func_names = []
    for child in ast.iter_child_nodes(node):
        if isinstance(child, ast.FunctionDef):
            func_names.append(child.name)

    seen_func_names = set()
    duplicate_func_names = []
    for name in func_names:
        if name in seen_func_names:
            duplicate_func_names.append(name)
        else:
            seen_func_names.add(name)

    if len(duplicate_func_names) != 0:
        print(f'Multiple func names found:\n\t{duplicate_func_names}\n\tclass {node.name}\n\tfile: {filename}')
```

This patch fixes these cases.


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

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    A flang/test/Preprocessing/kw-in-char.F90

  Log Message:
  -----------
  [flang][preprocessor] Expand some keyword macros in quoted character … (#96987)

…literals

To help port codes from compilers using pre-ANSI C preprocessors, which
didn't care much about context when replacing macros, support the
replacement of keyword macros in quoted character literals when (and
only when) the name of the keyword macro constitutes the entire
significant portion of a free form continuation line. See the new test
case for a motivating example.

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


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

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/lib/Parser/token-sequence.cpp
    A flang/test/Preprocessing/sentinel-after-semi.F90

  Log Message:
  -----------
  [flang] Accept a compiler directive sentinel after a semicolon (#96966)

Don't treat !DIR$ or an active !$ACC, !$OMP, &c. as a comment when they
appear after a semicolon, but instead treat them as a compiler directive
sentinel.


  Commit: c44e9ff691a10cd900b93d9ff4e0ada355ca82d7
      https://github.com/llvm/llvm-project/commit/c44e9ff691a10cd900b93d9ff4e0ada355ca82d7
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  Log Message:
  -----------
  [IndirectCallPromotion] Use ArrayRef consistently (NFC) (#96412)


  Commit: 6b4a13a15aef64bf284612fcdbe07662b96a881b
      https://github.com/llvm/llvm-project/commit/6b4a13a15aef64bf284612fcdbe07662b96a881b
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/test/Driver/aarch64-mac-cpus.c
    M clang/test/Misc/target-invalid-cpu-note.c
    M llvm/include/llvm/MC/MCSubtargetInfo.h
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/Target/AArch64/AArch64Processors.td
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
    M llvm/lib/TargetParser/AArch64TargetParser.cpp
    M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
    M llvm/utils/TableGen/SubtargetEmitter.cpp

  Log Message:
  -----------
  [llvm][AArch64][TableGen] Create a ProcessorAlias record (#96249)

... and use it to organize all of the AArch64 CPU aliases.


  Commit: 2a4cbf8d2f49a3176800137aed7ea7f8f33a0b92
      https://github.com/llvm/llvm-project/commit/2a4cbf8d2f49a3176800137aed7ea7f8f33a0b92
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/Loads.h
    M llvm/lib/Analysis/Loads.cpp

  Log Message:
  -----------
  [Loads] Const correct the Size argument to isSafeToLoadUnconditionally. NFC (#96993)

The APInt is not modified so we should pass by const reference.


  Commit: 4e2e4856b7aa2681bae67b0b7af65272561031e9
      https://github.com/llvm/llvm-project/commit/4e2e4856b7aa2681bae67b0b7af65272561031e9
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/docs/RISCVUsage.rst

  Log Message:
  -----------
  [RISCV] Update SiFive VCIX documentation link. NFC (#96986)

The previous version of the document did not prefix the intrinsic names
with `__riscv_`. That has been corrected now. We have always implemented
the intrinsics with the `__riscv_` prefix so now the documentation
matches our implementation.

The document is now labeled as 1.1, but I have not changed the extension
version in the compiler since it was only changing the intrinsic names.


  Commit: 784152056ea40a800a8fd9f4157a428dfb7a6de8
      https://github.com/llvm/llvm-project/commit/784152056ea40a800a8fd9f4157a428dfb7a6de8
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll

  Log Message:
  -----------
  [SLP]Fix the cost of the adjusted extracts in per-register analysis.

Previous patch did not pass the list of the extract indices by
reference, so the compiler just ignored them. Pass indices by reference
and fix the per-register analysis.

Reviewers: RKSimon

Reviewed By: RKSimon

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


  Commit: 74852bfa4cfd3fcbc3b8846c7bc19cbb712107b7
      https://github.com/llvm/llvm-project/commit/74852bfa4cfd3fcbc3b8846c7bc19cbb712107b7
  Author: Izaak Schroeder <izaak.schroeder at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M libc/include/CMakeLists.txt

  Log Message:
  -----------
  [libc]: fix missing `linux/error-number-macros.h` (#97101)

The headers installation previously missed platform-specific number
macros, and this fixes that. From discussion on LLVM discord with
`michaelrj` – ccing @michaelrj-google who hopefully is the same person 😅

N.B. I have tested this manually in my Linux Dockerfile and it appears
to do the right thing; I haven't done much more than that.


  Commit: 4713bd4ccc0c0d568f92916e7851d993291742c0
      https://github.com/llvm/llvm-project/commit/4713bd4ccc0c0d568f92916e7851d993291742c0
  Author: Jinsong Ji <jinsong.ji at intel.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/test/CodeGen/target-data.c

  Log Message:
  -----------
  [NFC] [clang][SPIR-V] Use AMDGPU prefix to avoid confusion (#96962)

Reusing prefix SPIRV64 while adding an useless(and wrong) line
AMDGPUSPIRV64 is confusing.

Update it by copying SPIRV64 line to AMDGPU line.


  Commit: a9c12e481bfef5b2913e2241486f4dd450188cd2
      https://github.com/llvm/llvm-project/commit/a9c12e481bfef5b2913e2241486f4dd450188cd2
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll

  Log Message:
  -----------
  Revert "[SLP]Fix the cost of the adjusted extracts in per-register analysis."

This reverts commit 784152056ea40a800a8fd9f4157a428dfb7a6de8 to fix
buildbots issues reported in
https://lab.llvm.org/buildbot/#/builders/4/builds/315 and https://lab.llvm.org/buildbot/#/builders/35/builds/481


  Commit: 2df2373eb898f138c2eddc513e3ab3e6552e252c
      https://github.com/llvm/llvm-project/commit/2df2373eb898f138c2eddc513e3ab3e6552e252c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-fcopysign.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir

  Log Message:
  -----------
  DAG/GlobalISel: Set disjoint for or in copysign lowering (#97057)

We masked out the sign bit from one value, and the non-sign bits
from the other so there should be no common bits set.

No idea how to test this on the DAG path, other than scraping
the debug logs. A few targets hit this path with f16 values, but
the resulting i16 ors get anyext promoted and lose the disjoint
flag. In the fp128 case, PPC gets further and the or loses the flag
somewhere else later. Adding a haveNoCommonBits assert shows this
works though.


  Commit: a8b722702db9bbf88f67a31c0c308865154576e2
      https://github.com/llvm/llvm-project/commit/a8b722702db9bbf88f67a31c0c308865154576e2
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [Inliner] Pass updated SCC to InlineAdvisor::onPassExit() (#96553)

InitialC may be logically invalid, although iterating through it doesn't
crash. Always use the updated SCC.


  Commit: 4ae23bcca144b542f16d45acc8f270e156e2fa4e
      https://github.com/llvm/llvm-project/commit/4ae23bcca144b542f16d45acc8f270e156e2fa4e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
    M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h

  Log Message:
  -----------
  [NVPTX] Correct the condition to print "\t}\n" for DWARF sections

`NVPTXTargetStreamer::changeSection` needs `CurSection` to properly
print "\t}\n" for DWARF sections.

db48f1a1764023f8efeb055e343b967d1eb37d19 added
`MCStreamer::changeSection` before `TS->changeSection`,
making `CurSection == Section` when `getCurrentSectionOnly` switches to
`CurFrag` (626eef5ecf92e98cbfccfa6134e0a760e7592813).

cf311a1131b9aef3e66b2a20ad49cfc77212754b did fix the bug, but the
mechanism is confusing. Fix it using nullable getCurrentSectionOnly().


  Commit: 798754f6c6fe19d19984ca8370806cbcdf5f8294
      https://github.com/llvm/llvm-project/commit/798754f6c6fe19d19984ca8370806cbcdf5f8294
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll

  Log Message:
  -----------
  [ConstraintElim] Add multi-exit tests for #94610.

Additional test coverage with multi-exit loops for
 https://github.com/llvm/llvm-project/pull/94610.


  Commit: d70963a762850e74b79e178e006dc7861c2c94e5
      https://github.com/llvm/llvm-project/commit/d70963a762850e74b79e178e006dc7861c2c94e5
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll

  Log Message:
  -----------
  [SLP]Fix the cost of the adjusted extracts in per-register analysis.

Previous patch did not pass the list of the extract indices by
reference, so the compiler just ignored them. Pass indices by reference
and fix the per-register analysis.

Reviewers: RKSimon

Reviewed By: RKSimon

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


  Commit: 2264544e2d13957f36fd19864d9633a3278a9d74
      https://github.com/llvm/llvm-project/commit/2264544e2d13957f36fd19864d9633a3278a9d74
  Author: Jacob Lambert <jacob.lambert at amd.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/BackendConsumer.h
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CodeGenAction.cpp
    M clang/lib/CodeGen/LinkInModulesPass.cpp
    M clang/lib/CodeGen/LinkInModulesPass.h

  Log Message:
  -----------
  [clang][CodeGen] Remove unnecessary ShouldLinkFiles conditional (#96951)

We have reworked the bitcode linking option to no longer link twice if
post-optimization linking is requested. As such, we no longer need to
conditionally link bitcodes supplied via -mlink-bitcode-file, as there
is no danger of linking them twice


  Commit: b6ba10c6d4455a237ff2e65772d332821721cdf3
      https://github.com/llvm/llvm-project/commit/b6ba10c6d4455a237ff2e65772d332821721cdf3
  Author: Matthew Weingarten <matt at weingarten.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/PGOProfile/Inputs/memprof.exe
    M llvm/test/Transforms/PGOProfile/Inputs/memprof.memprofraw
    M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.exe
    M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.memprofraw
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.exe
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.memprofraw
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.exe
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.memprofraw
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.exe
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/basic.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/inline.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/inline.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/multi.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/pic.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/pic.memprofraw

  Log Message:
  -----------
  [Memprof] Reduce test binary sizes for memprof tests. (#97114)

PR 94264 had substantial increase in test binary size. This was due to
building LLVM and compiler-rt with GCC, implicitly causing the runtimes
to be built with full debuginfo. Rebuilding LLVM with
`-DCMAKE_CXX_COMPILER=/usr/bin/clang++` and regenerating .exe files with
script `update_memprof_inputs.sh` avoids this increase in test binary
size.


  Commit: 9f10252c4ad7cffbbcf692fa9c953698f82ac4f5
      https://github.com/llvm/llvm-project/commit/9f10252c4ad7cffbbcf692fa9c953698f82ac4f5
  Author: Haopeng Liu <153236845+haopliu at users.noreply.github.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/ConstantRangeList.h
    M llvm/lib/IR/ConstantRangeList.cpp
    M llvm/unittests/IR/ConstantRangeListTest.cpp

  Log Message:
  -----------
  Add ConstantRangeList::subtract(ConstantRange) (#97093)

Add ConstantRangeList::subtract(ConstantRange).

This API will be used in the "initializes" attribute inference as well
(for load instructions).


  Commit: ded956440739ae326a99cbaef18ce4362e972679
      https://github.com/llvm/llvm-project/commit/ded956440739ae326a99cbaef18ce4362e972679
  Author: Jeffrey Byrnes <Jeffrey.Byrnes at amd.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/vni8-across-blocks.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-break-large-phis.ll
    M llvm/test/CodeGen/AMDGPU/dagcomb-extract-vec-elt-different-sizes.ll
    M llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
    M llvm/test/CodeGen/AMDGPU/extract-subvector.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
    M llvm/test/CodeGen/AMDGPU/vni8-across-blocks.ll
    A llvm/test/CodeGen/AMDGPU/vni8-live-reg-opt.ll

  Log Message:
  -----------
  [AMDGPU] Add IR LiveReg type-based optimization

Change-Id: Ia0d11b79b8302e79247fe193ccabc0dad2d359a0


  Commit: 664497557ae7e726b424d325533cdce8104b3337
      https://github.com/llvm/llvm-project/commit/664497557ae7e726b424d325533cdce8104b3337
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/test/CodeGenCXX/attr-annotate.cpp

  Log Message:
  -----------
  [CodeGen] Use MapVector to stabilize iteration order

Otherwise clang/test/CodeGenCXX/attr-annotate.cpp
output could fail when llvm::hash_value(StringRef) changes
(#96282).

EmitGlobalAnnotations iterates over DeferredAnnotations.


  Commit: b8c92938ef9bd60cc55e6094965f15db1e7946d5
      https://github.com/llvm/llvm-project/commit/b8c92938ef9bd60cc55e6094965f15db1e7946d5
  Author: Matthew Weingarten <matt at weingarten.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll

  Log Message:
  -----------
  [Memprof] Fix linkage number for memprof test. (#97119)

Update function name in `memprof_internal_linkage.ll` test. Needs to be
updated every time we regenerate the binary.


  Commit: 982c54719289c1d85d03be3ad9e95bbfd2862aee
      https://github.com/llvm/llvm-project/commit/982c54719289c1d85d03be3ad9e95bbfd2862aee
  Author: Jacob Lambert <jacob.lambert at amd.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/LinkInModulesPass.cpp
    M clang/lib/CodeGen/LinkInModulesPass.h

  Log Message:
  -----------
  [clang][CodeGen] Cleanup missed ShouldLinkFiles definitions (#97115)

Follow up to
https://github.com/llvm/llvm-project/commit/2264544e2d13957f36fd19864d9633a3278a9d74


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

  Changed paths:
    M llvm/include/llvm/ADT/Hashing.h
    M llvm/lib/Support/CMakeLists.txt
    R llvm/lib/Support/Hashing.cpp
    M llvm/unittests/ADT/HashingTest.cpp
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn

  Log Message:
  -----------
  [Hashing] Use a non-deterministic seed if LLVM_ENABLE_ABI_BREAKING_CHECKS

Hashing.h provides hash_value/hash_combine/hash_combine_range, which are
primarily used by `DenseMap<StringRef, X>`

Users shouldn't rely on specific hash values due to size_t differences
on 32-bit/64-bit platforms and potential algorithm changes.
`set_fixed_execution_hash_seed` is provided but it has never been used.

In LLVM_ENABLE_ABI_BREAKING_CHECKS builds, take the the address of a
static storage duration variable as the seed like
absl/hash/internal/hash.h `kSeed`. (See https://reviews.llvm.org/D93931
for workaround for older Clang. Mach-O x86-64 forces PIC, so absl's
`__apple_build_version__` check is unnecessary.)

LLVM_ENABLE_ABI_BREAKING_CHECKS defaults to `WITH_ASSERTS` and is
enabled in an assertion build.

In a non-assertion build, `get_execution_seed` returns the fixed value
regardless of `NDEBUG`. Removing a variable load yields noticeable
size/performance improvement.

A few users relying on the iteration order of `DenseMap<StringRef, X>`
have been fixed (e.g., f8f4235612b9 c025bd1fdbbd 89e8e63f47ff
86eb6bf6715c eb8d03656549 0ea6b8e476c2 58d7a6e0e636 8ea31db27211
592abf29f9f7 664497557ae7).
>From my experience fixing [`StringMap`](https://discourse.llvm.org/t/reverse-iteration-bots/72224)
iteration order issues, the scale of issues is similar.

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


  Commit: 15ad7919f6dd18b5d7f5a22daad6a5c25ecb8793
      https://github.com/llvm/llvm-project/commit/15ad7919f6dd18b5d7f5a22daad6a5c25ecb8793
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    A llvm/include/llvm/Transforms/Instrumentation/NumericalStabilitySanitizer.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/Instrumentation/CMakeLists.txt
    A llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/cfg.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/invoke.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/memory.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll

  Log Message:
  -----------
  [LLVM][Instrumentation] Add numerical sanitizer (#85916)

This PR introduces the numerical sanitizer originally proposed by
Clement Courbet on https://reviews.llvm.org/D97854
(https://arxiv.org/abs/2102.12782).

The main additions include:
- Migration to LLVM opaque pointers
- Migration to various updated APIs
- Extended coverage for LLVM instructions/intrinsics
- Code refactoring

The tool is still very experimental, the coverage (e.g. for intrinsics /
library functions) is incomplete.

Link: https://discourse.llvm.org/t/rfc-revival-of-numerical-sanitizer/79601

---------

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


  Commit: 371e924605a45bcdfcba1aca939f127338dd91d8
      https://github.com/llvm/llvm-project/commit/371e924605a45bcdfcba1aca939f127338dd91d8
  Author: RoseZhang03 <rosezhang at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    A libc/newhdrgen/yaml/arpa_inet.yaml
    A libc/newhdrgen/yaml/dirent.yaml
    A libc/newhdrgen/yaml/errno.yaml
    A libc/newhdrgen/yaml/fcntl.yaml
    A libc/newhdrgen/yaml/float.yaml
    A libc/newhdrgen/yaml/inttypes.yaml
    A libc/newhdrgen/yaml/limits.yaml
    A libc/newhdrgen/yaml/rpc.yaml
    A libc/newhdrgen/yaml/search.yaml
    A libc/newhdrgen/yaml/setjmp.yaml
    A libc/newhdrgen/yaml/spawn.yaml
    A libc/newhdrgen/yaml/stdbit.yaml
    A libc/newhdrgen/yaml/stdckdint.yaml
    A libc/newhdrgen/yaml/stdint.yaml
    A libc/newhdrgen/yaml/sys_auxv.yaml
    A libc/newhdrgen/yaml/sys_epoll.yaml
    A libc/newhdrgen/yaml/sys_ioctl.yaml
    A libc/newhdrgen/yaml/sys_prctl.yaml
    A libc/newhdrgen/yaml/sys_random.yaml
    A libc/newhdrgen/yaml/sys_resource.yaml
    A libc/newhdrgen/yaml/sys_select.yaml
    A libc/newhdrgen/yaml/sys_sendfile.yaml
    A libc/newhdrgen/yaml/sys_socket.yaml
    A libc/newhdrgen/yaml/sys_stat.yaml
    A libc/newhdrgen/yaml/sys_statvfs.yaml
    A libc/newhdrgen/yaml/sys_time.yaml
    A libc/newhdrgen/yaml/sys_types.yaml
    A libc/newhdrgen/yaml/sys_utsname.yaml
    A libc/newhdrgen/yaml/termios.yaml
    A libc/newhdrgen/yaml/threads.yaml
    A libc/newhdrgen/yaml/uchar.yaml
    A libc/newhdrgen/yaml/unistd.yaml
    A libc/newhdrgen/yaml/wchar.yaml

  Log Message:
  -----------
  [libc] added rest of yaml files for new headergen (#96977)

Added yaml files containing functions from only one standard.
Also added one combined standard yaml file (errno.yaml).
assert.yaml is still work in progress.


  Commit: 9572388a849c494d45df334f9facd8ee6663953f
      https://github.com/llvm/llvm-project/commit/9572388a849c494d45df334f9facd8ee6663953f
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/utils/git/code-format-helper.py

  Log Message:
  -----------
  Revert "[CI][format] Explicitly pass extensions to git-clang-format (#95794)"

This reverts commit 7620fe0d2d1e0257611c0ab0d96f3bf1bf7a1079.

This patch was causing some significant portion of code formatting jobs
to succeed when they should have failed. More investigation is needed.

Tracked in #97060.


  Commit: ea8e4c025f26f32b35ae129704fe0f7d107ac690
      https://github.com/llvm/llvm-project/commit/ea8e4c025f26f32b35ae129704fe0f7d107ac690
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp

  Log Message:
  -----------
  [GlobalISel] Fix formatting in CallLowering.cpp. NFC


  Commit: 4814628531451efb91ab0f4ab047f3a0469aef82
      https://github.com/llvm/llvm-project/commit/4814628531451efb91ab0f4ab047f3a0469aef82
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M libcxx/include/__iterator/move_iterator.h
    M libcxx/include/__type_traits/common_type.h
    M libcxx/include/__type_traits/decay.h

  Log Message:
  -----------
  [libc++][NFC] Replace conditional<>::type with __conditional_t (#96745)

`__conditional_t` is move efficient than `conditional`, since it avoids
instantiating a template for every type combination.


  Commit: de18ff35caa764998321dc01306b509efe4be431
      https://github.com/llvm/llvm-project/commit/de18ff35caa764998321dc01306b509efe4be431
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp

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

This patch fixes:

  llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp:1528:38:
  error: unused variable 'TableRef' [-Werror,-Wunused-variable]


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

  Changed paths:
    M lld/MachO/InputFiles.cpp
    M lld/test/MachO/dead-strip.s

  Log Message:
  -----------
  [lld-macho] Stabilize symbol order from InterfaceFile

llvm/include/llvm/TextAPI/InterfaceFile.h SymbolsSet uses a
llvm::DenseMap<SymbolsMapKey, Symbol *>, which has a non-deterministic
order. For now, stabilize the order in lld since it is much simpler
than refactoring InterfaceFile.h.


  Commit: ecd67e5d1fc9056a07269150b2e2d3325c570701
      https://github.com/llvm/llvm-project/commit/ecd67e5d1fc9056a07269150b2e2d3325c570701
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [gn build] Port 15ad7919f6dd


  Commit: 5cf0b4d94ee0d202211cd79c9fb204cb97bc6d67
      https://github.com/llvm/llvm-project/commit/5cf0b4d94ee0d202211cd79c9fb204cb97bc6d67
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lld/MachO/Config.h
    M lld/test/MachO/lto-explicit-exports.ll

  Log Message:
  -----------
  [lld-macho] Stabilize iteration order of config->exportedSymbols.literals

Otherwise lto-explicit-exports.ll might fail due to #96282.


  Commit: 0991bd7887a313d4d6bb66ca44d11939ad71b660
      https://github.com/llvm/llvm-project/commit/0991bd7887a313d4d6bb66ca44d11939ad71b660
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/SectionPriorities.h
    M lld/MachO/SyntheticSections.h

  Log Message:
  -----------
  [lld-macho] Fix IWYU issues. NFC


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

  Changed paths:
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Create some synthetic sections only if !relocatable

`.rela.dyn` is currently created outside of the `config->hasDynSymTab`
condition. In relocatable links, `.rela.dyn` will be discarded by
`removeUnusedSyntheticSections`. It's better than suppress the creation
so that .relr.auth.dyn support (#96496) does not need to adjust
`removeUnusedSyntheticSections`.


  Commit: cb24422b6f27bbdb9e55d5b3d0c4e8eb7e57d1d1
      https://github.com/llvm/llvm-project/commit/cb24422b6f27bbdb9e55d5b3d0c4e8eb7e57d1d1
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    A llvm/test/CodeGen/NVPTX/store-undef.ll

  Log Message:
  -----------
  [NVPTX] remove store.params of undef (#96940)

Extend the logic for `NVPTXISD::StoreRetval` to `NVPTXISD::StoreParam`
to remove stores of undef values.


  Commit: bf528849819733482cff205f3bdf1fe9ce2b92a4
      https://github.com/llvm/llvm-project/commit/bf528849819733482cff205f3bdf1fe9ce2b92a4
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp

  Log Message:
  -----------
  [DomTreeUpdater] Fix use after free in unittests (#97133)

In #96851, the unit test contains use after free, which triggers
sanitizer error.
Fix https://lab.llvm.org/buildbot/#/builders/169/builds/490


  Commit: d2c817df846a4fa141778560e2258ab674426f44
      https://github.com/llvm/llvm-project/commit/d2c817df846a4fa141778560e2258ab674426f44
  Author: Vigneshwar Jayakumar <vigneshwarjayakumar at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
    A llvm/test/CodeGen/AMDGPU/lds-mixed-absolute-dynlds.ll
    M llvm/test/CodeGen/AMDGPU/lds-run-twice.ll

  Log Message:
  -----------
  [AMDGPU] Fix DynLDS causing crash when LowerLDS is run at fullLTO pipeline (#96038)

Direct mapped dynamic LDS is not lowered in the LowerLDSModule pass.
Hence it is not marked with an absolute symbol. When the LowerLDS pass is
rerun in LTO, compilation fails with an assert "cannot mix abs and non-abs LDVs".
This patch adds an additional check for direct mapped dynLDS to skip the assert.

Fixes SWDEV-454281


  Commit: 61cd6bbb511d2aa4609fd264d2b6c2306f54bc8a
      https://github.com/llvm/llvm-project/commit/61cd6bbb511d2aa4609fd264d2b6c2306f54bc8a
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp

  Log Message:
  -----------
  Revert "[Instrumentation] Fix a warning"

This reverts commit de18ff35caa764998321dc01306b509efe4be431.
The initial commit for nsan needs to be reverted
for now because of the issue detected by
https://lab.llvm.org/buildbot/#/builders/11/builds/822.


  Commit: 493c384a7d94cce1d18824a6b0e1f9ee20cdc681
      https://github.com/llvm/llvm-project/commit/493c384a7d94cce1d18824a6b0e1f9ee20cdc681
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    R llvm/include/llvm/Transforms/Instrumentation/NumericalStabilitySanitizer.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/Instrumentation/CMakeLists.txt
    R llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
    R llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll
    R llvm/test/Instrumentation/NumericalStabilitySanitizer/cfg.ll
    R llvm/test/Instrumentation/NumericalStabilitySanitizer/invoke.ll
    R llvm/test/Instrumentation/NumericalStabilitySanitizer/memory.ll
    R llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
    R llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll

  Log Message:
  -----------
  Revert "[LLVM][Instrumentation] Add numerical sanitizer (#85916)"

This reverts commit 15ad7919f6dd18b5d7f5a22daad6a5c25ecb8793.
The commit broke the build bot
https://lab.llvm.org/buildbot/#/builders/11/builds/822.


  Commit: 70825368403202ab73900d8ff3dc096ddfef99b4
      https://github.com/llvm/llvm-project/commit/70825368403202ab73900d8ff3dc096ddfef99b4
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [JSON] Prefer static to namespace {}. NFC


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

  Changed paths:
    M clang-tools-extra/clangd/support/Trace.cpp
    M clang-tools-extra/clangd/test/trace.test
    M llvm/include/llvm/Support/JSON.h
    M llvm/lib/Support/JSON.cpp

  Log Message:
  -----------
  [JSON] Export sortedElements and fix CLANGD_TRACE non-determinism

clangd/test/trace.test might fail as llvm::hash_value(StringRef) is
non-deterministic per process (#96282).


  Commit: 44a485702ac2d38cbefdf241ba89b751d952f64e
      https://github.com/llvm/llvm-project/commit/44a485702ac2d38cbefdf241ba89b751d952f64e
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

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

  Log Message:
  -----------
  [gn build] Port 493c384a7d94


  Commit: 8823448807f3b1a1362d1417e062d763734e02f5
      https://github.com/llvm/llvm-project/commit/8823448807f3b1a1362d1417e062d763734e02f5
  Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M offload/test/api/omp_dynamic_shared_memory.c
    M offload/test/jit/empty_kernel_lvl1.c
    M offload/test/jit/empty_kernel_lvl2.c
    M offload/test/jit/type_punning.c
    M offload/test/libc/assert.c
    M offload/test/lit.cfg
    M offload/test/mapping/auto_zero_copy.cpp
    M offload/test/mapping/auto_zero_copy_apu.cpp
    M offload/test/mapping/auto_zero_copy_globals.cpp
    M offload/test/mapping/prelock.cpp
    M offload/test/offloading/barrier_fence.c
    M offload/test/offloading/bug49334.cpp
    M offload/test/offloading/default_thread_limit.c
    M offload/test/offloading/dynamic_module.c
    M offload/test/offloading/fortran/basic-target-parallel-do.f90
    M offload/test/offloading/fortran/basic-target-parallel-region.f90
    M offload/test/offloading/fortran/basic-target-region-1D-array-section.f90
    M offload/test/offloading/fortran/basic-target-region-3D-array-section.f90
    M offload/test/offloading/fortran/basic-target-region-3D-array.f90
    M offload/test/offloading/fortran/basic_target_region.f90
    M offload/test/offloading/fortran/constant-arr-index.f90
    M offload/test/offloading/fortran/declare-target-vars-in-target-region.f90
    M offload/test/offloading/fortran/double-target-call-with-declare-target.f90
    M offload/test/offloading/fortran/target-map-allocatable-array-section-1d-bounds.f90
    M offload/test/offloading/fortran/target-map-allocatable-array-section-3d-bounds.f90
    M offload/test/offloading/fortran/target-map-allocatable-map-scopes.f90
    M offload/test/offloading/fortran/target-map-derived-type-full-1.f90
    M offload/test/offloading/fortran/target-map-derived-type-full-2.f90
    M offload/test/offloading/fortran/target-map-derived-type-full-implicit-1.f90
    M offload/test/offloading/fortran/target-map-derived-type-full-implicit-2.f90
    M offload/test/offloading/fortran/target-map-double-large-nested-dtype-multi-member.f90
    M offload/test/offloading/fortran/target-map-double-nested-dtype-array-bounds.f90
    M offload/test/offloading/fortran/target-map-double-nested-dtype-double-array-bounds.f90
    M offload/test/offloading/fortran/target-map-double-nested-dtype-single-member.f90
    M offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit-update.f90
    M offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit.f90
    M offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90
    M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90
    M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90
    M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90
    M offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90
    M offload/test/offloading/fortran/target-map-enter-exit-allocatables.f90
    M offload/test/offloading/fortran/target-map-enter-exit-array-2.f90
    M offload/test/offloading/fortran/target-map-enter-exit-array-bounds.f90
    M offload/test/offloading/fortran/target-map-enter-exit-array.f90
    M offload/test/offloading/fortran/target-map-enter-exit-scalar.f90
    M offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90
    M offload/test/offloading/fortran/target-map-large-nested-dtype-multi-member.f90
    M offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90
    M offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90
    M offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90
    M offload/test/offloading/fortran/target-map-nested-dtype-single-member.f90
    M offload/test/offloading/fortran/target-map-pointer-scopes-enter-exit.f90
    M offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90
    M offload/test/offloading/fortran/target-map-pointer-target-scopes.f90
    M offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90
    M offload/test/offloading/fortran/target-map-two-dtype-individual-member-array-1D-bounds.f90
    M offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-1.f90
    M offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-2.f90
    M offload/test/offloading/fortran/target-map-two-dtype-multi-member-array-1D-bounds.f90
    M offload/test/offloading/fortran/target-map-two-nested-dtype-member-array-map.f90
    M offload/test/offloading/fortran/target-nested-target-data.f90
    M offload/test/offloading/fortran/target-parallel-do-collapse.f90
    M offload/test/offloading/fortran/target-region-implicit-array.f90
    M offload/test/offloading/fortran/target_map_common_block.f90
    M offload/test/offloading/fortran/target_map_common_block1.f90
    M offload/test/offloading/fortran/target_map_common_block2.f90
    M offload/test/offloading/fortran/target_update.f90
    M offload/test/offloading/memory_manager.cpp
    M offload/test/offloading/ompx_bare.c
    M offload/test/offloading/ompx_bare_ballot_sync.c
    M offload/test/offloading/ompx_bare_shfl_down_sync.cpp
    M offload/test/offloading/ompx_coords.c
    M offload/test/offloading/ompx_saxpy_mixed.c
    M offload/test/offloading/parallel_offloading_map.cpp
    M offload/test/offloading/parallel_target_teams_reduction.cpp
    M offload/test/offloading/parallel_target_teams_reduction_max.cpp
    M offload/test/offloading/parallel_target_teams_reduction_min.cpp
    M offload/test/offloading/small_trip_count.c
    M offload/test/offloading/small_trip_count_thread_limit.cpp
    M offload/test/offloading/spmdization.c
    M offload/test/offloading/target_critical_region.cpp
    M offload/test/offloading/taskloop_offload_nowait.cpp
    M offload/test/offloading/thread_limit.c
    M offload/test/offloading/workshare_chunk.c
    M offload/test/ompt/target_memcpy.c
    M offload/test/ompt/target_memcpy_emi.c
    M offload/test/ompt/veccopy.c
    M offload/test/ompt/veccopy_data.c
    M offload/test/ompt/veccopy_disallow_both.c
    M offload/test/ompt/veccopy_emi.c
    M offload/test/ompt/veccopy_emi_map.c
    M offload/test/ompt/veccopy_map.c

  Log Message:
  -----------
  [Offload] Refactor offload test requirements (#95196)

Many tests in the `offload` project have requirements defined by which
targets are not supported rather than which platforms are supported.
This patch aims to streamline the requirement definitions by adding four
new feature tags: `host`, `gpu`, `amdgpu`, and `nvidiagpu`.


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    R llvm/test/CodeGen/AMDGPU/GlobalISel/vni8-across-blocks.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-break-large-phis.ll
    M llvm/test/CodeGen/AMDGPU/dagcomb-extract-vec-elt-different-sizes.ll
    M llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
    M llvm/test/CodeGen/AMDGPU/extract-subvector.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
    M llvm/test/CodeGen/AMDGPU/vni8-across-blocks.ll
    R llvm/test/CodeGen/AMDGPU/vni8-live-reg-opt.ll

  Log Message:
  -----------
  Revert "[AMDGPU] Add IR LiveReg type-based optimization" (#97138)

Part of #66838.

https://lab.llvm.org/buildbot/#/builders/52/builds/404
https://lab.llvm.org/buildbot/#/builders/55/builds/358
https://lab.llvm.org/buildbot/#/builders/164/builds/518

This reverts commit ded956440739ae326a99cbaef18ce4362e972679.


  Commit: 0e9380177092f0dfc1acf778aeb08d47623c4db3
      https://github.com/llvm/llvm-project/commit/0e9380177092f0dfc1acf778aeb08d47623c4db3
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Speed up RISCVISAInfo::updateImplication.

We don't need to use a SmallSetVector to keep track of the worklist.
We only insert into the worklist if the extension is not already
in the Exts map. We immediately add it the Exts map at the same
time we add it to the worklist. If we encounter the extension again
it will already be in Exts so we won't try to add it to the worklist
again. We can just use a SmallVector for the Worklist.


  Commit: a7bf4124bfd2c740c0a9a06d2b53e4d7c91dac10
      https://github.com/llvm/llvm-project/commit/a7bf4124bfd2c740c0a9a06d2b53e4d7c91dac10
  Author: SahilPatidar <patidarsahil2001 at gmail.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/fcmp.ll

  Log Message:
  -----------
  [InstCombine] Fold `fcmp pred (x - y), 0` into `fcmp pred x, y` (#85506)

Resolve #85245
Alive2: https://alive2.llvm.org/ce/z/F4rDwK

---------

Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
Co-authored-by: Jay Foad <jay.foad at gmail.com>


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

  Changed paths:
    A lldb/test/Shell/SymbolFile/DWARF/no_unique_address-base-alignment.cpp
    A lldb/test/Shell/SymbolFile/DWARF/packed-alignof.cpp
    M lldb/test/Shell/SymbolFile/DWARF/packed.cpp

  Log Message:
  -----------
  [lldb][test] Add tests for alignof on class with overlapping bases (#97068)

Follow-up to https://github.com/llvm/llvm-project/pull/96932

Adds XFAILed test where LLDB incorrectly infers the alignment of a
derived class whose bases are overlapping due to [[no_unique_address]].
Specifically, the `InferAlignment` code-path of the
`ItaniumRecordLayoutBuilder` assumes that overlapping base offsets imply
a packed structure and thus sets alignment to 1. See discussion in
https://github.com/llvm/llvm-project/pull/93809.

Also adds test where LLDB correctly infers an alignment of `1` when a
packed base class is overlapping with other bases.

Lastly, there were a couple of `alignof` inconsistencies which I
encapsulated in an XFAIL-ed `packed-alignof.cpp`.


  Commit: 40a5a86df9dd25ddabc2d6fe4b39fd5d54bc1713
      https://github.com/llvm/llvm-project/commit/40a5a86df9dd25ddabc2d6fe4b39fd5d54bc1713
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  -----------
  [ProfileData] Migrate to a new version of getValueProfDataFromInst (#96381)


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

  Changed paths:
    M clang/lib/AST/Interp/Disasm.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Dump expression address


  Commit: 99ff5d5c963b8bd9ccae99fbb17b8fc537fe8095
      https://github.com/llvm/llvm-project/commit/99ff5d5c963b8bd9ccae99fbb17b8fc537fe8095
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M clang/test/AST/Interp/arrays.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Simplify test


  Commit: 58160e78e5ed82bdcc1dcbda4d57442aa4e1dd9e
      https://github.com/llvm/llvm-project/commit/58160e78e5ed82bdcc1dcbda4d57442aa4e1dd9e
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/Descriptor.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Use const pointers in Descriptor::getType()


  Commit: 4a835480fa22106c0209e8c9485a616b2ead0892
      https://github.com/llvm/llvm-project/commit/4a835480fa22106c0209e8c9485a616b2ead0892
  Author: Youngsuk Kim <joseph942010 at gmail.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ADT/FloatingPointMode.h
    M llvm/include/llvm/Analysis/CFGPrinter.h
    M llvm/include/llvm/Analysis/DDG.h
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/include/llvm/Object/MachO.h

  Log Message:
  -----------
  [llvm] Avoid 'raw_string_ostream::str()' (NFC) (#96995)

Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.

Work towards TODO comment to remove `raw_string_ostream::str()`.


  Commit: 171067923744d597648450d3da204dd2f4a3fea0
      https://github.com/llvm/llvm-project/commit/171067923744d597648450d3da204dd2f4a3fea0
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    A llvm/include/llvm/Transforms/Instrumentation/NumericalStabilitySanitizer.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/Instrumentation/CMakeLists.txt
    A llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/cfg.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/invoke.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/memory.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll

  Log Message:
  -----------
  Reapply "[LLVM][Instrumentation] Add numerical sanitizer (#85916)"

This reverts commit 493c384a7d94cce1d18824a6b0e1f9ee20cdc681
and includes a fix for the build breakage.


  Commit: 001da2214c2967291cc64ccdac6947b0c2ec77eb
      https://github.com/llvm/llvm-project/commit/001da2214c2967291cc64ccdac6947b0c2ec77eb
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    A llvm/test/Transforms/SimplifyCFG/hoisting-metadata.ll

  Log Message:
  -----------
  [SimplifyCFG] Add test for hoisting loads with tbaa metadata.


  Commit: bd5a034b1fa8654c9149f5b23fb07901e12bfbe9
      https://github.com/llvm/llvm-project/commit/bd5a034b1fa8654c9149f5b23fb07901e12bfbe9
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

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

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


  Commit: 5cc1287bdbb2de9ad91e4ba8dc9eeb9508c734a5
      https://github.com/llvm/llvm-project/commit/5cc1287bdbb2de9ad91e4ba8dc9eeb9508c734a5
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuilder.h

  Log Message:
  -----------
  [CGBuilder] Use getDataLayout() helpers (NFC)


  Commit: 56277948d577245be845c89a7d7c3a5ccd9747ef
      https://github.com/llvm/llvm-project/commit/56277948d577245be845c89a7d7c3a5ccd9747ef
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Support/MathExtras.h
    M llvm/unittests/Support/MathExtrasTest.cpp

  Log Message:
  -----------
  MathExtras: avoid unnecessarily widening types (#95426)

Several multi-argument functions unnecessarily widen types beyond the
argument types. Template'ize the functions, and use std::common_type_t
to avoid this, hence optimizing the functions. A requirement of this
patch is to change the overflow behavior of alignTo to only overflow
when the result isn't representable in the return type.


  Commit: d0fee98e0cd6afa116bed90c47cc33bbf8d7b867
      https://github.com/llvm/llvm-project/commit/d0fee98e0cd6afa116bed90c47cc33bbf8d7b867
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Analysis/Presburger/Barvinok.h
    M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
    M mlir/include/mlir/Analysis/Presburger/Matrix.h
    M mlir/include/mlir/Analysis/Presburger/PresburgerSpace.h
    M mlir/include/mlir/Analysis/Presburger/Simplex.h
    M mlir/include/mlir/Analysis/Presburger/Utils.h
    M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
    M mlir/lib/Analysis/Presburger/Barvinok.cpp
    M mlir/lib/Analysis/Presburger/CMakeLists.txt
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/lib/Analysis/Presburger/LinearTransform.cpp
    M mlir/lib/Analysis/Presburger/Matrix.cpp
    M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
    M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
    M mlir/lib/Analysis/Presburger/QuasiPolynomial.cpp
    M mlir/lib/Analysis/Presburger/Simplex.cpp
    M mlir/lib/Analysis/Presburger/Utils.cpp
    M mlir/unittests/Analysis/Presburger/Utils.h

  Log Message:
  -----------
  mlir/Presburger: strip dependency on MLIRSupport (#96517)

Strip the Presburger library's dependency on the MLIR Support library,
as well as the headers, in the interest of making it leaner.

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


  Commit: 834ac2e205dd8e492d6084a7952e68e19a1f54db
      https://github.com/llvm/llvm-project/commit/834ac2e205dd8e492d6084a7952e68e19a1f54db
  Author: Emilia Kond <emilia at rymiel.space>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

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

  Log Message:
  -----------
  [clang-format] Allow ternary in all templates (#96801)

Currently, question mark and colon tokens are not allowed between angle
brackets, as a template argument, if we are in an expression context.

However, expressions can still allowed in non-expression contexts,
leading to inconsistent formatting.

Removing this check entirely fixes this issue, and, surprisingly, breaks
no tests.

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


  Commit: 02b60893c3858d5d76cdca1bd9b684bdd7093fb7
      https://github.com/llvm/llvm-project/commit/02b60893c3858d5d76cdca1bd9b684bdd7093fb7
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M lldb/test/Shell/SymbolFile/DWARF/packed.cpp

  Log Message:
  -----------
  [LLDB] xfail SymbolFile/DWARF/packed.cpp for Windows

SymbolFile/DWARF/packed.cpp introduced by #96932 has been failing on
AArch64/Windows buildbot.

https://lab.llvm.org/buildbot/#/builders/141/builds/374

I am marking it as an XFAIL to make the buildbot happy.


  Commit: 74deadf19650f6f3b6392ba09caa20dd38ae41e0
      https://github.com/llvm/llvm-project/commit/74deadf19650f6f3b6392ba09caa20dd38ae41e0
  Author: Nikita Popov <llvm at npopov.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/lib/CodeGen/HardwareLoops.cpp
    M llvm/lib/CodeGen/MachineOutliner.cpp
    M llvm/lib/CodeGen/TypePromotion.cpp
    M llvm/lib/CodeGen/WasmEHPrepare.cpp
    M llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
    M llvm/lib/IR/IRBuilder.cpp
    M llvm/lib/Passes/PassBuilderBindings.cpp
    M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
    M llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp
    M llvm/lib/Target/AArch64/SMEABIPass.cpp
    M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
    M llvm/lib/Target/ARM/ARMParallelDSP.cpp
    M llvm/lib/Target/BPF/BPFPreserveStaticOffset.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
    M llvm/lib/Target/X86/X86ISelLoweringCall.cpp
    M llvm/lib/Target/X86/X86LowerAMXType.cpp
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/lib/Transforms/CFGuard/CFGuard.cpp
    M llvm/lib/Transforms/Coroutines/CoroCleanup.cpp
    M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
    M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
    M llvm/lib/Transforms/Instrumentation/CGProfile.cpp
    M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
    M llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp
    M llvm/lib/Transforms/Instrumentation/PoisonChecking.cpp
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/lib/Transforms/Scalar/GuardWidening.cpp
    M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
    M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
    M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
    M llvm/unittests/Analysis/MemorySSATest.cpp
    M llvm/unittests/Analysis/PluginInlineAdvisorAnalysisTest.cpp
    M llvm/unittests/Analysis/PluginInlineOrderAnalysisTest.cpp
    M llvm/unittests/Analysis/SparsePropagation.cpp
    M llvm/unittests/CodeGen/InstrRefLDVTest.cpp
    M llvm/unittests/CodeGen/LexicalScopesTest.cpp
    M llvm/unittests/CodeGen/MachineBasicBlockTest.cpp
    M llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp
    M llvm/unittests/CodeGen/MachineInstrTest.cpp
    M llvm/unittests/CodeGen/RegAllocScoreTest.cpp
    M llvm/unittests/IR/CFGBuilder.cpp
    M llvm/unittests/IR/PassBuilderCallbacksTest.cpp
    M llvm/unittests/Passes/Plugins/DoublerPlugin/DoublerPlugin.cpp
    M llvm/unittests/Passes/Plugins/PluginsTest.cpp
    M llvm/unittests/Target/X86/TernlogTest.cpp
    M llvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp
    M llvm/unittests/Transforms/Utils/LocalTest.cpp
    M polly/lib/CodeGen/BlockGenerators.cpp
    M polly/lib/CodeGen/CodeGeneration.cpp
    M polly/lib/CodeGen/PerfMonitor.cpp

  Log Message:
  -----------
  [IRBuilder] Don't include Module.h (NFC) (#97159)

This used to be necessary to fetch the DataLayout, but isn't anymore.


  Commit: 74197925dcb144ba31c7abfc61494c31c03d1f64
      https://github.com/llvm/llvm-project/commit/74197925dcb144ba31c7abfc61494c31c03d1f64
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp

  Log Message:
  -----------
  [clang][examples] Fix build failure (NFC)

/llvm-project/clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp:36:20:
error: cannot use incomplete type 'llvm::Module' as a range
    for (auto &F : M)
                   ^


  Commit: 101a936bde47744084e04a64aa9af85c75d03afd
      https://github.com/llvm/llvm-project/commit/101a936bde47744084e04a64aa9af85c75d03afd
  Author: Corentin Jabot <corentinjabot at gmail.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M clang/www/cxx_status.html

  Log Message:
  -----------
  [Clang]  dd the papers adopted in St Louis to the status page


  Commit: 0ce801f91cd79bd2f94469bdf4c48e82f2721ec1
      https://github.com/llvm/llvm-project/commit/0ce801f91cd79bd2f94469bdf4c48e82f2721ec1
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/OpenMPKinds.h
    M clang/lib/Basic/OpenMPKinds.cpp
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/lib/Sema/SemaOpenMP.cpp

  Log Message:
  -----------
  [clang][OpenMP] Implement `isOpenMPExecutableDirective` (#97089)

What is considered "executable" in clang differs slightly from the
OpenMP's "executable" category. In addition to the executable category,
subsidiary directives, and OMPD_error are considered executable.

Implement a function that performs that check.


  Commit: cd0f89109bf90442cab8cfeaf5fce17cbddeef73
      https://github.com/llvm/llvm-project/commit/cd0f89109bf90442cab8cfeaf5fce17cbddeef73
  Author: Eymen Ünay <eymenunay at outlook.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/ELF_aarch32.cpp
    A llvm/test/ExecutionEngine/JITLink/AArch32/ELF_data_alignment.s
    M llvm/test/ExecutionEngine/Orc/global-ctor-order.ll

  Log Message:
  -----------
  [JITLink][AArch32] Fix Unaligned Data Symbol Address Resolution (#97030)

The ARM architecture uses the LSB bit for ARM/Thumb mode switch
flagging. This is true for alignments of 2 and 4 but in data
relocations the alignment is 1 allowing the LSB bit to be set.
Now only `ELF::STT_FUNC` typed symbols are used in the 
TargetFlag mechanism.

The test is a minimal example of the issue mentioned below.

Fixes #95911 "Orc global constructor order test fails on 32
bit ARM".


  Commit: 9efa63359e3a26b98c043a7d9130f9d5b9eabd7a
      https://github.com/llvm/llvm-project/commit/9efa63359e3a26b98c043a7d9130f9d5b9eabd7a
  Author: Eymen Ünay <eymenunay at outlook.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_data_alignment.s

  Log Message:
  -----------
  [JITLink][AArch32] Fix buildbot failure by restricting test to assert build

The expressive test added in PR #97030 requires debug option in cli.


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

  Changed paths:
    M clang/lib/AST/Interp/Disasm.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Pretty-print global temporary APValues


  Commit: 540fd42c755f20f7b79c6c79493ec36d8cb9b3d3
      https://github.com/llvm/llvm-project/commit/540fd42c755f20f7b79c6c79493ec36d8cb9b3d3
  Author: David CARLIER <devnexen at gmail.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Solaris.cpp
    M compiler-rt/cmake/config-ix.cmake
    M compiler-rt/lib/safestack/safestack_platform.h
    M compiler-rt/test/safestack/lit.cfg.py

  Log Message:
  -----------
  [compiler-rt] adding safestack support for sunos platforms. (#95648)


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

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/test/AST/Interp/references.cpp

  Log Message:
  -----------
  [clang][Interp] Allow taking the address of a non-const global reference

This is not a read, but the GetGlobal op before failed if the reference
we were taking a pointer of was non-const. Use GetGlobalUnchecked
instead.


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

  Changed paths:
    M clang/lib/AST/Interp/Program.cpp
    M clang/lib/AST/Interp/Program.h

  Log Message:
  -----------
  [clang][Interp][NFC] Provide Program accessor for global temporaries

Just like the one we have taking a ValueDecl*, provide a getGlobal()
version taking an expression.


  Commit: a9c43b9a1433015410bf753d1b222a13651b343a
      https://github.com/llvm/llvm-project/commit/a9c43b9a1433015410bf753d1b222a13651b343a
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    M lld/ELF/Writer.cpp
    M lld/test/ELF/aarch64-reloc-pauth.s

  Log Message:
  -----------
  [lld][AArch64][ELF][PAC] Support `.relr.auth.dyn` section (#96496)

This re-applies #87635 after the issue described in
https://github.com/llvm/llvm-project/pull/87635#issuecomment-2155318065
is fixed in ebc123e0793a1cbcb69b4af1548e339e018ffff2. A corresponding
test is also added.

Original PR description below.

Support `R_AARCH64_AUTH_RELATIVE` relocation compression as described in
https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#relocation-compression.


  Commit: 1791b11b7d94d33a37897163702f5bfeb9a26f12
      https://github.com/llvm/llvm-project/commit/1791b11b7d94d33a37897163702f5bfeb9a26f12
  Author: thetruestblue <92476612+thetruestblue at users.noreply.github.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M compiler-rt/test/lit.common.cfg.py

  Log Message:
  -----------
  [Darwin] Fix lit substitution for mtargetos flag on darwin devices (#96953)

Changes substitution logic to appropriately parse either format for min
deployment flag: -mtargetos={platform}{major}.{min){?-simulator} or
-m{platform}-{sim}-version-min={major}.{min} as the
apple_platform_min_deployment_target_flag.

rdar://130022065


  Commit: f7fec8c80a986e82ef174080a3e07703c7b2c3c6
      https://github.com/llvm/llvm-project/commit/f7fec8c80a986e82ef174080a3e07703c7b2c3c6
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

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

  Log Message:
  -----------
  [Clang] Prevent null pointer dereference in template deduction guide creation (#97097)

This patch addresses static analyzer concerns where `TSI` could be
dereferenced after being assigned a null value from `SubstType` in
`ConvertConstructorToDeductionGuideTransform()`.

The fixes now check null value of `TSI` after the call to `SubstType`
and return `nullptr` to prevent potential null pointer dereferences when
calling getTypeLoc() or getType() and ensure safe execution.


  Commit: 9cdc85363780983803dafe96004ec9865390af11
      https://github.com/llvm/llvm-project/commit/9cdc85363780983803dafe96004ec9865390af11
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

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

  Log Message:
  -----------
  [SelectionDAG] Use a range-based for loop (NFC) (#97154)

UI++ in the loop might appear to indicate that the loop modifies the
container in some way (deletion or insertion), but the loop just
examines the container.


  Commit: ddaa93b095288ce459be4096193c40a4ea247b11
      https://github.com/llvm/llvm-project/commit/ddaa93b095288ce459be4096193c40a4ea247b11
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/MsgPackDocument.h
    M llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
    M llvm/lib/ExecutionEngine/Orc/Layer.cpp
    M llvm/lib/Object/TapiUniversal.cpp
    M llvm/lib/Target/ARM/ARMBlockPlacement.cpp
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
    M llvm/lib/XRay/Profile.cpp
    M llvm/tools/lli/ForwardingMemoryManager.h
    M llvm/tools/sancov/sancov.cpp
    M llvm/unittests/Support/ErrorOrTest.cpp

  Log Message:
  -----------
  [llvm] Use std::make_unique (NFC) (#97165)

This patch is based on clang-tidy's modernize-make-unique but limited
to those cases where type names are mentioned twice like
std::unique_ptr<Type>(new Type()), which is a bit mouthful.


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

  Changed paths:
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/EvalEmitter.h
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/InterpState.h
    A clang/test/AST/Interp/const-temporaries.cpp

  Log Message:
  -----------
  [clang][Interp] Update global temporaries at the end of a declaration

When we create a global temporary variable via a
LifetimeExtendedTemporaryDecl, we have an expression to initialize it
with, so we evaluate that expression, convert it to an APValue and set
it on the LETD. However, when the value is updated after the
initialization, we don't propagate the new value to the LETD, which
means we will see an outdated value set on the LETD.

Fix this by keeping a list of seen LETDs and update them from the
global variable at the end of evaluation a declaration.


  Commit: 37698d924840a229e5a1bece8f5e845e0f5c80a6
      https://github.com/llvm/llvm-project/commit/37698d924840a229e5a1bece8f5e845e0f5c80a6
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Interp.h

  Log Message:
  -----------
  [clang][Interp][NFC] Use CheckLoad() in Inc/Dec ops

CheckLoad checks more things than we did before.


  Commit: 40f4bd18f2fb01731fa7891fb7349e05dc98aeec
      https://github.com/llvm/llvm-project/commit/40f4bd18f2fb01731fa7891fb7349e05dc98aeec
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/Context.cpp
    M clang/lib/AST/Interp/Context.h
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/InterpBlock.cpp
    M clang/lib/AST/Interp/InterpBlock.h
    M clang/lib/AST/Interp/InterpFrame.cpp
    M clang/lib/AST/Interp/Program.cpp
    M clang/test/AST/Interp/const-temporaries.cpp
    A clang/test/AST/Interp/mutable.cpp

  Log Message:
  -----------
  [clang][Interp] Allow reading mutable members if they were created...

... in this evaluation.


  Commit: 5a8c4b597beed38e392f221042d29f475a3d1626
      https://github.com/llvm/llvm-project/commit/5a8c4b597beed38e392f221042d29f475a3d1626
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/test/AST/Interp/const-temporaries.cpp

  Log Message:
  -----------
  [clang][Interp] Don't allow reading from non-const blocks when returning


  Commit: 2628a5fd2431184924cdc7d6b926bfeb36b75596
      https://github.com/llvm/llvm-project/commit/2628a5fd2431184924cdc7d6b926bfeb36b75596
  Author: Alexander Pivovarov <pivovaa at amazon.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/lib/Support/APFloat.cpp
    M llvm/unittests/ADT/APFloatTest.cpp
    M mlir/python/mlir/extras/types.py

  Log Message:
  -----------
  Rename f8E4M3 to f8E4M3FN in mlir.extras.types py package (#97102)

Currently `f8E4M3` is mapped to `Float8E4M3FNType`.

This PR renames `f8E4M3` to `f8E4M3FN` to accurately reflect the actual
type.

This PR is needed to avoid names conflict in upcoming PR which will add
IEEE 754 `Float8E4M3Type`.
https://github.com/llvm/llvm-project/pull/97118 Add f8E4M3 IEEE 754 type

Maksim, can you review this PR? @makslevental ?


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

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

  Log Message:
  -----------
  [Hashing] get_execution_seed: use a non-vague linkage symbol

Follow-up to #96282.
Since llvm/lib/Target files are compiled with -fvisibility=hidden,
the seed variable in libLLVM.so is hidden in a -DLLVM_BUILD_LLVM_DYLIB=on build.

This would cause `hash_value(std::string()), hash_value(StringRef())` to
fail since the former (might be part of the main executable) and the
latter (llvm/lib/Support/StringRef.cpp in libLLVM.so) use copies in
different components.


  Commit: 9ea9e71f2e14e1fc8247349ab5dcfa8cc5a639c8
      https://github.com/llvm/llvm-project/commit/9ea9e71f2e14e1fc8247349ab5dcfa8cc5a639c8
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

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

  Log Message:
  -----------
  [TargetLowering] Remove comment above definition of TargetLowering::EmitInstrWithCustomInserter. NFC

This duplicates the documentation from the declaration, but has
gotten out of sync. There was a mention of a DenseMap that has
been gone for 14 years. Since this declaration is a default
implementation of a virtual function, its unlikely to be looked at.
Just remove it.


  Commit: b8450d4ec8ba07dfaf9d7475ef34e3c333e9b361
      https://github.com/llvm/llvm-project/commit/b8450d4ec8ba07dfaf9d7475ef34e3c333e9b361
  Author: lntue <35648136+lntue at users.noreply.github.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M libc/test/src/math/sincos_test.cpp

  Log Message:
  -----------
  [libc] Fix incomplete sincos_test. (#97174)


  Commit: 56b2fcf001b765ff0886c058e3945f5d9b39b81c
      https://github.com/llvm/llvm-project/commit/56b2fcf001b765ff0886c058e3945f5d9b39b81c
  Author: David CARLIER <devnexen at gmail.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M compiler-rt/lib/safestack/safestack_platform.h

  Log Message:
  -----------
  [compiler-rt] safestack fix (old ?) solaris build. (#97178)


  Commit: 4a96803abda2ad74f326de0af6b16552067bda65
      https://github.com/llvm/llvm-project/commit/4a96803abda2ad74f326de0af6b16552067bda65
  Author: DianQK <dianqk at dianqk.net>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/mul_pow2.ll

  Log Message:
  -----------
  [AArch64] Avoid overflow when using shl lower mul (#97148)

Fixes #97147.

Transforming `(mul x, -(2^(N-M) - 1) * 2^M)` to `(sub (shl x, M), (shl
x, N))` will cause overflow when N is 32 and M is 31. I still added
checks for all scenarios, even other scenarios, don't seem to cause overflow.


  Commit: 534f6ed6237ddf8b966b66c7b0a491fff5b33afb
      https://github.com/llvm/llvm-project/commit/534f6ed6237ddf8b966b66c7b0a491fff5b33afb
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

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

  Log Message:
  -----------
  [MC,MachO] Remove unneeded condition from isSymbolRefDifferenceFullyResolvedImpl

The code change from 91ea511436232c3b240d5f0a67a4639d7149dfdc (2011) can
now be removed.


  Commit: 56ef6a2eb2a25d5960eafdb17eaaaa73cb318e57
      https://github.com/llvm/llvm-project/commit/56ef6a2eb2a25d5960eafdb17eaaaa73cb318e57
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-29 (Sat, 29 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/llvm_libc_ext.td
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    A libc/src/math/f16div.h
    A libc/src/math/f16divf128.h
    A libc/src/math/f16divl.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/f16div.cpp
    A libc/src/math/generic/f16divf128.cpp
    A libc/src/math/generic/f16divl.cpp
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/f16div_test.cpp
    A libc/test/src/math/f16divl_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/f16div_test.cpp
    A libc/test/src/math/smoke/f16divf128_test.cpp
    A libc/test/src/math/smoke/f16divl_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp

  Log Message:
  -----------
  [libc][math][c23] Add f16div{,l,f128} C23 math functions (#97054)

Part of #93566.


  Commit: caf26b9437ae3e26d4c9c8680d3e755aafeda6ed
      https://github.com/llvm/llvm-project/commit/caf26b9437ae3e26d4c9c8680d3e755aafeda6ed
  Author: Youngsuk Kim <joseph942010 at gmail.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/utils/FileCheck/FileCheck.cpp
    M llvm/utils/TableGen/AsmMatcherEmitter.cpp
    M llvm/utils/TableGen/AsmWriterEmitter.cpp
    M llvm/utils/TableGen/Common/VarLenCodeEmitterGen.cpp

  Log Message:
  -----------
  [llvm][utils] Avoid 'raw_string_ostream::str()' (NFC) (#97160)

Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.

Work towards TODO comment to remove `raw_string_ostream::str()`.


  Commit: 2a6e32ea340789e84582b0fecb4a2a19bcd283b4
      https://github.com/llvm/llvm-project/commit/2a6e32ea340789e84582b0fecb4a2a19bcd283b4
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt

  Log Message:
  -----------
  [libc][math][c23] Temporarily disable f16div{l,f128} on AArch64 (#97182)

Due to Clang 11 backend error ("Unsupported library call operation!").

See Buildbot failures:

- https://lab.llvm.org/buildbot/#/builders/104/builds/1105
- https://lab.llvm.org/buildbot/#/builders/71/builds/1100


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

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

  Log Message:
  -----------
  [MC] Simplify isSymbolRefDifferenceFullyResolvedImpl overloads. NFC

The base implementation is simple. Just inline it.


  Commit: eb5dbaf8d013839a66691e954a58d22a41f3c027
      https://github.com/llvm/llvm-project/commit/eb5dbaf8d013839a66691e954a58d22a41f3c027
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGCoroutine.cpp
    M clang/lib/Interpreter/CodeCompletion.cpp

  Log Message:
  -----------
  [clang] Use std::make_unique (NFC) (#97176)

This patch is based on clang-tidy's modernize-make-unique but limited
to those cases where type names are mentioned twice like
`std::unique_ptr<Type>(new Type())`, which is a bit mouthful.


  Commit: 3a90c27385e9a8b50e40a307822906a1303c310b
      https://github.com/llvm/llvm-project/commit/3a90c27385e9a8b50e40a307822906a1303c310b
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/include/llvm/MC/MCObjectWriter.h
    M llvm/lib/MC/MCObjectWriter.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/test/MC/MachO/darwin-x86_64-diff-reloc-assign-2.s

  Log Message:
  -----------
  [MC] Remove an overload of isSymbolRefDifferenceFullyResolvedImpl

e3a20f57d927e422874a8e7730bb7590515b586d (2015) overloaded
isSymbolRefDifferenceFullyResolvedImpl with the IsPCRel parameter.
The overload without IsPCRel is only customized by Mach-O to
dsiable `.long L_var4 - L_var3` folding in
darwin-x86_64-diff-reloc-assign-2.s, but that seems unnecessary.


  Commit: b0260c5b1052f8e3ff1ec77dc42a11f42da762cc
      https://github.com/llvm/llvm-project/commit/b0260c5b1052f8e3ff1ec77dc42a11f42da762cc
  Author: David CARLIER <devnexen at gmail.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M compiler-rt/test/safestack/lit.cfg.py

  Log Message:
  -----------
  [compiler-rt] safestack disable tests for now. (#97183)


  Commit: 55a1e0c0cd24aff6a23222a5690d1e7ba3686e9c
      https://github.com/llvm/llvm-project/commit/55a1e0c0cd24aff6a23222a5690d1e7ba3686e9c
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCContext.h
    M llvm/lib/MC/MCContext.cpp
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp

  Log Message:
  -----------
  [MC] getWasmSection: remove unused BeginSymName

This is cargo culting for Mach-O. See #96810


  Commit: e5aef72c0af7fd8fcdde107e31444970d3fb87ea
      https://github.com/llvm/llvm-project/commit/e5aef72c0af7fd8fcdde107e31444970d3fb87ea
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

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

  Log Message:
  -----------
  [CodeGen] Use a range-based for loop (NFC) (#97177)

I++ in the loop might appear to indicate that the loop modifies the
container in some way (deletion or insertion), but the loop just
examines the container.


  Commit: 66518ad7fd3383d1f1b617914c0bc3437ac3a355
      https://github.com/llvm/llvm-project/commit/66518ad7fd3383d1f1b617914c0bc3437ac3a355
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

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

  Log Message:
  -----------
  [MC] Remove addFragment. NFC

This was introduced in dcb71c06c7b059e313f22e46bc9c41343a03f1eb to help
migrate away raw `operator new` and refactor the fragment
representation.

This is now unneeded after `MCStreamer::CurFrag` and
`MCSection::CurFragList` refactoring.


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

  Changed paths:
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/MC/MCStreamer.cpp

  Log Message:
  -----------
  [MC] Remove MCStreamer::SymbolOrdering

21101b32318647f600584d966c697d8773f59629 (2013) added SymbolOrdering,
which essentially became useless when
e3a20f57d927e422874a8e7730bb7590515b586d (2015) removed `AssignSection`
from `EmitLabel`. `assignFragment` is still used in very few places like
emitTBSSSymbol, which do not make a difference if we remove
SymbolOrdering.


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

  Changed paths:
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCStreamer.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFStreamer.cpp

  Log Message:
  -----------
  [MC] Remove assignFragment

Follow-up to f6fc503b6791bd7d38ba62c249091eabed297471 ("[MC] Remove MCStreamer::SymbolOrdering").


  Commit: 2853a838d22b69f61ed376abbd9ab5e625111f44
      https://github.com/llvm/llvm-project/commit/2853a838d22b69f61ed376abbd9ab5e625111f44
  Author: sstwcw <su3e8a96kzlver at posteo.net>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/Format.cpp
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/UnwrappedLineFormatter.cpp
    M clang/unittests/Format/ConfigParseTest.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Add option to remove leading blank lines (#91221)

The options regarding which blank lines are kept are also aggregated.
The new option is `KeepEmptyLines`.

This patch was initially part of 9267f8f19a2e502e.  I neglected to check
the server builds before I added it.  It broke clangd.  Jie Fu fixed the
problem in 4c91b49bab0728d4.  I was unaware of it.  I thought the main
branch was still broken.  I reverted the first patch in
70cfece24d6cbb57.  It broke his fix.  He reverted it in
c69ea04fb9738db2.  Now the feature is added again including the fix.


  Commit: aec7670b5d6354b63b011c9ed0632b70983b0328
      https://github.com/llvm/llvm-project/commit/aec7670b5d6354b63b011c9ed0632b70983b0328
  Author: sstwcw <su3e8a96kzlver at posteo.net>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/Format.cpp

  Log Message:
  -----------
  [clangd] Revert the change concerning new lines

See the comment.

https://github.com/llvm/llvm-project/commit/2853a838d22b69f61ed376abbd9ab5e625111f44#r143690024


  Commit: 49fdbbcfed96a3d7a957a4d9c31ebeb1d3950dd2
      https://github.com/llvm/llvm-project/commit/49fdbbcfed96a3d7a957a4d9c31ebeb1d3950dd2
  Author: Shaw Young <58664393+shawbyoung at users.noreply.github.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M bolt/docs/CommandLineArgumentReference.md
    M bolt/lib/Profile/YAMLProfileReader.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/lib/Utils/CommandLineOpts.cpp
    A bolt/test/X86/hashing-based-function-matching.test
    M llvm/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [BOLT] Match functions with exact hash (#96572)

Added flag '--match-profile-with-function-hash' to match functions 
based on exact hash. After identical and LTO name matching, more 
functions can be recovered for inference with exact hash, in the case
of function renaming with no functional changes. Collisions are 
possible in the unlikely case where multiple functions share the same
exact hash. The flag is off by default as it requires the processing of 
all binary functions and subsequently is expensive.

Test Plan: added hashing-based-function-matching.test.


  Commit: 6b737c444617fe8c11eb48f978c579cc160bfff0
      https://github.com/llvm/llvm-project/commit/6b737c444617fe8c11eb48f978c579cc160bfff0
  Author: Takuya Shimizu <shimizu2486 at gmail.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/Sema/atomic-ops.c
    M clang/test/SemaCXX/atomic-ops.cpp

  Log Message:
  -----------
  [clang][Sema] Fix crash on atomic builtins with incomplete type args (#96374)

This patch fixes the crash when pointers to incomplete type are passed
to atomic builtins such as `__atomic_load`.
`ASTContext::getTypeInfoInChars` assumes that the argument type is a
complete type, so I added a check to eliminate cases where incomplete
types gets passed to this function

Relevant PR: https://github.com/llvm/llvm-project/pull/91057
Fixes https://github.com/llvm/llvm-project/issues/96289


  Commit: ab200864220b72b3bdf1fe9d001ad3d1e4d9d4b3
      https://github.com/llvm/llvm-project/commit/ab200864220b72b3bdf1fe9d001ad3d1e4d9d4b3
  Author: Jakub Chlanda <jakub at codeplay.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/Cuda.h
    M clang/lib/Basic/Cuda.cpp
    M clang/lib/Basic/Targets/NVPTX.cpp
    M clang/lib/Basic/Targets/NVPTX.h
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/OffloadBundler.cpp
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Driver/ToolChains/Cuda.h
    M clang/lib/Sema/SemaDeclAttr.cpp

  Log Message:
  -----------
  [CUDA][NFC] CudaArch to OffloadArch rename (#97028)

Rename `CudaArch` to `OffloadArch` to better reflect its content and the
use.
Apply a similar rename to helpers handling the enum.


  Commit: 1d27348e537e1b25d727ec6f4d5d820a4dd8a789
      https://github.com/llvm/llvm-project/commit/1d27348e537e1b25d727ec6f4d5d820a4dd8a789
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp

  Log Message:
  -----------
  ValueTracking: Simplify intrinsic ID asserts


  Commit: 1518b260ce2cbd9286365709642dc749e542d683
      https://github.com/llvm/llvm-project/commit/1518b260ce2cbd9286365709642dc749e542d683
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp
    M llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
    M llvm/include/llvm/Analysis/IndirectCallVisitor.h
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/test/Transforms/Inline/update_invoke_prof.ll
    M llvm/test/Transforms/Inline/update_value_profile.ll
    A llvm/test/Transforms/PGOProfile/icp_vtable_cmp.ll
    A llvm/test/Transforms/PGOProfile/icp_vtable_invoke.ll
    A llvm/test/Transforms/PGOProfile/icp_vtable_tail_call.ll

  Log Message:
  -----------
  [TypeProf][InstrFDO]Implement more efficient comparison sequence for indirect-call-promotion with vtable profiles. (#81442)

Clang's `-fwhole-program-vtables` is required for this optimization to
take place. If `-fwhole-program-vtables` is not enabled, this change is
no-op.
    
* Function-comparison (before):

```
%vtable = load ptr, ptr %obj
%vfn = getelementptr inbounds ptr, ptr %vtable, i64 1
%func = load ptr, ptr %vfn
%cond = icmp eq ptr %func, @callee
br i1 %cond, label bb1, label bb2:

bb1:
   call @callee

bb2:
   call %func
```

* VTable-comparison (after):

```
%vtable = load ptr, ptr %obj
%cond = icmp eq ptr %vtable, @vtable-address-point
br i1 %cond, label bb1, label bb2:

bb1:
   call @callee

bb2:
  %vfn = getelementptr inbounds ptr, ptr %vtable, i64 1
  %func = load ptr, ptr %vfn
  call %func
```
    
Key changes:
1. Find out virtual calls and the vtables they come from.
- The ICP relies on type intrinsic `llvm.type.test` to find out virtual
calls and the
compatible vtables, and relies on type metadata to find the address
point for comparison.
2. ICP pass does cost-benefit analysis and compares vtable only when the
number of vtables for a function candidate is within (option specified)
threshold.
3. Sink the function addressing and vtable load instruction to indirect
fallback.
- The sink helper functions are simplified versions of
`InstCombinerImpl::tryToSinkInstruction`. Currently debug intrinsics are
not handled. Ideally `InstCombinerImpl::tryToSinkInstructionDbgValues`
and `InstCombinerImpl::tryToSinkInstructionDbgVariableRecords` could be
moved into Transforms/Utils/Local.cpp (or another util cpp file) to
handle debug intrinsics when moving instructions across basic blocks.
4. Keep value profiles updated
     1) Update vtable value profiles after inline
     2) For either function-based comparison or vtable-based comparison,
          update both vtable and indirect call value profiles.


  Commit: 76bc0714185c50c6234a74ee3d85509f66fa772e
      https://github.com/llvm/llvm-project/commit/76bc0714185c50c6234a74ee3d85509f66fa772e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.ldexp.ll

  Log Message:
  -----------
  DAG: Fix assert when legalizing v3f16 ldexp (#97098)

For the v3f16.v3i32 case, the v3f16 would request widening
to v4f16, but the v3i32 does not require widening to be a legal
type, so GetWidenedVector would fail. We need to widen the exponent
vector to the same element count as the result.

 Fixes: SWDEV-470951


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

  Changed paths:
    M llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  [MC] Remove MCAsmLayout::invalidateFragmentsFrom

The simplification is enabled by
9d0754ada5dbbc0c009bcc2f7824488419cc5530 ("[MC] Relax fragments eagerly").


  Commit: 2399d8776861760edd15f871c740a3b6b43ca9a1
      https://github.com/llvm/llvm-project/commit/2399d8776861760edd15f871c740a3b6b43ca9a1
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll

  Log Message:
  -----------
  [Transforms] Let amdgcn take advantage of sin(-x) --> -sin(x) (#79700)

We do it for amdgcn_cos, and we should do it for amdgcn_sin as well.


  Commit: 56a636f2d22890cc71f358ddc50d3e0f2b60bd9c
      https://github.com/llvm/llvm-project/commit/56a636f2d22890cc71f358ddc50d3e0f2b60bd9c
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/lib/AST/Interp/Compiler.h
    M clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Implement StmtExprs


  Commit: 9fa7c05a1f17c69377ecacb0b1193508770f5905
      https://github.com/llvm/llvm-project/commit/9fa7c05a1f17c69377ecacb0b1193508770f5905
  Author: Akshay Deodhar <adeodhar at nvidia.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
    M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
    M llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll

  Log Message:
  -----------
  [NVPTX] Improved support for grid_constant (#97112)

- Supports escaped grid_constant pointers less conservatively. Casts
uses inside Calls, PtrToInts, Stores where the pointer is a _value
operand_ to generic address space, immediately before the escape, while
keeping other uses in the param address space

- Related to: https://github.com/llvm/llvm-project/pull/96125


  Commit: 2ff22d7485f9f3b28f304f3ab40ef2d4f442b411
      https://github.com/llvm/llvm-project/commit/2ff22d7485f9f3b28f304f3ab40ef2d4f442b411
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

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

  Log Message:
  -----------
  AMDGPU/GlobalISel: Reorganize select switch cases


  Commit: d9f1166732fa43d558f5a656e8cb2173f07cf5e8
      https://github.com/llvm/llvm-project/commit/d9f1166732fa43d558f5a656e8cb2173f07cf5e8
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512-shuffles/partial_permute.ll
    M llvm/test/CodeGen/X86/shuffle-vs-trunc-512.ll

  Log Message:
  -----------
  [X86] Combine VPERMV3 to VPERMV for i8/i16 (#96414)

VPERM[I,T]2[B,W] are 3 uops on Skylake and Icelake so we try to use
VPERMV.


  Commit: eed7c5e29c1dc5f78bd01608430e2b4e0c439bb1
      https://github.com/llvm/llvm-project/commit/eed7c5e29c1dc5f78bd01608430e2b4e0c439bb1
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/any_extend_vector_inreg_of_broadcast.ll
    M llvm/test/CodeGen/X86/shuffle-vs-trunc-128.ll
    M llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast.ll

  Log Message:
  -----------
  [X86] Peek through bitcast to find more opportunity for VPERMV3 -> VPERMV combine

A follow up of #96414


  Commit: 22dfa1aa2c6b4026b4a5d1f594197ee22af3136d
      https://github.com/llvm/llvm-project/commit/22dfa1aa2c6b4026b4a5d1f594197ee22af3136d
  Author: Johannes Reifferscheid <jreiffers at google.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M mlir/lib/IR/AffineExpr.cpp
    M mlir/unittests/IR/AffineExprTest.cpp

  Log Message:
  -----------
  [mlir] Fold ceil/floordiv with negative RHS. (#97031)

Currently, we only fold if the RHS is a positive constant. There doesn't
seem to be a good reason to do that. The comment claims that division by
negative values is undefined, but I suspect that was just copied over
from the `mod` simplifier.


  Commit: 0c9f537d41a118c190ba7677175795329f355148
      https://github.com/llvm/llvm-project/commit/0c9f537d41a118c190ba7677175795329f355148
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxxabi/include/cxxabi.h
    M libcxxabi/lib/itanium-exceptions.exp
    M libcxxabi/src/cxa_exception.cpp
    M libcxxabi/test/catch_const_pointer_nullptr.pass.cpp
    A libcxxabi/test/cxa_call_terminate.pass.cpp

  Log Message:
  -----------
  [libc++abi] Fix test failures with GCC 14 (#95759)

This adds a new `__cxa_call_terminate`, which GCC 14 generates calls to
now. Clang had `__clang_call_terminate` for the same use-case for a long
time. It also fixes a test that is enabled now, since GCC has the
`__has_feature` FTM now.


  Commit: f1903431558b93f0fc48f195282f61194cb024fe
      https://github.com/llvm/llvm-project/commit/f1903431558b93f0fc48f195282f61194cb024fe
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

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

  Log Message:
  -----------
  [libc++] Upgrade to GCC 14 in the CI (#95212)


  Commit: 0e6257fbc2a1e0ccccec6a58d780ef5367047120
      https://github.com/llvm/llvm-project/commit/0e6257fbc2a1e0ccccec6a58d780ef5367047120
  Author: Nuno Lopes <nuno.lopes at tecnico.ulisboa.pt>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h
    M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
    M llvm/lib/CodeGen/MachineSSAUpdater.cpp
    M llvm/lib/Transforms/Utils/SSAUpdater.cpp
    M llvm/test/CodeGen/AMDGPU/promote-alloca-non-constant-index.ll
    M llvm/test/Transforms/GVN/pr48805.ll

  Log Message:
  -----------
  SSAUpdater: use poison instead of undef in phi entries for unreachable predecessors


  Commit: a4b49745af92375968659411b02ac4866a076dd1
      https://github.com/llvm/llvm-project/commit/a4b49745af92375968659411b02ac4866a076dd1
  Author: Nuno Lopes <nuno.lopes at tecnico.ulisboa.pt>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

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

  Log Message:
  -----------
  [StackColoring] Use poison instead of undef as placeholder when deleting values [NFC]


  Commit: 7d33d4720f85fa2df7c1307bcc185017b6e4dd25
      https://github.com/llvm/llvm-project/commit/7d33d4720f85fa2df7c1307bcc185017b6e4dd25
  Author: Nuno Lopes <nuno.lopes at tecnico.ulisboa.pt>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

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

  Log Message:
  -----------
  [LoopFuse] Use poison instead of undef as placeholder for phi entry of unreachable predecessor [NFC]


  Commit: 022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd
      https://github.com/llvm/llvm-project/commit/022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd
  Author: Nuno Lopes <nuno.lopes at tecnico.ulisboa.pt>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopDeletion.cpp
    M llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll

  Log Message:
  -----------
  [LoopDeletion] match poison instead of undef for phi entries without an useful value


  Commit: 6699807fa7397b1ba5c2c148d04d88afd3309226
      https://github.com/llvm/llvm-project/commit/6699807fa7397b1ba5c2c148d04d88afd3309226
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/Linalg/bufferize.mlir

  Log Message:
  -----------
  [mlir][linalg] Add bufferization for `linalg.softmax` (#97019)

Implement the `BufferizableOpInterface` for `linalg.softmax`. The op is
not a `LinalgOp`, so it is not covered by the "catch all" `LinalgOp`
interface implementation.


  Commit: 7782de8a1f85c33b09828ae60b979f0655cca47f
      https://github.com/llvm/llvm-project/commit/7782de8a1f85c33b09828ae60b979f0655cca47f
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M libcxx/utils/ci/Dockerfile

  Log Message:
  -----------
  [libc++] Don't use a ppa for GCC

Ubuntu noble provides all the required compilers, but the ppa doesn't
yet. Simply don't use the ppa to make it possible to update to GCC 14.


  Commit: 66d86a63e7f10905fd3e6104cebceeb53851ff1d
      https://github.com/llvm/llvm-project/commit/66d86a63e7f10905fd3e6104cebceeb53851ff1d
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineDominators.h
    M llvm/include/llvm/CodeGen/MachinePostDominators.h

  Log Message:
  -----------
  [MachineDominator] Align with IR version (#97214)

- Mark constructor explicit.
- Provide `isRequired`.


  Commit: d40768f57ec017c20f2096916f782842eab41da4
      https://github.com/llvm/llvm-project/commit/d40768f57ec017c20f2096916f782842eab41da4
  Author: Youngsuk Kim <joseph942010 at gmail.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
    M llvm/include/llvm/Support/Error.h
    M llvm/include/llvm/Support/GraphWriter.h
    M llvm/include/llvm/Support/ScopedPrinter.h
    M llvm/include/llvm/Support/YAMLTraits.h

  Log Message:
  -----------
  [llvm] Avoid 'raw_string_ostream::str()' (NFC) (#97203)

Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.

Work towards TODO comment to remove `raw_string_ostream::str()`.


  Commit: 2051736f7bc3fb1a8daaeecc854f93604a590aba
      https://github.com/llvm/llvm-project/commit/2051736f7bc3fb1a8daaeecc854f93604a590aba
  Author: Youngsuk Kim <youngsuk.kim at hpe.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/IPO/IROutliner.cpp
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [llvm][Transforms] Avoid 'raw_string_ostream::str' (NFC)

Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.

Work towards TODO comment to remove `raw_string_ostream::str()`.


  Commit: ac84ada9a169a72ad136ef05c2c194f594f24a37
      https://github.com/llvm/llvm-project/commit/ac84ada9a169a72ad136ef05c2c194f594f24a37
  Author: Youngsuk Kim <youngsuk.kim at hpe.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M clang/lib/Tooling/Transformer/Stencil.cpp
    M clang/unittests/AST/MatchVerifier.h
    M clang/unittests/Interpreter/InterpreterTest.cpp
    M clang/unittests/Tooling/RecursiveASTVisitorTests/DeductionGuide.cpp
    M clang/unittests/Tooling/ReplacementsYamlTest.cpp

  Log Message:
  -----------
  [clang] Avoid 'raw_string_ostream::str' (NFC)

Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.

Work towards TODO comment to remove `raw_string_ostream::str()`.


  Commit: a9b1e80acbb3249a245a7bbd8c8f89607bcad954
      https://github.com/llvm/llvm-project/commit/a9b1e80acbb3249a245a7bbd8c8f89607bcad954
  Author: PeterChou1 <peter.chou at mail.utoronto.ca>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/HTMLGenerator.cpp
    M clang-tools-extra/clang-doc/assets/index.js
    M clang-tools-extra/test/clang-doc/basic-project.test

  Log Message:
  -----------
  [clang-doc] add async loading (#93276)

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

This patch changes the way clang-doc loads html indexes. Previously
clang-doc loaded the index via an index_json.js file which uses
JSON.parse to parse the file. This patches changes that to use an async
function called LoadIndex which enables asynchronous loading making the
initial page load not be blocked by loading a large JavaScript object.


  Commit: 6cb69d6c1ad8a8d1f3057b845ebc01dca261639c
      https://github.com/llvm/llvm-project/commit/6cb69d6c1ad8a8d1f3057b845ebc01dca261639c
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

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

  Log Message:
  -----------
  [MC] Move bool members earlier. NFC

RelaxAll/SubsectionsViaSyms are used more frequently then vector members
like Sections/Symbols. The size of MCAssembler doesn't particularly
matter, so avoid bit fields.


  Commit: 4066a3206012cded6de2e286732dca721d37bcd3
      https://github.com/llvm/llvm-project/commit/4066a3206012cded6de2e286732dca721d37bcd3
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  Log Message:
  -----------
  [TypeProf] Include unordered_map after #81442

Needed by VTableAddressPointOffsetValMap.


  Commit: 41a08e764aeec92703285754b5e8acd85283b1a6
      https://github.com/llvm/llvm-project/commit/41a08e764aeec92703285754b5e8acd85283b1a6
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmInfo.h
    M llvm/include/llvm/MC/MCAsmInfoDarwin.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/MC/MCAsmInfo.cpp
    M llvm/lib/MC/MCAsmInfoDarwin.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
    M llvm/test/CodeGen/X86/osx-private-labels.ll

  Log Message:
  -----------
  [MC] Move Mach-O specific getAtom and isSectionAtomizableBySymbols to Mach-O files

and devirtualize isSectionAtomizableBySymbols.


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

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/test/MC/RISCV/cfi-advance.s

  Log Message:
  -----------
  [RISCV] relaxDwarfCallFrameFragment: remove unneeded relocations for -mno-relax

Follow-up to 2ef56d16adbe888a7e8c20684aa98d3f07c0eb98 for -mrelax.
https://reviews.llvm.org/D155357 allowed us to use Layout as the
parameter without correctness issues.


  Commit: 69d3793ffbaccc134119d93831199fcc4294579b
      https://github.com/llvm/llvm-project/commit/69d3793ffbaccc134119d93831199fcc4294579b
  Author: Théo Degioanni <theo.degioanni.llvm.deluge062 at simplelogin.fr>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Interfaces/MemorySlotInterfaces.h
    M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
    M mlir/lib/Dialect/MemRef/IR/MemRefMemorySlot.cpp
    M mlir/lib/Transforms/SROA.cpp
    M mlir/test/lib/Dialect/Test/TestOpDefs.cpp

  Log Message:
  -----------
  [mlir][sroa] Update name of subelement types in destructurable slots (#97226)

The `elementPtrs` has changed meaning over time and the name is now
outdated which may be confusing. This PR updates it to a name
representative of current usage.


  Commit: 3efac5c68ac3117e8488a7fa247e45951e52936f
      https://github.com/llvm/llvm-project/commit/3efac5c68ac3117e8488a7fa247e45951e52936f
  Author: Javed Absar <106147771+javedabsar1 at users.noreply.github.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Passes.td
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
    A mlir/test/Dialect/Linalg/roundtrip-linalg-named-ops.mlir
    A mlir/test/Dialect/Linalg/specialize-generic-ops.mlir
    A mlir/test/Dialect/Linalg/transform-op-specialize-elemwise-binary.mlir
    A mlir/test/Dialect/Linalg/transform-op-specialize-elemwise-unary.mlir
    A mlir/test/Dialect/Linalg/transform-op-specialize-matmul.mlir
    R mlir/test/Dialect/Linalg/transform-op-specialize_elemwise_binary.mlir
    R mlir/test/Dialect/Linalg/transform-op-specialize_elemwise_unary.mlir

  Log Message:
  -----------
  [MLIR][Linalg] Add pass to convert linalg.generic back to named ops (#95656)

Add a new mlir-opt  pass `--linalg-specialize-generic-ops` which lifts generic,
where possible, to linalg named ops.
Much like `-linalg-generalize-named-ops` lowers named ops to linalg.generic .
Also add patterns to recognize contractions which can be specialized from 
linalg.generic to named op: `linalg.{batch_}?matmul{_transpose_(a|b)}?`


  Commit: 4997af98a008e71a3df61707559710d1c2769839
      https://github.com/llvm/llvm-project/commit/4997af98a008e71a3df61707559710d1c2769839
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/CodeGen/ARM/and-cmp0-sink.ll
    A llvm/test/Transforms/SimplifyCFG/branch-nested.ll

  Log Message:
  -----------
  [SimplifyCFG] Simplify nested branches (#97067)

This patch folds the following pattern (I don't know what to call this):
```
bb0:
  br i1 %cond1, label %bb1, label %bb2
bb1:
  br i1 %cond2, label %bb3, label %bb4
bb2:
  br i1 %cond2, label %bb4, label %bb3
bb3:
  ...
bb4:
  ...
```
into
```
bb0:
  %cond = xor i1 %cond1, %cond2
  br i1 %cond, label %bb4, label %bb3
bb3:
  ...
bb4:
  ...
```

Alive2: https://alive2.llvm.org/ce/z/5iOJEL
Closes https://github.com/llvm/llvm-project/issues/97022.
Closes https://github.com/llvm/llvm-project/issues/83417.

I found this pattern in some verilator-generated code, which is widely
used in RTL simulation. This fold will reduces branches and improves the
performance of CPU frontend. To my surprise, this pattern is also common
in C/C++ code base.
Affected libraries/applications:
cmake/cvc5/freetype/git/gromacs/jq/linux/openblas/openmpi/openssl/php/postgres/ruby/sqlite/wireshark/z3/...


  Commit: 038bc1c18c786e14cc306401b00144265f8860f5
      https://github.com/llvm/llvm-project/commit/038bc1c18c786e14cc306401b00144265f8860f5
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp

  Log Message:
  -----------
  [Test][compiler-rt]Require lld for instrprof-vtable-value-prof.cpp (#97228)

Fix test failure on
https://lab.llvm.org/buildbot/#/builders/95/builds/672
* lld project is disabled on that build bot [1] and external lld
`/home/buildbots/llvm-external-buildbots/clang.16.0.1/bin/ld.lld` is
used to run the test [2]. It doesn't know new options like
`-enable-vtable-value-profiling` (which was introduced in
https://github.com/llvm/llvm-project/commit/1351d17826e1efa3da3b29b6e345d44cb0ce3bc9)
* Update test to require `lld` and `lld-available`.

Tested:
1. By disabling lld in the project and using old `lld` installed
previously[3], I can reproduce the failure.
2. With `requires: lld`, the test become unsupported.

[1]
https://lab.llvm.org/buildbot/#/builders/95/builds/672/steps/4/logs/stdio
[2]
https://lab.llvm.org/buildbot/#/builders/95/builds/672/steps/6/logs/FAIL__Profile-powerpc64le__instrprof-vtable-value-
[3] `cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug
-DLLVM_ENABLE_PROJECTS='clang;compiler-rt' -DLLVM_USE_SPLIT_DWARF=On
-DLLVM_USE_LINKER=lld -DLLVM_ENABLE_SPHINX=ON
-DLLVM_OPTIMIZED_TABLEGEN=TRUE -DLLVM_TARGETS_TO_BUILD=X86
-DLLVM_ENABLE_ZLIB=1 ../llvm`


  Commit: 10c894cffd0f4bef21b54a43b5780240532e44cf
      https://github.com/llvm/llvm-project/commit/10c894cffd0f4bef21b54a43b5780240532e44cf
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCFragment.cpp

  Log Message:
  -----------
  [MC] Move MCAsmLayout from MCFragment.cpp to MCAssembler.cpp. NFC

8d736236d36ca5c98832b7631aea2e538f6a54aa (2015) moved these MCAsmLayout
functions to MCFragment.cpp, but the original placement is better as
these functions are tightly coupled with MCAssembler.cpp.


  Commit: 3cf762b7b77e62761eedde02f03e968353bdb7a0
      https://github.com/llvm/llvm-project/commit/3cf762b7b77e62761eedde02f03e968353bdb7a0
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/lib/Transforms/Instrumentation/CGProfile.cpp
    M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp

  Log Message:
  -----------
  [Transforms] Migrate to a new version of getValueProfDataFromInst (#96380)


  Commit: 67957a45ee1ec42ae1671cdbfa0d73127346cc95
      https://github.com/llvm/llvm-project/commit/67957a45ee1ec42ae1671cdbfa0d73127346cc95
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp

  Log Message:
  -----------
  [MC] Start merging MCAsmLayout into MCAssembler

Follow-up to 10c894cffd0f4bef21b54a43b5780240532e44cf.

MCAsmLayout, introduced by ac8a95498a99eb16dff9d3d0186616645d200b6e
(2010), provides APIs to compute fragment/symbol/section offsets.
The separate class is cumbersome and passing it around has overhead.
Let's remove it as the underlying implementation is tightly coupled with
MCAsmLayout anyway.

Some forwarders are added to ease migration.


  Commit: 6c1c451b867f250f1c2fab709f0c8657ffd21116
      https://github.com/llvm/llvm-project/commit/6c1c451b867f250f1c2fab709f0c8657ffd21116
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-30 (Sun, 30 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/llvm_libc_ext.td
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/sqrt.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/f16sqrt.h
    A libc/src/math/f16sqrtf128.h
    A libc/src/math/f16sqrtl.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/f16sqrt.cpp
    A libc/src/math/generic/f16sqrtf128.cpp
    A libc/src/math/generic/f16sqrtl.cpp
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/SqrtTest.h
    A libc/test/src/math/f16sqrt_test.cpp
    A libc/test/src/math/f16sqrtl_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/f16sqrt_test.cpp
    A libc/test/src/math/smoke/f16sqrtf128_test.cpp
    A libc/test/src/math/smoke/f16sqrtl_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp

  Log Message:
  -----------
  [libc][math][c23] Add f16sqrt{,l,f128} C23 math functions (#96642)

Part of #95250.


  Commit: e19ac0dcfd7357161210f157ed0559836e88155f
      https://github.com/llvm/llvm-project/commit/e19ac0dcfd7357161210f157ed0559836e88155f
  Author: Ryotaro KASUGA <kasuga.ryotaro at fujitsu.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachinePipeliner.h
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    A llvm/test/CodeGen/AArch64/sms-instruction-scheduled-at-correct-cycle.mir

  Log Message:
  -----------
  [MachinePipeliner] Fix constraints aren't considered in certain cases (#95356)

when scheduling

When scheduling an instruction, if both any predecessors and any
successors of the instruction are already scheduled, `SchedStart` isn't
taken into account. It may result generating incorrect code. This patch
fixes the problem. Also, this patch merges `SchedStart` into
`EarlyStart` (same for `SchedEnd`).

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


  Commit: 9b9405621bcc55b74d2177c960c21f62cc95e6fd
      https://github.com/llvm/llvm-project/commit/9b9405621bcc55b74d2177c960c21f62cc95e6fd
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [X86] Relax VPERMV3 to VPERMV combine for more types (#97206)

This is a follow up of #96414


  Commit: 1d4ce574a44bdac4ea0e0c12a75051af680b3633
      https://github.com/llvm/llvm-project/commit/1d4ce574a44bdac4ea0e0c12a75051af680b3633
  Author: zhicong zhong <zhiczhong at outlook.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/EmptyTensorElimination.cpp
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-analysis-empty-tensor-elimination.mlir

  Log Message:
  -----------
  [mlir][bufferization] skip empty tensor elimination if they have different element type (#96998)

In the origin implementation, the empty tensor elimination will add a
`tensor.cast` and eliminate the tensor even if they have different
element type(f32, bf16). Here add a check for element type and skip the
elimination if they are different.


  Commit: e6a961dbef773b16bda2cebc4bf9f3d1e0da42fc
      https://github.com/llvm/llvm-project/commit/e6a961dbef773b16bda2cebc4bf9f3d1e0da42fc
  Author: Ryotaro KASUGA <kasuga.ryotaro at fujitsu.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachinePipeliner.h
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    R llvm/test/CodeGen/AArch64/sms-instruction-scheduled-at-correct-cycle.mir

  Log Message:
  -----------
  Revert "[MachinePipeliner] Fix constraints aren't considered in certain cases" (#97246)

Reverts llvm/llvm-project#95356

Due to ppc64le test failures caught by the LLVM Buildbot.
https://lab.llvm.org/buildbot/#/builders/176/builds/576


  Commit: 95b0187165e02fc838c184c7ea623359e0430155
      https://github.com/llvm/llvm-project/commit/95b0187165e02fc838c184c7ea623359e0430155
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    A llvm/test/CodeGen/RISCV/rvv/pr95865.ll

  Log Message:
  -----------
  [RISCV] Remove deleted AVL register defs from LiveInterval instr maps (#97011)

When coalescing vsetvlis we might remove a use of a register AVL, which
in turn might leave the AVL def dead. When it's dead (currently limited
to just ADDIs) we delete the def, but we were forgetting to remove it
from LiveInterval's instruction map. This fixes #95865


  Commit: 8598bcb9934dca16ea16d87304e00defc85d986c
      https://github.com/llvm/llvm-project/commit/8598bcb9934dca16ea16d87304e00defc85d986c
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp

  Log Message:
  -----------
  [compiler-rt][test]Use c-style headers in instrprof-vtable-value-prof.cpp (#97245)

Use c-style headers just like other compiler-rt/profile tests do [1], to
fix ` 'cstdio' file not found` in
https://lab.llvm.org/buildbot/#/builders/122/builds/150

[1]
https://github.com/llvm/llvm-project/blob/9b9405621bcc55b74d2177c960c21f62cc95e6fd/compiler-rt/test/profile/instrprof-value-prof.c#L27-L30
and
https://github.com/llvm/llvm-project/blob/9b9405621bcc55b74d2177c960c21f62cc95e6fd/compiler-rt/test/tsan/printf-1.c#L6-L16


  Commit: 262ad4cdf4e9dd44ceec7a993cfce2b35a33fc34
      https://github.com/llvm/llvm-project/commit/262ad4cdf4e9dd44ceec7a993cfce2b35a33fc34
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp

  Log Message:
  -----------
  [MC] Remove the MCAsmLayout parameter from MCMachObjectTargetWriter


  Commit: 4289c422a8b4caa96a8809d4f4e6d9b7e21824ba
      https://github.com/llvm/llvm-project/commit/4289c422a8b4caa96a8809d4f4e6d9b7e21824ba
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/include/llvm/MC/MCObjectWriter.h
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/MC/GOFFObjectWriter.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCDXContainerWriter.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/MC/SPIRVObjectWriter.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp

  Log Message:
  -----------
  [MC] Remove the MCAsmLayout parameter from MCObjectWriter::recordRelocation


  Commit: 77a074be52beab8b183066e3467d5469de00ab06
      https://github.com/llvm/llvm-project/commit/77a074be52beab8b183066e3467d5469de00ab06
  Author: Daniel Bertalan <dani at danielbertalan.dev>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/test/tools/lto/no-bitcode.s
    M llvm/test/tools/lto/opt-level.ll
    M llvm/test/tools/lto/print-stats.ll

  Log Message:
  -----------
  [LTO] Fix tests with ld64 from Xcode 16 (#97193)

ld64 tests now fail with the following error if the target platform
(e.g. `-macosx_version_min`) is not specified:

```
warning: platform not specified
warning: No platform min-version specified on command line
kernelKit can only be used with -r, -kext and -static
```


  Commit: d03e8120577a8cee2950f8c48005d71619342c30
      https://github.com/llvm/llvm-project/commit/d03e8120577a8cee2950f8c48005d71619342c30
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

  Log Message:
  -----------
  [RISCV] Update LiveIntervals before erasing instr in RISCVInsertVSETVLI

Hopefully fixes a use-after-poison reported from the asan buildbots. I
wasn't able to recreate the assertion locally though.


  Commit: 8f9d156ded93c8e8396ad36b433938bfc7883bc4
      https://github.com/llvm/llvm-project/commit/8f9d156ded93c8e8396ad36b433938bfc7883bc4
  Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
    A llvm/test/Transforms/SeparateConstOffsetFromGEP/preserving_debugloc_sext.ll

  Log Message:
  -----------
  [DebugInfo][SeparateConstOffsetFromGEP] Fix missing debug location updates (#96849)

Fix #96841 .


  Commit: 651e91658b6b119225f641f60c7750f42f0d1089
      https://github.com/llvm/llvm-project/commit/651e91658b6b119225f641f60c7750f42f0d1089
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll

  Log Message:
  -----------
  [RISCV] Add missing CHECK lines for new vsetvli test. NFC


  Commit: 37661a17e26d9002ae9ade8c0de3932c22f16360
      https://github.com/llvm/llvm-project/commit/37661a17e26d9002ae9ade8c0de3932c22f16360
  Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    A llvm/test/Transforms/JumpThreading/preserving-debugloc-br.ll

  Log Message:
  -----------
  [DebugInfo][JumpThreading] Fix missing debug location updates for br instructions (#96889)

Fix #96885 .


  Commit: d9e659c538516036e40330b6a98160cbda4ff100
      https://github.com/llvm/llvm-project/commit/d9e659c538516036e40330b6a98160cbda4ff100
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Target/RegisterFlags.h
    M lldb/source/Core/DumpRegisterInfo.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
    M lldb/source/Target/RegisterFlags.cpp
    M lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterFlags.py
    M lldb/unittests/Core/DumpRegisterInfoTest.cpp

  Log Message:
  -----------
  Revert "[lldb] Parse and display register field enums" (#97258)

Reverts llvm/llvm-project#95768 due to a test failure on macOS with
ASAN:

https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/lldb-cmake-sanitized/425/console


  Commit: 1e6d5ded356d8b28bb4e8b4c7f76e86b15d6f719
      https://github.com/llvm/llvm-project/commit/1e6d5ded356d8b28bb4e8b4c7f76e86b15d6f719
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M libcxx/docs/Hardening.rst

  Log Message:
  -----------
  [libcxx][Docs] Correct link syntax in hardening docs


  Commit: 22c7317f1e954b34a46640db5d509bae1c633348
      https://github.com/llvm/llvm-project/commit/22c7317f1e954b34a46640db5d509bae1c633348
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/lib/MC/MCAsmBackend.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.h
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.h
    M llvm/lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  [MC] Remove the MCAsmLayout parameter from relocation related functions


  Commit: 6859e5a169aa235ac04005aaa86ed5ae11372c4c
      https://github.com/llvm/llvm-project/commit/6859e5a169aa235ac04005aaa86ed5ae11372c4c
  Author: CarolineConcatto <caroline.concatto at arm.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/arm_sme.td
    M clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
    M llvm/lib/Target/AArch64/SMEInstrFormats.td
    M llvm/test/CodeGen/AArch64/sme2p1-intrinsics-movaz.ll

  Log Message:
  -----------
  [CLANG][LLVM][AArch64]Add SME2.1 intrinsics for MOVAZ array to vector (#88901)

According to the specification in
    ARM-software/acle#309 this adds the intrinsics

    Move and zero multiple ZA single-vector groups to vector registers

    // Variants are also available for _za8_u8, _za16_s16, _za16_u16,
    // _za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32,
    // _za64_s64, _za64_u64 and _za64_f64
    svint8x2_t svreadz_za8_s8_vg1x2(uint32_t slice)
    __arm_streaming __arm_inout("za");

    // Variants are also available for _za8_u8, _za16_s16, _za16_u16,
    // _za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32,
    // _za64_s64, _za64_u64 and _za64_f64
    svint8x4_t svreadz_za8_s8_vg1x4(uint32_t slice)
    __arm_streaming __arm_inout("za");


  Commit: 77eb05683082dd3751ccfab963f5160f1852058d
      https://github.com/llvm/llvm-project/commit/77eb05683082dd3751ccfab963f5160f1852058d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/SimplifyQuery.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select-binop-cmp.ll
    M llvm/test/Transforms/InstCombine/select-of-bittest.ll
    M llvm/test/Transforms/InstCombine/select.ll
    M llvm/test/Transforms/LoopVectorize/interleaved-accesses-pred-stores.ll

  Log Message:
  -----------
  [InstCombine] Simplify select using KnownBits of condition (#95923)

Simplify the arms of a select based on the KnownBits implied by its condition.
For now this only handles the case where the select arm folds to a constant,
but this can be generalized to handle other patterns by using
SimplifyDemandedBits instead (in that case we would also have to limit to
non-undef conditions).

This is implemented by adding a new member to SimplifyQuery that can be used
to inject an additional condition. The affected values are pre-computed and
we don't call computeKnownBits() if the select arms don't contain affected
values. This reduces the cost in some pathological cases.


  Commit: 32273ea22da6a65ed796b61c1e926649a28f9557
      https://github.com/llvm/llvm-project/commit/32273ea22da6a65ed796b61c1e926649a28f9557
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    A llvm/test/CodeGen/X86/apx/cmov.ll
    M llvm/test/CodeGen/X86/cmov.ll

  Log Message:
  -----------
  [X86][test] Add a separate test for NDD CMOV


  Commit: c3eea8991f3a29c891e4bb4a6eeddd8115ee78c8
      https://github.com/llvm/llvm-project/commit/c3eea8991f3a29c891e4bb4a6eeddd8115ee78c8
  Author: Mikhail Goncharov <goncharov.mikhail at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [bazel] update for 6c1c451b867f250f1c2fab709f0c8657ffd21116

it's interesting that bazel build passes


  Commit: 4311b14e9c14c10f774ff916435ec7720b568df9
      https://github.com/llvm/llvm-project/commit/4311b14e9c14c10f774ff916435ec7720b568df9
  Author: Graham Hunter <graham.hunter at arm.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Support/TypeSize.h
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    A llvm/test/Transforms/LoopStrengthReduce/AArch64/vscale-fixups.ll

  Log Message:
  -----------
  [LSR] Recognize vscale-relative immediates (#88124)

Extends LoopStrengthReduce to recognize immediates multiplied by vscale, and query the current target for whether they are legal offsets for memory operations or adds.


  Commit: f76ea319960161525bced4e3091ba4383714af7a
      https://github.com/llvm/llvm-project/commit/f76ea319960161525bced4e3091ba4383714af7a
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

  Log Message:
  -----------
  [RISCV] Deduplicate AVL forwarding in RISCVInsertVSETVLI. NFC

We do the AVL forwarding trick in both getInfoForVSETVLI and
computeInfoForInstr, but there's a bug with this that I plan on fixing
in an upcoming patch. This factors it out to so we only need to fix it
in one place.


  Commit: 35620010074f2a115ad7446da64aa06637cab4b8
      https://github.com/llvm/llvm-project/commit/35620010074f2a115ad7446da64aa06637cab4b8
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/codegen-prepare-addrspacecast-non-null.ll

  Log Message:
  -----------
  AMDGPU: Regenerate test checks to avoid spurious diff


  Commit: 8bb00cb160830ec8f6029c2aae79d3e46b04b99c
      https://github.com/llvm/llvm-project/commit/8bb00cb160830ec8f6029c2aae79d3e46b04b99c
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/test/Driver/amdgpu-openmp-toolchain.c

  Log Message:
  -----------
  [AMDGPU][OpenMP] Do not attach -fcuda-is-device flag for AMDGPU OpenMP (#96909)

`-fcuda-is-device` flag is not used for OpenMP offloading for AMD GPUs
and it does not need to be added as clang cc1 option for OpenMP code.


  Commit: 208a08c3b7b00c05629c3f18811aac81f17cd81b
      https://github.com/llvm/llvm-project/commit/208a08c3b7b00c05629c3f18811aac81f17cd81b
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Target/RegisterFlags.h
    M lldb/source/Core/DumpRegisterInfo.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
    M lldb/source/Target/RegisterFlags.cpp
    M lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterFlags.py
    M lldb/unittests/Core/DumpRegisterInfoTest.cpp

  Log Message:
  -----------
  Reland "[lldb] Parse and display register field enums" (#97258)" (#97270)

This reverts commit d9e659c538516036e40330b6a98160cbda4ff100.

I could not reproduce the Mac OS ASAN failure locally but I narrowed it
down to the test `test_many_fields_same_enum`. This test shares an enum
between x0, which is 64 bit, and cpsr, which is 32 bit.

My theory is that when it does `register read x0`, an enum type is
created where the undlerying enumerators are 64 bit, matching the
register size.

Then it does `register read cpsr` which used the cached enum type, but
this register is 32 bit. This caused lldb to try to read an 8 byte value
out of a 4 byte allocation:
READ of size 8 at 0x60200014b874 thread T0
<...>
=>0x60200014b800: fa fa fd fa fa fa fd fa fa fa fd fa fa fa[04]fa

To fix this I've added the register's size in bytes to the constructed
enum type's name. This means that x0 uses:
__lldb_register_fields_enum_some_enum_8
And cpsr uses:
__lldb_register_fields_enum_some_enum_4

If any other registers use this enum and are read, they will use the
cached type as long as their size matches, otherwise we make a new type.


  Commit: 7f1d672d70eabe010567fcd8c365d27549736c6d
      https://github.com/llvm/llvm-project/commit/7f1d672d70eabe010567fcd8c365d27549736c6d
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/cxx23.cpp

  Log Message:
  -----------
  [clang][Interp] Diagnose static declarations in constexpr functions


  Commit: 42fc93d3ffb35ec1ff5c6584e1b15d5118db7311
      https://github.com/llvm/llvm-project/commit/42fc93d3ffb35ec1ff5c6584e1b15d5118db7311
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Make a local pointer const


  Commit: 3e168f5643eb6b4681ee11a06bde8eaeb4c2bcf6
      https://github.com/llvm/llvm-project/commit/3e168f5643eb6b4681ee11a06bde8eaeb4c2bcf6
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    A mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td

  Log Message:
  -----------
  [MLIR][OpenMP] Add `OpenMP_Clause` tablegen definitions (#92521)

This patch adds a new tablegen file for the OpenMP dialect containing
the list of clauses currently supported.


  Commit: d1fcfce83471c28bdf77d5e1e5c58c9cc6f7a051
      https://github.com/llvm/llvm-project/commit/d1fcfce83471c28bdf77d5e1e5c58c9cc6f7a051
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir
    M mlir/test/Target/LLVMIR/omptarget-llvm.mlir
    M mlir/test/Target/LLVMIR/omptarget-nowait-llvm.mlir
    M mlir/test/Target/LLVMIR/omptarget-parallel-llvm.mlir
    M mlir/test/Target/LLVMIR/openmp-llvm.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Clause-based OpenMP operation definition (#92523)

This patch updates `OpenMP_Op` definitions to be based on the new set of
`OpenMP_Clause` definitions, and to take advantage of clause-based
automatically-generated argument lists, descriptions, assembly format
and class declarations.

There are also changes introduced to the clause operands structures to
match the current set of tablegen clause definitions. These two are very
closely linked and should be kept in sync. It would probably be a good
idea to try generating clause operands structures from the tablegen
`OpenMP_Clause` definitions in the future.

As a result of this change, arguments for some operations have been
reordered. This patch also addresses this by updating affected operation
build calls and unit tests. Some other updates to tests related to the
order of arguments in the resulting assembly format and others due to
certain previous inconsistencies in the printing/parsing of clauses are
addressed.

The printer and parser functions for the `map` clause are updated, so
that they are able to handle `map` clauses linked to entry block
arguments as well as those which aren't.

This PR causes a build failure in the flang subproject. This is addressed
by the next PR in the stack.


  Commit: 03d9a317725cdc03a0558eb49ff53bcc5c45dd08
      https://github.com/llvm/llvm-project/commit/03d9a317725cdc03a0558eb49ff53bcc5c45dd08
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/test/Lower/OpenMP/atomic-capture.f90
    M flang/test/Lower/OpenMP/copyin-order.f90
    M flang/test/Lower/OpenMP/parallel-wsloop.f90
    M flang/test/Lower/OpenMP/parallel.f90
    M flang/test/Lower/OpenMP/simd.f90
    M flang/test/Lower/OpenMP/target.f90
    M flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90

  Log Message:
  -----------
  [Flang][OpenMP] Update flang with changes to the OpenMP dialect (#92524)

This patch applies fixes after the updates to OpenMP clause operands, as
well as updating some tests that were impacted by changes to the
ordering or assembly format of some clauses in MLIR.


  Commit: c769dc457c92be520a068f4d51aea999da568996
      https://github.com/llvm/llvm-project/commit/c769dc457c92be520a068f4d51aea999da568996
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll

  Log Message:
  -----------
  AMDGPU: Add baseline test for copysign combine (#97150)

Pre-commit tests showing we try to SimplifyDemandedBits on the
sign operand.


  Commit: db9252b115ce699a98b3a0ab80504da1364cc311
      https://github.com/llvm/llvm-project/commit/db9252b115ce699a98b3a0ab80504da1364cc311
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll
    M llvm/test/CodeGen/PowerPC/fp128-bitcast-after-operation.ll
    M llvm/test/CodeGen/RISCV/double-arith.ll
    M llvm/test/CodeGen/RISCV/double-bitmanip-dagcombines.ll
    M llvm/test/CodeGen/RISCV/float-bitmanip-dagcombines.ll

  Log Message:
  -----------
  DAG: Call SimplifyDemandedBits on fcopysign sign value (#97151)

Math library code has quite a few places with complex bit
logic that are ultimately fed into a copysign. This helps
avoid some regressions in a future patch.

This assumes the position in the float type, which should
at least be valid for IEEE types. Not sure if we need to guard
against ppc_fp128 or anything else weird.

There appears to be some value in simplifying the value operand
as well, but I'll address that separately.


  Commit: a632364bceacef75610ffd8c8ed0fd4d76514ce7
      https://github.com/llvm/llvm-project/commit/a632364bceacef75610ffd8c8ed0fd4d76514ce7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/known-bits.ll

  Log Message:
  -----------
  [InstCombine] Add test for SimplifyDemanded context (NFC)


  Commit: 8eee6d33f74b8d2ba97725630a9a5c9165f419b7
      https://github.com/llvm/llvm-project/commit/8eee6d33f74b8d2ba97725630a9a5c9165f419b7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AMDGPU/fcopysign.f16.ll

  Log Message:
  -----------
  DAG: Call SimplifyDemandedBits on copysign value operand (#97180)

So far the only cases that seem to benefit are the weird
copysign with different typed inputs.


  Commit: 7b2e16f9526107998f5e3459994152a83c452087
      https://github.com/llvm/llvm-project/commit/7b2e16f9526107998f5e3459994152a83c452087
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SchedPredNeoverse.td
    A llvm/test/CodeGen/AArch64/misched-move-imm.mir

  Log Message:
  -----------
  [AArch64] Fix scheduling model issue #96394 (#97047)

The NeoverseZeroMove predicate assumes that the first operand is always
an immediate, which isn't always true. For example, it could be a stack
offset, etc. This patch fixes that by checking if the operand is an
immediate first.


  Commit: 11484cb817bcc2a6e2ef9572be982a1a5a4964ec
      https://github.com/llvm/llvm-project/commit/11484cb817bcc2a6e2ef9572be982a1a5a4964ec
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/known-bits.ll

  Log Message:
  -----------
  [InstCombine] Pass SimplifyQuery to SimplifyDemandedBits()

This will enable calling SimplifyDemandedBits() with a SimplifyQuery
that has CondContext set in the future.

Additionally this also marginally strengthens the analysis by
retaining the original context instruction for one-use chains.


  Commit: c46a95c147d8ba86980908353d377f9e2f9f5641
      https://github.com/llvm/llvm-project/commit/c46a95c147d8ba86980908353d377f9e2f9f5641
  Author: Anton Lydike <me at AntonLydike.de>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/DLTI/CMakeLists.txt
    M mlir/include/mlir/Dialect/DLTI/DLTIAttrs.td

  Log Message:
  -----------
  [MLIR] Fix documentation generation for DLTI dialect. (#97052)

This patch fixes the docs generation for the DLTI dialect to include
attributes (CMake config pointed to the wrong tablegen file). It also
fixes formatting in places so that proper markdown is generated.


  Commit: d32d20f3a05abf74ecc11848a672d4cac4fa45cd
      https://github.com/llvm/llvm-project/commit/d32d20f3a05abf74ecc11848a672d4cac4fa45cd
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp

  Log Message:
  -----------
  NumericalStabilitySanitizer.cpp - fix MSVC "not all control paths return a value" warnings. NFC.


  Commit: ec0e6ef09bdbae42872af1145f9c58c641d0ab8a
      https://github.com/llvm/llvm-project/commit/ec0e6ef09bdbae42872af1145f9c58c641d0ab8a
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M libc/config/gpu/entrypoints.txt
    M libc/docs/gpu/support.rst
    M libc/include/llvm-libc-types/rpc_opcodes_t.h
    M libc/src/stdio/gpu/CMakeLists.txt
    A libc/src/stdio/gpu/remove.cpp
    M libc/utils/gpu/server/rpc_server.cpp

  Log Message:
  -----------
  [libc] Implement the 'remove' function on the GPU (#97096)

Summary:
Straightforward RPC implementation of the `remove` function for the GPU.
Copies over the string and calls `remove` on it, passing the result
back. This is required for building some `libc++` functionality.


  Commit: 3c64a98180148340ed72aa2c19054ddfbcfa72e1
      https://github.com/llvm/llvm-project/commit/3c64a98180148340ed72aa2c19054ddfbcfa72e1
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M libc/docs/gpu/motivation.rst
    M libc/include/errno.h.def
    M libc/src/errno/libc_errno.cpp

  Log Message:
  -----------
  [libc] Partially implement 'errno' on the GPU (#97107)

Summary:
The `errno` variable is expected to be `thread_local` by the standard.
However, the GPU targets do not support `thread_local` and implementing
that would be a large endeavor. Because of that, we previously didn't
provide the `errno` symbol at all. However, to build some programs we at
least need to be able to link against `errno`. Many things that would
normally set `errno` completely ignore it currently (i.e. stdio) but
some programs still need to be able to link against correct C programs.

For this purpose this patch exports the `errno` symbol as a simple
global. Internally, this will be updated atomically so it's at least not
racy. Externally, this will be on the user. I've updated the
documentation to state as such. This is required to get `libc++` to
build.


  Commit: 117b53ae38428ca66eaa886fb432e6f09db88fe4
      https://github.com/llvm/llvm-project/commit/117b53ae38428ca66eaa886fb432e6f09db88fe4
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/include/llvm/CodeGen/AsmPrinterHandler.h
    M llvm/include/llvm/CodeGen/DebugHandlerBase.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
    M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
    M llvm/lib/CodeGen/AsmPrinter/EHStreamer.h
    M llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.h
    M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h
    M llvm/lib/Target/BPF/BPFAsmPrinter.cpp
    M llvm/lib/Target/BPF/BTFDebug.h
    M llvm/unittests/CodeGen/AsmPrinterDwarfTest.cpp

  Log Message:
  -----------
  [AsmPrinter] Reduce AsmPrinterHandlers virt. fn calls (#96785)

Currently, an AsmPrinterHandler has several methods that allow to
dynamically hook in unwind or debug info emission, e.g. at begin/end of
every function or instruction. The class hierarchy and the actually
overridden functions are as follows:

    (SymSz=setSymbolSize, mFE=markFunctionEnd, BBS=BasicBlockSection,
     FL=Funclet; b=beginX, e=endX)
                          SymSz   Mod Fn  mFE BBS FL  Inst
    AsmPrinterHandler     -       -   -   -   -   -   -
    ` PseudoProbeHandler  -       -   -   -   -   -   -
    ` WinCFGuard          -       e   e   -   -   -   -
    ` EHStreamer          -       -   -   -   -   -   -
      ` DwarfCFIException -       e   be  -   be  -   -
      ` ARMException      -       -   be  e   -   -   -
      ` AIXException      -       -   e   -   -   -   -
      ` WinException      -       e   be  e   -   be  -
      ` WasmException     -       e   be  -   -   -   -
    ` DebugHandlerBase    -       b   be  -   be  -   be
      ` BTFDebug          -       e   -   -   -   -   b
      ` CodeViewDebug     -       be  -   -   -   -   b
      ` DWARFDebug        yes     be  -   -   -   -   b

Doing virtual function calls per instruction is costly and useless when
the called function does nothing.

This commit performs the following clean-up/improvements:

- PseudoProbeHandler is no longer an AsmPrinterHandler -- it used
nothing of its functionality to hook in at the possible points. This
avoids virtual function calls when a pseudo probe printer is present.

- DebugHandlerBase is no longer an AsmPrinterHandler, but a separate
base class. DebugHandlerBase is the only remaining "hook" for begin/end
instruction and setSymbolSize (only used by DWARFDebug). begin/end for
function and basic block sections are never overriden and therefore are
no longer virtual. (Originally I intended there to be only one debug
handler, but BPF as the only target supports two at the same time: DWARF
and BTF.)

- AsmPrinterHandler no longer has begin/end instruction and
setSymbolSize hooks -- these were only used by DebugHandlerBase. This
avoid iterating over handlers in every instruction.

    AsmPrinterHandler     Mod Fn  mFE BBS FL
    ` WinCFGuard          e   e   -   -   -
    ` EHStreamer          -   -   -   -   -
      ` DwarfCFIException e   be  -   be  -
      ` ARMException      -   be  e   -   -
      ` AIXException      -   e   -   -   -
      ` WinException      e   be  e   -   be
      ` WasmException     e   be  -   -   -

                          SymSz   Mod Fn  BBS Inst
    DebugHandlerBase      -       b   be  be  be
    ` BTFDebug            -       e           b
    ` CodeViewDebug       -       be          b
    ` DWARFDebug          yes     be          b

    PseudoProbeHandler (no shared methods)

To continue allowing external users (e.g., Julia) to hook in at every
instruction, a new method addDebugHandler is exposed.

This results in a performance improvement, especially in the -O0 -g0
case with unwind information (e.g., JIT baseline).


  Commit: e88cd40d477f7194377a5df7a5a2f0f1b5376216
      https://github.com/llvm/llvm-project/commit/e88cd40d477f7194377a5df7a5a2f0f1b5376216
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [InstCombine] Add tests for simplification based on select known bits (NFC)


  Commit: de68294b4dd31370773cb7a976b2d59e0e8b9bcc
      https://github.com/llvm/llvm-project/commit/de68294b4dd31370773cb7a976b2d59e0e8b9bcc
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [bazel] Add missing dependency for 3c64a98180148340ed72aa2c19054ddfbcfa72e1


  Commit: 44a2589cfc7fa2d3486f60000166a7dea0621494
      https://github.com/llvm/llvm-project/commit/44a2589cfc7fa2d3486f60000166a7dea0621494
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/NearbyIntTest.h
    A libc/test/src/math/nearbyint_test.cpp
    A libc/test/src/math/nearbyintf16_test.cpp
    A libc/test/src/math/nearbyintf_test.cpp
    A libc/test/src/math/nearbyintl_test.cpp

  Log Message:
  -----------
  [libc][math] Add MPFR unit tests for nearbyint{,f,l,f16} (#94479)


  Commit: a3f700a3d6113d825dfef97bffa90827ab4149e8
      https://github.com/llvm/llvm-project/commit/a3f700a3d6113d825dfef97bffa90827ab4149e8
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/f16sqrtf_test.cpp

  Log Message:
  -----------
  [libc][math][c23] Add MPFR unit test for f16sqrtf (#97062)


  Commit: 9f04d75b2bd8ba83863db74ebe1a5c08cfc5815c
      https://github.com/llvm/llvm-project/commit/9f04d75b2bd8ba83863db74ebe1a5c08cfc5815c
  Author: hdoc <68132204+hdoc at users.noreply.github.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/Headers/amxcomplexintrin.h
    M clang/lib/Headers/ia32intrin.h
    M clang/test/Index/annotate-comments.cpp
    M clang/unittests/AST/DeclTest.cpp

  Log Message:
  -----------
  [Clang][Comments] Attach comments to decl even if preproc directives are in between (#88367)

### Background

It's surprisingly common for C++ code in the wild to conditionally
show/hide declarations to Doxygen through the use of preprocessor
directives. One especially common version of this pattern is
demonstrated below:

```cpp
/// @brief Test comment
#ifdef DOXYGEN_BUILD_ENABLED
template<typename T>
#else
template <typename T>
typename std::enable_if<std::is_integral<T>::value>::type
#endif
void f() {}
```

There are more examples I've collected below to demonstrate usage of
this pattern:
- Example 1:
[Magnum](https://github.com/mosra/magnum/blob/8538610fa27e1db37070eaabe34f1e4e41648bab/src/Magnum/Resource.h#L117-L127)
- Example 2:
[libcds](https://github.com/khizmax/libcds/blob/9985d2a87feaa3e92532e28f4ab762a82855a49c/cds/container/michael_list_nogc.h#L36-L54)
- Example 3:
[rocPRIM](https://github.com/ROCm/rocPRIM/blob/609ae19565ff6a3499168b76a0be5652762e24f6/rocprim/include/rocprim/block/detail/block_reduce_raking_reduce.hpp#L60-L65)
 
>From my research, it seems like the most common rationale for this
functionality is hiding difficult-to-parse code from Doxygen, especially
where template metaprogramming is concerned.

Currently, Clang does not support attaching comments to decls if there
are preprocessor comments between the comment and the decl. This is
enforced here:
https://github.com/llvm/llvm-project/blob/b6ebea7972cd05a8e4dcf0d5a54f2c793999995a/clang/lib/AST/ASTContext.cpp#L284-L287

Alongside preprocessor directives, any instance of `;{}#@` between a
comment and decl will cause the comment to not be attached to the decl.

#### Rationale

It would be nice for Clang-based documentation tools, such as
[hdoc](https://hdoc.io), to support code using this pattern. Users
expect to see comments attached to the relevant decl — even if there is
an `#ifdef` in the way — which Clang does not currently do.

#### History

Originally, commas were also in the list of "banned" characters, but
were removed in `b534d3a0ef69`
([link](https://github.com/llvm/llvm-project/commit/b534d3a0ef6970f5e42f10ba5cfcb562d8b184e1))
because availability macros often have commas in them. From my reading
of the code, it appears that the original intent of the code was to
exclude macros and decorators between comments and decls, possibly in an
attempt to properly attribute comments to macros (discussed further in
"Complications", below). There's some more discussion here:
https://reviews.llvm.org/D125061.

### Change

This modifies Clang comment parsing so that comments are attached to
subsequent declarations even if there are preprocessor directives
between the end of the comment and the start of the decl. Furthermore,
this change:

- Adds tests to verify that comments are attached to their associated
decls even if there are preprocessor directives in between
- Adds tests to verify that current behavior has not changed (i.e. use
of the other characters between comment and decl will result in the
comment not being attached to the decl)
- Updates existing `lit` tests which would otherwise break.

#### Complications

Clang [does not yet
support](https://github.com/llvm/llvm-project/issues/38206) attaching
doc comments to macros. Consequently, the change proposed in this RFC
affects cases where a doc comment attached to a macro is followed
immediately by a normal declaration. In these cases, the macro's doc
comments will be attached to the subsequent decl. Previously they would
be ignored because any preprocessor directives between a comment and a
decl would result in the comment not being attached to the decl. An
example of this is shown below.

```cpp
/// Doc comment for a function-like macro
/// @param n
///    A macro argument
#define custom_sqrt(n) __internal_sqrt(n)

int __internal_sqrt(int n) { return __builtin_sqrt(n); }

// NB: the doc comment for the custom_sqrt macro will actually be attached to __internal_sqrt!
```

There is a real instance of this problem in the Clang codebase, namely
here:
https://github.com/llvm/llvm-project/blob/be10070f91b86a6f126d2451852242bfcb2cd366/clang/lib/Headers/amxcomplexintrin.h#L65-L114

As part of this RFC, I've added a semicolon to break up the Clang
comment parsing so that the `-Wdocumentation` errors go away, but this
is a hack. The real solution is to fix Clang comment parsing so that doc
comments are properly attached to macros, however this would be a large
change that is outside of the scope of this RFC.


  Commit: 035e76ff3706ee3e677fbae67cf47a343cf6eceb
      https://github.com/llvm/llvm-project/commit/035e76ff3706ee3e677fbae67cf47a343cf6eceb
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/Serialization/ASTReaderDecl.cpp

  Log Message:
  -----------
  [Serialization] Clear moved-from deque to ensure valid state post-move (#97221)

This patch addresses a use-after-move issue, reported by static analyzer
tool, by clearing the `PotentiallyInterestingDecls` deque after it has
been moved to `MaybeInterestingDecls`.

The fix ensures that the subsequent assert statement correctly checks
for an empty state, preventing any undefined behavior in
ASTReader::PassInterestingDeclsToConsumer().


  Commit: 154c8a02ed952fe3fa2e074fce52a07c4d1efab2
      https://github.com/llvm/llvm-project/commit/154c8a02ed952fe3fa2e074fce52a07c4d1efab2
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/pr80597.ll

  Log Message:
  -----------
  [InstCombine] Use KnownBits::ashr()

This fixes a consistency violation under -instcombine-verify-known-bits.


  Commit: a66275090e140b9e800d694ce79b7781636dc849
      https://github.com/llvm/llvm-project/commit/a66275090e140b9e800d694ce79b7781636dc849
  Author: MagentaTreehouse <99200384+MagentaTreehouse at users.noreply.github.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/AST/DeclCXX.cpp

  Log Message:
  -----------
  [Clang] [NFC] Use range-based for loops (#96831)

Use range-based for loops. In addition, extracted a loop from
`CXXRecordDecl::completeDefinition` to eliminate the `Done` flag, and
only construct `MyFinalOverriders` when `FinalOverriders` is null.


  Commit: e37ba2c13d9ebbfe2bcdc638532b5e76085a5411
      https://github.com/llvm/llvm-project/commit/e37ba2c13d9ebbfe2bcdc638532b5e76085a5411
  Author: Alexander Belyaev <32522095+pifon2a at users.noreply.github.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [mlir] Fix Bazel build after d1fcfce83471c28bdf77d5e1e5c58c9cc6f7a051. (#97288)


  Commit: 7b34070eb4913f2733c3c6d19091d19d92c195d7
      https://github.com/llvm/llvm-project/commit/7b34070eb4913f2733c3c6d19091d19d92c195d7
  Author: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S

  Log Message:
  -----------
  [tsan][aarch64] Fix branch protection in interceptors (#95839)

Start functions with BTI in order to identify the function as a valid
branch target.
Also add the BTI marker to tsan_rtl_aarch64.S.

With this patch, libclang_rt.tsan.so can now be generated with
DT_AARCH64_BTI_PLT when built with -mbranch-protection=standard.


  Commit: 48f13d48a88c14acbaea7c3ee05018bb173fb360
      https://github.com/llvm/llvm-project/commit/48f13d48a88c14acbaea7c3ee05018bb173fb360
  Author: temyurchenko <44875844+temyurchenko at users.noreply.github.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/DeclPrinter.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/AST/ast-print-language-linkage.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.cpp

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

Fixes #93913


  Commit: 70320762427e433759f63ab5781daea7cc2a5faa
      https://github.com/llvm/llvm-project/commit/70320762427e433759f63ab5781daea7cc2a5faa
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineMemOperand.h
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/load-legalize-range-metadata.ll

  Log Message:
  -----------
  GlobalISel: Drop vector range metadata on bitcast lowering (#97279)

If we are reinterpreting the type, the range metadata also needs to be
converted. I believe the DAG has the same bug.


  Commit: 0d88f662ff4db7e78a6c48db79ef62c5228d5f2a
      https://github.com/llvm/llvm-project/commit/0d88f662ff4db7e78a6c48db79ef62c5228d5f2a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
    M llvm/test/CodeGen/AMDGPU/load-range-metadata-sign-bits.ll

  Log Message:
  -----------
  GlobalISel: ComputeNumSignBits from load range metadata

We're missing SimplifyDemandedBits styles of optimizations,
so one case differs from the DAG from not trimming the constant.
The other case is an optimization we get that the DAG doesn't do to
split the 64-bit shift.

https://reviews.llvm.org/D138082


  Commit: 51d87aa4380046588124c2e474924cd8f57189db
      https://github.com/llvm/llvm-project/commit/51d87aa4380046588124c2e474924cd8f57189db
  Author: CedricSWA <51178026+CedricSwa at users.noreply.github.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaLambda.cpp
    M clang/test/SemaCXX/lambda-expressions.cpp

  Log Message:
  -----------
  [Clang] Improve error message for lambda captures that name a class member (#94865)

This introduces are more helpful error message when trying to 
explicitly capture a class member in a lambda.

Fixes #94764.


  Commit: d6987606872a4152495cca0c52b3261b7c44f3ee
      https://github.com/llvm/llvm-project/commit/d6987606872a4152495cca0c52b3261b7c44f3ee
  Author: Dan McArdle <dmcardle at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/ThreadSafetyAnalysis.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/ParsedAttr.h
    M clang/lib/Analysis/ThreadSafety.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/Sema/attr-capabilities.c
    M clang/test/SemaCXX/warn-thread-safety-analysis.cpp
    M clang/test/SemaCXX/warn-thread-safety-parsing.cpp
    M clang/unittests/AST/ASTImporterTest.cpp

  Log Message:
  -----------
  [clang][ThreadSafety] Revert stricter typing on trylock attributes (#97293)

This PR reverts #95290 and the one-liner followup PR #96494.

I received some substantial feedback on #95290, which I plan to address
in a future PR.

I've also received feedback that because the change emits errors where
they were not emitted before, we should at least have a flag to disable
the stricter warnings.


  Commit: b58ae6bd2708a5c3757fe7ec722b6a87b98fd81a
      https://github.com/llvm/llvm-project/commit/b58ae6bd2708a5c3757fe7ec722b6a87b98fd81a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp

  Log Message:
  -----------
  [InstCombine] Sync KnownBits logic for select arms

Extract an adjustKnownBitsForSelectArm() helper for the
ValueTracking logic and make use of it in SimplifyDemandedBits().

This fixes a consistency violation under instcombine-verify-known-bits.


  Commit: b3b0d09ccee52472691570072ac0e30f1addbb0a
      https://github.com/llvm/llvm-project/commit/b3b0d09ccee52472691570072ac0e30f1addbb0a
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
    A clang/include/clang/StaticAnalyzer/Core/BugReporter/Z3CrosscheckVisitor.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
    M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
    M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
    M clang/lib/StaticAnalyzer/Core/CMakeLists.txt
    A clang/lib/StaticAnalyzer/Core/Z3CrosscheckVisitor.cpp
    A clang/test/Analysis/z3/crosscheck-statistics.c
    M clang/unittests/StaticAnalyzer/CMakeLists.txt
    A clang/unittests/StaticAnalyzer/Z3CrosscheckOracleTest.cpp
    M llvm/include/llvm/Support/SMTAPI.h
    M llvm/lib/Support/Z3Solver.cpp

  Log Message:
  -----------
  Reland "[analyzer][NFC] Reorganize Z3 report refutation" (#97265)

This is exactly as originally landed in #95128,
but now the minimal Z3 version was increased to meet this change in #96682.

https://discourse.llvm.org/t/bump-minimal-z3-requirements-from-4-7-1-to-4-8-9/79664/4

---

This change keeps existing behavior, namely that if we hit a Z3 timeout
we will accept the report as "satisfiable".

This prepares for the commit "Harden safeguards for Z3 query times".
https://discourse.llvm.org/t/analyzer-rfc-taming-z3-query-times/79520

(cherry picked from commit 89c26f6c7b0a6dfa257ec090fcf5b6e6e0c89aab)


  Commit: f209469be1c3ce18c0343b9a991f812d12f18b4a
      https://github.com/llvm/llvm-project/commit/f209469be1c3ce18c0343b9a991f812d12f18b4a
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

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


  Commit: 80ffec78848d6ca99e33ebdc4adc415b74f24358
      https://github.com/llvm/llvm-project/commit/80ffec78848d6ca99e33ebdc4adc415b74f24358
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/Target/BPF/BPFAsmPrinter.cpp
    M llvm/unittests/CodeGen/AsmPrinterDwarfTest.cpp

  Log Message:
  -----------
  [AsmPrinter] Remove timers (#97046)

Timers are an out-of-line function call and a global variable access,
here twice per emitted instruction. At this granularity, not only the
time results become skewed, but the timers also add a performance
overhead when profiling is disabled. Also outside of the innermost loop,
timers add a measurable overhead. As this is quite expensive for a
mostly unused profiling facility, remove the timers.

Fixes #39650.


  Commit: c03d3a8560d0275bd585744d4fc14725148517a3
      https://github.com/llvm/llvm-project/commit/c03d3a8560d0275bd585744d4fc14725148517a3
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [InstCombine] Add tests for canonicalizing `(gep <not i8> p, (exact_ins X, C))`; NFC


  Commit: 263268000699b0f0890753674262961229e2a77d
      https://github.com/llvm/llvm-project/commit/263268000699b0f0890753674262961229e2a77d
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/getelementptr.ll
    M llvm/test/Transforms/LoopVectorize/induction.ll

  Log Message:
  -----------
  [InstCombine] Canonicalize `(gep <not i8> p, (div exact X, C))`

If C % sizeof(gep_element_type) is zero, we can canonicalize to `i8` via:
    `(gep i8 p, (div exact X, C / (sizeof(gep_element_type))))`

Closes #96898


  Commit: 5880526b87e56802adf1533a5fe7bd4b9b402a07
      https://github.com/llvm/llvm-project/commit/5880526b87e56802adf1533a5fe7bd4b9b402a07
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/rem.ll

  Log Message:
  -----------
  [InstSimplify] Add test for simplifying `({u,s}rem (mul {nuw,nsw} X, C1), C0)`; NFC


  Commit: aef44e49a7b79cfaf4d7c09133ba7c30ddfdfdc7
      https://github.com/llvm/llvm-project/commit/aef44e49a7b79cfaf4d7c09133ba7c30ddfdfdc7
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/rem.ll

  Log Message:
  -----------
  [InstSimplify] Add simplification for `({u,s}rem (mul {nuw,nsw} X, C1), C0)`

We can simplify these to `0` if `C1 % C0 == 0`

Proofs: https://alive2.llvm.org/ce/z/EejAdk

Closes #97037


  Commit: c8579163ac21877f6223de168663714ff53f43c4
      https://github.com/llvm/llvm-project/commit/c8579163ac21877f6223de168663714ff53f43c4
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/Reassociate/reassoc-mul-nuw.ll

  Log Message:
  -----------
  [Reassociate] Add tests for preserving `nuw` and `nsw` on `mul` chains; NFC


  Commit: 6e379de3b144363c2f5a6f9335eef6f42e28ef37
      https://github.com/llvm/llvm-project/commit/6e379de3b144363c2f5a6f9335eef6f42e28ef37
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/Reassociate.h
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/test/Transforms/Reassociate/reassoc-mul-nuw.ll

  Log Message:
  -----------
  [Reassociate] Preserve `nuw` and `nsw` on `mul` chains

Basically the same rules as `add` but we also need to ensure all
operands a non-zero.

Proofs: https://alive2.llvm.org/ce/z/jzsYht

Closes #97040


  Commit: 1a478a69bc4f2781c14fd045c202838786fb9062
      https://github.com/llvm/llvm-project/commit/1a478a69bc4f2781c14fd045c202838786fb9062
  Author: Gheorghe-Teodor Bercea <doru.bercea at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.h
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/test/OpenMP/distribute_parallel_for_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
    M clang/test/OpenMP/nvptx_SPMD_codegen.cpp
    M clang/test/OpenMP/ordered_codegen.cpp
    M clang/test/OpenMP/parallel_for_codegen.cpp
    M clang/test/OpenMP/target_parallel_for_codegen.cpp
    M clang/test/OpenMP/target_parallel_for_simd_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M offload/DeviceRTL/CMakeLists.txt
    M offload/DeviceRTL/include/Interface.h
    A offload/DeviceRTL/include/Workshare.h
    M offload/DeviceRTL/src/Kernel.cpp
    M offload/DeviceRTL/src/Workshare.cpp
    A offload/test/offloading/dynamic-schedule-non-spmd.cpp
    A offload/test/offloading/dynamic-schedule.cpp
    A offload/test/offloading/schedule.c
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_dispatch.cpp

  Log Message:
  -----------
  [OpenMP][offload] Fix dynamic schedule tracking (#97065)

This patch fixes the dynamic schedule tracking.


  Commit: e6bc72dfe885e8ef4eae1c7da87dd13e40cfed6d
      https://github.com/llvm/llvm-project/commit/e6bc72dfe885e8ef4eae1c7da87dd13e40cfed6d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    A llvm/test/CodeGen/X86/movmsk-bittest.ll

  Log Message:
  -----------
  [X86] Add MOVMSK bit extraction test coverage for #66191

Regressions due to middle-end canonicalizing ICMP_EQ(AND(X,MSB),0) -> ICMP_SGT(X,-1) etc.


  Commit: 99d8bc9e7686994015fe744af3d11cd9c2050b8c
      https://github.com/llvm/llvm-project/commit/99d8bc9e7686994015fe744af3d11cd9c2050b8c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/canonicalize-gep-mul.ll

  Log Message:
  -----------
  [InstCombine] Preserve all gep nowrap flags in ptradd canonicalization


  Commit: 47c3eca48952a8f5907aa9a413a4caa6c5ad6fc0
      https://github.com/llvm/llvm-project/commit/47c3eca48952a8f5907aa9a413a4caa6c5ad6fc0
  Author: Ivan Kosarev <ivan.kosarev at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    M llvm/lib/Target/AMDGPU/VOPInstructions.td

  Log Message:
  -----------
  [AMDGPU][NFC] Make GFX*Gen records globally available. (#97291)

And use them to simplify SOP-related definitions.

Introduces GFX10Gen.


  Commit: 8361d9065e393c0e74ab8bfccdab3fd7850a10b2
      https://github.com/llvm/llvm-project/commit/8361d9065e393c0e74ab8bfccdab3fd7850a10b2
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select-icmp-and.ll

  Log Message:
  -----------
  [InstCombine] disable select folding resulting in extra instructions (#97184)

Disable conversion of a `(select (icmp))` when it would result in more
instructions `(xor (lshr (and)))`. This transformation produces more
instructions and can interfere with other more profitable folds for
`select`. For example before this change the following folding would
occur:
```llvm
  %1 = icmp slt i32 %X, 0
  %2 = select i1 %1, i64 0, i64 8
```
to 
```llvm
  %1 = lshr i32 %X, 28
  %2 = and i32 %1, 8
  %3 = xor i32 %2, 8
  %4 = zext nneg i32 %3 to i64
```


  Commit: bf7a7751456238c9f7eb42eb48306e986093ca01
      https://github.com/llvm/llvm-project/commit/bf7a7751456238c9f7eb42eb48306e986093ca01
  Author: Nuno Lopes <nuno.lopes at tecnico.ulisboa.pt>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [docs] fix normal fpclass mask


  Commit: ea4cf923edf441897c31edd59a0d7bc8c6f380ff
      https://github.com/llvm/llvm-project/commit/ea4cf923edf441897c31edd59a0d7bc8c6f380ff
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.h
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.h
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_powerpc.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.h
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
    M lldb/source/Plugins/Process/Utility/CMakeLists.txt
    A lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.cpp
    A lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.h
    R lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.cpp
    R lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.h
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.h
    M lldb/test/API/commands/register/register/register_command/TestRegisters.py
    A lldb/test/Shell/Register/Core/aarch64-freebsd-register-fields.test
    M llvm/docs/ReleaseNotes.rst
    M llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility/BUILD.gn

  Log Message:
  -----------
  [lldb][FreeBSD][AArch64] Enable register field detection (#85058)

This extends the existing register fields support from AArch64 Linux
to AArch64 FreeBSD. So you will now see output like this:
```
(lldb) register read cpsr
    cpsr = 0x60000200
         = (N = 0, Z = 1, C = 1, V = 0, DIT = 0, SS = 0, IL = 0, SSBS = 0, D = 1, A = 0, I = 0, F = 0, nRW = 0, EL = 0, SP = 0) 
```

Linux and FreeBSD both have HWCAP/HWCAP2 so the detection mechanism
is the same and I've renamed the detector class to reflect that.

I have confirmed that FreeBSD's treatment of CPSR (spsr as the kernel
calls it) is similair enough that we can use the same field information.

(see `sys/arm64/include/armreg.h` and `PSR_SETTABLE_64`)

For testing I've enabled the same live process test as Linux
and added a shell test using an existing FreeBSD core file.

Note that the latter does not need XML support because when reading
a core file we are not sending the information via target.xml,
it's just internal to LLDB.


  Commit: 65c807e69545ec23c1a258f66f744874531c7d26
      https://github.com/llvm/llvm-project/commit/65c807e69545ec23c1a258f66f744874531c7d26
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/test/API/lang/cpp/namespace/TestNamespace.py
    M lldb/test/API/lang/cpp/namespace/main.cpp

  Log Message:
  -----------
  [lldb][TypeSystemClang] Allow transparent lookup through anonymous namespaces (#97275)

This patch allows expressions to reference entities in anonymous
namespaces. Previously this would have resulted in:
```
(lldb) expr foo::FooAnonymousVar
error: <user expression 0>:1:6: no member named 'FooAnonymousVar' in namespace 'foo'
    1 | foo::FooAnonymousVar
      | ~~~~~^
```

We already allow such lookups through inline namespaces, and for the
purposes of lookup, anonymous namespaces shouldn't behave any different.

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


  Commit: ae570d82e8c021f45209830db8c9c7bb79bed394
      https://github.com/llvm/llvm-project/commit/ae570d82e8c021f45209830db8c9c7bb79bed394
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
    M clang/include/clang/StaticAnalyzer/Core/BugReporter/Z3CrosscheckVisitor.h
    M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
    M clang/lib/StaticAnalyzer/Core/Z3CrosscheckVisitor.cpp
    M clang/test/Analysis/analyzer-config.c
    M clang/unittests/StaticAnalyzer/Z3CrosscheckOracleTest.cpp

  Log Message:
  -----------
  Reland "[analyzer] Harden safeguards for Z3 query times" (#97298)

This is exactly as originally landed in #95129,
but now the minimal Z3 version was increased to meet this change in #96682.

https://discourse.llvm.org/t/bump-minimal-z3-requirements-from-4-7-1-to-4-8-9/79664/4

---

This patch is a functional change.
https://discourse.llvm.org/t/analyzer-rfc-taming-z3-query-times/79520

As a result of this patch, individual Z3 queries in refutation will be
bound by 300ms. Every report equivalence class will be processed in at
most 1 second.

The heuristic should have only really marginal observable impact -
except for the cases when we had big report eqclasses with long-running
(15s) Z3 queries, where previously CSA effectively halted. After this
patch, CSA will tackle such extreme cases as well.

(cherry picked from commit eacc3b3504be061f7334410dd0eb599688ba103a)


  Commit: 2e81f7db1f1c161a1683bcad55e0c04677a17a9d
      https://github.com/llvm/llvm-project/commit/2e81f7db1f1c161a1683bcad55e0c04677a17a9d
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
    M clang/test/Analysis/stream.c

  Log Message:
  -----------
  [analyzer] Fix crash in Stream checker when using void pointers (#97199)

We can get zero type size (thus div by zero crash) if the region is for a 'void*' pointer.
In this patch, let's just override the void type with a char type to avoid the crash.

Fixes
https://github.com/llvm/llvm-project/pull/93408#issuecomment-2189766510


  Commit: 5c287efee77930ab15fe5579bed00b2750bbb254
      https://github.com/llvm/llvm-project/commit/5c287efee77930ab15fe5579bed00b2750bbb254
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/CheckExprLifetime.cpp
    M clang/lib/Sema/CheckExprLifetime.h
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/Parser/compound_literal.c
    M clang/test/SemaCXX/attr-lifetimebound.cpp
    M clang/test/SemaCXX/warn-dangling-local.cpp

  Log Message:
  -----------
  [Clang] Extend lifetime bound analysis to support assignments for the built-in pointer type (#96475)

The lifetime bound warning in Clang currently only considers
initializations. This patch extends the warning to include assignments.

- **Support for assignments of built-in pointer types**: this is done is
by reusing the existing statement-local implementation. Clang now warns
if the pointer is assigned to a temporary object that being destoryed at
the end of the full assignment expression.

With this patch, we will detect more cases under the on-by-default
diagnostic `-Wdangling`. I have added a new category for this specific
diagnostic so that people can temporarily disable it if their codebase
is not yet clean.

This is the first step to address #63310, focusing only on pointer
types. Support for C++ assignment operators will come in a follow-up
patch.

Fixes #54492


  Commit: c36b4248286c4546df0c0e93137a340facc75e17
      https://github.com/llvm/llvm-project/commit/c36b4248286c4546df0c0e93137a340facc75e17
  Author: Bimo <rui.xu at intel.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M mlir/lib/Bindings/Python/IRAttributes.cpp
    M mlir/test/python/ir/attributes.py

  Log Message:
  -----------
  [MLIR][Python] add value attr for PyAffineMapAttribute (#97254)

Similar to other attributes in Binding, the `PyAffineMapAttribute`
should include a value attribute to enable users to directly retrieve
the `AffineMap` from the `AffineMapAttr`.


  Commit: 51797a7c55c42a2a49b9210b150e0eb63c7975f0
      https://github.com/llvm/llvm-project/commit/51797a7c55c42a2a49b9210b150e0eb63c7975f0
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [clang][OpenMP] Unindent `checkNestingOfRegions`, NFC

The entire body of the function is inside of an if-statement, followed
by a "return false". Invert the condition and return early, unindent
and clang-format the function.


  Commit: e8574e8ada76e38fab951969dc1c97eef5b0cc60
      https://github.com/llvm/llvm-project/commit/e8574e8ada76e38fab951969dc1c97eef5b0cc60
  Author: vporpo <vporpodas at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    A llvm/include/llvm/SandboxIR/SandboxIR.h
    A llvm/include/llvm/SandboxIR/SandboxIRValues.def
    M llvm/lib/CMakeLists.txt
    A llvm/lib/SandboxIR/CMakeLists.txt
    A llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/CMakeLists.txt
    A llvm/unittests/SandboxIR/CMakeLists.txt
    A llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  [SandboxIR] Boilerplate code (#95814)

This is the first patch in a series of patches for the Sandbox Vectorizer project.  
SandboxIR is not tightly coupled to the Sandbox Vectorizer and could be used
independently as a transactional layer on top of LLVM IR.

For a detailed description of the project please refer to the RFC:
https://discourse.llvm.org/t/rfc-sandbox-vectorizer-an-experimental-modular-vectorizer/79059

This patch adds some basic boilerplate code for the SandboxIR which includes
parts of the SandboxIR `Value`, `User` and `Context` classes.


  Commit: 05d8ea77c9bbdedc462dadfdcc41332253c1c829
      https://github.com/llvm/llvm-project/commit/05d8ea77c9bbdedc462dadfdcc41332253c1c829
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp

  Log Message:
  -----------
  [Clang] Prevent null pointer dereferences in SVE tuple functions (#94267)

This patch 

addresses a null pointer dereference issue reported by static analyzer
tool in the
`EmitSVETupleSetOrGet()` and `EmitSVETupleCreate()` functions.
Previously, the function
assumed that the result of `dyn_cast<>` to `ScalableVectorType` would
always be non-null,
    which is not guaranteed.

The fix introduces a null check after the `dyn_cast<>` operation. If the
cast fails and
`SingleVecTy` is null, the function now returns `nullptr` to indicate an
error. This prevents the
  dereference of a null pointer, which could lead to undefined behavior.

Additionally, the assert message has been corrected to accurately
reflect the expected
   conditions.

These changes collectively enhance the robustness of the code by
ensuring type safety and preventing runtime errors due to improper type
casting.


  Commit: 2f4f43c06b8e6d8488f217a3364c36409c348b83
      https://github.com/llvm/llvm-project/commit/2f4f43c06b8e6d8488f217a3364c36409c348b83
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    R llvm/include/llvm/SandboxIR/SandboxIR.h
    R llvm/include/llvm/SandboxIR/SandboxIRValues.def
    M llvm/lib/CMakeLists.txt
    R llvm/lib/SandboxIR/CMakeLists.txt
    R llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/CMakeLists.txt
    R llvm/unittests/SandboxIR/CMakeLists.txt
    R llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  Revert "[SandboxIR] Boilerplate code (#95814)"

This reverts commit e8574e8ada76e38fab951969dc1c97eef5b0cc60.


  Commit: a8e1c3e1239604ac787b6a2d39b5278ddec8aa8a
      https://github.com/llvm/llvm-project/commit/a8e1c3e1239604ac787b6a2d39b5278ddec8aa8a
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/pr38697.ll

  Log Message:
  -----------
  [test] Autogenerate a test in advance of an upcoming change


  Commit: f903e3ec77d6de310d8bf7453b1106adb2d2becd
      https://github.com/llvm/llvm-project/commit/f903e3ec77d6de310d8bf7453b1106adb2d2becd
  Author: Jeffrey Byrnes <Jeffrey.Byrnes at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp
    M llvm/test/CodeGen/AMDGPU/sdwa-preserve.mir

  Log Message:
  -----------
  [AMDGPU] Reset kill flags for multiple uses of SDWAInst Ops

Change-Id: I8b56d86a55c397623567945a87ad2f55749680bc


  Commit: 46f42d4db91ea89046981010aebbe501eae5db74
      https://github.com/llvm/llvm-project/commit/46f42d4db91ea89046981010aebbe501eae5db74
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/pr38697.ll

  Log Message:
  -----------
  Revert "[test] Autogenerate a test in advance of an upcoming change"

This reverts commit a8e1c3e1239604ac787b6a2d39b5278ddec8aa8a.  Appears
to be causing at least one bot failure.


  Commit: becc238f77ee2b95b5cdfc2d060fe6ff5b6e447d
      https://github.com/llvm/llvm-project/commit/becc238f77ee2b95b5cdfc2d060fe6ff5b6e447d
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M mlir/docs/Tutorials/DataFlowAnalysis.md

  Log Message:
  -----------
  [mlir][docs] Fix mistakes in data flow analysis code example (#97286)


  Commit: cf9b77a636e0e92b1f4cafd99aaff394f4773f08
      https://github.com/llvm/llvm-project/commit/cf9b77a636e0e92b1f4cafd99aaff394f4773f08
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
    M mlir/test/Dialect/Linalg/one-shot-bufferize-analysis.mlir

  Log Message:
  -----------
  [mlir][bufferization] Fix bug in bufferization of elementwise ops (#97209)

There is an optimization in One-Shot Bufferize wrt. ops that bufferize
to elementwise access. A copy can sometimes be avoided. E.g.:
```
%0 = tensor.empty()
%1 = tensor.fill ...
%2 = linalg.map ins(%1, ...) outs(%1)
```

In the above example, a buffer copy is not needed for %1, even though
the same buffer is read/written by two different operands (of the same
op). That's because the op bufferizes to elementwise access.

```c++
// Two equivalent operands of the same op are not conflicting if the op
// bufferizes to element-wise access. I.e., all loads at a position
// happen before all stores to the same position.
```

This optimization cannot be applied when op dominance cannot be used to
rule out conflicts. E.g., when the `linalg.map` is inside of a loop. In
such a case, the reads/writes happen multiple times and it is not
guaranteed that "all loads at a position happen before all stores to the
same position."

Fixes #90019.


  Commit: 163d00c666f8fc8cb49ed07b2ad86e34ec2646e6
      https://github.com/llvm/llvm-project/commit/163d00c666f8fc8cb49ed07b2ad86e34ec2646e6
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [DAG] Pull out repeated SDLoc in SELECT/SETCC folds. NFC.


  Commit: babd62092f78875868fd131b49bf0530a2b92913
      https://github.com/llvm/llvm-project/commit/babd62092f78875868fd131b49bf0530a2b92913
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    A llvm/test/Transforms/InstCombine/X86/x86-vpermi2.ll

  Log Message:
  -----------
  [InstCombine][X86] Add tests showing failure to convert constant avx512 vpermi2 masks to generic shuffles


  Commit: 8036878643b0a7d94393b220cbe8bba488d50863
      https://github.com/llvm/llvm-project/commit/8036878643b0a7d94393b220cbe8bba488d50863
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-vpermi2.ll

  Log Message:
  -----------
  [InstCombine][X86] Fold avx512 vpermi2 intrinsics with constant masks to generic shuffles

Similar to most other x86 shuffles, if the shuffle mask is constant then convert to a generic shuffle


  Commit: 23e62243746a1c43e4e6251fcab178498afc3426
      https://github.com/llvm/llvm-project/commit/23e62243746a1c43e4e6251fcab178498afc3426
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/include/llvm/MC/MCObjectWriter.h
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/MC/GOFFObjectWriter.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCDXContainerWriter.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/MC/SPIRVObjectWriter.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/tools/dsymutil/MachOUtils.cpp

  Log Message:
  -----------
  [MC] Remove the MCAsmLayout parameter from MCObjectWriter::{writeObject,writeSectionData}


  Commit: 946f5d111d5e3cb19055dc78959d9ee5a19c163a
      https://github.com/llvm/llvm-project/commit/946f5d111d5e3cb19055dc78959d9ee5a19c163a
  Author: dhruvachak <Dhruva.Chakrabarti at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M offload/test/ompt/veccopy_no_device_init.c
    M openmp/runtime/src/ompt-general.cpp

  Log Message:
  -----------
  [OpenMP] [OMPT] Callback registration should not depend on the device init callback. (#96371)

Even if the device init callback is not registered, a tool should be
allowed to register other callbacks.


  Commit: 29cdc8f9ca58411992d3fa5afd89e0628df24679
      https://github.com/llvm/llvm-project/commit/29cdc8f9ca58411992d3fa5afd89e0628df24679
  Author: Leandro Lupori <leandro.lupori at linaro.org>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    A flang/test/Lower/OpenMP/task2.f90

  Log Message:
  -----------
  [flang][OpenMP] Fix nested privatization of allocatable (#96968)

In nested constructs where a given variable is privatized more than
once, using the default clause, the innermost host association symbol
will point to the previous host association symbol.
Such symbol lacks the allocatable attribute and can't be used to
generate the type of the symbol to be cloned. Use the ultimate
symbol instead.

Fixes #85594, #80398


  Commit: dce1828683458351b2f66b8758f85415fe3f5a64
      https://github.com/llvm/llvm-project/commit/dce1828683458351b2f66b8758f85415fe3f5a64
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [MC] Remove the MCAsmLayout parameter from ELFObjectWriter


  Commit: 8e8c455a0660576f170b4c00f3707d179b6bc82a
      https://github.com/llvm/llvm-project/commit/8e8c455a0660576f170b4c00f3707d179b6bc82a
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  ELFObjectWriter: Use DenseMap+SmallVector. NFC


  Commit: 7926c0b594203ca1efe3d2a73a3f4066363bac5a
      https://github.com/llvm/llvm-project/commit/7926c0b594203ca1efe3d2a73a3f4066363bac5a
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [Sema] Fix -Wunused-but-set-variable after #94865


  Commit: 1b704e889f09b5dfc0549786542bc6d2cd54e85b
      https://github.com/llvm/llvm-project/commit/1b704e889f09b5dfc0549786542bc6d2cd54e85b
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/DynamicTags.def
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/include/llvm/MC/MCTargetOptions.h
    M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
    M llvm/include/llvm/Object/ELF.h
    M llvm/include/llvm/Object/ELFTypes.h
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
    M llvm/lib/Object/ELF.cpp
    M llvm/lib/ObjectYAML/ELFEmitter.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    A llvm/test/MC/ELF/crel-32.s
    A llvm/test/MC/ELF/crel.s
    A llvm/test/tools/llvm-readobj/ELF/crel.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-reloc.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
    M llvm/test/tools/llvm-readobj/ELF/relocation-errors.test
    M llvm/test/tools/llvm-readobj/ELF/section-types.test
    M llvm/test/tools/yaml2obj/ELF/dynamic-relocations.yaml
    M llvm/test/tools/yaml2obj/ELF/reloc-sec-entry-size.yaml
    A llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml
    M llvm/test/tools/yaml2obj/ELF/relocation-missing-symbol.yaml
    M llvm/test/tools/yaml2obj/ELF/relocation-type.yaml
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [MC,llvm-readobj,yaml2obj] Support CREL relocation format

CREL is a compact relocation format for the ELF object file format.

This patch adds integrated assembler support (using the RELA form)
available with `llvm-mc -filetype=obj -crel a.s -o a.o`.
A dependent patch will add `clang -c -Wa,--crel,--allow-experimental-crel`.

Also add llvm-readobj support (for both REL and RELA forms) to
facilitate testing the assembler. Additionally, yaml2obj gains support
for the RELA form to aid testing with llvm-readobj.

We temporarily assign the section type code 0x40000020 from the generic
range to `SHT_CREL`. We avoided using `SHT_LLVM_` or `SHT_GNU_` to
avoid code churn and maintain broader applicability for interested psABIs.
Similarly, `DT_CREL` is temporarily 0x40000026.

LLVM will change the code and break compatibility. This is not an issue
if all relocatable files using CREL are regenerated (aka no prebuilt
relocatable files).

Link: https://discourse.llvm.org/t/rfc-crel-a-compact-relocation-format-for-elf/77600

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


  Commit: 9f3bfbb680e6cef9c5b902dac4ad541b99e1ea6a
      https://github.com/llvm/llvm-project/commit/9f3bfbb680e6cef9c5b902dac4ad541b99e1ea6a
  Author: Jerry Zhang Jian <jerry.zhangjian at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M cmake/Modules/CMakePolicy.cmake

  Log Message:
  -----------
  [CMake] enable CMP0144 policy if available (#96589)

- Enable CMP0144 policy if available, this will make the find_package()
more robust.

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


  Commit: 75ec24e875762f038bf490d6e3fa5d4743d7afd1
      https://github.com/llvm/llvm-project/commit/75ec24e875762f038bf490d6e3fa5d4743d7afd1
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/dxc_fcgl.hlsl

  Log Message:
  -----------
  [HLSL][clang][Driver] Fix error when using the option -fcgl in --driver-mode=dxc. (#97001)

When -fcgl is set in --driver-mode=dxc, both -S and -emit-llvm are
currently enabled.

This results in the following error:
```
  error: '-S' action ignored; '-emit-llvm' action specified previously.
```
This change fixes the issue by not rendering -S in RenderHLSLOptions.

Additionally, a test has been added to ensure that enabling -fcgl does
not trigger any diagnostics

Fixes #97296


  Commit: 6b707a8cc143f094b02393f4faf89025c64520bb
      https://github.com/llvm/llvm-project/commit/6b707a8cc143f094b02393f4faf89025c64520bb
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/include/llvm/MC/MCObjectWriter.h
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/MC/GOFFObjectWriter.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCDXContainerWriter.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/MC/SPIRVObjectWriter.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/lib/MC/XCOFFObjectWriter.cpp

  Log Message:
  -----------
  [MC] Remove the MCAsmLayout parameter from MCObjectWriter::executePostLayoutBinding


  Commit: f9efc295089217425d8220af892dcc5ede9eb9f7
      https://github.com/llvm/llvm-project/commit/f9efc295089217425d8220af892dcc5ede9eb9f7
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    A llvm/include/llvm/SandboxIR/SandboxIR.h
    A llvm/include/llvm/SandboxIR/SandboxIRValues.def
    M llvm/lib/CMakeLists.txt
    A llvm/lib/SandboxIR/CMakeLists.txt
    A llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/CMakeLists.txt
    A llvm/unittests/SandboxIR/CMakeLists.txt
    A llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  Reapply "[SandboxIR] Boilerplate code (#95814)"

This reverts commit 2f4f43c06b8e6d8488f217a3364c36409c348b83.


  Commit: bae2c54912f8984d4d440f910744caa0b991086c
      https://github.com/llvm/llvm-project/commit/bae2c54912f8984d4d440f910744caa0b991086c
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaAccess.cpp
    M clang/lib/Sema/SemaAttr.cpp
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaCast.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExceptionSpec.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaExprMember.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaLookup.cpp
    M clang/lib/Sema/SemaModule.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/lib/Sema/SemaTemplateVariadic.cpp
    M clang/lib/Sema/SemaType.cpp

  Log Message:
  -----------
  [clang][NFC] Move documentation of `Sema` functions into `Sema.h`

This patch moves documentation of `Sema` functions from `.cpp` files to `Sema.h` when there was no documentation in the latter, or it can be trivially subsumed. More complicated cases when there's less trivial divergence between documentation attached to declaration and the one attached to implementation are left for a later PR that would require review.

It appears that doxygen can find the documentation for a function defined out-of-line even if it's attached to an implementation, and not declaration. But other tools, e.g. clangd, are not as powerful. So this patch significantly improves autocompletion experience for (at least) clangd-based IDEs.


  Commit: a5e905b73d4aec4365a63040338cb02118ae80e5
      https://github.com/llvm/llvm-project/commit/a5e905b73d4aec4365a63040338cb02118ae80e5
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp

  Log Message:
  -----------
  [MC] Remove MCAsmLayout::getFragmentAddress


  Commit: 1c0e7221ce35e4b709951c06c67aeb1ed3205f27
      https://github.com/llvm/llvm-project/commit/1c0e7221ce35e4b709951c06c67aeb1ed3205f27
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [Clang] Prevent null pointer dereference in DiagnoseDeclAvailability() (#97095)

This patch adds an assertion in the DiagnoseDeclAvailabilit() function
to ensure that the expected availability attribute is not null before
they are passed to hasMatchingEnvironmentOrNone() to prevent potential
null pointer dereferences and improve the robustness of the availability
diagnostics process.


  Commit: 15ca5a8cdb7a4131b891cec73333e9ebb7ed3d04
      https://github.com/llvm/llvm-project/commit/15ca5a8cdb7a4131b891cec73333e9ebb7ed3d04
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h

  Log Message:
  -----------
  [MC] Remove MCAsmLayout::getFragmentAddress


  Commit: 658c03d5879fb78c8d6e0e43b97bc0e0027826d5
      https://github.com/llvm/llvm-project/commit/658c03d5879fb78c8d6e0e43b97bc0e0027826d5
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h

  Log Message:
  -----------
  [MC] Remove the MCAsmLayout parameter from evaluateTargetFixup


  Commit: d3e7c4ce7a3d7f08cea02cba8f34c590a349688b
      https://github.com/llvm/llvm-project/commit/d3e7c4ce7a3d7f08cea02cba8f34c590a349688b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
    M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pown.ll
    M llvm/test/CodeGen/AMDGPU/simplify-libcalls.ll

  Log Message:
  -----------
  AMDGPU: Use real copysign in fast pow (#97152)

Previously this would introduce some codegen regressions, but
those have been avoided by simplifying demanded bits on copysign
operations.


  Commit: 7888d66af20b0c34c78ba94613e4a45e3a7285c2
      https://github.com/llvm/llvm-project/commit/7888d66af20b0c34c78ba94613e4a45e3a7285c2
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/www/c_status.html

  Log Message:
  -----------
  [C2y] Add C2y documents to the tracking page

These documents were adopted in the past two meetings; the current
working draft doesn't yet incorporate them however.


  Commit: 71ff749d6b9aee70c6d26d9781b9f70bf6a8c445
      https://github.com/llvm/llvm-project/commit/71ff749d6b9aee70c6d26d9781b9f70bf6a8c445
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/DeclPrinter.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaExpr.cpp
    R clang/test/AST/ast-print-language-linkage.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.cpp

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

This reverts commit 48f13d48a88c14acbaea7c3ee05018bb173fb360.

It broke some external bots:
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6805/console
https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket/8743609724828014497/+/u/clang/build/stdout


  Commit: a40ca78bb926d8c596036fc93b1c6ca7731c795b
      https://github.com/llvm/llvm-project/commit/a40ca78bb926d8c596036fc93b1c6ca7731c795b
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/tools/dsymutil/MachOUtils.cpp

  Log Message:
  -----------
  [MC] Remove MCAsmLayout::{getSectionFileSize,getSectionAddressSize}


  Commit: 0323d8d83ccad9a74df36d2662e96aa0f56e3060
      https://github.com/llvm/llvm-project/commit/0323d8d83ccad9a74df36d2662e96aa0f56e3060
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M lldb/tools/lldb-dap/package.json

  Log Message:
  -----------
  [lldb-dap] Bump the version to 0.2.2

Bump the lldb-dap version to 0.2.2.


  Commit: dbf12b2f778a94bff323bbc4777673f66a1cf3e9
      https://github.com/llvm/llvm-project/commit/dbf12b2f778a94bff323bbc4777673f66a1cf3e9
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/lib/MC/XCOFFObjectWriter.cpp

  Log Message:
  -----------
  [MC] Remove MCAsmLayout::{getSymbolOffset,getBaseSymbol}

The MCAsmLayout::* forwarders added by
67957a45ee1ec42ae1671cdbfa0d73127346cc95 have all been removed.


  Commit: 8477ca6e8e2a2c5adcfd600780a5eecb2ca0b153
      https://github.com/llvm/llvm-project/commit/8477ca6e8e2a2c5adcfd600780a5eecb2ca0b153
  Author: Raymond Tian <rymdtian at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/SemaCUDA/amdgpu-builtins-pointer-args.cu

  Log Message:
  -----------
  [HIP][Clang][Sema] Fix crash when calling builtins with pointer arguments (#95957)

Crashed when the number of args passed was less than number of
parameters in builtin definition, because we were indexing the list of
args while iterating through the entire number of parameters.


  Commit: bff619f91015a633df659d7f60f842d5c49351df
      https://github.com/llvm/llvm-project/commit/bff619f91015a633df659d7f60f842d5c49351df
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
    M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pown.ll
    M llvm/test/CodeGen/AMDGPU/simplify-libcalls.ll

  Log Message:
  -----------
  Revert "AMDGPU: Use real copysign in fast pow (#97152)"

This reverts commit d3e7c4ce7a3d7f08cea02cba8f34c590a349688b.


  Commit: eed914164009a03f584c2fed39bc5edb58d77763
      https://github.com/llvm/llvm-project/commit/eed914164009a03f584c2fed39bc5edb58d77763
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFTypePrinter.cpp
    A llvm/test/tools/llvm-dwarfdump/AArch64/template_ref_ptr.ll

  Log Message:
  -----------
  [DebugInfo] Skip both pointer and reference type parameters (#97094)

DWARFTypePrinter::appendTemplateParameters already skips pointer type
parameters but didn't account for reference type parameters. This would
result in tripping up the RawName assertion below. This updates the
check for both `DW_TAG_pointer_type` and `DW_TAG_reference_type`.

Thanks to Dave Blaikie for helping with the test.

rdar://130297520


  Commit: 2c1fb411ce3aed148a278660d215e0f88ff9b9be
      https://github.com/llvm/llvm-project/commit/2c1fb411ce3aed148a278660d215e0f88ff9b9be
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  [MC] Remove some getSectionOrder uses

SectionOrder is Mach-O specific to place zerofill sections after
non-zerofill sections in the object writer.


  Commit: 95e823e88982127666eec76e79143f2857daa2ad
      https://github.com/llvm/llvm-project/commit/95e823e88982127666eec76e79143f2857daa2ad
  Author: Anders Schau Knatten <anders at knatten.org>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/pro-type-member-init.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-member-init.cpp

  Log Message:
  -----------
  [clang-tidy]: Use correct term for user-provided constructor (#96617)

First of all, fix a confusion in the documentation for
pro-type-member-init which used the wrong term for a user-provided
constructor. (In the corresponding comment in ProTypeMemberInitCheck.h,
which was added in the same commit that added this documentation, we
already use the correct term).

Second, also fix a comment in the corresponding test that had the same
mistake.

https://timsong-cpp.github.io/cppwp/std23/dcl.fct.def.default#5:

> A function is user-provided if it is user-declared and not explicitly
> defaulted or deleted on its first declaration.

("user-defined constructor" is not a thing in the standard)


  Commit: e47359a925b88cd081ea85d10b55b0625d17b212
      https://github.com/llvm/llvm-project/commit/e47359a925b88cd081ea85d10b55b0625d17b212
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    A llvm/test/Transforms/Inline/byval-with-non-alloca-addrspace.ll

  Log Message:
  -----------
  Inline: Fix handling of byval using non-alloca addrspace (#97306)

Use the address space of the original pointer argument instead
of querying the datalayout. This avoids producing a verifier error
since this was changing the address space for the user instructions.

Fixes #97086


  Commit: 9a4f57ec1e6e08db201d42137552b6d97c6d4d25
      https://github.com/llvm/llvm-project/commit/9a4f57ec1e6e08db201d42137552b6d97c6d4d25
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    A llvm/test/CodeGen/AMDGPU/no-corresponding-integer-type.ll

  Log Message:
  -----------
  [SelectionDAG] Use `EVT::getIntegerVT` in `getBitcastedAnyExtOrTrunc` (#96658)

`SelectionDAG::getBitcastedAnyExtOrTrunc` assumes that there is always a
valid
integer type corresponding to another type, which is not always true
when it
comes to vector type. For example, `<3 x i8>` doesn't have a
corresponding
integer type.

Fix SWDEV-464698.


  Commit: 7c50187b7d7a977144372ceff306d21d71e22e26
      https://github.com/llvm/llvm-project/commit/7c50187b7d7a977144372ceff306d21d71e22e26
  Author: Pascal Jungblut <github at pascalj.de>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-non-const-global-variables.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/avoid-non-const-global-variables.cpp

  Log Message:
  -----------
  [clang-tidy] Option to ignore anonymous namespaces in avoid-non-const-global-variables (#93827)

Add an option to ignore warnings for cppcoreguidelines
avoid-non-const-global-variables.

Understandably, the core guidelines discourage non const global
variables, even at the TU level (see
https://github.com/isocpp/CppCoreGuidelines/issues/2195). However,
having a small TU with an interface that uses a non const variable from
an anonymous namespace can be a valid choice.

This adds an option that disables the warning just for anonymous
namespaces, i.e. at the file level. The default is still to show a
warning, just as before.


  Commit: 668ee3f5478c1e1b549923667cf1b8704b1a0bd0
      https://github.com/llvm/llvm-project/commit/668ee3f5478c1e1b549923667cf1b8704b1a0bd0
  Author: Xing Xue <xingxue at outlook.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/AIX.cpp
    M clang/unittests/StaticAnalyzer/CallEventTest.cpp

  Log Message:
  -----------
  [clang] Default to -fno-sized-deallocation for AIX (#97076)

Some `libc++` LIT test cases and user code define their own version of
`operator delete` that are not sized. With `-fno-sized-deallocation`,
destructors call the non-sized `operator delete` and it will be resolved
to the user defined version. However, with `-fsized-deallocation`,
destructors will call the sized `operator delete` which will be resolved
to the weak definition in `libc++abi` because the user code does not
define the corresponding sized version. The `libc++abi` sized `operator
delete` in turn calls the non-sized version of `operator delete` of the
same shared object inside `libc++abi` instead of the user defined
version on AIX because runtime linking is not the default for AIX and
therefore, fails the tests or user code. This patch sets
`-fno-sized-deallocation` as the default for AIX if neither
`-fsize-deallocation` nor `-fno-sized-deallocation` is explicitly set,
similar to what is done for ZOS.


  Commit: dd5df27d9c6b47793b72d4c8f2a796e5d8dc343d
      https://github.com/llvm/llvm-project/commit/dd5df27d9c6b47793b72d4c8f2a796e5d8dc343d
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Utility/SupportFile.h
    M lldb/source/Breakpoint/BreakpointResolver.cpp
    M lldb/source/Commands/CommandObjectSource.cpp
    M lldb/source/Symbol/LineEntry.cpp
    M lldb/source/Symbol/LineTable.cpp
    M lldb/source/Target/ThreadPlanStepOverRange.cpp
    M lldb/source/Target/ThreadPlanStepRange.cpp
    M lldb/unittests/Utility/CMakeLists.txt
    A lldb/unittests/Utility/SupportFileTest.cpp

  Log Message:
  -----------
  [lldb] Make semantics of SupportFile equivalence explicit (#97126)

This is an improved attempt to improve the semantics of SupportFile
equivalence, taking into account the feedback from #95606.

Pavel's comment about the lack of a concise name because the concept
isn't trivial made me realize that I don't want to abstract this concept
away behind a helper function. Instead, I opted for a rather verbose
enum that forces the caller to consider exactly what kind of comparison
is appropriate for every call.


  Commit: ae6549a7d98f848f8b17d709471665c84e5108d5
      https://github.com/llvm/llvm-project/commit/ae6549a7d98f848f8b17d709471665c84e5108d5
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll

  Log Message:
  -----------
  [RISCV] Add build vector coverage for rva22u + V


  Commit: 7e6e4986e64e8528c149d3ba90188248e2f2013c
      https://github.com/llvm/llvm-project/commit/7e6e4986e64e8528c149d3ba90188248e2f2013c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-load-store-asm.ll

  Log Message:
  -----------
  [RISCV] Use EXTLOAD instead of ZEXTLOAD when lowering riscv_masked_strided_load with zero stride. (#97317)

The splat we generate after the load doesn't use the extended bits, so it
shouldn't matter which extend type we use.

EXTLOAD is lowered as SEXTLOAD on every element type except i8.


  Commit: 81f4fb65d891902045b795341b3a263abb19d227
      https://github.com/llvm/llvm-project/commit/81f4fb65d891902045b795341b3a263abb19d227
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/MLInlineAdvisor.cpp

  Log Message:
  -----------
  [MLInliner] Simplify NodeCount bookkeeping (#96576)

Rather than doing delta counting of the total number of functions, just
increment it when we see a new function.


  Commit: 7840c0066837797cdeb62aab63044b964aa7f372
      https://github.com/llvm/llvm-project/commit/7840c0066837797cdeb62aab63044b964aa7f372
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/tools/dsymutil/MachOUtils.cpp

  Log Message:
  -----------
  [MC] Move MCAsmLayout::SectionOrder to MachObjectWriter::SectionOrder

Follow-up to 2c1fb411ce3aed148a278660d215e0f88ff9b9be.

SectionOrder is Mach-O specific to place zerofill sections after
non-zerofill sections in the object writer.


  Commit: ea93c538c78ed191f83026d372bd71dd4a135cbc
      https://github.com/llvm/llvm-project/commit/ea93c538c78ed191f83026d372bd71dd4a135cbc
  Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M libc/config/darwin/arm/entrypoints.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/src/math/CMakeLists.txt
    M libc/src/math/generic/CMakeLists.txt
    M libc/src/math/generic/range_reduction_fma.h
    M libc/src/math/generic/sincosf_utils.h
    A libc/src/math/generic/sinpif.cpp
    A libc/src/math/sinpif.h
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/exhaustive/CMakeLists.txt
    A libc/test/src/math/exhaustive/sinpif_test.cpp
    A libc/test/src/math/sinpif_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/sinpif_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.h

  Log Message:
  -----------
  [libc][math][c23] Implemented sinpif function correctly rounded for all rounding modes. (#97149)

This implements the sinpif function. An exhaustive test shows it's
correct for all rounding modes.

Issue:  #94895


  Commit: da3e60bbe7b683df43563ae7e5ac4722d1f0bc46
      https://github.com/llvm/llvm-project/commit/da3e60bbe7b683df43563ae7e5ac4722d1f0bc46
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M .github/workflows/issue-write.yml

  Log Message:
  -----------
  [Github] Make issue write workflow only run after success/failure (#97341)

This patch makes the issue write workflow only run after success or
failure of the workflow invoking it, preventing it from running where
the original workflow was skipped.

Fixes #97294


  Commit: 781ba3c6b0bc5e4f6b54b43cce94a4aee175ffc1
      https://github.com/llvm/llvm-project/commit/781ba3c6b0bc5e4f6b54b43cce94a4aee175ffc1
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py

  Log Message:
  -----------
  [LLDB] Fix TestGdbRemoteConnection.py on Windows

This fixes TestGdbRemoteConnection.py failing after PR #91570 on
AArch64 Windows LLDB buildbot.

https://lab.llvm.org/buildbot/#/builders/141/builds/376


  Commit: deda50fd7942014d9e51b2e12aaa5362b147befa
      https://github.com/llvm/llvm-project/commit/deda50fd7942014d9e51b2e12aaa5362b147befa
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/OpenMPKinds.h
    M clang/lib/Basic/OpenMPKinds.cpp
    M clang/lib/Sema/SemaOpenMP.cpp

  Log Message:
  -----------
  [clang][OpenMP] Implement `isOpenMPCapturingDirective` (#97090)

Check if the given directive can capture variables, and thus needs a
captured statement.

Simplify some code using this function.


  Commit: 88c0a8258800bbc72e7c0b0586436d4a1c62a260
      https://github.com/llvm/llvm-project/commit/88c0a8258800bbc72e7c0b0586436d4a1c62a260
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h
    M llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.h
    M llvm/lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp
    M llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyAsmBackend.cpp
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaAsmBackend.cpp

  Log Message:
  -----------
  [MC] Make MCAsmBackend::fixupNeedsRelaxation not pure virtual

This hook only needs to be implemented if mayNeedRelaxation may return
true.


  Commit: 6e93e37fe917833ad2d4d09ceda150ffe755b03e
      https://github.com/llvm/llvm-project/commit/6e93e37fe917833ad2d4d09ceda150ffe755b03e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/MCTargetDesc/DirectXMCTargetDesc.cpp
    M llvm/lib/Target/Lanai/MCTargetDesc/LanaiAsmBackend.cpp
    M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVAsmBackend.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp

  Log Message:
  -----------
  [MC] Remove unneeded MC*AsmBackend::fixupNeedsRelaxation overrides

Follow-up to 88c0a8258800bbc72e7c0b0586436d4a1c62a260
("[MC] Make MCAsmBackend::fixupNeedsRelaxation not pure virtual").


  Commit: 938cbdb4cf428bf08558c24d845aeac9174c7022
      https://github.com/llvm/llvm-project/commit/938cbdb4cf428bf08558c24d845aeac9174c7022
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/lib/Parse/Parser.cpp
    M clang/lib/Sema/SemaModule.cpp
    A clang/test/AST/HLSL/export.hlsl
    A clang/test/CodeGenHLSL/export.hlsl
    A clang/test/SemaHLSL/export.hlsl

  Log Message:
  -----------
  [HLSL] Implement `export` keyword (#96823)

Implements `export` keyword in HLSL.

There are two ways the `export` keyword can be used:
1. On individual function declarations
```
export void f() {}
```
2. On a group of function declaration:
```
export {
   void f1();
   void f2() {}
}
```

Functions declared with the `export` keyword have external linkage. The
implementation does not include validation of when a function can or
cannot be exported, such as when it has resource argument or semantic
annotations. That will be covered by llvm/llvm-project#93330.

Currently all function declarations in global or named namespaces have
external linkage by default so there are no specific code changes
required right now to make sure exported function have external linkage
as well. That will change as part of llvm/llvm-project#92071. Any
additional changes to make sure exported functions still have external
linkage will be done as part of this work item.

Fixes #92812


  Commit: 45b360d4a2c751dd5afa0c676e2badf46cd29f01
      https://github.com/llvm/llvm-project/commit/45b360d4a2c751dd5afa0c676e2badf46cd29f01
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/MinGW.cpp
    M clang/unittests/StaticAnalyzer/CallEventTest.cpp

  Log Message:
  -----------
  [clang] Disable C++14 sized deallocation by default for MinGW targets (#97232)

This reverts 130e93cc26ca9d3ac50ec5a92e3109577ca2e702 for the MinGW
target.

This avoids the issue that is discussed in
https://github.com/llvm/llvm-project/issues/96899 (and which is
summarized in the code comment). This is intended as a temporary
workaround until the issue is handled better within libc++.


  Commit: 9f03bc3794423512dbca21accc21c98fe7b82b57
      https://github.com/llvm/llvm-project/commit/9f03bc3794423512dbca21accc21c98fe7b82b57
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h

  Log Message:
  -----------
  [MC] Remove unneeded MC*AsmBackend::fixupNeedsRelaxation overrides

Follow-up to 88c0a8258800bbc72e7c0b0586436d4a1c62a260
("[MC] Make MCAsmBackend::fixupNeedsRelaxation not pure virtual").


  Commit: 3eb795cd0f0c30791a47db105382e275416fdd4f
      https://github.com/llvm/llvm-project/commit/3eb795cd0f0c30791a47db105382e275416fdd4f
  Author: Brad Smith <brad at comstyle.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M third-party/benchmark/src/sysinfo.cc

  Log Message:
  -----------
  [benchmark] Fix OpenBSD build (#97269)

(cherry picked from commit f3ec7b8820ca8136c4e1dad4552608b51b47831a)


  Commit: 7c83b7ef1796210451b839f4c58f2815f4aedfe5
      https://github.com/llvm/llvm-project/commit/7c83b7ef1796210451b839f4c58f2815f4aedfe5
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/lib/MC/MCAsmBackend.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.h
    M llvm/lib/Target/M68k/MCTargetDesc/M68kAsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  [MC] Remove two unused parameters from MCAsmBackend::fixupNeedsRelaxation

fixupNeedsRelaxation is a simple implementation for
fixupNeedsRelaxationAdvanced. Its users do not utilize MCAsmLayout or
MCRelaxableFragment.

Follow-up to 22c7317f1e954b34a46640db5d509bae1c633348
("[MC] Remove the MCAsmLayout parameter from relocation related functions").


  Commit: c686f0cc90b5d322347e4e2f29901e018957cc86
      https://github.com/llvm/llvm-project/commit/c686f0cc90b5d322347e4e2f29901e018957cc86
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  MachObjectWrite::reset: clear SectionAddress and SectionOrder

Otherwise llvm/test/MC/MachO/empty-twice.ll might fail.

Fixes: 7840c0066837797cdeb62aab63044b964aa7f372 ("[MC] Move MCAsmLayout::SectionOrder to MachObjectWriter::SectionOrder")


  Commit: f5dd8450940b003afb446846840cd19b067d327d
      https://github.com/llvm/llvm-project/commit/f5dd8450940b003afb446846840cd19b067d327d
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py

  Log Message:
  -----------
  [LLDB] SkipIf TestPythonOSPlugin.py on Windows

test_run_python_os_step in TestPythonOSPlugin.py fails on Windows
after PR #97043. The test passes when run individually using dotest.py.

I have marked this skipped for windows to make LLDB AArch64 Windows
buildbot happy.

https://github.com/llvm/llvm-project/commit/a4c18137d84bc48df49ee0101bef465a955e62ac
https://lab.llvm.org/buildbot/#/builders/141/builds/379


  Commit: 95038a58268f8aeb7e35ce07fd82bbb3f48e4673
      https://github.com/llvm/llvm-project/commit/95038a58268f8aeb7e35ce07fd82bbb3f48e4673
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py

  Log Message:
  -----------
  [LLDB] Import decorators in TestPythonOSPlugin.py

This fixes a regression caused by my commit where I added test
as skipped using a decorator but forgot to add import decorator
in TestPythonOSPlugin.py


  Commit: 8f7887ad5347f23bac008dad4bfdbab1af5815f7
      https://github.com/llvm/llvm-project/commit/8f7887ad5347f23bac008dad4bfdbab1af5815f7
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h

  Log Message:
  -----------
  [MC] Remove the MCAsmLayout parameter from MCAsmBackend::relax*

finishLayout is now the only member function that has a MCAsmLayout
parameter.


  Commit: 0a8d5f4e599fca394610a690e026c0460fc43270
      https://github.com/llvm/llvm-project/commit/0a8d5f4e599fca394610a690e026c0460fc43270
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M flang/lib/Optimizer/Builder/TemporaryStorage.cpp

  Log Message:
  -----------
  [flang] Use std::make_unique (NFC) (#97238)

This patch is based on clang-tidy's modernize-make-unique but limited
to those cases where type names are mentioned twice like
std::unique_ptr<Type>(new Type()), which is a bit mouthful.


  Commit: 1dc5000cf83a013fc79cc1fa1a215f014ac77451
      https://github.com/llvm/llvm-project/commit/1dc5000cf83a013fc79cc1fa1a215f014ac77451
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  Log Message:
  -----------
  [IndirectCallPromotion] Use ArrayRef<PromotionCandidate> (NFC) (#97236)

Aside from the fact that LLVM Programmer's Manual prefers ArrayRef to
const std::vector &, ArrayRef<PromotionCandidate> here makes it easier
to switch the underlying type to something like SmallVector.  Note
that we typically do not have a lot of candidates.


  Commit: 6d2b4272edf232b105203747c179320aa0aefa11
      https://github.com/llvm/llvm-project/commit/6d2b4272edf232b105203747c179320aa0aefa11
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
    M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp

  Log Message:
  -----------
  [Analysis] Migrate to a new version of getValueProfDataFromInst (#97234)

This patch migrates a use of getValueProfDataFromInst in the indirect
call promotion to a new version.

Without this patch, getProfitablePromotionCandidates is a little
strange in that it takes value profiling data from member variable
ValueDataArray while taking its length as a function parameter.  This
patch rectifies that by teaching the function to refer to
ValueDataArray, which is now a SmallVector.


  Commit: 58004e5bb74de607f2f81649fd5a8db3ee318528
      https://github.com/llvm/llvm-project/commit/58004e5bb74de607f2f81649fd5a8db3ee318528
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M bolt/test/X86/reader-stale-yaml-std.test

  Log Message:
  -----------
  [BOLT,test] Temporarily unsupport reader-stale-yaml-std.test

This test from #74253 relies on particular hash values from Hashing.h.
The test fails in LLVM_ENABLE_ABI_BREAKING_CHECKS=on modes (#96282) or
whenever Hashing.h implementation changes.


  Commit: 59d7d4bc325495b251eb5959b779344298af32f0
      https://github.com/llvm/llvm-project/commit/59d7d4bc325495b251eb5959b779344298af32f0
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M mlir/include/mlir/InitAllPasses.h
    M mlir/lib/Dialect/GPU/Pipelines/GPUToNVVMPipeline.cpp

  Log Message:
  -----------
  [MLIR][NVVM] Remove irrelevant guards (#97345)

This code does not seem to involve the NVPTX backend anywhere.


  Commit: 78804f891c052c2f8eefb2845cc4a4e4e1d68075
      https://github.com/llvm/llvm-project/commit/78804f891c052c2f8eefb2845cc4a4e4e1d68075
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp

  Log Message:
  -----------
  [MC] Remove the evaluateAsAbsolute overload that takes a MCAsmLayout parameter

Continue the MCAsmLayout removal work started by 67957a45ee1ec42ae1671cdbfa0d73127346cc95.


  Commit: 03e46475f510d9d7fa813dcfa1fd91894af39862
      https://github.com/llvm/llvm-project/commit/03e46475f510d9d7fa813dcfa1fd91894af39862
  Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M libc/newhdrgen/yaml_to_classes.py

  Log Message:
  -----------
  [libc] implemented add_function to yaml hdrgen (#97079)

users can now input a new function in the CLI: the yaml, and .h will
be updated instantly
tested on different cases and does not change the yaml format in anyway
except decreasing extra spaces if present


  Commit: ffca4ef5b1a8eff6097454df4b0f212e2393e41e
      https://github.com/llvm/llvm-project/commit/ffca4ef5b1a8eff6097454df4b0f212e2393e41e
  Author: Gábor Horváth <xazax.hun at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [clang] Remove a pointer union from the lifetime bound analysis (#97327)

Since all callers of the API is called with the same type, we do not
actually need the pointer union.


  Commit: f22af401a4535f66751f24ade2a948ef695512d9
      https://github.com/llvm/llvm-project/commit/f22af401a4535f66751f24ade2a948ef695512d9
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [MC,AMDGPU] Migrate MCAsmLayout to MCAssembler


  Commit: bf6f2c1c431943c69892d9b0355da91e95090601
      https://github.com/llvm/llvm-project/commit/bf6f2c1c431943c69892d9b0355da91e95090601
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [CodeGen] Use range-based for loops (NFC) (#97187)


  Commit: e25e8003ca2e9d623666b1cd65d4b98648416dd3
      https://github.com/llvm/llvm-project/commit/e25e8003ca2e9d623666b1cd65d4b98648416dd3
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMCExpr.h
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.h
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.h
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.h
    M llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.cpp
    M llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.h
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.h
    M llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp
    M llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.h
    M llvm/lib/Target/NVPTX/NVPTXMCExpr.h
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.h
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.h
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCExpr.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCExpr.h
    M llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.h
    M llvm/lib/Target/X86/MCTargetDesc/X86MCExpr.h
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCExpr.cpp
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCExpr.h

  Log Message:
  -----------
  MCExpr::evaluateAsRelocatable: replace the MCAsmLayout parameter with MCAssembler

Continue the MCAsmLayout removal work started by 67957a45ee1ec42ae1671cdbfa0d73127346cc95.


  Commit: cbd3f252e3ff2115497c771590f69f1c989b402e
      https://github.com/llvm/llvm-project/commit/cbd3f252e3ff2115497c771590f69f1c989b402e
  Author: Chengjunp <chengjunp at Nvidia.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/Basic/Targets/NVPTX.h
    M llvm/docs/LangRef.rst
    M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.h
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXRegisterInfo.cpp
    M llvm/lib/Target/NVPTX/NVPTXRegisterInfo.td
    A llvm/test/CodeGen/NVPTX/inline-asm-b128-test1.ll
    A llvm/test/CodeGen/NVPTX/inline-asm-b128-test2.ll
    A llvm/test/CodeGen/NVPTX/inline-asm-b128-test3.ll

  Log Message:
  -----------
  [NVPTX] Support inline asm with 128-bit operand in NVPTX backend (#97113)

This change supports the 128-bit operands for inline ptx asm, both input
and output.\
\
The major changes are:

- Tablegen:\
    Define Int128Regs in NVPTXRegisterInfo.td. But this register does
not set as general register type in NVPTX backend so that this change
will not influence the codegen without inline asm.\
    Define three NVPTX intrinsics, IMOV128rr, V2I64toI128 and
I128toV2I64. The first one moves a register, the second one moves two
64-bit registers into one 128-bit register, and the third one just does
the opposite.
- NVPTXISelLowering & NVPTXISelDAGToDAG:\
    Custom lowering CopyToReg and CopyFromReg with 128-bit operands.
CopyToReg deals with the inputs of the inline asm and the CopyFromReg
deals with the outputs.\
    CopyToReg is custom lowered into a V2I64toI128, which takes in the
expanded values(Lo and Hi) of the input, and moves into a 128-bit reg.\
    CopyFromReg is custom lowered by adding a I128toV2I64, which breaks
down the 128-bit outputs of inline asm into the expanded values.


  Commit: bd3215149aa16428666e520ddc94a638e1178437
      https://github.com/llvm/llvm-project/commit/bd3215149aa16428666e520ddc94a638e1178437
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCCodeView.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp

  Log Message:
  -----------
  MCExpr::evaluateKnownAbsolute: replace the MCAsmLayout parameter with MCAssembler

and add a comment.


  Commit: 08969ca159d77905a1e6212f0533c444813cf511
      https://github.com/llvm/llvm-project/commit/08969ca159d77905a1e6212f0533c444813cf511
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Remove RISCVISAInfo::addExtension. NFC

We can edit the map directly at the caller. Many of the callers
already directly call contains or erase on the map. So there's no
good reason to have a wrapper for adding to the map.


  Commit: 4ba9956958b5646853a0abd81a96d935749eef8b
      https://github.com/llvm/llvm-project/commit/4ba9956958b5646853a0abd81a96d935749eef8b
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCLinkerOptimizationHint.h
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/lib/MC/MCLinkerOptimizationHint.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp

  Log Message:
  -----------
  MachObjectWriter: replace the MCAsmLayout parameter with MCAssembler


  Commit: 66cd8ec4c08252ebc73c82e4883a8da247ed146b
      https://github.com/llvm/llvm-project/commit/66cd8ec4c08252ebc73c82e4883a8da247ed146b
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  MCCodeView: replace the MCAsmLayout parameter with MCAssembler


  Commit: b76100e220591fab2bf0a4917b216439f7aa4b09
      https://github.com/llvm/llvm-project/commit/b76100e220591fab2bf0a4917b216439f7aa4b09
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  WasmObjectWriter: replace the MCAsmLayout parameter with MCAssembler


  Commit: c7633ddb28a22a9b9b8d6ee74e911c59ef7d6287
      https://github.com/llvm/llvm-project/commit/c7633ddb28a22a9b9b8d6ee74e911c59ef7d6287
  Author: Vidush Singhal <54336227+vidsinghal at users.noreply.github.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    A llvm/test/Transforms/Attributor/phi_bug_pointer_info.ll

  Log Message:
  -----------
  [Attributor]: Ensure cycle info is not null when handling PHI in AAPointerInfo (#97321)

Ensure cycle info object is not null for simple PHI case

for the test:
`llvm/test/Transforms/Attributor/phi_bug_pointer_info.ll`

Debug info Before the change: 

```
Accesses by bin after update:
[8-12] : 1
     - 9 -   store i32 %0, ptr %field2, align 4
       - c:   %0 = load i32, ptr %val, align 4
[32-36] : 1
     - 9 -   store i32 %1, ptr %field8, align 4
       - c:   %1 = load i32, ptr %val2, align 4
[2147483647-4294967294] : 1
     - 6 -   %ret = load i32, ptr %x, align 4
       - c: <unknown>
```

Debug info After the change: 

```
Accesses by bin after update:
[8-12] : 2
     - 9 -   store i32 %0, ptr %field2, align 4
       - c:   %0 = load i32, ptr %val, align 4
     - 6 -   %ret = load i32, ptr %x, align 4
       - c: <unknown>
[32-36] : 2
     - 9 -   store i32 %1, ptr %field8, align 4
       - c:   %1 = load i32, ptr %val2, align 4
     - 6 -   %ret = load i32, ptr %x, align 4
       - c: <unknown>
```

Co-authored-by: Vidush Singhal <singhal2 at ruby964.llnl.gov>


  Commit: fdd04e8c0c8bf19384901e8104f0643c4537ad73
      https://github.com/llvm/llvm-project/commit/fdd04e8c0c8bf19384901e8104f0643c4537ad73
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  WinCOFFObjectWriter: replace the MCAsmLayout parameter with MCAssembler


  Commit: 557168767607dbf640b57bbfb97d870e6de07d4e
      https://github.com/llvm/llvm-project/commit/557168767607dbf640b57bbfb97d870e6de07d4e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp

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

This patch fixes:

  llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp:389:9:
  error: unused variable 'Layout' [-Werror,-Wunused-variable]


  Commit: a7ddd605ca0a228fb1cf6b6aeb21f458778a8f69
      https://github.com/llvm/llvm-project/commit/a7ddd605ca0a228fb1cf6b6aeb21f458778a8f69
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  XCOFFObjectWriter: replace the MCAsmLayout parameter with MCAssembler


  Commit: e8e05c3192af5c4a71cd2af03c1425158fc647cd
      https://github.com/llvm/llvm-project/commit/e8e05c3192af5c4a71cd2af03c1425158fc647cd
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  [MC] Remove the MCAsmLayout parameter from MCAsmBackend::finishLayout

And remove unnecessary MCAssembler::finishLayout.


  Commit: 926d142ece6a99da3f6d3438e9b2ab8ca31ac3a9
      https://github.com/llvm/llvm-project/commit/926d142ece6a99da3f6d3438e9b2ab8ca31ac3a9
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp

  Log Message:
  -----------
  [LoongArch] Remove unneeded MCAsmLayout


  Commit: 057f28be3e1188de518bcbf007fee759aa7e812a
      https://github.com/llvm/llvm-project/commit/057f28be3e1188de518bcbf007fee759aa7e812a
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/include/llvm/MC/MCObjectWriter.h
    M llvm/lib/Analysis/InlineSizeEstimatorAnalysis.cpp
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/MC/GOFFObjectWriter.cpp
    M llvm/lib/MC/MCDXContainerWriter.cpp
    M llvm/lib/MC/MCLinkerOptimizationHint.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.h
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp

  Log Message:
  -----------
  [MC] Remove unused MCAsmLayout declarations and includes


  Commit: e3e0df391c7116b519499aab2eba8990c647cdf5
      https://github.com/llvm/llvm-project/commit/e3e0df391c7116b519499aab2eba8990c647cdf5
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M bolt/include/bolt/Rewrite/DWARFRewriter.h
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Replace the MCAsmLayout parameter with MCAssembler

Continue the MCAsmLayout removal work started by 67957a45ee1ec42ae1671cdbfa0d73127346cc95.


  Commit: bbb50369a149d9a7d1f91efaaabf75c260a220c7
      https://github.com/llvm/llvm-project/commit/bbb50369a149d9a7d1f91efaaabf75c260a220c7
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp

  Log Message:
  -----------
  [MC] Use a stub ctor for MCAsmLayout

and replace MCAssembler::Layout with a bool.
This mostly completes "[MC] Start merging MCAsmLayout into MCAssembler".


  Commit: 63ec52f867ada8d841dd872acf3d0cb62e2a99e8
      https://github.com/llvm/llvm-project/commit/63ec52f867ada8d841dd872acf3d0cb62e2a99e8
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M bolt/lib/Core/BinaryContext.cpp
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/tools/dsymutil/MachOUtils.cpp

  Log Message:
  -----------
  MCAssembler::layout: remove the unused MCAsmLayout parameter

Almost complete the MCAsmLayout removal work started by 67957a45ee1ec42ae1671cdbfa0d73127346cc95.


  Commit: 299d3ddc618e9a95aa1050e4c1a7dfddbcd94395
      https://github.com/llvm/llvm-project/commit/299d3ddc618e9a95aa1050e4c1a7dfddbcd94395
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Simplify some control flow in RISCVISAInfo::parseArchString. NFC

Merge handling of the baseline ISA into the switch that checks if
the baseline is valid.

Invert a condition to allow a better early out to reduce curly braces.


  Commit: 9b8c2fae38bcff0b16d996ee002ff1e989fa23ea
      https://github.com/llvm/llvm-project/commit/9b8c2fae38bcff0b16d996ee002ff1e989fa23ea
  Author: Alfiya Siddique <86224794+AlfiyaSiddique at users.noreply.github.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  fix: complete comment (#97322)

Completing a comment related to dependent template names that abruptly
ended and might cause confusion for beginner contributors.

Fixes #96718


  Commit: a95c85fba5fde0db8f128cf5564ac333e2b1f90f
      https://github.com/llvm/llvm-project/commit/a95c85fba5fde0db8f128cf5564ac333e2b1f90f
  Author: Youngsuk Kim <joseph942010 at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/MIRPrinter.cpp
    M llvm/lib/CodeGen/MachineOutliner.cpp
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
    M llvm/lib/CodeGen/TargetInstrInfo.cpp

  Log Message:
  -----------
  [llvm][CodeGen] Avoid 'raw_string_ostream::str' (NFC) (#97318)

Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.

Work towards TODO comment to remove `raw_string_ostream::str()`.


  Commit: a833fa7d3ef0ca993e7e788b45349c3246e2995e
      https://github.com/llvm/llvm-project/commit/a833fa7d3ef0ca993e7e788b45349c3246e2995e
  Author: Yunzezhu94 <93851382+Yunzezhu94 at users.noreply.github.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    M llvm/test/CodeGen/RISCV/O3-pipeline.ll

  Log Message:
  -----------
  [RISCV] Move Machine Copy Propagation Pass before Branch relaxation pass (#97261)

Machine Copy Propagation Pass may enlarge branch relaxation distance by
breaking generation of compressed insts. This commit moves Machine Copy
Propagation Pass before Branch relaxation pass so the results of Branch
relaxation pass won't be affected by Machine Copy Propagation Pass.


  Commit: 0330ce99c2992a26ed55a867b825763966034634
      https://github.com/llvm/llvm-project/commit/0330ce99c2992a26ed55a867b825763966034634
  Author: Dmitriy Chestnykh <dm.chestnykh at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M compiler-rt/lib/asan/asan_suppressions.cpp
    M compiler-rt/lib/sanitizer_common/sancov_flags.cpp

  Log Message:
  -----------
  [compiler-rt] Remove redundant checks. (#95753)

Since `__sancov_default_options` and `__asan_default_suppressions` are
weak definitions, not weak references (declarations) the checks of
equality of addresses of these symbols to zero is not needed. So we can
completely remove `MaybeCallSancovDefaultOptions` and use
`__sancov_default_options` instead directly. gcc-14 emits `-Waddress`
warning to such checks.


  Commit: a07909ff11327baa72a4644dca7c6951ac6be902
      https://github.com/llvm/llvm-project/commit/a07909ff11327baa72a4644dca7c6951ac6be902
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  Log Message:
  -----------
  [IndirectCallPromotion] Migrate to a new version of getValueProfDataFromInst (#97357)


  Commit: 122db8b2cb7fa43ce1d6dc17148080579fcfb55a
      https://github.com/llvm/llvm-project/commit/122db8b2cb7fa43ce1d6dc17148080579fcfb55a
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/docs/tools/clang-formatted-files.txt
    R llvm/include/llvm/MC/MCAsmLayout.h

  Log Message:
  -----------
  Remove llvm/MC/MCAsmLayout.h

This complete the MCAsmLayout removal work started by 67957a45ee1ec42ae1671cdbfa0d73127346cc95.


  Commit: fb6e024f49ddbf1a018eccab7ccfa7c1f41964d0
      https://github.com/llvm/llvm-project/commit/fb6e024f49ddbf1a018eccab7ccfa7c1f41964d0
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssembly.td
    M llvm/test/CodeGen/WebAssembly/call-indirect.ll
    M llvm/test/CodeGen/WebAssembly/function-pointer64.ll
    M llvm/test/CodeGen/WebAssembly/reg-stackify.ll
    M llvm/test/CodeGen/WebAssembly/swiftcc.ll
    M llvm/test/CodeGen/WebAssembly/target-features-cpus.ll
    M llvm/test/MC/WebAssembly/function-alias.ll
    M llvm/test/MC/WebAssembly/no-dead-strip.ll

  Log Message:
  -----------
  [WebAssembly] Update generic and bleeding-edge CPUs (#96584)

This updates the list of features in 'generic' and 'bleeding-edge' CPUs
in the backend to match

https://github.com/llvm/llvm-project/blob/4e0a0eae58f7a6998866719f7eb970096a2a52e9/clang/lib/Basic/Targets/WebAssembly.cpp#L150-L178

This updates existing CodeGen tests in a way that, if a test has
separate RUN lines for a reference-types test and a non-reference-types
test, I added -mattr=-reference-types to the no-reftype test's RUN
command line. I didn't delete existing -mattr=+reference-types lines in
reftype tests because having it helps readability.

Also, when tests is not really about reference-types but they have to
updated because they happen to contain call_indirect lines because now
call_indirect will take __indirect_function_table as an argument, I just
added the table argument to the expected output.

`target-features-cpus.ll` has been updated reflecting the newly added
features.


  Commit: c72cb2766cec0ac519a051780ae5aed42485e012
      https://github.com/llvm/llvm-project/commit/c72cb2766cec0ac519a051780ae5aed42485e012
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [MC] Remove assert to work around BOLT

BOLT used a dummy `MCAsmLayout` to call `getSymbolOffset`, which is
technically not supported. There is some discussion in
https://reviews.llvm.org/D154604 that this is not ideal.
For now, remove the assert.

The assert was added by bbb50369a149d9a7d1f91efaaabf75c260a220c7.


  Commit: 18f3bcbb13ca83d33223b00761d8cddf463e9ffb
      https://github.com/llvm/llvm-project/commit/18f3bcbb13ca83d33223b00761d8cddf463e9ffb
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGVTables.cpp
    A clang/test/Modules/pr97313.cppm

  Log Message:
  -----------
  [C++20] [Modules] Correct the linkage for template instantiations in
named modules

Close https://github.com/llvm/llvm-project/issues/97313

In the previous patch (https://github.com/llvm/llvm-project/pull/75912),
I made an oversight that I ignored the templates in named module when
calculating the linkage for the vtables. In this patch, I tried to
correct the behavior by merging the logics to calculate the linkage with
key functions with named modules.


  Commit: 471ca9496f8a6c8253cc9db1a0aa72b6826d7f33
      https://github.com/llvm/llvm-project/commit/471ca9496f8a6c8253cc9db1a0aa72b6826d7f33
  Author: harishch4 <harishcse44 at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    A flang/test/Semantics/OpenMP/doconcurrent01.f90

  Log Message:
  -----------
  [Flang][OpenMP]Make Do concurrent indices private (#93785)

Fixes: #85538


  Commit: 410de0c8c831a4a63075dd03f80ca83205860746
      https://github.com/llvm/llvm-project/commit/410de0c8c831a4a63075dd03f80ca83205860746
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M lldb/source/Commands/CMakeLists.txt
    R lldb/source/Commands/CommandObjectScript.cpp
    R lldb/source/Commands/CommandObjectScript.h
    A lldb/source/Commands/CommandObjectScripting.cpp
    A lldb/source/Commands/CommandObjectScripting.h
    M lldb/source/Commands/Options.td
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/test/API/functionalities/abbreviation/TestAbbreviations.py

  Log Message:
  -----------
  [lldb/Commands] Alias `script` command to `scripting run` (#97263)

This patch introduces a new top-level `scripting` command with an `run`
sub-command, that basically replaces the `script` raw command.

To avoid breaking the `script` command usages, this patch also adds an
`script` alias to the `scripting run` sub-command.

The reason behind this change is to have a top-level command that will
cover scripting related subcommands.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>


  Commit: 6f60d2b807a4a719ac98288aec961dbb8433bb4b
      https://github.com/llvm/llvm-project/commit/6f60d2b807a4a719ac98288aec961dbb8433bb4b
  Author: Job Henandez Lara <hj93 at protonmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/FMulTest.h
    A libc/test/src/math/fmul_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.h

  Log Message:
  -----------
  [libc] Add mpfr tests for fmul. (#97376)

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


  Commit: 91c0ef6f67821eb7298cb05988045e92354ac77b
      https://github.com/llvm/llvm-project/commit/91c0ef6f67821eb7298cb05988045e92354ac77b
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp

  Log Message:
  -----------
  [lldb] [ObjectFileMachO] BSS segments are loadable segments (#96983)

ObjectFileMachO::SetLoadAddress sets the address of each segment in a
binary in a Target, but it ignores segments that are not loaded in the
virtual address space. It was marking segments that were purely BSS --
having no content in the file, but in zero-initialized memory when
running in the virtual address space -- as not-loadable, unless they
were named "DATA". This works pretty well for typical userland binaries,
but in less Darwin environments, there may be BSS segments with other
names, that ARE loadable.

I looked at the origin of SectionIsLoadable's check for this, and it was
a cleanup by Greg in 2018 where we had three different implementations
of the idea in ObjectFileMachO and one of them skipped zero-file-size
segments (BSS), which made it into the centralized SectionIsLoadable
method.

Also add some logging to the DynamicLoader log channel when loading a
binary - it's the first place I look when debugging segment address
setting bugs, and it wasn't emitting anything.

rdar://129870649


  Commit: 7ee421d29612ae919edfe7250b87e3c738d66a26
      https://github.com/llvm/llvm-project/commit/7ee421d29612ae919edfe7250b87e3c738d66a26
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGDeclCXX.cpp
    A clang/test/Modules/pr97244.cppm

  Log Message:
  -----------
  [C++20] [Modules] Skip calls to module initializer to modules if we know the module doesn't init anything

Close https://github.com/llvm/llvm-project/issues/97244

This is an optimization allowed by the modules's ABI to skip calls to
imported modules for which we know nothing will be initialized.


  Commit: cd1e6a587be6352f63f180b1ff5e0a348a8da444
      https://github.com/llvm/llvm-project/commit/cd1e6a587be6352f63f180b1ff5e0a348a8da444
  Author: Yashwant Singh <yashwants at nvidia.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
    A llvm/test/Transforms/PhaseOrdering/generate-fabs.ll
    A llvm/test/Transforms/SROA/propagate-fast-math-flags-on-phi.ll

  Log Message:
  -----------
  [SROA] Propagate no-signed-zeros(nsz) fast-math flag on the phi node using function attribute (#83381)

Its expected that the sequence `return X > 0.0 ? X : -X`, compiled with
-Ofast, produces fabs intrinsic. However, at this point, LLVM is unable
to do so.

The above sequence goes through the following transformation during the
pass pipeline:
1) SROA pass generates the phi node. Here, it does not infer the
fast-math flags on the phi node unlike clang frontend typically does.
2) Phi node eventually gets translated into select instruction. 
Because of missing no-signed-zeros(nsz) fast-math flag on the select
instruction, InstCombine pass fails to fold the sequence into fabs
intrinsic.

This patch, as a part of SROA, tries to propagate nsz fast-math flag on
the phi node using function attribute enabling this folding.

Closes #51601

Co-authored-by: Sushant Gokhale <sgokhale at nvidia.com>


  Commit: 4468c3dd538b3ec6e4c32d0269d8e7ebbeb0bdc5
      https://github.com/llvm/llvm-project/commit/4468c3dd538b3ec6e4c32d0269d8e7ebbeb0bdc5
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Linux.cpp

  Log Message:
  -----------
  [NFC][RISCV] Simplify the dynamic linker construction logic

The format of dynamic linker is `ld-linux-{arch}-{abi}.so.1`, so
we can just get the arch name from arch type.

Reviewers: asb, kito-cheng, MaskRay

Reviewed By: MaskRay

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


  Commit: 135483bf968bc72a9544a9f2640f73f196ca8cbc
      https://github.com/llvm/llvm-project/commit/135483bf968bc72a9544a9f2640f73f196ca8cbc
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/include/clang/Driver/ToolChain.h
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    A clang/test/Driver/Inputs/basic_baremetal_tree/bin/.keep
    A clang/test/Driver/Inputs/basic_baremetal_tree/include/armv6m-unknown-none-eabi/.keep
    A clang/test/Driver/Inputs/basic_baremetal_tree/include/armv6m-unknown-none-eabi/c++/v1/.keep
    A clang/test/Driver/Inputs/basic_baremetal_tree/include/c++/v1/.keep
    A clang/test/Driver/Inputs/basic_baremetal_tree/lib/armv6m-unknown-none-eabi/.keep
    M clang/test/Driver/baremetal.cpp

  Log Message:
  -----------
  [Driver] Support using toolchain libc and libc++ for baremetal (#96736)

We want to support using a complete Clang/LLVM toolchain that includes
LLVM libc and libc++ for baremetal targets. To do so, we need the driver
to add the necessary include paths.


  Commit: 54f040fff301a629f2ed032863408ed119789b0e
      https://github.com/llvm/llvm-project/commit/54f040fff301a629f2ed032863408ed119789b0e
  Author: Gedare Bloom <gedare at rtems.org>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/ConfigParseTest.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Add SpacesInParensOption for filtering repeated parens (#77522)

The __attribute((specifier-list)) currently is formatted based on the
SpacesInParensOptions.Other (previously, SpacesInParentheses). This
change allows finer control over addition of spaces between the
consecutive parens, and between the inner parens and the list of
attribute specifiers.

Differential Revision: https://reviews.llvm.org/D155529

This is migrated from Phabricator, see more discussion there.

---------

Co-authored-by: Owen Pan <owenpiano at gmail.com>


  Commit: 01e96c86497ac9670e1168134870beb99cbd4d8f
      https://github.com/llvm/llvm-project/commit/01e96c86497ac9670e1168134870beb99cbd4d8f
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lldb/source/Utility/Listener.cpp

  Log Message:
  -----------
  [lldb] Don't unregister a listener that's being destroyed (#97300)

It's not necessary because the broadcasters hold a weak_ptr (*) to it,
and will delete the weak_ptr next time they try to lock it. Doing this
prevents recursion in RemoveListener, where the function can end up
holding the only shared_ptr to a listener, and its destruction can
trigger another call to RemoveListener -- which will mess up the state
of the first instance.

This is the same bug that we've have fixed in
https://reviews.llvm.org/D23406, but it was effectively undone in
https://reviews.llvm.org/D157556. With the addition of a primary
listener, a fix like D23406 becomes unwieldy (and it has already shown
itself to be fragile), which is why this patch attempts a different
approach.

Like in 2016, I don't know a good way to unit test this bug, since it
depends on precise timing, but the thing I like about this approach is
that it enables us to change the broadcaster mutex into a non-recursive
one. While that doesn't prevent the bug from happening again, it will
make it much easier to spot in the future, as the code will hang with a
smoking gun (instead of crashing a little while later). I'm going to
attempt that in a separate patch to minimize disruption.

(*) Technically a broadcaster holds the *primary* listener as a
shared_ptr, but that's still ok as it means that listener will not get
destroyed until it is explicitly removed.


  Commit: 8a25bb9b391bd13d824b1df43187b4c304011cee
      https://github.com/llvm/llvm-project/commit/8a25bb9b391bd13d824b1df43187b4c304011cee
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/known-bits.ll

  Log Message:
  -----------
  [InstCombine] Add test for #97330 (NFC)


  Commit: 2dd14065571c7063d895108f3d5f57867dfe4de3
      https://github.com/llvm/llvm-project/commit/2dd14065571c7063d895108f3d5f57867dfe4de3
  Author: Konrad Kleine <kkleine at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/CMakeLists.txt
    R llvm/llvm.spec.in

  Log Message:
  -----------
  [llvm] remove unusable llvm.spec.in (#96825)

The `llvm.spec.in` is turned into `llvm.spec` through cmake. The spec
file's `%build` section runs `./configure` which has been deprecated
since 2016 (See e49730d4baa8443ad56f59bd8066bf4c1e56ea72).


  Commit: fdcfb277465e4530e5837fb8a95031794e58cb9b
      https://github.com/llvm/llvm-project/commit/fdcfb277465e4530e5837fb8a95031794e58cb9b
  Author: Donát Nagy <donat.nagy at ericsson.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-2.c
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-any-pointer.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-warn-on-sizeof-pointer-to-aggregate.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp

  Log Message:
  -----------
  [clang-tidy] Clarify diagnostics of bugprone-sizeof-expression (#95550)

… because they were strangely worded and in a few cases outright
incorrect.


  Commit: b558ac0eef57a3737b1e27844115fa91e0b32582
      https://github.com/llvm/llvm-project/commit/b558ac0eef57a3737b1e27844115fa91e0b32582
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/assume-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/assume.ll
    M llvm/test/Transforms/InstCombine/known-bits.ll

  Log Message:
  -----------
  [InstCombine] Fix context for multi-use demanded bits simplification

When simplifying a multi-use root value, the demanded bits were
reset to full, but we also need to reset the context extract. To
make this convenient (without requiring by-value passing of
SimplifyQuery), move the logic that that handles constants and
dispatches to SimplifyDemandedUseBits/SimplifyMultipleUseDemandedBits
into SimplifyDemandedBits. The SimplifyDemandedInstructionBits
caller starts with full demanded bits and an appropriate context
anyway.

The different context instruction does mean that the ephemeral
value protection no longer triggers in some cases, as the changes
to assume tests show.

An alternative, which I will explore in a followup, is to always
use SimplifyMultipleUseDemandedBits() -- the previous root special
case is only really intended for SimplifyDemandedInstructionBits(),
which now no longer shares this code path.

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


  Commit: 12c1156207e8c0d63701487f210ce90c4b7da938
      https://github.com/llvm/llvm-project/commit/12c1156207e8c0d63701487f210ce90c4b7da938
  Author: Daniil Fukalov <1671137+dfukalov at users.noreply.github.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/AlwaysInliner.cpp
    M llvm/test/Transforms/Inline/always-inline-phase-ordering.ll

  Log Message:
  -----------
  [NFC][AlwaysInliner] Reduce AlwaysInliner memory consumption. (#96958)

Refactored AlwaysInliner to remove some of inlined functions earlier.

Before the change AlwaysInliner walked through all functions in the
module and inlined them into calls where it is appropriate. Removing of
the dead inlined functions was performed only after all of inlining. For
the test case from the issue
[59126](https://github.com/llvm/llvm-project/issues/59126) compiler
consumes all of the memory on 64GB machine, so is killed.

The change checks if just inlined function can be removed from the
module and removes it.


  Commit: 167c860ba209fc584f72d04c48091b40ae3a5610
      https://github.com/llvm/llvm-project/commit/167c860ba209fc584f72d04c48091b40ae3a5610
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/assume-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/assume.ll
    M llvm/test/Transforms/InstCombine/known-bits.ll

  Log Message:
  -----------
  Revert "[InstCombine] Fix context for multi-use demanded bits simplification"

This reverts commit b558ac0eef57a3737b1e27844115fa91e0b32582.

This breaks a clang test, reverting for now.


  Commit: 86b37944a70229b07626e63bdb9a46b4bc3d1460
      https://github.com/llvm/llvm-project/commit/86b37944a70229b07626e63bdb9a46b4bc3d1460
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/test/CodeGen/inline-asm-x86-flag-output.c
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/assume-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/assume.ll
    M llvm/test/Transforms/InstCombine/known-bits.ll

  Log Message:
  -----------
  Reapply [InstCombine] Fix context for multi-use demanded bits simplification

Repplied with a clang test fix.

-----

When simplifying a multi-use root value, the demanded bits were
reset to full, but we also need to reset the context instruction.
To make this convenient (without requiring by-value passing of
SimplifyQuery), move the logic that handles constants and
dispatches to SimplifyDemandedUseBits/SimplifyMultipleUseDemandedBits
into SimplifyDemandedBits. The SimplifyDemandedInstructionBits
caller starts with full demanded bits and an appropriate context
anyway.

The different context instruction does mean that the ephemeral
value protection no longer triggers in some cases, as the changes
to assume tests show.

An alternative, which I will explore in a followup, is to always
use SimplifyMultipleUseDemandedBits() -- the previous root special
case is only really intended for SimplifyDemandedInstructionBits(),
which now no longer shares this code path.

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


  Commit: 05670b42f5b45710bfdba48dcb7e8c30c8c7478f
      https://github.com/llvm/llvm-project/commit/05670b42f5b45710bfdba48dcb7e8c30c8c7478f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/test/CodeGen/inline-asm-x86-flag-output.c
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Analysis/ValueTracking/phi-known-bits.ll
    M llvm/test/Transforms/InstCombine/assume-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/assume.ll

  Log Message:
  -----------
  [InstCombine] Remove root special case in demanded bits simplification

When calling SimplifyDemandedBits (as opposed to
SimplifyDemandedInstructionBits), and there are multiple uses,
always use SimplifyMultipleUseDemandedBits and drop the special
case for root values.

This fixes the ephemeral value detection, as seen by the restored
assumes in tests. It may result in more or less simplification,
depending on whether we get more out of having demanded bits or
the ability to perform non-multi-use transforms. The change in
the phi-known-bits.ll test is because the icmp operand now gets
simplified based on demanded bits, which then prevents a different
known bits simplification later.

This also makes the code safe against future changes like
https://github.com/llvm/llvm-project/pull/97289, which add more
context that would have to be discarded for the multi-use case.


  Commit: 54811a9b1194d8239cc28c2a974228ffadf80100
      https://github.com/llvm/llvm-project/commit/54811a9b1194d8239cc28c2a974228ffadf80100
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lldb/test/Shell/SymbolFile/DWARF/x86/dwp-foreign-type-units.cpp

  Log Message:
  -----------
  [lldb][test] Mark dwp foreign type units test unsupported on Windows

This test has been flaky on Linaro's Windows on Arm bot:
https://lab.llvm.org/buildbot/#/builders/141/builds/425


  Commit: d7da0ae4f46cb8731910cc30251105c88aeae12c
      https://github.com/llvm/llvm-project/commit/d7da0ae4f46cb8731910cc30251105c88aeae12c
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/GPU/Transforms/ModuleToBinary.cpp
    M mlir/lib/Target/LLVM/NVVM/Target.cpp

  Log Message:
  -----------
  [MLIR][NVVM] Reduce the scope of the LLVM_HAS_NVPTX_TARGET guard (#97349)

Most of the code here does not depend on the NVPTX target. In particular
the simple offload can just emit LLVM IR and we can use this without the
NVVM backend being built, which can be useful for a frontend that just
need to serialize the IR and leave it up to the runtime to JIT further.


  Commit: 9ceb45cc191628926496bd33b4d52011ed519151
      https://github.com/llvm/llvm-project/commit/9ceb45cc191628926496bd33b4d52011ed519151
  Author: Lukacma <Marian.Lukac at arm.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    A llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-comb-no-active-lanes-stores.ll

  Log Message:
  -----------
  [AArch64][SVE] optimisation for unary SVE store intrinsics with no active lanes (#95793)

This patch extends https://github.com/llvm/llvm-project/pull/73964 and
adds optimisation of store SVE intrinsics when predicate is zero.


  Commit: 01134e69d29370ee9dbd7d281abaa27063f21396
      https://github.com/llvm/llvm-project/commit/01134e69d29370ee9dbd7d281abaa27063f21396
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M mlir/unittests/Analysis/Presburger/ParserTest.cpp

  Log Message:
  -----------
  Presburger/test: increase coverage of parser (#95705)

In preparation to write a free-standing parser for Presburger, improve
the test coverage of the existing parser.


  Commit: db791b278a414fb6df1acc1799adcf11d8fb9169
      https://github.com/llvm/llvm-project/commit/db791b278a414fb6df1acc1799adcf11d8fb9169
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
    M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
    M flang/include/flang/Optimizer/Dialect/FirAliasTagOpInterface.h
    M flang/include/flang/Optimizer/Dialect/FortranVariableInterface.td
    M flang/include/flang/Optimizer/Dialect/Support/KindMapping.h
    M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/CodeGenOpenMP.cpp
    M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
    M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
    M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
    M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/lib/Optimizer/Dialect/FirAliasTagOpInterface.cpp
    M flang/lib/Optimizer/Dialect/FortranVariableInterface.cpp
    M flang/lib/Optimizer/Dialect/Support/KindMapping.cpp
    M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/SimplifyHLFIRIntrinsics.cpp
    M flang/lib/Optimizer/Transforms/AbstractResult.cpp
    M flang/lib/Optimizer/Transforms/AffineDemotion.cpp
    M flang/lib/Optimizer/Transforms/AffinePromotion.cpp
    M flang/lib/Optimizer/Transforms/ArrayValueCopy.cpp
    M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
    M flang/lib/Optimizer/Transforms/CharacterConversion.cpp
    M flang/lib/Optimizer/Transforms/ConstantArgumentGlobalisation.cpp
    M flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
    M flang/lib/Optimizer/Transforms/MemoryAllocation.cpp
    M flang/lib/Optimizer/Transforms/PolymorphicOpConversion.cpp
    M flang/lib/Optimizer/Transforms/StackArrays.cpp
    M flang/tools/bbc/bbc.cpp
    M flang/tools/tco/tco.cpp
    A llvm/include/llvm/Support/LogicalResult.h
    M mlir/docs/PDLL.md
    M mlir/docs/Tutorials/Toy/Ch-2.md
    M mlir/docs/Tutorials/Toy/Ch-3.md
    M mlir/docs/Tutorials/Toy/Ch-5.md
    M mlir/examples/standalone/lib/Standalone/StandalonePasses.cpp
    M mlir/examples/standalone/standalone-translate/standalone-translate.cpp
    M mlir/examples/toy/Ch2/mlir/Dialect.cpp
    M mlir/examples/toy/Ch2/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch3/mlir/Dialect.cpp
    M mlir/examples/toy/Ch3/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch3/mlir/ToyCombine.cpp
    M mlir/examples/toy/Ch3/toyc.cpp
    M mlir/examples/toy/Ch4/mlir/Dialect.cpp
    M mlir/examples/toy/Ch4/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch4/mlir/ToyCombine.cpp
    M mlir/examples/toy/Ch4/toyc.cpp
    M mlir/examples/toy/Ch5/mlir/Dialect.cpp
    M mlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp
    M mlir/examples/toy/Ch5/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch5/mlir/ToyCombine.cpp
    M mlir/examples/toy/Ch5/toyc.cpp
    M mlir/examples/toy/Ch6/mlir/Dialect.cpp
    M mlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp
    M mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
    M mlir/examples/toy/Ch6/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch6/mlir/ToyCombine.cpp
    M mlir/examples/toy/Ch6/toyc.cpp
    M mlir/examples/toy/Ch7/mlir/Dialect.cpp
    M mlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp
    M mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
    M mlir/examples/toy/Ch7/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch7/mlir/ToyCombine.cpp
    M mlir/examples/toy/Ch7/toyc.cpp
    M mlir/examples/transform-opt/mlir-transform-opt.cpp
    M mlir/examples/transform/Ch4/lib/MyExtension.cpp
    M mlir/include/mlir/Analysis/FlatLinearValueConstraints.h
    M mlir/include/mlir/Bytecode/BytecodeImplementation.h
    M mlir/include/mlir/Bytecode/BytecodeOpInterface.h
    M mlir/include/mlir/Bytecode/BytecodeReader.h
    M mlir/include/mlir/Bytecode/BytecodeReaderConfig.h
    M mlir/include/mlir/CAPI/Support.h
    M mlir/include/mlir/Conversion/AffineToStandard/AffineToStandard.h
    M mlir/include/mlir/Conversion/ConvertToLLVM/ToLLVMInterface.h
    M mlir/include/mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h
    M mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
    M mlir/include/mlir/Conversion/SCFToGPU/SCFToGPU.h
    M mlir/include/mlir/Conversion/VectorToGPU/VectorToGPU.h
    M mlir/include/mlir/Debug/CLOptionsSetup.h
    M mlir/include/mlir/Dialect/AMDGPU/Utils/Chipset.h
    M mlir/include/mlir/Dialect/Affine/Analysis/AffineStructures.h
    M mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h
    M mlir/include/mlir/Dialect/Affine/LoopUtils.h
    M mlir/include/mlir/Dialect/Affine/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/Affine/Utils.h
    M mlir/include/mlir/Dialect/Arith/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td
    M mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotModuleBufferize.h
    M mlir/include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.td
    M mlir/include/mlir/Dialect/GPU/Transforms/ParallelLoopMapper.h
    M mlir/include/mlir/Dialect/GPU/Transforms/Utils.h
    M mlir/include/mlir/Dialect/IRDL/IR/IRDLInterfaces.h
    M mlir/include/mlir/Dialect/IRDL/IR/IRDLTraits.h
    M mlir/include/mlir/Dialect/IRDL/IRDLLoading.h
    M mlir/include/mlir/Dialect/IRDL/IRDLVerifiers.h
    M mlir/include/mlir/Dialect/Linalg/TransformOps/GPUHeuristics.h
    M mlir/include/mlir/Dialect/Linalg/TransformOps/Syntax.h
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/MemRef/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/Mesh/Transforms/Spmdization.h
    M mlir/include/mlir/Dialect/NVGPU/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.td
    M mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h
    M mlir/include/mlir/Dialect/SCF/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/SCF/Utils/AffineCanonicalizationUtils.h
    M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorInterfaces.td
    M mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.h
    M mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.td
    M mlir/include/mlir/Dialect/Transform/Transforms/TransformInterpreterUtils.h
    M mlir/include/mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h
    M mlir/include/mlir/ExecutionEngine/JitRunner.h
    M mlir/include/mlir/IR/Action.h
    M mlir/include/mlir/IR/AffineExpr.h
    M mlir/include/mlir/IR/AffineExprVisitor.h
    M mlir/include/mlir/IR/AffineMap.h
    M mlir/include/mlir/IR/BuiltinAttributeInterfaces.h
    M mlir/include/mlir/IR/BuiltinAttributeInterfaces.td
    M mlir/include/mlir/IR/Diagnostics.h
    M mlir/include/mlir/IR/Dialect.h
    M mlir/include/mlir/IR/EnumAttr.td
    M mlir/include/mlir/IR/ExtensibleDialect.h
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/include/mlir/IR/StorageUniquerSupport.h
    M mlir/include/mlir/IR/SymbolInterfaces.td
    M mlir/include/mlir/IR/TensorEncoding.td
    M mlir/include/mlir/IR/Verifier.h
    M mlir/include/mlir/IR/Visitors.h
    M mlir/include/mlir/Interfaces/DataLayoutInterfaces.td
    M mlir/include/mlir/Interfaces/FoldInterfaces.h
    M mlir/include/mlir/Interfaces/FunctionInterfaces.td
    M mlir/include/mlir/Interfaces/InferTypeOpInterface.td
    M mlir/include/mlir/Interfaces/LoopLikeInterface.td
    M mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
    M mlir/include/mlir/Interfaces/TilingInterface.td
    M mlir/include/mlir/Pass/Pass.h
    M mlir/include/mlir/Pass/PassManager.h
    M mlir/include/mlir/Pass/PassOptions.h
    M mlir/include/mlir/Query/Query.h
    M mlir/include/mlir/Reducer/ReductionNode.h
    M mlir/include/mlir/Support/LLVM.h
    M mlir/include/mlir/Support/LogicalResult.h
    M mlir/include/mlir/Support/StorageUniquer.h
    M mlir/include/mlir/Support/ToolUtilities.h
    M mlir/include/mlir/Target/Cpp/CppEmitter.h
    M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
    M mlir/include/mlir/Target/LLVMIR/LLVMImportInterface.h
    M mlir/include/mlir/Target/LLVMIR/LLVMTranslationInterface.h
    M mlir/include/mlir/Target/SPIRV/Serialization.h
    M mlir/include/mlir/Tools/PDLL/AST/Diagnostic.h
    M mlir/include/mlir/Tools/PDLL/CodeGen/MLIRGen.h
    M mlir/include/mlir/Tools/PDLL/Parser/Parser.h
    M mlir/include/mlir/Tools/lsp-server-support/CompilationDatabase.h
    M mlir/include/mlir/Tools/lsp-server-support/Protocol.h
    M mlir/include/mlir/Tools/lsp-server-support/Transport.h
    M mlir/include/mlir/Tools/mlir-lsp-server/MlirLspServerMain.h
    M mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
    M mlir/include/mlir/Tools/mlir-pdll-lsp-server/MlirPdllLspServerMain.h
    M mlir/include/mlir/Tools/mlir-query/MlirQueryMain.h
    M mlir/include/mlir/Tools/mlir-reduce/MlirReduceMain.h
    M mlir/include/mlir/Tools/mlir-translate/MlirTranslateMain.h
    M mlir/include/mlir/Tools/tblgen-lsp-server/TableGenLspServerMain.h
    M mlir/include/mlir/Transforms/HomomorphismSimplification.h
    M mlir/include/mlir/Transforms/Inliner.h
    M mlir/include/mlir/Transforms/LocationSnapshot.h
    M mlir/include/mlir/Transforms/SROA.h
    M mlir/lib/Analysis/AliasAnalysis/LocalAliasAnalysis.cpp
    M mlir/lib/Analysis/DataFlow/ConstantPropagationAnalysis.cpp
    M mlir/lib/Analysis/DataFlow/DeadCodeAnalysis.cpp
    M mlir/lib/Analysis/DataFlow/DenseAnalysis.cpp
    M mlir/lib/Analysis/DataFlow/SparseAnalysis.cpp
    M mlir/lib/Analysis/DataFlowFramework.cpp
    M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
    M mlir/lib/AsmParser/AffineParser.cpp
    M mlir/lib/AsmParser/AsmParserState.cpp
    M mlir/lib/AsmParser/DialectSymbolParser.cpp
    M mlir/lib/AsmParser/LocationParser.cpp
    M mlir/lib/AsmParser/Parser.cpp
    M mlir/lib/AsmParser/TypeParser.cpp
    M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
    M mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
    M mlir/lib/CAPI/IR/BuiltinTypes.cpp
    M mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp
    M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
    M mlir/lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp
    M mlir/lib/Conversion/ControlFlowToSPIRV/ControlFlowToSPIRV.cpp
    M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
    M mlir/lib/Conversion/FuncToSPIRV/FuncToSPIRV.cpp
    M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
    M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
    M mlir/lib/Conversion/NVVMToLLVM/NVVMToLLVM.cpp
    M mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
    M mlir/lib/Conversion/TensorToLinalg/TensorToLinalg.cpp
    M mlir/lib/Conversion/TensorToSPIRV/TensorToSPIRV.cpp
    M mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
    M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
    M mlir/lib/Dialect/Affine/Transforms/AffineScalarReplacement.cpp
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/lib/Dialect/Arith/Transforms/EmulateNarrowType.cpp
    M mlir/lib/Dialect/Arith/Transforms/EmulateWideInt.cpp
    M mlir/lib/Dialect/Arith/Transforms/IntNarrowing.cpp
    M mlir/lib/Dialect/ArmNeon/Transforms/LowerContractionToSMMLAPattern.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/LowerDeallocations.cpp
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp
    M mlir/lib/Dialect/IRDL/IR/IRDL.cpp
    M mlir/lib/Dialect/IRDL/IRDLLoading.cpp
    M mlir/lib/Dialect/IRDL/IRDLVerifiers.cpp
    M mlir/lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp
    M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
    M mlir/lib/Dialect/Linalg/Transforms/MeshShardingInterfaceImpl.cpp
    M mlir/lib/Dialect/Linalg/Transforms/TransposeConv2D.cpp
    M mlir/lib/Dialect/MemRef/IR/MemRefMemorySlot.cpp
    M mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp
    M mlir/lib/Dialect/Mesh/IR/MeshOps.cpp
    M mlir/lib/Dialect/Mesh/Interfaces/ShardingInterface.cpp
    M mlir/lib/Dialect/Mesh/Transforms/ShardingPropagation.cpp
    M mlir/lib/Dialect/Mesh/Transforms/Simplifications.cpp
    M mlir/lib/Dialect/Mesh/Transforms/Spmdization.cpp
    M mlir/lib/Dialect/NVGPU/Transforms/MmaSyncTF32Transform.cpp
    M mlir/lib/Dialect/NVGPU/Transforms/OptimizeSharedMemory.cpp
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Dialect/Polynomial/IR/Polynomial.cpp
    M mlir/lib/Dialect/Polynomial/IR/PolynomialAttributes.cpp
    M mlir/lib/Dialect/Polynomial/IR/PolynomialDialect.cpp
    M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
    M mlir/lib/Dialect/Quant/IR/QuantDialectBytecode.cpp
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    M mlir/lib/Dialect/SPIRV/Transforms/SPIRVWebGPUTransforms.cpp
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaFolders.cpp
    M mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorBitCast.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorBroadcast.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorContract.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorInterleave.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorScan.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorShapeCast.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorTranspose.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/lib/IR/AffineMap.cpp
    M mlir/lib/IR/ExtensibleDialect.cpp
    M mlir/lib/Query/Query.cpp
    M mlir/lib/Support/ToolUtilities.cpp
    M mlir/lib/TableGen/CodeGenHelpers.cpp
    M mlir/lib/Target/LLVMIR/Dialect/GPU/SelectObjectAttr.cpp
    M mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
    M mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp
    M mlir/lib/Target/SPIRV/Serialization/Serializer.cpp
    M mlir/lib/Tools/PDLL/CodeGen/CPPGen.cpp
    M mlir/lib/Tools/PDLL/Parser/Lexer.cpp
    M mlir/lib/Tools/PDLL/Parser/Lexer.h
    M mlir/lib/Tools/PDLL/Parser/Parser.cpp
    M mlir/lib/Tools/lsp-server-support/Protocol.cpp
    M mlir/lib/Tools/mlir-lsp-server/LSPServer.h
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
    M mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.h
    M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.h
    M mlir/lib/Tools/mlir-query/MlirQueryMain.cpp
    M mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
    M mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
    M mlir/lib/Tools/tblgen-lsp-server/LSPServer.h
    M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.cpp
    M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.h
    M mlir/test/lib/Analysis/DataFlow/TestLivenessAnalysis.cpp
    M mlir/test/lib/Dialect/ArmNeon/TestLowerToArmNeon.cpp
    M mlir/test/lib/Dialect/Mesh/TestOpLowering.cpp
    M mlir/test/lib/Dialect/Mesh/TestReshardingSpmdization.cpp
    M mlir/test/lib/Dialect/Test/TestAttributes.cpp
    M mlir/test/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestOpDefs.cpp
    M mlir/test/lib/Dialect/Test/TestOps.h
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/test/lib/Dialect/Test/TestOpsSyntax.cpp
    M mlir/test/lib/Dialect/Test/TestOpsSyntax.td
    M mlir/test/lib/Dialect/Test/TestTypeDefs.td
    M mlir/test/lib/Dialect/Test/TestTypes.h
    M mlir/test/mlir-pdll/CodeGen/CPP/general.pdll
    M mlir/test/mlir-tblgen/attrdefs.td
    M mlir/test/mlir-tblgen/constraint-unique.td
    M mlir/test/mlir-tblgen/interfaces-as-constraints.td
    M mlir/test/mlir-tblgen/op-attribute.td
    M mlir/test/mlir-tblgen/op-decl-and-defs.td
    M mlir/test/mlir-tblgen/predicate.td
    M mlir/test/mlir-tblgen/rewriter-static-matcher.td
    M mlir/test/mlir-tblgen/typedefs.td
    M mlir/test/python/python_test_ops.td
    M mlir/tools/mlir-pdll-lsp-server/mlir-pdll-lsp-server.cpp
    M mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp
    M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
    M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
    M mlir/tools/mlir-tblgen/DialectGen.cpp
    M mlir/tools/mlir-tblgen/FormatGen.h
    M mlir/tools/mlir-tblgen/LLVMIRConversionGen.cpp
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp
    M mlir/tools/mlir-tblgen/OpInterfacesGen.cpp
    M mlir/tools/mlir-tblgen/RewriterGen.cpp
    M mlir/tools/mlir-translate/mlir-translate.cpp
    M mlir/tools/mlir-vulkan-runner/VulkanRuntime.h
    M mlir/tools/tblgen-lsp-server/tblgen-lsp-server.cpp
    M mlir/unittests/Rewrite/PatternBenefit.cpp

  Log Message:
  -----------
  mlir/LogicalResult: move into llvm (#97309)

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


  Commit: 030ea6d38b7c6afc191bc721be9d59e89bbf7631
      https://github.com/llvm/llvm-project/commit/030ea6d38b7c6afc191bc721be9d59e89bbf7631
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/lib/AST/Interp/Compiler.h
    M clang/test/AST/Interp/c.c

  Log Message:
  -----------
  [clang][Interp] Only check toplevel declarations


  Commit: 62e6255a58eb0e9bb31e366a9e30d5c1eaadd004
      https://github.com/llvm/llvm-project/commit/62e6255a58eb0e9bb31e366a9e30d5c1eaadd004
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Add missing fallthrough in loops


  Commit: 2da10959e00a81b983a0ea6d5c1ba9e0f2e1f192
      https://github.com/llvm/llvm-project/commit/2da10959e00a81b983a0ea6d5c1ba9e0f2e1f192
  Author: Kendal Harland <3987220+kendalharland at users.noreply.github.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lldb/test/API/commands/settings/use_source_cache/TestUseSourceCache.py

  Log Message:
  -----------
  [lldb][test] Disable TestUseSourceCache on Windows (#97324)

This test also fails on Windows amd64, although it is only disabled for
aarch64.

Co-authored-by: kendal <kendal at thebrowser.company>


  Commit: 17bd3120adc51dbb0bef2dda26f39ef96fa4cd00
      https://github.com/llvm/llvm-project/commit/17bd3120adc51dbb0bef2dda26f39ef96fa4cd00
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M flang/lib/Lower/ConvertProcedureDesignator.cpp
    M flang/test/Lower/HLFIR/procedure-pointer.f90
    M flang/test/Lower/dummy-procedure-character.f90

  Log Message:
  -----------
  [flang] Use 0 for unknown function pointer result length. (#97035)


  Commit: c49c386caaf7132908995749fed4894cfa1b62d1
      https://github.com/llvm/llvm-project/commit/c49c386caaf7132908995749fed4894cfa1b62d1
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/lib/AST/Interp/Compiler.h
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Reject StmtExprs containing return statements


  Commit: a616f57c1f5f64ee6013c01b6cfe8c587b4cd1f8
      https://github.com/llvm/llvm-project/commit/a616f57c1f5f64ee6013c01b6cfe8c587b4cd1f8
  Author: Poseydon42 <vvmposeydon at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    A llvm/test/Transforms/CorrelatedValuePropagation/uscmp.ll

  Log Message:
  -----------
  [CorrelatedValuePropagation] Fold calls to UCMP/SCMP when we know that ranges of operands do not overlap (#97235)

This patch adds folds for calls to `ucmp`/`scmp` intrinsics where we can
establish that the range of the first operand is strictly to the left or
strictly to the right of the range of the second operand.


  Commit: 253a76261901d966cc803077294bf3fc9ef9ea18
      https://github.com/llvm/llvm-project/commit/253a76261901d966cc803077294bf3fc9ef9ea18
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  AMDGPU: Consolidiate f16 med3 patterns (#97399)


  Commit: 9a9546e30cbce764fb96de1ae0b4f8f01f6d223f
      https://github.com/llvm/llvm-project/commit/9a9546e30cbce764fb96de1ae0b4f8f01f6d223f
  Author: Vassil Vassilev <v.g.vassilev at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/Interpreter/CMakeLists.txt
    M clang/lib/Interpreter/IncrementalExecutor.cpp
    M clang/lib/Interpreter/IncrementalExecutor.h
    M clang/lib/Interpreter/Interpreter.cpp
    A clang/lib/Interpreter/Wasm.cpp
    A clang/lib/Interpreter/Wasm.h

  Log Message:
  -----------
  [clang-repl] Support wasm execution (#86402)

This commit introduces support for running clang-repl and executing C++
code interactively inside a Javascript engine using WebAssembly when
built with Emscripten. This is achieved by producing WASM "shared
libraries" that can be loaded by the Emscripten runtime using dlopen()

More discussion is available in https://reviews.llvm.org/D158140

Co-authored-by: Anubhab Ghosh <anubhabghosh.me at gmail.com>


  Commit: b7e157cab173e56c68872cc84522c24b8d6ee635
      https://github.com/llvm/llvm-project/commit/b7e157cab173e56c68872cc84522c24b8d6ee635
  Author: Ilia Sergachev <1894984+sergachev at users.noreply.github.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [Transforms][NFC] Tiny fixes in SplitModule (#95903)

Fix repeated map lookup, variable name, formatting and a missing space.


  Commit: 6ad82fcc7d418e6e4cac9e0f82a35d8021f61ffa
      https://github.com/llvm/llvm-project/commit/6ad82fcc7d418e6e4cac9e0f82a35d8021f61ffa
  Author: Anton Lydike <me at AntonLydike.de>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/docs/CommandGuide/FileCheck.rst

  Log Message:
  -----------
  [FileCheck][Docs] Fix regex for FileCheck variable names (#97301)

This fixes a minor oversight in the FileCheck documentation on what is
considered a valid variable name.

Global variables are prefixed with a `$`, which is explained two
paragraphs below, but this was omitted in the presented regex in this
paragraph.


  Commit: b67d557bd3627a428d5041edec129587d6d3972c
      https://github.com/llvm/llvm-project/commit/b67d557bd3627a428d5041edec129587d6d3972c
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Basic/LangStandard.h
    M clang/include/clang/Basic/LangStandards.def
    M clang/lib/Basic/LangOptions.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/Driver/unknown-std.c
    M clang/www/c_status.html

  Log Message:
  -----------
  [C2y] Add -std=c2y and -std=gnu2y

This adds a language standard mode for the latest C standard. While
WG14 is hoping for a three-year cycle, it is not clear that the next
revision of C will be in 2026 and so a flag was not created for c26
specifically.


  Commit: 1f9bb8515569ab091bfb98704c5c21147deb61bd
      https://github.com/llvm/llvm-project/commit/1f9bb8515569ab091bfb98704c5c21147deb61bd
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [bazel][clang] Exclude wasm interpreter

These only work under emscripten. Introduced in
9a9546e30cbce764fb96de1ae0b4f8f01f6d223f.


  Commit: c5f7f380314c7d290e039e9c35562e1cedc01268
      https://github.com/llvm/llvm-project/commit/c5f7f380314c7d290e039e9c35562e1cedc01268
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Make some local pointers const


  Commit: 0f387ec7d502e51fd5ac074f1f1037b44aa686fc
      https://github.com/llvm/llvm-project/commit/0f387ec7d502e51fd5ac074f1f1037b44aa686fc
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    A clang/test/Preprocessor/c2y.c

  Log Message:
  -----------
  Add missed test coverage

This amends b67d557bd3627a428d5041edec129587d6d3972c to add the test
coverage for those changes.


  Commit: 7d0656d734bdc19f2478b394b15378a637cc43ee
      https://github.com/llvm/llvm-project/commit/7d0656d734bdc19f2478b394b15378a637cc43ee
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    A clang/test/C/C2y/n3192.c

  Log Message:
  -----------
  [C2y] Add test coverage for WG14 N3192

Clang has always supported sequential hexdigits.


  Commit: 3b639d7d1d9b9f352c57460deaf70aaad238f8d9
      https://github.com/llvm/llvm-project/commit/3b639d7d1d9b9f352c57460deaf70aaad238f8d9
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/CXX/drs/cwg26xx.cpp
    M clang/test/CXX/expr/expr.post/expr.type.conv/p1.cpp
    M clang/test/CXX/over/over.match/over.match.funcs/over.match.class.deduct/p2.cpp
    M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3-0x.cpp
    M clang/test/Modules/template_name_lookup.cpp
    M clang/test/PCH/cxx-explicit-specifier.cpp
    M clang/test/Sema/tls_alignment.cpp
    M clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp
    M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
    M clang/test/SemaCXX/cxx2a-explicit-bool.cpp
    M clang/test/SemaCXX/gh65522.cpp
    M clang/test/SemaCXX/invalid-deduction-guide-as-template-candidates.cpp
    M clang/test/SemaCXX/lookup-template-name-extern-CXX.cpp
    M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
    M clang/test/SemaTemplate/class-template-id.cpp
    M clang/test/SemaTemplate/ctad.cpp
    M clang/test/SemaTemplate/deduction-crash.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp
    M clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp
    M clang/test/SemaTemplate/temp_arg.cpp

  Log Message:
  -----------
  [Clang] Clarify diagnostic notes for implicitly generated deduction guides (#96084)

Given the following invalid code,
```cpp
template <class T>
struct S {
  T *a;
};
S s = {1};
```
we produce such diagnostics currently:
```
<source>:2:8: note: candidate template ignored: could not match 'S<T>' against 'int'
    2 | struct S {
      |        ^
<source>:2:8: note: candidate template ignored: could not match 'T *' against 'int'
```
Which I think is confusing because there's no `S<T>` nor `T *` at the
location it points to. This is because we're deducing the initializer
against implicitly generated deduction guides, and their source
locations just point to the corresponding `RecordDecl`. Hence the
misleading notes.

This patch alleviates the issue by adding extra notes demonstrating
which implicit deduction guide we're deducing against. In other words,
in addition to the note of `could not match 'T *' against 'int'`, we
would also say the implicit deduction guide we're trying to use:
`template <class T> S(T *) -> S<T>`, which looks clearer IMO.

---------

Co-authored-by: Sirraide <aeternalmail at gmail.com>


  Commit: 1846523bb77275de954ac573110171bd39bfa930
      https://github.com/llvm/llvm-project/commit/1846523bb77275de954ac573110171bd39bfa930
  Author: Brendan Duke <brendanw.duke at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M mlir/cmake/modules/AddMLIRPython.cmake

  Log Message:
  -----------
  [mlir] Make MLIR Python sources idempotent (#97167)

Make MLIR Python sources idempotent by moving the custom commands off
the custom target for each source.
Previously, a custom target was created for each MLIR Python source file
and a custom command added to symlink it to a destination path. However
this causes the build to not be idempotent because custom targets always
run.

Instead, this PR separates the symlink/copy to destination paths into
custom commands and makes the custom target depend on the output. That
prevents re-running them and restores idempotency.

Testing:
- Build with `-D MLIR_ENABLE_BINDINGS_PYTHON=ON`. Prior to this change,
the build is not idempotent (building twice re-runs the symlink/copy
command for Python source targets). After this change it is idempotent.


  Commit: 380beaec8633bad0148aec02f03a85d9a59b2a2d
      https://github.com/llvm/llvm-project/commit/380beaec8633bad0148aec02f03a85d9a59b2a2d
  Author: Gabriel Baraldi <baraldigabriel at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/uselistorder.ll

  Log Message:
  -----------
  Fix potential crash in SLPVectorizer caused by missing check (#95937)

I'm not super familiar with this code, but it seems that we were just
missing a check.

The original code that triggered this did not have uselistorders but
llvm-reduce created them and it reproduces the same issue in a way more
compact way.

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


  Commit: efefee28a41ec323f74ee481cce8b620b49ecf84
      https://github.com/llvm/llvm-project/commit/efefee28a41ec323f74ee481cce8b620b49ecf84
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Parse/ParseExpr.cpp
    A clang/test/C/C2y/n3260.c
    M clang/test/Parser/generic-selection-type-extension-pedantic.c

  Log Message:
  -----------
  [C2y] Modify diagnostics for generic selection with a type operand

We implemented WG14 N3260 as an extension, now it's a feature of C2y.


  Commit: 62a967d5dc056875423351309aaa52e520984eed
      https://github.com/llvm/llvm-project/commit/62a967d5dc056875423351309aaa52e520984eed
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll

  Log Message:
  -----------
  [RISCV] Return nullptr for PHI defs in VSETVLIInfo::getAVLDefMI (#97395)

When checking if a VSETVLIInfo is compatible, we call hasEquallyZeroAVL
if only the AVL-zeroness is demanded. This will try to lookup the
defining MachineInstr (to check if it's an ADDI immediate) via
getAVLDefMI, but in it we were asserting that the VSETVLIInfo's AVL
wouldn't come from a phi. It turns out this can happen in normal
circumstances.

This causes a crash when compiling highway, so this fixes it by relaxing
the assertion.


  Commit: 9a7248a602eb5eff264c89ee3fe119c86f63fda1
      https://github.com/llvm/llvm-project/commit/9a7248a602eb5eff264c89ee3fe119c86f63fda1
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [clang][OpenMP] Rewrite `getOpenMPCaptureRegions` in terms of leafs (#97110)

Replace the switch in `getOpenMPCaptureRegions` with a loop collecting
capture regions based on the constituent directives.

---------

Co-authored-by: Alexey Bataev <a.bataev at outlook.com>


  Commit: 1a422553f9ed05ee57463ed5554cfd7eeea46800
      https://github.com/llvm/llvm-project/commit/1a422553f9ed05ee57463ed5554cfd7eeea46800
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/C/C2y/n3259.c

  Log Message:
  -----------
  [C2y] Modify diagnostics for complex increment/decrement

Clang implemented WG14 N3259 as an extension, now it's a feature of C2y.


  Commit: 5b77ed4d94fd6b57d7008b2ecabb230ac087a53d
      https://github.com/llvm/llvm-project/commit/5b77ed4d94fd6b57d7008b2ecabb230ac087a53d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/ldexp.ll

  Log Message:
  -----------
  InstCombine: Try to fold ldexp with select of power operand (#97354)

This makes it more likely a constant value can fold into the source
operand.


  Commit: 12a1e6dd1292efb3d7c45582ba20dafa523b51cc
      https://github.com/llvm/llvm-project/commit/12a1e6dd1292efb3d7c45582ba20dafa523b51cc
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 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/llvm_libc_ext.td
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    A libc/src/__support/FPUtil/generic/add_sub.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/f16addf.h
    A libc/src/math/f16subf.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/f16addf.cpp
    A libc/src/math/generic/f16subf.cpp
    A libc/test/src/math/AddTest.h
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/SubTest.h
    A libc/test/src/math/f16addf_test.cpp
    A libc/test/src/math/f16subf_test.cpp
    A libc/test/src/math/smoke/AddTest.h
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/SubTest.h
    A libc/test/src/math/smoke/f16addf_test.cpp
    A libc/test/src/math/smoke/f16subf_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.h

  Log Message:
  -----------
  [libc][math][c23] Add f16{add,sub}f C23 math functions (#96787)

Part of #93566.


  Commit: 72f9bff4481bf50c565e3b9dc0a1495264ef4082
      https://github.com/llvm/llvm-project/commit/72f9bff4481bf50c565e3b9dc0a1495264ef4082
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaExpr.cpp
    R clang/test/C/C2y/n3259.c

  Log Message:
  -----------
  Revert "[C2y] Modify diagnostics for complex increment/decrement"

This reverts commit 1a422553f9ed05ee57463ed5554cfd7eeea46800.

It broke post-commit CI bots:
https://lab.llvm.org/buildbot/#/builders/144/builds/1428


  Commit: 66d5ca2a3d8df780951ce2987157ef03e73393c7
      https://github.com/llvm/llvm-project/commit/66d5ca2a3d8df780951ce2987157ef03e73393c7
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/include/flang/Optimizer/Support/InternalNames.h
    M flang/include/flang/Optimizer/Support/Utils.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Support/CMakeLists.txt
    M flang/lib/Optimizer/Support/InternalNames.cpp
    A flang/lib/Optimizer/Support/Utils.cpp
    M flang/test/Fir/fir-ops.fir
    A flang/test/Lower/HLFIR/type-info-components.f90

  Log Message:
  -----------
  Reland "[flang] add extra component information in fir.type_info" (#97404)

Reland #96746 with the proper Support/CMakelist.txt change.

fir.type does not contain all Fortran level information about
components. For instance, component lower bounds and default initial
value are lost. For correctness purpose, this does not matter because
this information is "applied" in lowering (e.g., when addressing the
components, the lower bounds are reflected in the hlfir.designate).

However, this "loss" of information will prevent the generation of
correct debug info for the type (needs to know about lower bounds). The
initial value could help building some optimization pass to get rid of
initialization runtime calls.

This patch adds lower bound and initial value information into
fir.type_info via a new fir.dt_component operation. This operation is
generated only for component that needs it, which helps keeping the IR
small for "boring" types.

In general, adding Fortran level info in fir.type_info will allow
delaying the generation of "type descriptors" gobals that are very
verbose in FIR and make it hard to work with FIR dumps from applications
with many derived types.


  Commit: c3079ffcd34e8ee2faaf7576a69a49acc1a3653f
      https://github.com/llvm/llvm-project/commit/c3079ffcd34e8ee2faaf7576a69a49acc1a3653f
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/Sema/CheckExprLifetime.cpp
    M clang/test/SemaCXX/warn-dangling-local.cpp

  Log Message:
  -----------
  [clang] Don't emit the warn_dangling_lifetime_pointer diagnostic for the assignment case. (#97408)

The `lifetime_pointer` case is handled before the assignment case. In
scenarios where we have the `gsl::Pointer` attribute, we may emit the
`-Wdangling-gsl` warning for assignment cases. This means we cannot use
`-Wno-dangling-assignment` to suppress the newly-added warning, this
patch fixes it.


  Commit: 1e26a251a36b0479c7aca21e2d65d9877c0691ce
      https://github.com/llvm/llvm-project/commit/1e26a251a36b0479c7aca21e2d65d9877c0691ce
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/C/C2y/n3259.c
    M clang/test/C/C99/n809.c
    M clang/test/Misc/warning-flags.c
    M clang/test/Sema/complex-inc-dec.c

  Log Message:
  -----------
  [C2y] Modify diagnostics for complex increment/decrement

Clang implemented WG14 N3259 as an extension, now it's a feature of C2y.


  Commit: b48623c23ae16a424102cc47ad173099bb45a695
      https://github.com/llvm/llvm-project/commit/b48623c23ae16a424102cc47ad173099bb45a695
  Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [Clang][NFC] use const references for function parameters in operator== and operator!= overloads in Redeclarable.h (#92963)

Fixes #92755


  Commit: 696805d1330491c3228c0221c4458d33a6c4bfac
      https://github.com/llvm/llvm-project/commit/696805d1330491c3228c0221c4458d33a6c4bfac
  Author: Tim Gymnich <tgymnich at icloud.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/popcount.ll

  Log Message:
  -----------
  [AArch64] Improve non-SVE popcount for 32bit and 64 bit using udot (#95881)

fixes #95860

Use `udot` instead of a sequence of `uaddlp` instructions when summing
up lanes for `popcount`.


  Commit: 34f701f1d48e4014f62ee09c28669e9f1020ec23
      https://github.com/llvm/llvm-project/commit/34f701f1d48e4014f62ee09c28669e9f1020ec23
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/test/C/C2y/n3259.c

  Log Message:
  -----------
  Add an explicit triple to the test

This should address a failure found by post-commit CI:
https://lab.llvm.org/buildbot/#/builders/190/builds/1129


  Commit: 1617af331e3caa785682955a789d3cfb02bc866d
      https://github.com/llvm/llvm-project/commit/1617af331e3caa785682955a789d3cfb02bc866d
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    A llvm/utils/gn/secondary/llvm/lib/SandboxIR/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
    A llvm/utils/gn/secondary/llvm/unittests/SandboxIR/BUILD.gn

  Log Message:
  -----------
  [gn] port f9efc2950892 (SandboxIR)


  Commit: 9da86ae567a1bd46c5aa9fe225d5e7f059a5b03e
      https://github.com/llvm/llvm-project/commit/9da86ae567a1bd46c5aa9fe225d5e7f059a5b03e
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [clang][docs] Move entries around (#97416)

Let's just move these under the
`Non-comprehensive list of changes in this release` section.

Resolves:
- https://github.com/llvm/llvm-project/pull/79261#issuecomment-2202950396
- https://github.com/llvm/llvm-project/pull/65484#issuecomment-2202956759


  Commit: 904e8f936495207cbb36a52fb8ca8183b44d6838
      https://github.com/llvm/llvm-project/commit/904e8f936495207cbb36a52fb8ca8183b44d6838
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [PassManager] Reuse StackTraceEntry across passes (NFC)

As suggested by aengelke, create the stack frame before the loop
and only update the pass inside it. This reduces the overhead
of repeatedly registering and unregistering the stack frames.


  Commit: f55e12a76d2bf3c4789190debf238a0dc898317f
      https://github.com/llvm/llvm-project/commit/f55e12a76d2bf3c4789190debf238a0dc898317f
  Author: Sudharsan Veeravalli <quic_svs at quicinc.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    A llvm/test/Transforms/IndVarSimplify/preserving-debugloc-rem-div.ll

  Log Message:
  -----------
  [DebugInfo][SimplifyIndVar] Fix missing debug locations for div/rem instructions (#97284)

Fixes #97282


  Commit: 0af2264d4e0b0d05b4fc0b5b730ec8d881f384ba
      https://github.com/llvm/llvm-project/commit/0af2264d4e0b0d05b4fc0b5b730ec8d881f384ba
  Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp

  Log Message:
  -----------
  [Clang][NFC] Improve RewriteModernObjC code quality by using const reference for function parameters (#93252)

Fixes #92759


  Commit: f0567702aac99e97bf5cd42177323d1deaf6e90d
      https://github.com/llvm/llvm-project/commit/f0567702aac99e97bf5cd42177323d1deaf6e90d
  Author: Gheorghe-Teodor Bercea <doru.bercea at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M openmp/runtime/src/dllexports

  Log Message:
  -----------
  [OpenMP] Add missing export for dynamic tracking patch (#97419)

Add missing export for OpenMP non-offloading builds.


  Commit: dacdb8db01751d352c33990197773446980ea37f
      https://github.com/llvm/llvm-project/commit/dacdb8db01751d352c33990197773446980ea37f
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [gn build] Port 410de0c8c831


  Commit: 940ea5b8c55dbcb2b1c62027c6c18c70bdf101a9
      https://github.com/llvm/llvm-project/commit/940ea5b8c55dbcb2b1c62027c6c18c70bdf101a9
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/trunc-store.ll

  Log Message:
  -----------
  AMDGPU: Add some exotic truncating store tests

PR#97010 is touching the legalize rules for 5 vector stores,
but not all of them so check some more cases to make sure they work.


  Commit: a0ab0ca7a733eb9e8e6442676a974ff8a2cdb930
      https://github.com/llvm/llvm-project/commit/a0ab0ca7a733eb9e8e6442676a974ff8a2cdb930
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/C/C2y/n3273.c

  Log Message:
  -----------
  [C2y] Add diagnostics for alignof on an incomplete array

Clang implemented WG14 N3273 since Clang 3.5


  Commit: 9f8f6ce53cb7bc3f139db7b8f614a4f0e9a1b579
      https://github.com/llvm/llvm-project/commit/9f8f6ce53cb7bc3f139db7b8f614a4f0e9a1b579
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [SROA] Avoid expensive isComplete() call (NFC)

https://github.com/llvm/llvm-project/pull/83381 introduced a call
to PHINode::isComplete() in Mem2Reg, which is O(n^2) in the number
of predecessors, resulting in pathological compile-time regressions
for cases with many predecessors.

Remove the isComplete() check and instead cache the attribute
lookup, to only perform it once per function. Actually setting
the FMF flag is cheap.


  Commit: 43b9888214234363e3468ffda5bcd599e9608938
      https://github.com/llvm/llvm-project/commit/43b9888214234363e3468ffda5bcd599e9608938
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
    M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll

  Log Message:
  -----------
  [AMDGPU] Use nan as the identity for atomicrmw fmax/fmin (#97411)

atomicrmw fmax/fmin perform the same operation as llvm.maxnum/minnum
which return the other operand if one operand is nan. This means that,
in the presence of nan arguments, +/- inf is not an identity for these
operations but nan is (at least if you don't care about nan payloads).


  Commit: cfbad45339edb4a512982d9180e6fd4bae781d8a
      https://github.com/llvm/llvm-project/commit/cfbad45339edb4a512982d9180e6fd4bae781d8a
  Author: James Y Knight <jyknight at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    A libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/pair.incomplete.compile.pass.cpp

  Log Message:
  -----------
  Add a regression test for recent regression in pair. (#97355)

PR #96165 broke code similar to this test, and was subsequently
reverted. Add a test-case, to ensure the problem won't reoccur.

This error is potentially related to issues #59292 and #59966.


  Commit: b146a57f6739846f7749daad099882fbd33e3066
      https://github.com/llvm/llvm-project/commit/b146a57f6739846f7749daad099882fbd33e3066
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lld/ELF/Arch/RISCV.cpp
    M llvm/include/llvm/Support/RISCVAttributeParser.h
    M llvm/include/llvm/Support/RISCVAttributes.h
    M llvm/lib/Support/RISCVAttributeParser.cpp
    M llvm/lib/Support/RISCVAttributes.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/MC/RISCV/attribute.s
    M llvm/test/MC/RISCV/invalid-attribute.s

  Log Message:
  -----------
  Reapply "[RISCV] Support RISCV Atomics ABI attributes (#84597)"

This patch adds support for the atomic_abi attribute, specifid in
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#tag_riscv_atomic_abi-14-uleb128version.

This was previously reverted due to ld.bfd segfaulting w/ unknown riscv
attributes. Attribute emission is now guarded by a backend flag
`--riscv-abi-attributes`, which is off by default. Linker support in
LLD for attribute merging is now in a standalone patch.

Reviewers: kito-cheng, MaskRay, asb

Reviewed By: MaskRay

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


  Commit: abb5bd3732cd0574aec4969d617b87921b5b1f8c
      https://github.com/llvm/llvm-project/commit/abb5bd3732cd0574aec4969d617b87921b5b1f8c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    A llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll

  Log Message:
  -----------
  [CVP] Add vector test cases (NFC)


  Commit: 5ee53d417f41e8f452255ded1ff6a522afe17f08
      https://github.com/llvm/llvm-project/commit/5ee53d417f41e8f452255ded1ff6a522afe17f08
  Author: Harald van Dijk <harald.vandijk at codeplay.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M libclc/CMakeLists.txt
    M libclc/cmake/modules/AddLibclc.cmake

  Log Message:
  -----------
  [libclc] Fix cross in-tree builds (#97392)

When performing cross in-tree builds, we need native versions of various
tools, we cannot assume the cross builds that are part of the current
build are executable. LLVM provides the setup_host_tool function to
handle this, either picking up versions of tools from
LLVM_NATIVE_TOOL_DIR, or implicitly building native versions as needed.
Use it for libclc too.

LLVM's setup_host_tool function assumes the project is LLVM, so this
also needs libclc's project() to be conditional on it being built
standalone. Luckily, the only change this needs is using
CMAKE_CURRENT_SOURCE_DIR instead of PROJECT_SOURCE_DIR.


  Commit: 70969df73dc9797e1bb219dfb2f6b8ba854bf8ba
      https://github.com/llvm/llvm-project/commit/70969df73dc9797e1bb219dfb2f6b8ba854bf8ba
  Author: Pete Steinfeld <47540744+psteinfeld at users.noreply.github.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M flang/lib/Evaluate/intrinsics-library.cpp
    M flang/test/Evaluate/folding04.f90

  Log Message:
  -----------
  [flang] Improve warnings for invalid arguments when folding host runtime (#96807)

This is another attempt at a change that Jean made to Phabricator in
https://reviews.llvm.org/D116934. That attempt ran into problems with
building on Windows.

This change improves the messages that are produced when running into
invalid arguments during constant folding.

Note that the original attempt at implementing this contained additional
code in .../llvm-project/flang/test/Evaluate/folding04.f90:
```
  !WARN: warning: argument 'x' must be strictly positive
  real(8), parameter :: nan_r8_dlog1 = dlog(-0.1_8)
  TEST_ISNAN(nan_r8_dlog1)
```
For reasons I don't understand, this additional code caused the Windows
build to fail. So this new version of the update does not contain that
code.


  Commit: 48263bd7e7a8b9f8de3cb9757008dd1b2b104802
      https://github.com/llvm/llvm-project/commit/48263bd7e7a8b9f8de3cb9757008dd1b2b104802
  Author: Davide Italiano <davidino at fb.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  Revert "[MC] Remove assert to work around BOLT"

This reverts commit c72cb2766cec0ac519a051780ae5aed42485e012.
The patch was not reviewed, and this assertion guards against incorrect
values for symbols if the linker decides to modify the layout as it
happens on some platforms. getSymbolOffset() is used for code size
estimation, among others.

Reverting for now, until we get proper code review and undersatnding of
the implications.


  Commit: 46f7929879a59ec72dc75679b4201e2d314efba9
      https://github.com/llvm/llvm-project/commit/46f7929879a59ec72dc75679b4201e2d314efba9
  Author: Davide Italiano <davidino at fb.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/docs/tools/clang-formatted-files.txt
    A llvm/include/llvm/MC/MCAsmLayout.h

  Log Message:
  -----------
  Revert "Remove llvm/MC/MCAsmLayout.h"

This reverts commit 122db8b2cb7fa43ce1d6dc17148080579fcfb55a.


  Commit: ac0b48a0dbf83b0c7e73fc5635af5b2912c1c54d
      https://github.com/llvm/llvm-project/commit/ac0b48a0dbf83b0c7e73fc5635af5b2912c1c54d
  Author: Davide Italiano <davidino at fb.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M bolt/lib/Core/BinaryContext.cpp
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/tools/dsymutil/MachOUtils.cpp

  Log Message:
  -----------
  Revert "MCAssembler::layout: remove the unused MCAsmLayout parameter"

This reverts commit 63ec52f867ada8d841dd872acf3d0cb62e2a99e8.


  Commit: f80a4072ced41b52363c63df28fea9a649f7f89e
      https://github.com/llvm/llvm-project/commit/f80a4072ced41b52363c63df28fea9a649f7f89e
  Author: Davide Italiano <davidino at fb.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp

  Log Message:
  -----------
  Revert "[MC] Use a stub ctor for MCAsmLayout"

This reverts commit bbb50369a149d9a7d1f91efaaabf75c260a220c7.

This breaks BOLT.


  Commit: 123beb7926651217024e5db58b93ab9e8f3c77c7
      https://github.com/llvm/llvm-project/commit/123beb7926651217024e5db58b93ab9e8f3c77c7
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/SandboxIR/SandboxIR.cpp

  Log Message:
  -----------
  [NFC][SandboxIR] Drop namespace:: prefix.


  Commit: 6c3897d90eda4c39789ac9f4efa51db46734a249
      https://github.com/llvm/llvm-project/commit/6c3897d90eda4c39789ac9f4efa51db46734a249
  Author: Giuseppe Rossini <giuseppe.rossini at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/BufferDeallocationSimplification.cpp
    M mlir/lib/Transforms/Utils/RegionUtils.cpp
    M mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/dealloc-branchop-interface.mlir
    M mlir/test/Dialect/Linalg/detensorize_entry_block.mlir
    M mlir/test/Dialect/Linalg/detensorize_if.mlir
    M mlir/test/Dialect/Linalg/detensorize_while.mlir
    M mlir/test/Dialect/Linalg/detensorize_while_impure_cf.mlir
    M mlir/test/Dialect/Linalg/detensorize_while_pure_cf.mlir
    M mlir/test/Transforms/canonicalize-block-merge.mlir
    M mlir/test/Transforms/canonicalize-dce.mlir
    M mlir/test/Transforms/make-isolated-from-above.mlir
    A mlir/test/Transforms/test-canonicalize-merge-large-blocks.mlir

  Log Message:
  -----------
  Fix block merging (#96871)

With this PR I am trying to address:
https://github.com/llvm/llvm-project/issues/63230.

What changed:
- While merging identical blocks, don't add a block argument if it is
"identical" to another block argument. I.e., if the two block arguments
refer to the same `Value`. The operations operands in the block will
point to the argument we already inserted
- After merged the blocks, get rid of "unnecessary" arguments. I.e., if
all the predecessors pass the same block argument, there is no need to
pass it as an argument.
- This last simplification clashed with
`BufferDeallocationSimplification`. The reason, I think, is that the two
simplifications are clashing. I.e., `BufferDeallocationSimplification`
contains an analysis based on the block structure. If we simplify the
block structure (by merging and/or dropping block arguments) the
analysis is invalid . The solution I found is to do a more prudent
simplification when running that pass.

**Note**: many tests are still not passing. But I wanted to submit the
code before changing all the tests (and probably adding a couple), so
that we can agree in principle on the algorithm/design.


  Commit: 6820b0871807abff07df118659e0de2ca741cb0b
      https://github.com/llvm/llvm-project/commit/6820b0871807abff07df118659e0de2ca741cb0b
  Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
    M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
    M mlir/include/mlir/Interfaces/LoopLikeInterface.h
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    M mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp
    M mlir/lib/Interfaces/LoopLikeInterface.cpp
    M mlir/test/Dialect/SCF/transform-loop-fuse-sibling.mlir

  Log Message:
  -----------
  Refactor LoopFuseSiblingOp and support parallel fusion (#94391)

This patch refactors code related to `LoopFuseSiblingOp` transform in
attempt to reduce duplicate common code. The aim is to refactor as much
as possible to a functions on `LoopLikeOpInterface`s, but this is still
a work in progress. A full refactor will require more additions to the
`LoopLikeOpInterface`.

 In addition, `scf.parallel` fusion support has been added.


  Commit: 13be6ee7da048acff9953db92486f5c2147af3ed
      https://github.com/llvm/llvm-project/commit/13be6ee7da048acff9953db92486f5c2147af3ed
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/unittests/Analysis/MLModelRunnerTest.cpp

  Log Message:
  -----------
  Fix MSVC discarded return value warnings. NFC.

"C4858 This function constructs an object wrapped by a smart pointer and has no other effects; it is not useful to call this function and discard the return value."


  Commit: 1f7d31e3420f71f3cbf5f455d78735a0f2bd4442
      https://github.com/llvm/llvm-project/commit/1f7d31e3420f71f3cbf5f455d78735a0f2bd4442
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/srem.ll

  Log Message:
  -----------
  [AMDGPU] Regenerate srem.ll tests - more closely match the testing in sdiv.ll


  Commit: 344228ebf45f9bd1f7626fdcd3c0fada0f0c8385
      https://github.com/llvm/llvm-project/commit/344228ebf45f9bd1f7626fdcd3c0fada0f0c8385
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M bolt/include/bolt/Core/BinaryBasicBlock.h
    M bolt/include/bolt/Core/BinaryContext.h
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/lib/Core/BinaryBasicBlock.cpp
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Passes/BinaryPasses.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT] Drop macro-fusion alignment (#97358)

9d0754ada5dbbc0c009bcc2f7824488419cc5530 dropped MC support required for
optimal macro-fusion alignment in BOLT. Remove the support in BOLT as
performance measurements with large binaries didn't show a significant
improvement.

Test Plan:
macro-fusion alignment was never upstreamed, so no upstream tests are
affected.


  Commit: e3500ea48868651b3d1ef79a7f6a57d45877414a
      https://github.com/llvm/llvm-project/commit/e3500ea48868651b3d1ef79a7f6a57d45877414a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Replace 'the argument' with 'the first argument' in llvm.abs description. NFC (#97386)

Make it more clear which argument we're referring to.

Similar for vp.abs.


  Commit: e414bf9fffcb9b6010c7eb08406696a9de931d66
      https://github.com/llvm/llvm-project/commit/e414bf9fffcb9b6010c7eb08406696a9de931d66
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Document the fourth operand for vp.cttz/ctlz. NFC (#97387)


  Commit: 7359edbc0981280e029701aa1ddee7ed313126dc
      https://github.com/llvm/llvm-project/commit/7359edbc0981280e029701aa1ddee7ed313126dc
  Author: Michael Klemm <michael.klemm at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M flang/runtime/time-intrinsic.cpp
    M flang/test/Runtime/no-cpp-dep.c

  Log Message:
  -----------
  [Flang][runtime] Distinguish CPU time and elapsed time for cpu_time and system_clock (#96652)

The current implementation for `system_clock()` returns the CPU time
instead of elapsed wallclock time. This PR fixes the issue and makes
`system_clock()` correctly return elapsed time.


  Commit: 87de49753d4bd860fed5165e9411c703107ad3a5
      https://github.com/llvm/llvm-project/commit/87de49753d4bd860fed5165e9411c703107ad3a5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/TargetParser/RISCVISAInfo.h
    M llvm/lib/TargetParser/RISCVISAInfo.cpp
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Remove IgnoreUnknown from RISCVISAInfo::parseArchString. (#97372)

This isn't used in tree, and thus I don't know what the expectations for
its behavior really are. The original usage of this feature has been replaced
by parseNormalizedArchString.


  Commit: 7217201dd9cb216e95dfd80dd11ab3785bfe7455
      https://github.com/llvm/llvm-project/commit/7217201dd9cb216e95dfd80dd11ab3785bfe7455
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll

  Log Message:
  -----------
  [RISCV] Add coverage of build vectors with rv32 + v + bitmanip

rv32+v allows cases with XLEN < ELEN, and since we're about to add
a bitmanip specific lowering, it's good to have coverage of this
corner case.


  Commit: e94a00c3b8bf81fcd441c868644612fc887c7170
      https://github.com/llvm/llvm-project/commit/e94a00c3b8bf81fcd441c868644612fc887c7170
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp

  Log Message:
  -----------
  [MC] Use a stub ctor for MCAsmLayout

and replace MCAssembler::Layout with a bool.
This mostly completes "[MC] Start merging MCAsmLayout into MCAssembler".

Note: BOLT used a dummy `MCAsmLayout` to call `getSymbolOffset`, which
is technically not supported. There is some discussion in
https://reviews.llvm.org/D154604 .

The revert f80a4072ced41b52363c63df28fea9a649f7f89e is incorrect and
actually broke bots.


  Commit: 60cd3eb880fe48d192a58c64a1e38e875fc65377
      https://github.com/llvm/llvm-project/commit/60cd3eb880fe48d192a58c64a1e38e875fc65377
  Author: Kevin Frei <kevinfrei at users.noreply.github.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
    M llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp

  Log Message:
  -----------
  Reduce llvm-gsymutil memory usage (#91023)

llvm-gsymutil eats a lot of RAM. On some large binaries, it causes OOM's on smaller hardware, consuming well over 64GB of RAM. This change frees line tables once we're done with them, and frees DWARFUnits's DIE's when we finish processing each DU, though they may get reconstituted if there are references from other DU's during processing. Once the conversion is complete, all DIE's are freed. The reduction in peak memory usage from these changes showed between 7-12% in my tests.

The double-checked locking around the creation & freeing of the data structures was tested on a 166 core system. I validated that it trivially malfunctioned without the locks (and with stupid reordering of the locks) and worked reliably with them.

---------

Co-authored-by: Kevin Frei <freik at meta.com>


  Commit: 5e564d97e3e99006e725b3ac514675a0157e9762
      https://github.com/llvm/llvm-project/commit/5e564d97e3e99006e725b3ac514675a0157e9762
  Author: Michael Klemm <michael.klemm at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M flang/runtime/time-intrinsic.cpp

  Log Message:
  -----------
  [Flang][runtime] Fix compilation errors introduced with PR #96652 (#97442)


  Commit: ebdb6f4ef4ba79eb73589fc96a64ce2c6994935d
      https://github.com/llvm/llvm-project/commit/ebdb6f4ef4ba79eb73589fc96a64ce2c6994935d
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/MLInlineAdvisor.h
    M llvm/lib/Analysis/MLInlineAdvisor.cpp

  Log Message:
  -----------
  [MLInliner] Keep track of deleted functions (#97348)

As opposed to using Node::isDead(), which is no longer accurate after
#94815.

This is only used in diagnostics.


  Commit: bf5a2a99b186216e4126dae3b16851f16c50603f
      https://github.com/llvm/llvm-project/commit/bf5a2a99b186216e4126dae3b16851f16c50603f
  Author: Pete Steinfeld <47540744+psteinfeld at users.noreply.github.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M flang/lib/Evaluate/intrinsics-library.cpp

  Log Message:
  -----------
  [flang] Fix build problem caused by #96807 (#97450)

I had erroneously used a bitwise '&' with boolean operands which caused
a warning on the ARM build. This change fixes that.


  Commit: e852725e5d517195de247f30b62ad2c56717958a
      https://github.com/llvm/llvm-project/commit/e852725e5d517195de247f30b62ad2c56717958a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Support/Unix/Signals.inc

  Log Message:
  -----------
  Support: Fix typo in comment


  Commit: fdd319655359b005889abf40d1d8a54fbd56059e
      https://github.com/llvm/llvm-project/commit/fdd319655359b005889abf40d1d8a54fbd56059e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/LinkerScript.h
    M lld/ELF/Writer.cpp
    A lld/test/ELF/linkerscript/empty-preinit-array-start-stop.test
    A lld/test/ELF/linkerscript/empty-section-start-stop.test
    R lld/test/ELF/linkerscript/preinit-array-empty.test
    M lld/test/ELF/linkerscript/sections-gc2.s
    M lld/test/ELF/pre_init_fini_array_missing.s

  Log Message:
  -----------
  [ELF] Make start/stop symbols retain associated discardable output sections

An empty output section specified in the `SECTIONS` command (e.g.
`empty : { *(empty) }`) may be discarded. Due to phase ordering, we
might define `__start_empty`/`__stop_empty` symbols with incorrect
section indexes (usually benign, but could go out of bounds and cause
`readelf -s` to print `BAD`).

```
finalizeSections
  addStartStopSymbols     // __start_empty is defined
  // __start_empty is added to .symtab
  sortSections
    adjustOutputSections  // `empty` is discarded
writeSections
  // __start_empty is Defined with an invalid section index
```

Loaders use `st_value` members of the start/stop symbols and expect no
"undefined symbol" linker error, but do not particularly care whether
the symbols are defined or undefined. Let's retain the associated empty
output section so that start/stop symbols will have correct section
indexes.

The approach allows us to remove `LinkerScript::isDiscarded`
(https://reviews.llvm.org/D114179). Also delete the
`findSection(".text")` special case from https://reviews.llvm.org/D46200,
which is unnecessary even before this patch (`elfHeader` would be fine
even with very large executables).

Note: we should be careful not to unnecessarily retain .ARM.exidx, which
would create an empty PT_ARM_EXIDX. ~40 tests would need to be updated.

---

An alternative is to discard the empty output section and keep the
start/stop symbols undefined. This approach needs more code and requires
`LinkerScript::isDiscarded` before we discard empty sections in
``adjustOutputSections`.

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


  Commit: 5f1743cd074cc7d45744d1acc8db379513b4501c
      https://github.com/llvm/llvm-project/commit/5f1743cd074cc7d45744d1acc8db379513b4501c
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/test/ELF/basic-freebsd.s

  Log Message:
  -----------
  [ELF] Infer EI_OSABI from object files

The first object file whose EI_OSABI is not ELFOSABI_NONE is selected.
This is useful for some OSes to identify themselves. This achieves
similar effects to BFD emulations `ld.lld -m *_fbsd` but is more
lightweight.

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


  Commit: 0fb3351524acd48c62c06c57ed28cc423db4e99e
      https://github.com/llvm/llvm-project/commit/0fb3351524acd48c62c06c57ed28cc423db4e99e
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    A lld/test/wasm/import-table-explicit.s
    A lld/test/wasm/import-table.s
    R lld/test/wasm/import-table.test
    M lld/wasm/SymbolTable.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Fix for --import-table when combined with reference types (#97451)

When reference types are enabled clang will generate call_indirect
instructions that explicitly reference the global
`__indirect_function_table` symbol.

In this case the resulting global symbol was not being correctly marked
with explicit import name/module, resulting in the linker reporting
errors when it was referenced.

This issue was reported in
https://github.com/WebAssembly/tool-conventions/issues/158


  Commit: 4d8883759432bb5fe6c5039b88c035d127ce948d
      https://github.com/llvm/llvm-project/commit/4d8883759432bb5fe6c5039b88c035d127ce948d
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lld/test/wasm/unresolved-symbols.s
    M lld/wasm/Relocations.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Fix filename when reporting references to undefined symbols (#97444)

When an undefined symbol is referenced from more than one file we were
reporting all undefined symbols as originating from just one of them.

This came up while working on
https://github.com/WebAssembly/tool-conventions/issues/158 where
undefined symbols in one object file were being reported as coming from
another.


  Commit: 3c50cbfda4fc3ad85349167132f7ed809ecc685a
      https://github.com/llvm/llvm-project/commit/3c50cbfda4fc3ad85349167132f7ed809ecc685a
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M offload/DeviceRTL/src/Debug.cpp
    M offload/DeviceRTL/src/LibC.cpp

  Log Message:
  -----------
  [DeviceRTL] Make defined 'libc' functions weak in OpenMP (#97356)

Summary:
These functions provide special-case implementations internal to the
OpenMP device runtime. This can potentially conflict with the symbols
pulled in from the actual GPU `libc`. This patch makes these weak, so in
the case that the GPU libc functions exist they will be overridden. This
should not impact performance in the average case because the old
`-mlink-builtin-bitcode` version does internalization, deleting weak,
and the new LTO path will resolve to the strong reference and then
internalize it.


  Commit: 2f89d4a8c79a2e88f2749c7460886e0d776f3aff
      https://github.com/llvm/llvm-project/commit/2f89d4a8c79a2e88f2749c7460886e0d776f3aff
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV] Split collecting and applying rewrite info from loop guards (NFC) (#97316)


Introduce a new LoopGuards class to track info from loop guards and split 
off collecting rewrite info to LoopGuards::collect. This allows users of 
applyLoopGuards to collect rewrite info once in cases where the same
loop guards are applied multiple times.

This is used to collect rewrite info once in howFarToZero, which saves a
bit of compile-time:
stage1-O3: -0.04%
stage1-ReleaseThinLTO: -0.02%
stage1-ReleaseLTO-g: -0.04%
stage2-O3: -0.02%

https://llvm-compile-time-tracker.com/compare.php?from=117b53ae38428ca66eaa886fb432e6f09db88fe4&to=4ffb7b2e1c99081ccebe6f236c48a0be2f64b6ff&stat=instructions:u

Notably this improves mafft by -0.9% with -O3, -0.11% with LTO and
-0.12% with stage2-O3.

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


  Commit: 072e81db7a974bfb27b9b65d73330de7dd739821
      https://github.com/llvm/llvm-project/commit/072e81db7a974bfb27b9b65d73330de7dd739821
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/Headers/amxcomplexintrin.h
    M clang/lib/Headers/ia32intrin.h
    M clang/test/Index/annotate-comments.cpp
    M clang/unittests/AST/DeclTest.cpp

  Log Message:
  -----------
  Revert "[Clang][Comments] Attach comments to decl even if preproc directives are in between (#88367)"

This reverts commit 9f04d75b2bd8ba83863db74ebe1a5c08cfc5815c.

There was post-commit feedback on the direction this PR took.


  Commit: b8eaa5bb10e1cf282fef130e372e57acc6a4b7e7
      https://github.com/llvm/llvm-project/commit/b8eaa5bb10e1cf282fef130e372e57acc6a4b7e7
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [ProfileData] Remove the old version of getValueProfDataFromInst (#97374)

I've migrated uses of the old version of getValueProfDataFromInst to
the one that returns SmallVector<InstrProfValueData, 4>.  This patch
removes the old version.


  Commit: 28a11cc49203b9af0875f4a78a681115478190b8
      https://github.com/llvm/llvm-project/commit/28a11cc49203b9af0875f4a78a681115478190b8
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/BufferDeallocationSimplification.cpp
    M mlir/lib/Transforms/Utils/RegionUtils.cpp
    M mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/dealloc-branchop-interface.mlir
    M mlir/test/Dialect/Linalg/detensorize_entry_block.mlir
    M mlir/test/Dialect/Linalg/detensorize_if.mlir
    M mlir/test/Dialect/Linalg/detensorize_while.mlir
    M mlir/test/Dialect/Linalg/detensorize_while_impure_cf.mlir
    M mlir/test/Dialect/Linalg/detensorize_while_pure_cf.mlir
    M mlir/test/Transforms/canonicalize-block-merge.mlir
    M mlir/test/Transforms/canonicalize-dce.mlir
    M mlir/test/Transforms/make-isolated-from-above.mlir
    R mlir/test/Transforms/test-canonicalize-merge-large-blocks.mlir

  Log Message:
  -----------
  Revert "Fix block merging" (#97460)

Reverts llvm/llvm-project#96871

Bots are broken.


  Commit: e25da69c132b2829a90a0fff6764cf27ea30a6d3
      https://github.com/llvm/llvm-project/commit/e25da69c132b2829a90a0fff6764cf27ea30a6d3
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Rename 'operand' to 'argument' in descriptions of VP intrinsics. NFC (#97437)

Fixes inconsistencies noted in #97386 and #97387.

There are still more intrinsics that have the same issue. I might submit
more patches for those.


  Commit: 717d839be4e36ab5330e60d61e0e1265c233b2ea
      https://github.com/llvm/llvm-project/commit/717d839be4e36ab5330e60d61e0e1265c233b2ea
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Rename 'operand' to 'argument' in descriptions for masked load/store/gather/scatter. NFC (#97440)

Following up on the renaming started in #97437.


  Commit: 139508eb87bda18c8adbfb87bba6acac8ce29a36
      https://github.com/llvm/llvm-project/commit/139508eb87bda18c8adbfb87bba6acac8ce29a36
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    A llvm/test/Transforms/SLPVectorizer/X86/reordering-single-phi.ll

  Log Message:
  -----------
  [SLP][NFC]Add a test with inefficient reordering of operands, NFC.


  Commit: b8bbc57b68454fda9811fd956a1d2caa61d4d323
      https://github.com/llvm/llvm-project/commit/b8bbc57b68454fda9811fd956a1d2caa61d4d323
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M libc/cmake/modules/CheckCompilerFeatures.cmake
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake

  Log Message:
  -----------
  [libc] Use -nostdlibinc in the full build mode (#97461)

This avoids accidentally including system headers.


  Commit: 3584a82333bf518e25c84d30e31ab5decd0f3fb6
      https://github.com/llvm/llvm-project/commit/3584a82333bf518e25c84d30e31ab5decd0f3fb6
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake

  Log Message:
  -----------
  [libc] Only use COMPILER_RESOURCE_DIR if available (#97465)

This avoids build error when COMPILER_RESOURCE_DIR is unset.


  Commit: 59f4267c8e0625c6583327be2db1608930f2d796
      https://github.com/llvm/llvm-project/commit/59f4267c8e0625c6583327be2db1608930f2d796
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lldb/docs/CMakeLists.txt
    M lldb/docs/index.rst
    M lldb/examples/python/templates/operating_system.py
    M lldb/examples/python/templates/scripted_platform.py
    M lldb/examples/python/templates/scripted_process.py

  Log Message:
  -----------
  [lldb/docs] Add scripting extensions documentation to the website (#97262)

This patch adds the documentation for a subset of scripting extensions
such as scripted process, scripted thread, operating system threads &
scritped thread plans to the lldb website.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>


  Commit: 93e0ffa790c5f738171ed90004ab2b9e46f8d387
      https://github.com/llvm/llvm-project/commit/93e0ffa790c5f738171ed90004ab2b9e46f8d387
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/ELF/Options.td
    M lld/test/ELF/lto/emit-llvm.ll

  Log Message:
  -----------
  [lld] Add `--lto-emit-asm` and alias `--plugin-opt=emit-llvm` to it (#97469)

Summary:
The LTO pass currently supporting emitting LTO via the
`--plugin-opt=emit-llvm` option. However, there is a very similar option
called `--lto-emit-asm`. This patch just makes the usage more
consistent and more obvious that emitting LLVM-IR is supported.


  Commit: 2ee86a1ebb9be7ff7be893b411a4af0a1dcee420
      https://github.com/llvm/llvm-project/commit/2ee86a1ebb9be7ff7be893b411a4af0a1dcee420
  Author: Tim Gymnich <tgymnich at icloud.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/popcount.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Improve non-SVE popcount for 32bit and 64 bit using udot (#96409)

Follow up for #95881

Use udot instead of a sequence of uaddlp instructions when summing up
lanes for popcount.


  Commit: 9fa7f401b2651663407562932529f72142bf8aaa
      https://github.com/llvm/llvm-project/commit/9fa7f401b2651663407562932529f72142bf8aaa
  Author: alx32 <103613512+alx32 at users.noreply.github.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lld/MachO/ObjC.cpp
    A lld/test/MachO/objc-category-merging-swift.s

  Log Message:
  -----------
  [lld-macho]  Category merger: handle addends when getting symbol at offset (#91238)

Currently the `tryFindDefinedOnIsec` takes in an `InputSection` and an
`offset` and is supposed to return the target symbol that is referenced
on that `InputSection` at the given offset.

However, it does not deal with the reloc `addend` and might return the
incorrect symbol.
Here we add support for handling the reloc's `addend`.


  Commit: 1490141145db1f9136a16bbce0f020e576613a72
      https://github.com/llvm/llvm-project/commit/1490141145db1f9136a16bbce0f020e576613a72
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCSection.h
    M llvm/include/llvm/MC/MCSectionMachO.h
    M llvm/lib/MC/MachObjectWriter.cpp

  Log Message:
  -----------
  Move MCSection::LayoutOrder to MCSectionMachO

This variable is similar to `Ordinal` but only used for Mach-O to place
zerofill sections ("virtual sections" in MC term) after non-zerofill ones.

Follow-up to 7840c0066837797cdeb62aab63044b964aa7f372.

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


  Commit: 45507166a1b38ce2831bd1e32f43977f647ccf47
      https://github.com/llvm/llvm-project/commit/45507166a1b38ce2831bd1e32f43977f647ccf47
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-cfi.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-diff-scope-same-key.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-non-leaf.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-regsave.mir
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-diff-key.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-a.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-b.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll

  Log Message:
  -----------
  [AArch64][MachineOutliner][NFC] Re-enable some tests (#96376)

Part of the tests did not run and some checks were missing due to
incorrect prefixes. The patch also updates the check lines to catch up
with recent changes.

The problematic revisions were:
 * [D70635](https://reviews.llvm.org/D70635)
 * [D71658](https://reviews.llvm.org/D71658)
 * [D111780](https://reviews.llvm.org/D111780)


  Commit: 79516ddbee3a1d6c95cfbe6d14c790f741167165
      https://github.com/llvm/llvm-project/commit/79516ddbee3a1d6c95cfbe6d14c790f741167165
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
    M llvm/test/CodeGen/AMDGPU/codegen-prepare-addrspacecast-non-null.ll

  Log Message:
  -----------
  AMDGPU: Fix assert from wrong address space size assumption (#97267)

This was assuming the source address space was at least as large
as the destination of the cast. I'm not sure why this was casting
to begin with; the assumption seems to be the source
address space from the root addrspacecast matches the underlying
object so directly check that.

Fixes #97457


  Commit: 57555c6a0a96790bf1408b056405abe07899ead4
      https://github.com/llvm/llvm-project/commit/57555c6a0a96790bf1408b056405abe07899ead4
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Don't custom lower f16 SCALAR_TO_VECTOR with Zvfhmin.

This doesn't appear to be tested and our custom handler doesn't
support this right now.


  Commit: 9ed4b171e95e9704286a5406c41a9a14580e2c42
      https://github.com/llvm/llvm-project/commit/9ed4b171e95e9704286a5406c41a9a14580e2c42
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M third-party/unittest/CMakeLists.txt

  Log Message:
  -----------
  llvm_gtest: Only install once (#96959)

llvm_gtest and its dependencies were being installed twice (and into two
different locations depending on the cmake options).


  Commit: 21276fd7beb640d5fb1a10c228c9f48f620a8eac
      https://github.com/llvm/llvm-project/commit/21276fd7beb640d5fb1a10c228c9f48f620a8eac
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/MC/MCMachOStreamer.cpp
    M llvm/test/MC/MachO/cfi-advance-loc-err.s

  Log Message:
  -----------
  [MC] Don't treat altentry symbols as atoms

The current `setAtom` is inaccurate: a `.alt_entry` label can also be
recognized as an atom. This is mostly benign, but might cause two
locations only separated by an `.alt_entry` to have different atoms.

https://reviews.llvm.org/D153167 changed a `evaluateKnownAbsolute` to
`evaluateAsAbsolute` and would not fold `A-B` even if they are only
separated by a `.alt_entry` label, leading to a spurious error
`invalid CFI advance_loc expression`.

The fix is similar to #82268: add a special case for `.alt_entry`.

Fix #97116

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


  Commit: 622df0ee9226b90e924538909337d55333d5d2fa
      https://github.com/llvm/llvm-project/commit/622df0ee9226b90e924538909337d55333d5d2fa
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lldb/bindings/python/CMakeLists.txt
    M lldb/docs/CMakeLists.txt
    A lldb/docs/python_extensions.rst
    A lldb/examples/python/templates/scripted_thread_plan.py

  Log Message:
  -----------
  [lldb] Add scripted thread plan python base class to lldb & website (#97481)

Following a feedback request in #97262, I took out the scripted thread
plan python base class from it and make a separate PR for it.

This patch adds the scripted thread plan base python class to the lldb
python module as well as the lldb documentation website.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>


  Commit: 5196a91b0827b895aba63ce150ebc8f10795316c
      https://github.com/llvm/llvm-project/commit/5196a91b0827b895aba63ce150ebc8f10795316c
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
    M clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
    M clang/test/SemaHLSL/Availability/avail-diag-strict-lib.hlsl

  Log Message:
  -----------
  [HLSL] Run availability diagnostic on exported functions (#97352)

Implements availability diagnostic on `export` functions. 

For shader libraries the HLSL availability diagnostic should run on all
entry points and export functions. Now that the `export` keyword is
implemented (llvm/llvm-project#96823), we can detect which functions are
exported and run the diagnostic on them.

Exported functions can be nested in namespaces and in export
declarations so we need to scan not just the current translation unit
but also namespace and export declarations contexts.

Fixes #92073


  Commit: 60d4a3517610494e5b2ef6bf347cdc71a6a979e5
      https://github.com/llvm/llvm-project/commit/60d4a3517610494e5b2ef6bf347cdc71a6a979e5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Rename 'operand' to 'argument' in description of contrained intrinsics. NFC (#97462)

Continues the renaming started in #97437.


  Commit: 23db37c51cd3dcdcf069345aa7fab7d84b6f6f6e
      https://github.com/llvm/llvm-project/commit/23db37c51cd3dcdcf069345aa7fab7d84b6f6f6e
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/Instructions.h
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/X86/trap.ll
    M llvm/test/CodeGen/X86/unreachable-trap.ll
    A llvm/test/CodeGen/X86/unreachable-ubsantrap.ll
    M llvm/test/LTO/X86/unified-cfi.ll

  Log Message:
  -----------
  [CodeGen] Do not emit TRAP for `unreachable` after `@llvm.trap` (#94570)

With `--trap-unreachable`, `clang` can emit double `TRAP` instructions
for code that contains a call to `__builtin_trap()`:

```
> cat test.c
void test() { __builtin_trap(); }
> clang test.c --target=x86_64 -mllvm --trap-unreachable -O1 -S -o -
...
test:
...
  ud2
  ud2
...
```

`SimplifyCFGPass` inserts `unreachable` after a call to a `noreturn`
function, and later this instruction causes `TRAP/G_TRAP` to be emitted
in `SelectionDAGBuilder::visitUnreachable()` or
`IRTranslator::translateUnreachable()` if
`TargetOptions.TrapUnreachable` is set.

The patch checks the instruction before `unreachable` and avoids
inserting an additional trap.


  Commit: b5b0a22ecc58c9950fb4b1cd3532e75f42155978
      https://github.com/llvm/llvm-project/commit/b5b0a22ecc58c9950fb4b1cd3532e75f42155978
  Author: Evgenii Kudriashov <evgenii.kudriashov at intel.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/GISel/X86CallLowering.cpp
    M llvm/test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll
    M llvm/test/CodeGen/X86/isel-buildvector-sse.ll
    M llvm/test/CodeGen/X86/isel-buildvector-sse2.ll

  Log Message:
  -----------
  [X86][GlobalISel] Support StructRet arguments (#96629)

We follow SelectionDAG and FastISel manner: set a register during formal
arguments lowering and use this register to insert a copy of StructRet
argument to RAX register during return lowering.

Also add RAX register to RET instruction to fix a difference between
GlobalISel and SelectionDAG, when the copy instruction could be
deleted.


  Commit: 594bc520a8a14617bdfc158f4c78fa70567dab19
      https://github.com/llvm/llvm-project/commit/594bc520a8a14617bdfc158f4c78fa70567dab19
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lld/ELF/LTO.cpp
    M lld/test/ELF/lto/emit-llvm.ll

  Log Message:
  -----------
  [lld] Change `--lto-emit-llvm` to use the pre-codegen module (#97480)

Summary:
Currently the `--lto-emit-llvm` option writes out the
post-internalization bitcode. This is the bitcode before any
optimizations or other pipelines have been run on it. This patch changes
that to use the pre-codegen module, which is the state of the LLVM-IR
after the optimizations have been run.

I believe that this makes sense as the `--lto-emit-llvm` option seems to
imply that we should emit the final output of the LLVM pass as if it
were the desired output. This should include optimizations at the
requested optimization level. My main motivation for this change is to
be able to use this to link several LLVM-IR files into a single one that
I can then pass back to `ld.lld` later (for JIT purposes).


  Commit: 4b28b3fae4eb0808a135a7ec73a2f4a7257a6652
      https://github.com/llvm/llvm-project/commit/4b28b3fae4eb0808a135a7ec73a2f4a7257a6652
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/lib/Transforms/Scalar/Scalarizer.cpp
    M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/LoopSimplify.cpp

  Log Message:
  -----------
  [Transforms] Use range-based for loops (NFC) (#97195)


  Commit: 4e567242133678c88a6cb5aeb979c6148f6a7035
      https://github.com/llvm/llvm-project/commit/4e567242133678c88a6cb5aeb979c6148f6a7035
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 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/llvm_libc_ext.td
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    A libc/src/math/f16add.h
    A libc/src/math/f16addf128.h
    A libc/src/math/f16addl.h
    A libc/src/math/f16sub.h
    A libc/src/math/f16subf128.h
    A libc/src/math/f16subl.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/f16add.cpp
    A libc/src/math/generic/f16addf128.cpp
    A libc/src/math/generic/f16addl.cpp
    A libc/src/math/generic/f16sub.cpp
    A libc/src/math/generic/f16subf128.cpp
    A libc/src/math/generic/f16subl.cpp
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/f16add_test.cpp
    A libc/test/src/math/f16addl_test.cpp
    A libc/test/src/math/f16sub_test.cpp
    A libc/test/src/math/f16subl_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/f16add_test.cpp
    A libc/test/src/math/smoke/f16addf128_test.cpp
    A libc/test/src/math/smoke/f16addl_test.cpp
    A libc/test/src/math/smoke/f16sub_test.cpp
    A libc/test/src/math/smoke/f16subf128_test.cpp
    A libc/test/src/math/smoke/f16subl_test.cpp

  Log Message:
  -----------
  [libc][math][c23] Add f16{add,sub}{,l,f128} C23 math functions (#97072)

Part of #93566.


  Commit: 58fd3bea6d759eb17722ad2e0135714a34efd7e0
      https://github.com/llvm/llvm-project/commit/58fd3bea6d759eb17722ad2e0135714a34efd7e0
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

  Log Message:
  -----------
  [CodeGen] Use range-based for loops (NFC) (#97467)


  Commit: a1c4926dd0ffbc3be8b27b159d8b1978b2ee9411
      https://github.com/llvm/llvm-project/commit/a1c4926dd0ffbc3be8b27b159d8b1978b2ee9411
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M libc/CMakeLists.txt
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake

  Log Message:
  -----------
  [libc] Include Linux kernel headers in the full build (#97486)

When doing a full build for Linux, as of #97461 we no longer include
system headers, but we need to include Linux kernel headers.


  Commit: 35668e2c9cb1a09fac1773dfc62fcd892b358294
      https://github.com/llvm/llvm-project/commit/35668e2c9cb1a09fac1773dfc62fcd892b358294
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M bolt/lib/Core/BinaryContext.cpp
    M clang/docs/tools/clang-formatted-files.txt
    R llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/tools/dsymutil/MachOUtils.cpp

  Log Message:
  -----------
  Remove llvm/MC/MCAsmLayout.h and the unused parameter in MCAssembler::layout

This restores 63ec52f867ada8d841dd872acf3d0cb62e2a99e8 and
46f7929879a59ec72dc75679b4201e2d314efba9, NFC changes that were
unnecessarily reverted.

This completes the work that merges MCAsmLayout into MCAssembler.

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


  Commit: 3402a1a4d2d4c7ead69156c3d741fc9ae9c4d399
      https://github.com/llvm/llvm-project/commit/3402a1a4d2d4c7ead69156c3d741fc9ae9c4d399
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/test/CodeGen/no-skipped-passes-O0-opt-bisect.c
    A clang/test/CodeGen/nsan-basic.c
    M clang/test/CodeGen/sanitizer-module-constructor.c

  Log Message:
  -----------
  [Clang] Enable nsan instrumentation pass (#97359)

Enable nsan instrumentation pass


  Commit: 0a369b06e34495966c6c9db427ea52f77a82a0bf
      https://github.com/llvm/llvm-project/commit/0a369b06e34495966c6c9db427ea52f77a82a0bf
  Author: Ryotaro KASUGA <kasuga.ryotaro at fujitsu.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachinePipeliner.h
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    A llvm/test/CodeGen/AArch64/sms-instruction-scheduled-at-correct-cycle.mir

  Log Message:
  -----------
  Reapply "[MachinePipeliner] Fix constraints aren't considered in cert… (#97259)

…ain cases" (#97246)

This reverts commit e6a961dbef773b16bda2cebc4bf9f3d1e0da42fc.

There is no difference from the original change. I re-ran the failed
test and it passed. So the failure wasn't caused by this change.
test result: https://lab.llvm.org/buildbot/#/builders/176/builds/585


  Commit: 7c94a227bccf4d067a65f4ed88aa415fd1de9d81
      https://github.com/llvm/llvm-project/commit/7c94a227bccf4d067a65f4ed88aa415fd1de9d81
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/sanitizer-ld.c

  Log Message:
  -----------
  [Clang][Driver] Link nsan runtime (#97364)

Link nsan runtime.


  Commit: 0856064ea219d029e7d2c4f68bb88196fe647f6b
      https://github.com/llvm/llvm-project/commit/0856064ea219d029e7d2c4f68bb88196fe647f6b
  Author: Youngsuk Kim <youngsuk.kim at hpe.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
    M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
    M clang/lib/StaticAnalyzer/Core/SVals.cpp

  Log Message:
  -----------
  [clang][StaticAnalyzer] Avoid 'raw_string_ostream::str' (NFC)

Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.

Work towards TODO comment to remove `raw_string_ostream::str()`.


  Commit: de5ff38a0d20faedac43a1d838fb65b67e77c34e
      https://github.com/llvm/llvm-project/commit/de5ff38a0d20faedac43a1d838fb65b67e77c34e
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [LoopIdiomVectorize][NFC] Factoring out the part that handles vectorization strategy (#94682)

To pave the way for porting LIV to RISC-V, which uses VP intrinsics for
vectors.

NFC.


  Commit: a355c2d07464f020c9a66cbd6189c22a42c2be2e
      https://github.com/llvm/llvm-project/commit/a355c2d07464f020c9a66cbd6189c22a42c2be2e
  Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
    A llvm/test/Transforms/InferAddressSpaces/AMDGPU/preserving-debugloc-addrspacecast.ll

  Log Message:
  -----------
  [DebugInfo][InferAddressSpaces] Fix the missing debug location update for the new addrspacecast (#97038)

Fix #97006 .


  Commit: 8b55d342b6375ec64985272020d21f29422dce6a
      https://github.com/llvm/llvm-project/commit/8b55d342b6375ec64985272020d21f29422dce6a
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/LoopIdiomVectorize.h
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    M llvm/lib/Target/RISCV/RISCVTargetMachine.h
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
    A llvm/test/CodeGen/RISCV/rvv/vfirst-byte-compare-index.ll
    A llvm/test/Transforms/LoopIdiom/RISCV/byte-compare-index.ll

  Log Message:
  -----------
  [RISCV][LoopIdiomVectorize] Support VP intrinsics in LoopIdiomVectorize (#94082)

Teach LoopIdiomVectorize to use VP intrinsics to replace the byte
compare loops. Right now only RISC-V uses LoopIdiomVectorize of this
style.


  Commit: 2360c410fa501cb0a1606fc279e61abcda54326c
      https://github.com/llvm/llvm-project/commit/2360c410fa501cb0a1606fc279e61abcda54326c
  Author: Min Hsu <min.hsu at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/CMakeLists.txt

  Log Message:
  -----------
  [RISCV] Add the missing dependency on Vectorize

Caused by #94082.


  Commit: 3641efcf8cb256ddbd20f4add5ce55800cad5399
      https://github.com/llvm/llvm-project/commit/3641efcf8cb256ddbd20f4add5ce55800cad5399
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [CodeGen] Use range-based for loops (NFC) (#97500)


  Commit: 0f9fbbb63cfcd2069441aa2ebef622c9716f8dbb
      https://github.com/llvm/llvm-project/commit/0f9fbbb63cfcd2069441aa2ebef622c9716f8dbb
  Author: Hongyu Chen <hongyuchy at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lld/Common/Version.cpp
    M lld/ELF/Driver.cpp
    M lld/MinGW/Driver.cpp
    M lld/test/ELF/version.test
    M lld/test/MinGW/driver.test

  Log Message:
  -----------
  [lld][ELF] Support LLVM repository and LLVM revision information (#97323)

Added LLVM repository and LLVM revision information for
`lld::getLLDVersion()`

Before this change:
```
hongyuchy at hongyuchy:~/llvm-project/.build_lld_version$ bin/ld.lld --version
LLD 19.0.0 (compatible with GNU linkers) 
```

After this change with LLVM_APPEND_VC_REV=on
```
hongyuchy at hongyuchy:~/llvm-project/.build_lld_version$ bin/ld.lld --version
LLD 19.0.0 (https://github.com/yugier/llvm-project.git 4134b33c6a362cb462b335177d6d9e8235f04309), compatible with GNU linkers
```

with LLVM_APPEND_VC_REV=off
```
hongyuchy at hongyuchy:~/llvm-project/.build_lld_version$ bin/ld.lld --version
LLD 19.0.0, compatible with GNU linkers
```


  Commit: e860c166556105c6f9275e130a0c27ae117a5f12
      https://github.com/llvm/llvm-project/commit/e860c166556105c6f9275e130a0c27ae117a5f12
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    A llvm/docs/RISCV/RISCVVectorExtension.rst
    M llvm/docs/UserGuides.rst

  Log Message:
  -----------
  [Docs][RISCV] Document RISC-V vector codegen (#96740)

This is a revival of https://reviews.llvm.org/D142348, and attempts to
document how RVV semantics can be expressed in LLVM IR as well as how
codegen works in the backend.

Parts of this are taken from the original RFC
https://lists.llvm.org/pipermail/llvm-dev/2020-October/145850.html, but
I've largely rewritten this from the original differential revision to
exclude explaining the specification itself and instead just focus on
the LLVM specific bits. (I figured that there's better material
available elsewhere for learning about RVV itself)

I've also updated it to include as much as I know about fixed vector
codegen as well as the recent changes to vsetvli insertion.


  Commit: 6a992bc89f5ca25d132abd044d78ecf27ae6e162
      https://github.com/llvm/llvm-project/commit/6a992bc89f5ca25d132abd044d78ecf27ae6e162
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M llvm/include/llvm/TargetParser/PPCTargetParser.def
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    A llvm/tools/clang

  Log Message:
  -----------
  [PowerPC] refactor CPU info in PPCTargetParser.def, NFC

CPU features will be done in follow up patches.


  Commit: a9c44fd66a1a2f79c96cb5509634ca67a04b061a
      https://github.com/llvm/llvm-project/commit/a9c44fd66a1a2f79c96cb5509634ca67a04b061a
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M compiler-rt/test/asan/TestCases/printf-5.c

  Log Message:
  -----------
  [asan] Disable flaky test on Android (#97516)

Issue #97515


  Commit: dd220853081400db6b4f85027030645115229ba0
      https://github.com/llvm/llvm-project/commit/dd220853081400db6b4f85027030645115229ba0
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    A flang/include/flang/Runtime/matmul-instances.inc
    M flang/include/flang/Runtime/matmul-transpose.h
    M flang/include/flang/Runtime/matmul.h
    M flang/runtime/matmul-transpose.cpp
    M flang/runtime/matmul.cpp
    M flang/unittests/Runtime/Matmul.cpp
    M flang/unittests/Runtime/MatmulTranspose.cpp

  Log Message:
  -----------
  [flang][runtime] Split MATMUL[_TRANSPOSE] into separate entries. (#97406)

Device compilation is much faster for separate MATMUL[_TRANPOSE]
entries than for a single one that covers all data types.
The lowering changes and the removal of the generic entries will follow.


  Commit: 03579455bd941da6278f883ed8827ef0fbeb5e50
      https://github.com/llvm/llvm-project/commit/03579455bd941da6278f883ed8827ef0fbeb5e50
  Author: agozillon <Andrew.Gozillon at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    A flang/test/Lower/OpenMP/declare-target-unnamed-main.f90

  Log Message:
  -----------
  [Flang][OpenMP] More elegantly handle declare target in unnamed program (#95834)

This PR is related to the following issue:

https://github.com/llvm/llvm-project/issues/63362

It tries to solve the crash (which is now slightly different, since the
issue has been languishing for a while sorry about that I missed the
original issue ping).

The crash occurs due to trying to access the symbol of an
undefined/unnamed main when trying to find a declare target symbol that
has not been specified (but can be assumed based on it's residence in a
function or interface).

The solution in this PR will check if we're trying to retrieve a main
symbol, and then if that is the case, we make sure it exists (due to
being named) before we attempt to retrieve it, this avoids the crash.

However, that's only part of the issue in the above example, the other
is the significant amount of nested directives, I think we are still a
little while away from handling this, I have added a reduced variation
of the test in the issue as a replicator which contains a lesser number
of nesting directives. To push the issue along further, it will likely
be a case of working through a number of variations of nested directives
in conjunction with target + parallel.

However, this PR pushes the issue above to the point where the issue
encountered is identical to the following:
https://github.com/llvm/llvm-project/issues/67231


  Commit: c785eaec373aecf669807d29478ddefd56c82228
      https://github.com/llvm/llvm-project/commit/c785eaec373aecf669807d29478ddefd56c82228
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Add wrapper function for getStringError in RISCVISAInfo. NFC (#97478)

We use the same error code for all errors. Add a wrapper so we don't
have to repeat it.


  Commit: 0cfd03ac0d3f9713090a581bda07584754c73a49
      https://github.com/llvm/llvm-project/commit/0cfd03ac0d3f9713090a581bda07584754c73a49
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

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

  Log Message:
  -----------
  [ProfileData] Use ArrayRef in PatchItem (NFC) (#97379)

Packaging an array and its size as ArrayRef in PatchItem allows us to
get rid of things like std::size(Header) and HeaderOffsets.size().


  Commit: 4e78d3a6b1560fb5debf1b518b4bd62924e900e5
      https://github.com/llvm/llvm-project/commit/4e78d3a6b1560fb5debf1b518b4bd62924e900e5
  Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
    M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
    M mlir/include/mlir/Interfaces/LoopLikeInterface.h
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    M mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp
    M mlir/lib/Interfaces/LoopLikeInterface.cpp
    M mlir/test/Dialect/SCF/transform-loop-fuse-sibling.mlir

  Log Message:
  -----------
  Revert "Refactor LoopFuseSiblingOp and support parallel fusion (#94391)" (#97523)

This reverts commit 6820b0871807abff07df118659e0de2ca741cb0b.


  Commit: e1094dd889c516da0c3181bf2be44ad631a84255
      https://github.com/llvm/llvm-project/commit/e1094dd889c516da0c3181bf2be44ad631a84255
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
    M llvm/test/CodeGen/AMDGPU/memcpy-fixed-align.ll
    M llvm/test/CodeGen/AMDGPU/memcpy-libcall.ll
    A llvm/test/CodeGen/AMDGPU/memcpy-param-combinations.ll
    A llvm/test/CodeGen/AMDGPU/memcpy-scalar-load.ll
    A llvm/test/CodeGen/AMDGPU/memmove-param-combinations.ll
    A llvm/test/CodeGen/AMDGPU/memmove-scalar-load.ll

  Log Message:
  -----------
  [AMDGPU][DAG] Enable ganging up of memcpy loads/stores for AMDGPU (#96185)

In the SelectionDAG lowering of the memcpy intrinsic, this optimization
introduces additional chains between fixed-size groups of loads and the
corresponding stores. While initially introduced to ensure that wider
load/store-pair instructions are generated on AArch64, this optimization
also improves code generation for AMDGPU: Ganged loads are scheduled
into a clause; stores only await completion of their corresponding load.

The chosen value of 16 performed good in microbenchmarks, values of 8,
32, or 64 would perform similarly.
The testcase updates are autogenerated by
utils/update_llc_test_checks.py.

See also:
 - PR introducing this optimization: https://reviews.llvm.org/D46477

Part of SWDEV-455845.


  Commit: 690ecee40cd2f3d6655af09272c89a2ea15ada60
      https://github.com/llvm/llvm-project/commit/690ecee40cd2f3d6655af09272c89a2ea15ada60
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    R llvm/tools/clang

  Log Message:
  -----------
  remove the symlink adding by mistake, NFC.


  Commit: c5b67dde981d81f9bbd9a6328d5c1eb4297ed3b4
      https://github.com/llvm/llvm-project/commit/c5b67dde981d81f9bbd9a6328d5c1eb4297ed3b4
  Author: Thorsten Schütt <schuett at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/form-bitfield-extract-from-and.mir

  Log Message:
  -----------
  [GlobalIsel][NFC] Modernize UBFX combine (#97513)

Credits: https://reviews.llvm.org/D99283


  Commit: a707d0883b5ab9de6a0a864df614ef14909a4de1
      https://github.com/llvm/llvm-project/commit/a707d0883b5ab9de6a0a864df614ef14909a4de1
  Author: Joachim <jenke at itc.rwth-aachen.de>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M openmp/runtime/src/kmp_csupport.cpp
    M openmp/runtime/src/kmp_dispatch.cpp
    M openmp/runtime/src/kmp_sched.cpp
    M openmp/runtime/src/ompt-specific.h
    M openmp/runtime/test/ompt/callback.h
    M openmp/runtime/test/ompt/synchronization/ordered_dependences.c
    M openmp/runtime/test/ompt/tasks/taskloop.c
    M openmp/runtime/test/ompt/tasks/taskloop_dispatch.c
    M openmp/runtime/test/ompt/teams/distribute_dispatch.c
    M openmp/runtime/test/ompt/worksharing/for/auto.c
    M openmp/runtime/test/ompt/worksharing/for/auto_serialized.c
    M openmp/runtime/test/ompt/worksharing/for/auto_split.c
    M openmp/runtime/test/ompt/worksharing/for/base.h
    M openmp/runtime/test/ompt/worksharing/for/base_serialized.h
    M openmp/runtime/test/ompt/worksharing/for/base_split.h
    M openmp/runtime/test/ompt/worksharing/for/guided_serialized.c
    M openmp/runtime/test/ompt/worksharing/for/loop_dispatch.c
    M openmp/runtime/test/ompt/worksharing/for/runtime.c
    M openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c
    M openmp/runtime/test/ompt/worksharing/for/runtime_split.c
    M openmp/runtime/test/ompt/worksharing/sections.c
    M openmp/runtime/test/ompt/worksharing/sections_dispatch.c
    M openmp/runtime/test/ompt/worksharing/single.c

  Log Message:
  -----------
  [OpenMP][OMPT] Indicate loop schedule for worksharing-loop events (#97429)

Use more specific values from `ompt_work_t` to allow the tool identify
the schedule of a worksharing-loop. With this patch, the runtime will
report the schedule chosen by the runtime rather than necessarily the
schedule literally requested by the clause.
E.g., for guided + just one iteration per thread, the runtime would
choose and report static.

Fixes issue #63904


  Commit: b77e734e4e6c8f5e016ba3ac49526862e6039482
      https://github.com/llvm/llvm-project/commit/b77e734e4e6c8f5e016ba3ac49526862e6039482
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
    M lldb/test/API/commands/register/register/register_command/TestRegisters.py
    M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
    M lldb/test/API/linux/aarch64/mte_core_file/TestAArch64LinuxMTEMemoryTagCoreFile.py
    M lldb/test/Shell/Register/Core/aarch64-freebsd-register-fields.test

  Log Message:
  -----------
  [lldb][AArch64] Add register field enum information (#96887)

This enables XML output for enums and adds enums for 2 fields on AArch64
Linux:
* mte_ctrl.tcf, which controls how tag faults are delivered.
* fpcr.rmode, which sets the rounding mode for floating point
operations.

The other one we could do is cpsr.btype, but it is not clear what would
be useful here so I'm not including it in this change.


  Commit: 3969d2c3b5f42e4a180f5205efa780b0f950d733
      https://github.com/llvm/llvm-project/commit/3969d2c3b5f42e4a180f5205efa780b0f950d733
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select-binop-cmp.ll

  Log Message:
  -----------
  [InstCombine] Disable select known bits fold for vectors

This is not safe if the simplification ends up looking through
lane-crossing operations. For now, we don't have a good way to
limit this in computeKnownBits(), so just disable vector handling
entirely.

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


  Commit: b3be14896770b31c18f4ec32b05b334dc811f356
      https://github.com/llvm/llvm-project/commit/b3be14896770b31c18f4ec32b05b334dc811f356
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll

  Log Message:
  -----------
  [RISCV] Use LiveIntervals::extendToIndices to extend AVL in insertVSETVLI (#97512)

In #96200 we handled extending AVL LiveIntervals across basic blocks,
which fixed a crash in a test case in
133ab9a8c82a31549f060da33fd7e14f1d7f39fd.

This was done by manually adding a single segment to the LiveInterval to
extend it from AVL def -> inserted vsetvli, but in hindsight this was
too simple and fails to handle cases where the vsetlvi is located before
the AVL def.

This patch fixes this by using LiveIntervals::extendToIndices instead
which can handle these cases.

(The crash that this fixes is separate from the crash in #97264)


  Commit: f3a02253e9daba0e5c11b94c090dfa9e2e9ad5db
      https://github.com/llvm/llvm-project/commit/f3a02253e9daba0e5c11b94c090dfa9e2e9ad5db
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/test/Bitcode/upgrade-memory-intrinsics.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-reloc-const.ll
    M llvm/test/CodeGen/AMDGPU/cse-phi-incoming-val.ll
    M llvm/test/CodeGen/AMDGPU/dual-source-blend-export.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll
    M llvm/test/CodeGen/AMDGPU/load-local-redundant-copies.ll
    M llvm/test/CodeGen/AMDGPU/memory_clause.ll
    M llvm/test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
    M llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
    M llvm/test/CodeGen/AMDGPU/wqm-gfx11.ll
    M llvm/test/CodeGen/X86/masked_store.ll
    M llvm/test/Transforms/InstCombine/select.ll
    M llvm/test/Transforms/InstSimplify/select-inseltpoison.ll
    M llvm/test/Transforms/InstSimplify/select.ll

  Log Message:
  -----------
  [test] Remove immarg parameter attribute from calls (#97432)

It is documented that immarg is only valid on intrinsic declarations,
although the verifier also tolerates it on intrinsic calls.

This patch updates tests that are not specifically testing the
behavior of the IR parser or verifier.


  Commit: 76c84e702bd9af7db2bb9373ba6de0508f1e57a9
      https://github.com/llvm/llvm-project/commit/76c84e702bd9af7db2bb9373ba6de0508f1e57a9
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M flang/test/Driver/target-cpu-features.f90

  Log Message:
  -----------
  [Driver][X86] Add flang visibility for -mapx-features= (#97525)

The default visibility of `m_x86_Features_Group` is `ClangOption,
CLOption`. For x86, we expose `-march` to flang but not `-m<cpuid>`.
`apxf` is special b/c it contains several independent features like
`egpr, ndd, ppx, push2pop2, ccmp, nf, cf` and `zu`.

Users may would like to turn on part of features in different cases

1. enable `ndd` only when writing a code-size sensitive library 
2. disable `ccmp`, `cf` when building component has strong security
request on caches

Hence, we expose `-mapx-features=` to flang for Fortran users.


  Commit: 2a14c0643597c5932af85f22172c99800f9b4a6c
      https://github.com/llvm/llvm-project/commit/2a14c0643597c5932af85f22172c99800f9b4a6c
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Utility/Broadcaster.h
    M lldb/source/Utility/Broadcaster.cpp
    M lldb/source/Utility/Listener.cpp
    M lldb/unittests/Utility/ListenerTest.cpp

  Log Message:
  -----------
  [lldb] Make Broadcaster mutexes non-recursive (#97400)

Non-recursive mutexes encourage better locking discipline and avoid bugs
like #96750, where one can unexpectedly re-enter the critical section on
the same thread, and interrupt a presumed-indivisible operation.

In this case, the only needed fix was to remove locking from some
BroadcastManager functions, which were only called from the Listener
class (and the listener already locked those mutexes to preserve lock
ordering).

While doing that, I noticed we don't have unit tests for these
functions, so I added one.


  Commit: 1787d4b28417ea9f26c0213e8f597cc5bb289144
      https://github.com/llvm/llvm-project/commit/1787d4b28417ea9f26c0213e8f597cc5bb289144
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/lib/Interpreter/Interpreter.cpp
    M clang/unittests/Interpreter/InterpreterTest.cpp

  Log Message:
  -----------
  [clang-repl] Fix RuntimeInterfaceBuilder for 32-bit systems (#97071)

When generating runtime interface bindings, extend integral types to the
native register size rather than 64-bit per se

Fixes #94994


  Commit: aa0851a5a6fd0c8d66dfd8b259c215dba3fabd1e
      https://github.com/llvm/llvm-project/commit/aa0851a5a6fd0c8d66dfd8b259c215dba3fabd1e
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp

  Log Message:
  -----------
  [lldb][DataFormatter][NFC] Remove redundant variables in std::map formatter

Redundant since:
```
commit be3be28b5d5c97de1c26bf069e0b82043d938f30
Author: Enrico Granata <egranata at apple.com>
Date:   Mon Oct 3 23:33:00 2016 +0000

    Changes to the std::multimap formatter to make it work against trunk libc++

    Fixes rdar://28237486

    llvm-svn: 283160
```


  Commit: da62f5f8dfe4d4196191b40dc41e1ef2de1bf5cb
      https://github.com/llvm/llvm-project/commit/da62f5f8dfe4d4196191b40dc41e1ef2de1bf5cb
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp

  Log Message:
  -----------
  [lldb][DataFormatter][NFC] std::map: Add comments and other minor cleanups


  Commit: e89890e8e510f2b76c8c4a2b2a6fc323b1e837ad
      https://github.com/llvm/llvm-project/commit/e89890e8e510f2b76c8c4a2b2a6fc323b1e837ad
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp

  Log Message:
  -----------
  [lldb][DataFormatter][NFC] std::map: minor restructuring in GetChildAtIndex to use early-return


  Commit: 40278bb1193720c42911f7297d3bcb4c5af5bc9c
      https://github.com/llvm/llvm-project/commit/40278bb1193720c42911f7297d3bcb4c5af5bc9c
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp
    M flang/test/Lower/OpenACC/acc-data.f90
    M flang/test/Lower/OpenACC/acc-enter-data.f90
    M flang/test/Lower/OpenACC/acc-exit-data.f90
    M flang/test/Lower/OpenACC/acc-parallel.f90
    M flang/test/Lower/OpenACC/acc-serial.f90
    M flang/test/Lower/OpenACC/acc-update.f90
    M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp

  Log Message:
  -----------
  [mlir][acc] Added async to data clause operations. (#97307)

As long as the data clause operations are not tightly
"associated" with the compute/data operations (e.g.
they can be optimized as SSA producers and made block
arguments), the information about the original async()
clause should be attached to the data clause operations
to make it easier to generate proper runtime actions
for them. This change propagates the async() information
from the OpenACC data/compute constructs to the data clause
operations. This change also adds the CurrentDeviceIdResource
to guarantee proper ordering of the operations that read
and write the current device identifier.


  Commit: 68a1944070caa33d73390e1a6d956c6abdbea872
      https://github.com/llvm/llvm-project/commit/68a1944070caa33d73390e1a6d956c6abdbea872
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp
    M mlir/test/Dialect/Vector/test-scalable-bounds.mlir

  Log Message:
  -----------
  [mlir][vector] Project out anonymous bounds in ScalableValueBoundsConstraintSet (#96499)

If we don't eliminate these columns, then in some cases we fail to
compute a scalable bound. Test case reduced from a real-world example.


  Commit: a3571376ad9555de07e4d8f74f92de1eaa4c486e
      https://github.com/llvm/llvm-project/commit/a3571376ad9555de07e4d8f74f92de1eaa4c486e
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  [InstCombine] Add test for #97053 (NFC)


  Commit: 4d2ae88d1617a910ec3a1436ce53579523ac2f97
      https://github.com/llvm/llvm-project/commit/4d2ae88d1617a910ec3a1436ce53579523ac2f97
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/test/Transforms/InstCombine/scalarization.ll

  Log Message:
  -----------
  [InstCombine] Fix invalid scalarization of div

If the binop is not speculatable, and the extract index is out of
range, then scalarizing will perform the operation on a poison
operand, resulting in immediate UB, instead of the previous
poison result.

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


  Commit: d8c07342c021f31f08dee7d15e17f7eca0d1aae0
      https://github.com/llvm/llvm-project/commit/d8c07342c021f31f08dee7d15e17f7eca0d1aae0
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang-tools-extra/clangd/index/remote/server/Server.cpp
    M clang-tools-extra/clangd/tool/ClangdMain.cpp
    M llvm/include/llvm/Support/raw_ostream.h
    M llvm/lib/Support/raw_ostream.cpp
    M llvm/unittests/Support/raw_ostream_test.cpp

  Log Message:
  -----------
  [Support] Move raw_ostream::tie to raw_fd_ostream (#97396)

Originally, tie was introduced by D81156 to flush stdout before writing
to stderr. 030897523 reverted this due to race conditions. Nonetheless,
it does cost performance, causing an extra check in the "cold" path,
which is actually the hot path for raw_svector_ostream. Given that this
feature is only used for errs(), move it to raw_fd_ostream so that it no
longer affects performance of other stream classes.


  Commit: bb260eb87d9bebd93e64051b574fbce0eebbad30
      https://github.com/llvm/llvm-project/commit/bb260eb87d9bebd93e64051b574fbce0eebbad30
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/PHIElimination.cpp
    M llvm/test/CodeGen/AMDGPU/branch-folding-implicit-def-subreg.ll
    M llvm/test/CodeGen/X86/bfloat.ll
    M llvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll

  Log Message:
  -----------
  [CodeGen] Only deduplicate PHIs on critical edges (#97064)

PHIElim deduplicates identical PHI nodes to reduce the number of copies
inserted. There are two cases:

1. Identical PHI nodes are in different blocks. That's the reason for
   this optimization; this can't be avoided at SSA-level. A necessary
   prerequisite for this is that the predecessors of all basic blocks
   (where such a PHI node could occur) are the same. This implies that
   all (>= 2) predecessors must have multiple successors, i.e. all edges
   into the block are critical edges.

2. Identical PHI nodes are in the same block. CSE can remove these.
   There are a few cases, however, where they still occur regardless:

   - expand-large-div-rem creates PHI nodes with large integers, which
     get lowered into one PHI per MVT. Later, some identical values
     (zeroes) get folded, resulting in identical PHI nodes.
   - peephole-opt occasionally inserts PHIs for the same value.
   - Some pseudo instruction emitters create redundant PHI nodes (e.g.,
     AVR's insertShift), merging the same values more than once.

   In any case, this happens rarely and MachineCSE handles most cases
   anyway, so that PHIElim only gets to see very few of such cases (see
   changed test files).

Currently, all PHI nodes are inserted into a DenseMap that checks
equality not by pointer but by operands. This hash map is pretty
expensive (hashing itself and the hash map), but only really useful in
the first case.

Avoid this expensive hashing most of the time by restricting it to basic
blocks with only critical input edges. This improves performance for
code with many PHI nodes, especially at -O0. (Note that Clang often
doesn't generate PHI nodes and -O0 includes no mem2reg. Other
compilers always generate PHI nodes.)


  Commit: 3b73cb3bf138d2ad7f354c9d26037d769cfe9d53
      https://github.com/llvm/llvm-project/commit/3b73cb3bf138d2ad7f354c9d26037d769cfe9d53
  Author: David Green <david.green at arm.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-shufflevector.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Create copy rather than single-element concat

The verifier does not accept single-element G_CONCAT_VECTORS, so if there is a
single Op generate a COPY instead.


  Commit: 5a1a46722948b79803826f1b11877ffcf102c094
      https://github.com/llvm/llvm-project/commit/5a1a46722948b79803826f1b11877ffcf102c094
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/test/Driver/amdgpu-openmp-toolchain.c

  Log Message:
  -----------
  Revert "[AMDGPU][OpenMP] Do not attach -fcuda-is-device flag for AMDGPU OpenMP" (#97531)

Reverts llvm/llvm-project#96909 (commit ID: 8bb00cb160830ec8f6029c2aae79d3e46b04b99c)

It breaks OpenMP CI:
https://gitlab.e4s.io/uo-public/llvm-openmp-offloading/-/jobs/283716


  Commit: edbbc832a5308e4f6943583965e74254799f13ae
      https://github.com/llvm/llvm-project/commit/edbbc832a5308e4f6943583965e74254799f13ae
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/ConstantRange.h
    M llvm/lib/IR/ConstantRange.cpp
    M llvm/unittests/IR/ConstantRangeTest.cpp

  Log Message:
  -----------
  ConstantRange: add query for isAllPositive (#97420)

ConstantRange has queries for isAllNegative and isAllNonNegative, but
misses a query for isAllPositive. Add this function.


  Commit: 915ee0b823a528456226de513f303483d5fe0793
      https://github.com/llvm/llvm-project/commit/915ee0b823a528456226de513f303483d5fe0793
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopDistribute.cpp
    M llvm/test/Transforms/LoopDistribute/debug-print.ll
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/loop-distribute.ll
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/loop-distribute.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/loop-distribute.test
    M llvm/utils/UpdateTestChecks/common.py
    M llvm/utils/update_analyze_test_checks.py

  Log Message:
  -----------
  UTC: support debug output from LDist (#93208)

Tweak the LoopDistribute debug output to be prefixed with "LDist: ", get
it to be stable, and extend update_analyze_test_checks.py trivially to
support this output.


  Commit: f819302a09dfec201f3ee4ef79b77a1e4c1de00d
      https://github.com/llvm/llvm-project/commit/f819302a09dfec201f3ee4ef79b77a1e4c1de00d
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
    M mlir/include/mlir/Analysis/Presburger/Simplex.h
    M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
    M mlir/lib/Analysis/Presburger/Simplex.cpp
    M mlir/lib/Analysis/Presburger/Utils.cpp

  Log Message:
  -----------
  mlir/Presburger: reinstate use of LogicalResult (#97415)

Follow up on a desire post-landing d0fee98 (mlir/Presburger: strip
dependency on MLIRSupport) to reinstate the use of LogicalResult in
Presburger. Since db791b2 (mlir/LogicalResult: move into llvm),
LogicalResult is in LLVM, and fulfilling this desire is possible while
still maintaining the goal of stripping the Presburger library of mlir
dependencies.


  Commit: da24d3a79d73c725d1b672263e558a3de6cbcde9
      https://github.com/llvm/llvm-project/commit/da24d3a79d73c725d1b672263e558a3de6cbcde9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/AsmParser/LLParser.cpp

  Log Message:
  -----------
  [AsmParser] Use range-based for loops (NFC) (#97499)


  Commit: 2b3376f35340d86d766dc8007534f137bf93aed3
      https://github.com/llvm/llvm-project/commit/2b3376f35340d86d766dc8007534f137bf93aed3
  Author: Allen <zhongyunde at huawei.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/xor.ll

  Log Message:
  -----------
  [InstCombine] Guard noundef for transformation from xor to or disjoint (#96905)

Fix https://github.com/llvm/llvm-project/issues/96857


  Commit: b76dd4edbfbba5593b691ef92b755f25cf63f445
      https://github.com/llvm/llvm-project/commit/b76dd4edbfbba5593b691ef92b755f25cf63f445
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f32-rtn.ll
    M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f32-rtn.ll
    M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
    M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
    M llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll

  Log Message:
  -----------
  [AMDGPU] Disable atomic optimization of fadd/fsub with result (#96479)

An atomic fadd instruction like this should return %x:

  ; value at %ptr is %x
  %r = atomicrmw fadd ptr %ptr, float %y

After atomic optimization, if %y is uniform, the result is calculated
as %r = %x + * %y * +0.0. This has a couple of problems:

1. If %y is Inf or NaN, this will return NaN instead of %x.
2. If %x is -0.0 and %y is positive, this will return +0.0 instead of
   -0.0.

Avoid these problems by disabling the "%y is uniform" path if there are
any uses of the result.


  Commit: 1eec81a831dcf925c0c86c153e8dce019a5b5436
      https://github.com/llvm/llvm-project/commit/1eec81a831dcf925c0c86c153e8dce019a5b5436
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
    M llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll

  Log Message:
  -----------
  [CVP][LVI] Add support for vectors (#97428)

The core change here is to add support for converting vector constants
into constant ranges. The rest is just relaxing isIntegerTy() checks and
making sure we don't use APIs that assume vectors.

There are a couple of places that don't support vectors yet, most
notably the "simplest" fold (comparisons to a constant) isn't supported
yet. I'll leave these to a followup.


  Commit: a6d289da0cce99b28658f264b7f9496e3648232e
      https://github.com/llvm/llvm-project/commit/a6d289da0cce99b28658f264b7f9496e3648232e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/is_fpclass-fp80.ll
    M llvm/test/CodeGen/X86/movmsk-bittest.ll

  Log Message:
  -----------
  [X86] Add checkSignTestSetCCCombine - if X86ISD::CMP/OR is testing for signbits, attempt to test for the signbit source instead. (#97433)

There's a lot more we could do here (including the reverse fold back to X86::COND_S/NS with some other X86ISD nodes), but I wanted to address the MOVMSK issue initially.

Fixes #66191


  Commit: 298e292a76289d93f7c1a80c26e354830c6080e4
      https://github.com/llvm/llvm-project/commit/298e292a76289d93f7c1a80c26e354830c6080e4
  Author: Tsz Chan <keithcth2001 at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/IR/Instructions.cpp
    M llvm/unittests/IR/InstructionsTest.cpp

  Log Message:
  -----------
  [IR] Add overflow check in AllocaInst::getAllocationSize (#97170)

Fixes #91380.


  Commit: 7de7f50fc9d76ced7a971a66abf59aab6f9e5be6
      https://github.com/llvm/llvm-project/commit/7de7f50fc9d76ced7a971a66abf59aab6f9e5be6
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/PhaseOrdering/X86/blendv-select.ll
    M llvm/test/Transforms/PhaseOrdering/X86/pr67803.ll

  Log Message:
  -----------
  [InstCombine][X86] Fold blendv(x,y,shuffle(bitcast(sext(m)))) -> select(shuffle(m),x,y) (#96882)

We already handle blendv(x,y,bitcast(sext(m))) -> select(m,x,y) cases, but this adds support for peeking through one-use shuffles as well. VectorCombine should already have canonicalized the IR to shuffle(bitcast(...)) for us.

The particular use case is where we have split generic 256/512-bit code to use target-specific blendv intrinsics (e.g. AVX1 spoofing AVX2 256-bit ops).

Fixes #58895


  Commit: bcb7c38af7de59f3b2201734ee11987839cd7bbe
      https://github.com/llvm/llvm-project/commit/bcb7c38af7de59f3b2201734ee11987839cd7bbe
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Headers/float.h
    M clang/test/Headers/float.c
    M clang/www/c_status.html

  Log Message:
  -----------
   [C23] Add INFINITY and NAN macros to <float.h> (#96659)

This is in support of WG14 N2848 which only define the macros if
an infinity or nan are supported. However, because we support builtins
that can produce an infinity or a NAN, and because we have pragmas
that control infinity or NAN behavior, we always define the macros even
if the user passed -ffinite-math-only on the command line.


  Commit: 5fd5b8ada70d9cbdaa8cc5bea50a6314e3140364
      https://github.com/llvm/llvm-project/commit/5fd5b8ada70d9cbdaa8cc5bea50a6314e3140364
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/CodeGenOpenCLCXX/version.clcpp

  Log Message:
  -----------
  [OpenCL] Emit opencl.cxx.version metadata for C++ (#92140)

Currently there is no way to tell whether an IR module was generated
using `-cl-std=cl3.0` or `-cl-std=clc++2021`, i.e., whether the origin
was a OpenCL C or C++ for OpenCL source.

Add new `opencl.cxx.version` named metadata when compiling C++. Keep the
`opencl.ocl.version` metadata to convey the compatible OpenCL C version.

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


  Commit: d37e7ec2c5c3ecfd6a4612c1798d62d343ceb254
      https://github.com/llvm/llvm-project/commit/d37e7ec2c5c3ecfd6a4612c1798d62d343ceb254
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
    M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll

  Log Message:
  -----------
  [LowerMemIntrinsics] Respect the volatile argument of llvm.memmove (#97545)

So far, we ignored if a memmove intrinsic is volatile when lowering it
to loops in the IR. This change generates volatile loads and stores in
this case (similar to how memcpy is handled) and adds tests for volatile
memmoves and memcpys.


  Commit: 82f9a5ba965dc1a40fe955b8205dd863bf6385cf
      https://github.com/llvm/llvm-project/commit/82f9a5ba965dc1a40fe955b8205dd863bf6385cf
  Author: Youngsuk Kim <youngsuk.kim at hpe.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCParser/MasmParser.cpp
    M llvm/lib/Support/JSON.cpp
    M llvm/lib/Support/LockFileManager.cpp
    M llvm/lib/TableGen/Main.cpp
    M llvm/lib/TableGen/SetTheory.cpp

  Log Message:
  -----------
  [llvm] Avoid 'raw_string_ostream::str' (NFC)

Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.

Work towards TODO comment to remove `raw_string_ostream::str()`.


  Commit: 18eef6802c36fc1744834fa761831aa805714d9e
      https://github.com/llvm/llvm-project/commit/18eef6802c36fc1744834fa761831aa805714d9e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  Fix signed/unsigned integer comparison warning. NFC.


  Commit: c1af97db1e3846db1188149afe86cee6585dfc9a
      https://github.com/llvm/llvm-project/commit/c1af97db1e3846db1188149afe86cee6585dfc9a
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Pointer.cpp
    M clang/lib/AST/Interp/Pointer.h
    M clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Diagnose comparisons against one-past-end pointers


  Commit: 52cc7c003a2851e66586dc15c6dc813355e147c6
      https://github.com/llvm/llvm-project/commit/52cc7c003a2851e66586dc15c6dc813355e147c6
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    A llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
    A llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
    A llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll

  Log Message:
  -----------
  [InstCombine][X86] Add tests for special case, constant folding and demanded elts handling for PMULH style intrinsics


  Commit: fb7f65ba468f462103599e762c86f49b420cd984
      https://github.com/llvm/llvm-project/commit/fb7f65ba468f462103599e762c86f49b420cd984
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
    A llvm/test/MC/Sparc/elf-sparc-machine-type.s

  Log Message:
  -----------
  [SPARC][IAS] Emit the correct ELF machine type (#96583)

Emit the correct machine type when writing out ELF objects.
This patch is modeled on GCC's behavior:
- `-m32` emits an object of type EM_SPARC;
- `-m32 -mcpu=v9` emits EM_SPARC32PLUS (however, see below); and
- `-m64` emits EM_SPARCV9.

Note that GCC does not guarantee emission of EM_SPARC32PLUS objects,
since GNU as doesn't support user control of emitted machine type.
It will always autodetect the type based on the instruction mix:
- If there's a V9 instruction inside, then emit EM_SPARC32PLUS; and
- Emit EM_SPARC otherwise.

For LLVM we choose deterministic behavior instead for simplicity.


  Commit: 7c96469ea86a8d41aaa1bdb51b14894b0fbf16c0
      https://github.com/llvm/llvm-project/commit/7c96469ea86a8d41aaa1bdb51b14894b0fbf16c0
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/icmp-select-implies-common-op.ll
    M llvm/test/Transforms/InstCombine/range-check.ll
    M llvm/test/Transforms/LoopVectorize/X86/pr23997.ll
    M llvm/test/Transforms/NewGVN/pr35125.ll

  Log Message:
  -----------
  [ValueTracking] Extend LHS/RHS with matching operand to work without constants.

Previously we only handled the `L0 == R0` case if both `L1` and `R1`
where constant.

We can get more out of the analysis using general constant ranges
instead.

For example, `X u> Y` implies `X != 0`.

In general, any strict comparison on `X` implies that `X` is not equal
to the boundary value for the sign and constant ranges with/without
sign bits can be useful in deducing implications.

Closes #85557


  Commit: 488fdb7d1245af5651ba77630f81412648ba7ae3
      https://github.com/llvm/llvm-project/commit/488fdb7d1245af5651ba77630f81412648ba7ae3
  Author: serge-sans-paille <sguelton at mozilla.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lld/test/ELF/as-needed-no-reloc.s
    M lld/test/ELF/as-needed.s
    M lld/test/ELF/auxiliary.s
    M lld/test/ELF/dynamic-reloc.s
    M lld/test/ELF/filter.s
    M lld/test/ELF/gc-sections-shared.s
    M lld/test/ELF/no-soname.s
    M lld/test/ELF/partition-synthetic-sections.s
    M lld/test/ELF/push-state.s
    M lld/test/ELF/shared-ppc64.s
    M lld/test/ELF/shared.s
    M lld/test/ELF/soname.s
    M lld/test/ELF/soname2.s
    M lld/test/ELF/wrap-drop-shared-original.s
    M llvm/test/tools/llvm-ifs/write-stub.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-malformed.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
    M llvm/test/tools/llvm-readobj/ELF/loadname.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  Revert "[llvm-readobj][ELF] Test multivalued rpath entries and alter the output for readobj to emphasize the single valued nature of NEEDED, SONAME, USED etc. (#96562)"

Reverted due to output change that breaks downstream project, see

https://github.com/llvm/llvm-project/pull/96562#issuecomment-2204938038

This reverts commit 161e1689ba98fabba71cac21f536708c78e9d7b0.


  Commit: e8c94149d3ca12d4d02fb8de89981c68ffa278f3
      https://github.com/llvm/llvm-project/commit/e8c94149d3ca12d4d02fb8de89981c68ffa278f3
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/test/tools/llvm-config/paths.test
    M llvm/tools/llvm-config/llvm-config.cpp

  Log Message:
  -----------
  [llvm-config] Quote and escape paths if necessary (#97305)

If any of the printed paths by `llvm-config` contains quotes, spaces,
backslashes or dollar sign characters, these paths will be quoted and
the corresponding characters will be escaped.

Following discussion in https://github.com/llvm/llvm-project/pull/76304

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


  Commit: 08888d0e6b2e02f1f4f34e2bf71a5d4fe8e0e039
      https://github.com/llvm/llvm-project/commit/08888d0e6b2e02f1f4f34e2bf71a5d4fe8e0e039
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [llvm][Docs] Add release note for lldb's support for register enums


  Commit: d5c9ffd545ebf171346ac69b15fafeee469f0b3c
      https://github.com/llvm/llvm-project/commit/d5c9ffd545ebf171346ac69b15fafeee469f0b3c
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    A llvm/test/CodeGen/AArch64/pr96366.ll
    M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
    A llvm/test/CodeGen/RISCV/pr96366.ll

  Log Message:
  -----------
  [SDAG] Intersect poison-generating flags after CSE (#97434)

This patch fixes a miscompilation when `N` gets CSEed to `Existing`:
```
Existing: t5: i32 = sub nuw Constant:i32<0>, t3
N: t30: i32 = sub Constant:i32<0>, t3
```

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


  Commit: 3e7ddcc3dcbe9b1e82473c0591af8b5fa24cbe7f
      https://github.com/llvm/llvm-project/commit/3e7ddcc3dcbe9b1e82473c0591af8b5fa24cbe7f
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [llvm][Docs] Fix some incorrect RST syntax in the tools release notes


  Commit: c2072d993a443f08ab1bac8a3d5575e1a48663c7
      https://github.com/llvm/llvm-project/commit/c2072d993a443f08ab1bac8a3d5575e1a48663c7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll

  Log Message:
  -----------
  [CVP] Support vectors for and elision


  Commit: c20695a44817d52abda3dee495ef2a172ca315fa
      https://github.com/llvm/llvm-project/commit/c20695a44817d52abda3dee495ef2a172ca315fa
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll

  Log Message:
  -----------
  [InstCombine][X86] simplifyDemandedVectorEltsIntrinsic - add handling for PMULH/PMULHU/PMULHRS intrinsics


  Commit: 4ee4bc3cf259419c3d87711df1f96742a0914a0c
      https://github.com/llvm/llvm-project/commit/4ee4bc3cf259419c3d87711df1f96742a0914a0c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll

  Log Message:
  -----------
  [InstCombine][X86] Add zero/undef arg handling for MULH/PMULHU/PMULHRS intrinsics


  Commit: acaa0262a98fe8ecc525bdbdc2692d803e50976a
      https://github.com/llvm/llvm-project/commit/acaa0262a98fe8ecc525bdbdc2692d803e50976a
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  [clang][OpenMP] Use leaf constructs in `mapLoopConstruct` (#97446)

This removes mentions of specific combined directives.

Also, add a quote from the OpenMP spec to explain the code dealing with
the `bind` clause.


  Commit: 6461b921fd06b1c812f1172685b8b7edc0608af7
      https://github.com/llvm/llvm-project/commit/6461b921fd06b1c812f1172685b8b7edc0608af7
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  [clang][OpenMP] Change `ActOnOpenMPRegionStart` to use captured regions (#97445)

Instead of checking specific directives, this function now gets the list
of captured regions, and processes them individually. This makes this
function directive-agnostic (except a few cases of leaf constructs).


  Commit: 0778b5d0d296edaca2ac52f2c8d2c806d492355a
      https://github.com/llvm/llvm-project/commit/0778b5d0d296edaca2ac52f2c8d2c806d492355a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/saturating-add-sub.ll

  Log Message:
  -----------
  [InstCombine] Add test for computeConstantRange() with non-splat poison (NFC)


  Commit: 2dbb454791044e3ef91c8e7069f953b7406d78c6
      https://github.com/llvm/llvm-project/commit/2dbb454791044e3ef91c8e7069f953b7406d78c6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/saturating-add-sub.ll

  Log Message:
  -----------
  [ValueTracking][LVI] Consolidate vector constant range calculation

Add a common helper used for computeConstantRange() and LVI. The
implementation is a mix of both, with the efficient handling for
ConstantDataVector taken from computeConstantRange(), and the
general handling (including non-splat poison) from LVI.


  Commit: c1004cad4b62b70c4b316a49c5426271d4e1d740
      https://github.com/llvm/llvm-project/commit/c1004cad4b62b70c4b316a49c5426271d4e1d740
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/LazyValueInfo.h
    M llvm/lib/Analysis/LazyValueInfo.cpp

  Log Message:
  -----------
  [LVI] Use CmpInst::Predicate in APIs (NFC)

Unfortunately this requires including InstrTypes.h in the header,
but I think that's fine given that that LazyValueInfo.h is not
widely used.


  Commit: dde3f17026be48c05a5d3876f12db72fdd6422ed
      https://github.com/llvm/llvm-project/commit/dde3f17026be48c05a5d3876f12db72fdd6422ed
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    A lldb/test/API/commands/expression/bitfield_enums/Makefile
    A lldb/test/API/commands/expression/bitfield_enums/TestBitfieldEnums.py
    A lldb/test/API/commands/expression/bitfield_enums/main.cpp

  Log Message:
  -----------
  [lldb] Fix printing of unsigned enum bitfields when they contain the max value (#96202)

While testing register fields I found that if you put the max value into
a bitfield with an underlying type that is an unsigned enum, lldb would
not print the enum name.

This is because the code to match values to names wasn't checking
whether the enum's type was signed, it just assumed it was.

So for example a 2 bit field with value 3 got signed extended to -1,
which didn't match the enumerator value of 3. So lldb just printed the
number instead of the name.

For a value of 1, the top bit was 0 so the sign extend became a zero
extend, and lldb did print the name of the enumerator.

I added a new test because I needed to use C++ to get typed enums. It
checks min, max and an in between value for signed and unsigned enums
applied to a bitfield.


  Commit: 41fddc4ec3302f125a5b84ae86c8027dedc89984
      https://github.com/llvm/llvm-project/commit/41fddc4ec3302f125a5b84ae86c8027dedc89984
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-missing-signature.test
    M lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp

  Log Message:
  -----------
  [lldb] Print empty enums as if they were unrecognised normal enums (#97553)

Fixes #97514

Given this example:
```
enum E {};

int main()
{
    E x = E(0);
    E y = E(1);
    E z = E(2);
    return 0;
}
```
lldb used to print nothing for `x`, but `0x1` for `y` and `0x2` for `z`.

At first this seemed like the 0 case needed fixing but the real issue
here is that en enum with no enumerators was being detected as a
"bitfield like enum".

Which is an enum where all enumerators are a single bit value, or the
sum of previous single bit values.

For these we do not print anything for a value of 0, as we assume it
must be the remainder after we've printed the other bits that were set
(I think this is also unfortunate, but I'm not addressing that here).

Clearly an enum with no enumerators cannot be being used as a bitfield,
so check that up front and print it as if it's a normal enum where we
didn't match any of the enumerators. This means you now get:
```
(lldb) p x
(E) 0
(lldb) p y
(E) 1
(lldb) p z
(E) 2
```

Which is a change to decimal from hex, but I think it's overall more
consistent. Printing hex here was never a concious decision.


  Commit: 31015240d366e4bf6f114856caa6e9ce90742b7f
      https://github.com/llvm/llvm-project/commit/31015240d366e4bf6f114856caa6e9ce90742b7f
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp

  Log Message:
  -----------
  [lldb] Print "0x0" for bitfield like enums where the value is 0 (#97557)

Enums like this one are treated as bitfield like enums: enum FlagsLike
{B=2, C=4};

lldb recognises them as collections of flags, so you can have "B | C".
If there's any values not covered that's printed as hex "B | C | 0x1".

What happened if the value was 0 was we would not match any of the
enumerators, then the remainder check requires that the remainder is
non-zero. So lldb would print nothing at all.

Which I assume is a bug because knowing that no flags are set is useful,
just as much as knowing that some unkown bit was set to make it
non-zero.


  Commit: 50c81128de8616117118564eff22cf508cba7848
      https://github.com/llvm/llvm-project/commit/50c81128de8616117118564eff22cf508cba7848
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    A clang/test/C/C23/Inputs/bits.bin
    A clang/test/C/C23/Inputs/boop.h
    A clang/test/C/C23/Inputs/i.dat
    A clang/test/C/C23/Inputs/jump.wav
    A clang/test/C/C23/Inputs/s.dat
    A clang/test/C/C23/n2322.c
    A clang/test/C/C23/n2350.c
    A clang/test/C/C23/n2359.c
    A clang/test/C/C23/n2508.c
    A clang/test/C/C23/n2549.c
    A clang/test/C/C23/n2607.c
    A clang/test/C/C23/n2670.c
    A clang/test/C/C23/n2683.c
    A clang/test/C/C23/n2683_2.c
    A clang/test/C/C23/n2819.c
    A clang/test/C/C23/n2826.c
    A clang/test/C/C23/n2836_n2939.c
    A clang/test/C/C23/n2838.c
    A clang/test/C/C23/n2886.c
    A clang/test/C/C23/n2900_n3011.c
    A clang/test/C/C23/n2900_n3011_2.c
    A clang/test/C/C23/n2927.c
    A clang/test/C/C23/n2927_2.c
    A clang/test/C/C23/n2930.c
    A clang/test/C/C23/n2934.c
    A clang/test/C/C23/n2940.c
    A clang/test/C/C23/n2975.c
    A clang/test/C/C23/n3007.c
    A clang/test/C/C23/n3017.c
    A clang/test/C/C23/n3018.c
    A clang/test/C/C23/n3033.c
    A clang/test/C/C23/n3033_2.c
    A clang/test/C/C23/n3035.c
    A clang/test/C/C23/n3042.c
    R clang/test/C/C2x/Inputs/bits.bin
    R clang/test/C/C2x/Inputs/boop.h
    R clang/test/C/C2x/Inputs/i.dat
    R clang/test/C/C2x/Inputs/jump.wav
    R clang/test/C/C2x/Inputs/s.dat
    R clang/test/C/C2x/n2322.c
    R clang/test/C/C2x/n2350.c
    R clang/test/C/C2x/n2359.c
    R clang/test/C/C2x/n2508.c
    R clang/test/C/C2x/n2549.c
    R clang/test/C/C2x/n2607.c
    R clang/test/C/C2x/n2670.c
    R clang/test/C/C2x/n2683.c
    R clang/test/C/C2x/n2683_2.c
    R clang/test/C/C2x/n2819.c
    R clang/test/C/C2x/n2826.c
    R clang/test/C/C2x/n2836_n2939.c
    R clang/test/C/C2x/n2838.c
    R clang/test/C/C2x/n2886.c
    R clang/test/C/C2x/n2900_n3011.c
    R clang/test/C/C2x/n2900_n3011_2.c
    R clang/test/C/C2x/n2927.c
    R clang/test/C/C2x/n2927_2.c
    R clang/test/C/C2x/n2930.c
    R clang/test/C/C2x/n2934.c
    R clang/test/C/C2x/n2940.c
    R clang/test/C/C2x/n2975.c
    R clang/test/C/C2x/n3007.c
    R clang/test/C/C2x/n3017.c
    R clang/test/C/C2x/n3018.c
    R clang/test/C/C2x/n3033.c
    R clang/test/C/C2x/n3033_2.c
    R clang/test/C/C2x/n3035.c
    R clang/test/C/C2x/n3042.c

  Log Message:
  -----------
  Rename C2x to C23; NFC

This renames the test directory for C23 tests.


  Commit: 495452e7da8fad7bd311fd041530d72c101da643
      https://github.com/llvm/llvm-project/commit/495452e7da8fad7bd311fd041530d72c101da643
  Author: Izaak Schroeder <izaak.schroeder at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M libunwind/src/UnwindCursor.hpp

  Log Message:
  -----------
  [libunwind] Remove needless `sys/uio.h` (#97495)

No reference to `readv` or `writev`. This makes `libcxx` happy when
compiling against clang's `libc` as part of
https://github.com/llvm/llvm-project/issues/97191.


  Commit: 9ce895c1ae12ebed4249f2d693dcbff146193c60
      https://github.com/llvm/llvm-project/commit/9ce895c1ae12ebed4249f2d693dcbff146193c60
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M libcxx/utils/ci/Dockerfile

  Log Message:
  -----------
  [libc++] Use GCC compilers from compiler explorer (#97219)

This avoids the very recent system requirements for new GCC versions,
making it a lot easier to update GCC in a timely manner.


  Commit: 7bb251a91a4f57aed458aa0572c135b5374cd2f2
      https://github.com/llvm/llvm-project/commit/7bb251a91a4f57aed458aa0572c135b5374cd2f2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll

  Log Message:
  -----------
  [InstCombine][X86] Add constant folding for PMULH/PMULHU/PMULHRS intrinsics


  Commit: aa3c84c85c8c2ef5b8665932e7934458a44504ce
      https://github.com/llvm/llvm-project/commit/aa3c84c85c8c2ef5b8665932e7934458a44504ce
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/www/cxx_status.html

  Log Message:
  -----------
  Clang 19 isn't yet released; NFC

...just updates the colors in the table.


  Commit: 54aa1d28b6a26b4980df4d5448fb64d19dc1a100
      https://github.com/llvm/llvm-project/commit/54aa1d28b6a26b4980df4d5448fb64d19dc1a100
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/test/CodeGenCXX/atomicinit.cpp

  Log Message:
  -----------
  [clang][Interp] Fix initializing atomic record types

Remove the atomic type when visiting InitListExprs.


  Commit: 0865b782f62fadcdb82e5bd7be432c96109228d0
      https://github.com/llvm/llvm-project/commit/0865b782f62fadcdb82e5bd7be432c96109228d0
  Author: A. Jiang <de34 at live.cn>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M libcxx/include/__exception/nested_exception.h
    M libcxx/test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp

  Log Message:
  -----------
  [libc++] Fix the signatures of `std::rethrow_if_nested` (#91365)

Fixes #54470.

See https://eel.is/c++draft/global.functions#2:
    > A call to a non-member function signature described in [support]
    > through [thread] and [depr] shall behave as if the implementation
    > declared no additional non-member function signatures.

and https://eel.is/c++draft/global.functions#3:
    > An implementation shall not declare a non-member function signature
    > with additional default arguments.


  Commit: 86d456ad8f2aef6edcc36d44d26119025331981e
      https://github.com/llvm/llvm-project/commit/86d456ad8f2aef6edcc36d44d26119025331981e
  Author: Kirill <77356738+kirillpyasecky at users.noreply.github.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M utils/bazel/examples/http_archive/WORKSPACE

  Log Message:
  -----------
  Fix error: name 'maybe' is not defined (#96741)


  Commit: f1a8f94bba8b090a0d667065e4b8b4fc66b6a5cc
      https://github.com/llvm/llvm-project/commit/f1a8f94bba8b090a0d667065e4b8b4fc66b6a5cc
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M libc/docs/build_and_test.rst

  Log Message:
  -----------
  [libc][docs] Add doc for using containers to test on a different arch (#97431)


  Commit: f7b09b5225a58a657fc0315377438077f9e9363f
      https://github.com/llvm/llvm-project/commit/f7b09b5225a58a657fc0315377438077f9e9363f
  Author: Izaak Schroeder <izaak.schroeder at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M libc/spec/gnu_ext.td

  Log Message:
  -----------
  [libc] Add function spec for `getauxval` (#97492)

Does what it says on the box.


  Commit: 56f0ecd6db9219b7d14a8eda613d6b75060643eb
      https://github.com/llvm/llvm-project/commit/56f0ecd6db9219b7d14a8eda613d6b75060643eb
  Author: realqhc <caiqihan021 at hotmail.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsRISCVXCV.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
    A llvm/test/CodeGen/RISCV/xcvalu.ll

  Log Message:
  -----------
  [RISCV] Implement Intrinsics Support for XCValu Extension in CV32E40P (#85603)

Implement XCValu intrinsics for CV32E40P according to the specification.

This commit is part of a patch-set to upstream the vendor specific
extensions of CV32E40P that need LLVM intrinsics to implement Clang
builtins.

Contributors: @CharKeaney, @ChunyuLiao, @jeremybennett, @lewis-revill,
@NandniJamnadas, @PaoloS02, @serkm, @simonpcook, @xingmingjie.


  Commit: 07fa7fc00f3ad5a349ae53d576f48bfd54121a7f
      https://github.com/llvm/llvm-project/commit/07fa7fc00f3ad5a349ae53d576f48bfd54121a7f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll

  Log Message:
  -----------
  [InstCombine][X86] Add multiply-by-one tests for PMULH/PMULHU/PMULHRS intrinsics

PMULH/PMULHU will simplify, PMULHRS doesn't really and we're better off keeping the intrinsic


  Commit: cb48ad6603c237b0832b88cb85530a58a1a6a01c
      https://github.com/llvm/llvm-project/commit/cb48ad6603c237b0832b88cb85530a58a1a6a01c
  Author: David Green <david.green at arm.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  [AArch64] Clean up formatting of AArch64FrameLowering. NFC


  Commit: 1db4221c6da0f77517e1921f7c17a6f4e493e38f
      https://github.com/llvm/llvm-project/commit/1db4221c6da0f77517e1921f7c17a6f4e493e38f
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
    A llvm/test/CodeGen/SPIRV/function/forward-call-type-inference.ll

  Log Message:
  -----------
  [SPIR-V] Fix a crash in SPIRV Backend during the 'finalize lowering' stage on management of function forward calls (#97435)

This PR is to fix a crash in SPIRV Backend during the 'finalize
lowering' stage on management of function forward calls. The reproducer
is committed as a new test case.


  Commit: bf9e9e5e843838f9bc905d4a0d575d8d39e9b5f2
      https://github.com/llvm/llvm-project/commit/bf9e9e5e843838f9bc905d4a0d575d8d39e9b5f2
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.h
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
    M llvm/test/CodeGen/SPIRV/transcoding/spirv-event-null.ll

  Log Message:
  -----------
  [SPIR-V] Improve type inference for a known instruction's builtin: OpGroupAsyncCopy (#96895)

This PR improves type inference for a known instruction's builtin:
OpGroupAsyncCopy:
* deduce a type of one source/destination pointer when it's possible to
deduce a type of another argument, and
* validate src and dest types and tries to unfold a parameter if it's a
structure wrapper around a scalar/vector type.


  Commit: f60f7b47a92dbf2f3d994868d3cd43b86a18a76c
      https://github.com/llvm/llvm-project/commit/f60f7b47a92dbf2f3d994868d3cd43b86a18a76c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll

  Log Message:
  -----------
  [InstCombine][X86] Add multiply-by-one handling for MULH/PMULHU/PMULHRS intrinsics

MULH/PMULHU simplifies to ASHR/ZERO as they just become a SEXT/ZEXT sign-splat instruction

PMULHRS doesn't simplify as much so I've not attempted to fold it.


  Commit: f057130b169fe551b1fec6633fadba26ef19bcdd
      https://github.com/llvm/llvm-project/commit/f057130b169fe551b1fec6633fadba26ef19bcdd
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Target/Platform.h
    M lldb/source/Target/Platform.cpp

  Log Message:
  -----------
  [lldb] Remove commented-out Platform::FindPlugin (NFC)


  Commit: 3ab2247d10673419609333a33bca0eca8a56bf3d
      https://github.com/llvm/llvm-project/commit/3ab2247d10673419609333a33bca0eca8a56bf3d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  [ConstantRange] Optimize icmp() implementation (NFC)

These are pretty hot code paths, so provide direct implementations
for them, instead of going through makeSatisfyingICmpRegion().


  Commit: 584e431a4b257098d1ff13a0e9926842222ba601
      https://github.com/llvm/llvm-project/commit/584e431a4b257098d1ff13a0e9926842222ba601
  Author: Krystian Stasiowski <sdkrystian at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/lib/Sema/SemaType.cpp
    A clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5-cxx14.cpp

  Log Message:
  -----------
  [Clang][Sema] Treat explicit specializations of static data member templates declared without 'static' as static data members when diagnosing uses of 'auto' (#97425)

After #93873 clang no longer permits declarations of explicit
specializations of static data member templates to use the `auto`
_placeholder-type-specifier_:
```
struct A {
  template<int N>
  static constexpr auto x = 0;

  template<>
  constexpr auto x<1> = 1; // error: 'auto' not allowed in non-static struct member
};
```
This patch fixes the issue.


  Commit: ab930ee7cad8b8bf7968bb8d0c0d72524e2313c4
      https://github.com/llvm/llvm-project/commit/ab930ee7cad8b8bf7968bb8d0c0d72524e2313c4
  Author: Fred Grim <fgrim at apple.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lld/test/ELF/gnu-property-align-32.s
    M lld/test/ELF/gnu-property-align.s
    M lld/test/ELF/partition-notes.s
    M llvm/test/tools/llvm-objcopy/ELF/add-note.test
    M llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-feature-pauth.s
    M llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-note-gnu-property.s
    M llvm/test/tools/llvm-readobj/ELF/AArch64/memtag.test
    M llvm/test/tools/llvm-readobj/ELF/AArch64/note-android-unknown.test
    M llvm/test/tools/llvm-readobj/ELF/gnu-note-size.test
    M llvm/test/tools/llvm-readobj/ELF/gnu-notes.test
    M llvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v2.test
    M llvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v3.test
    M llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v2.test
    M llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v3.s
    M llvm/test/tools/llvm-readobj/ELF/note-amd.s
    M llvm/test/tools/llvm-readobj/ELF/note-amdgpu-invalid.s
    M llvm/test/tools/llvm-readobj/ELF/note-amdgpu.test
    M llvm/test/tools/llvm-readobj/ELF/note-core-ntfile.test
    M llvm/test/tools/llvm-readobj/ELF/note-core.test
    M llvm/test/tools/llvm-readobj/ELF/note-freebsd-core.test
    M llvm/test/tools/llvm-readobj/ELF/note-freebsd.test
    M llvm/test/tools/llvm-readobj/ELF/note-generic.s
    M llvm/test/tools/llvm-readobj/ELF/note-gnu-property.s
    M llvm/test/tools/llvm-readobj/ELF/note-gnu-property2.s
    M llvm/test/tools/llvm-readobj/ELF/note-llvmompoffload.test
    A llvm/test/tools/llvm-readobj/ELF/note-multiple-sections.test
    M llvm/test/tools/llvm-readobj/ELF/note-netbsd-core.test
    M llvm/test/tools/llvm-readobj/ELF/note-openbsd-core.test
    M llvm/test/tools/llvm-readobj/ELF/note-unknown.s
    M llvm/test/tools/llvm-readobj/archive.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj][ELF] Alter JSON/LLVM output on note sections to allow for multiple notes per section in JSON (#96813)

It turns out that the notes section for corefiles (or really any elf
file with multiple notes) is set up in such a way for LLVM formatted
output that the JSON equivalent only has the last note since the notes
are held in a dictionary with every key being Note. This pr alters the
layout for the notes to a list of dictionaries to sidestep this issue
for JSON output. Prior to this pr a note section in the output looked
like (for LLVM output):

```
Notes [
  NoteSection {
    Name: <?>
    Offset: 0x2148
    Size: 0x1F864
    Note {
      Owner: CORE
      Data size: 0x150
      Type: NT_PRSTATUS (prstatus structure)
      Description data (
        0000: 06000000 00000000 00000000 06000000  |................|
        ...
      )
    }
    Note {
      Owner: CORE
      Data size: 0x88
      Type: NT_PRPSINFO (prpsinfo structure)
      Description data (
        0000: 02440000 00000000 04054040 00000000  |.D........@@....|
	....
```

But is now:

```
NoteSections [
  NoteSection {
    Name: <?>
    Offset: 0x2148
    Size: 0x1F864
    Notes [
      {
        Owner: CORE
        Data size: 0x150
        Type: NT_PRSTATUS (prstatus structure)
        Description data (
          0000: 06000000 00000000 00000000 06000000  |................|
          ...
        )
      }
      {
        Owner: CORE
        Data size: 0x88
        Type: NT_PRPSINFO (prpsinfo structure)
        Description data (
          0000: 02440000 00000000 04054040 00000000  |.D........@@....|
	  ...
```


  Commit: 3386d24ff4e5dae07e33326c12c8d7dfd29de06a
      https://github.com/llvm/llvm-project/commit/3386d24ff4e5dae07e33326c12c8d7dfd29de06a
  Author: Kamau Bridgeman <kamau.bridgeman.ibm at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
    M llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp

  Log Message:
  -----------
  Revert "Reduce llvm-gsymutil memory usage" (#97603)

Reverts llvm/llvm-project#91023
Build break found in clang-ppc64le-linux-multistage build no. 583.


  Commit: 5da7179cb3ff80203f58ddea71562816b2ae4ff6
      https://github.com/llvm/llvm-project/commit/5da7179cb3ff80203f58ddea71562816b2ae4ff6
  Author: Jeffrey Byrnes <Jeffrey.Byrnes at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/vni8-across-blocks.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-break-large-phis.ll
    M llvm/test/CodeGen/AMDGPU/dagcomb-extract-vec-elt-different-sizes.ll
    M llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
    M llvm/test/CodeGen/AMDGPU/extract-subvector.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
    M llvm/test/CodeGen/AMDGPU/vni8-across-blocks.ll
    A llvm/test/CodeGen/AMDGPU/vni8-live-reg-opt.ll

  Log Message:
  -----------
  [AMDGPU] Reland: Add IR LiveReg type-based optimization


  Commit: 9667e6044a2fce85f2fb35cd1731cbc8491f1871
      https://github.com/llvm/llvm-project/commit/9667e6044a2fce85f2fb35cd1731cbc8491f1871
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [llvm][AArch64] Drop unused&redundant field in the TargetParserTest. NFC (#97367)

There were a couple of cases where this field was just plain wrong
because we weren't actually testing against it. Instead, drop the
`CPUAttr` field on AArch64 tests.


  Commit: 94471e6d238acab291b5b652fc18f17c4815cc7d
      https://github.com/llvm/llvm-project/commit/94471e6d238acab291b5b652fc18f17c4815cc7d
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/MLInlineAdvisor.cpp
    A llvm/test/Transforms/Inline/ML/dead-callee.ll

  Log Message:
  -----------
  [MLInliner] Handle CGSCC changes from #94815 (#96274)

With #94815, the nodes belonging to dead functions are no longer
invalidated, but kept around to batch delete at the end of the call
graph walk.

The ML inliner needs to be updated to handle this. This fixes some
asserts getting hit, e.g. https://crbug.com/348376263.


  Commit: 77d131eddb6ca9060c844fae9cb78779fa70c8f0
      https://github.com/llvm/llvm-project/commit/77d131eddb6ca9060c844fae9cb78779fa70c8f0
  Author: jimingham <jingham at apple.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/bindings/python/python-wrapper.swig
    M lldb/docs/use/python-reference.rst
    M lldb/examples/python/cmdtemplate.py
    M lldb/include/lldb/Interpreter/CommandObject.h
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/source/Commands/CommandObjectCommands.cpp
    M lldb/source/Commands/CommandObjectThread.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
    M lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
    M lldb/test/API/commands/command/script/add/test_commands.py
    M lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp

  Log Message:
  -----------
  Add the ability for Script based commands to specify their "repeat command" (#94823)

Among other things, returning an empty string as the repeat command
disables auto-repeat, which can be useful for state-changing commands.

There's one remaining refinement to this setup, which is that for parsed
script commands, it should be possible to change an option value, or add
a new option value that wasn't originally specified, then ask lldb "make
this back into a command string". That would make doing fancy things
with repeat commands easier.

That capability isn't present in the lldb_private side either, however.
So that's for a next iteration.

I haven't added this to the docs on adding commands yet. I wanted to
make sure this was an acceptable approach before I spend the time to do
that.


  Commit: 845dee36ba4161df153ba05009cea615e20eda5a
      https://github.com/llvm/llvm-project/commit/845dee36ba4161df153ba05009cea615e20eda5a
  Author: jimingham <jingham at apple.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/source/API/SBThread.cpp
    M lldb/test/API/python_api/thread/TestThreadAPI.py
    M lldb/test/API/python_api/thread/main.cpp

  Log Message:
  -----------
  SBThread::StepInstruction shouldn't discard other plans (#97493)

This was just a typo, none of the external execution control functions
should discard other plans. In particular, it means if you stop in a
hand-called function and step an instruction, the function call thread
plan gets unshipped, popping all the function call frames.

I also added a test that asserts the correct behavior. I tested all the
stepping operations even though only StepInstruction was wrong.


  Commit: 9e6b46a9846cf5051c2aaef361af0fe1a76c856e
      https://github.com/llvm/llvm-project/commit/9e6b46a9846cf5051c2aaef361af0fe1a76c856e
  Author: David Truby <david.truby at arm.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.h
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/CodeGenOptions.h
    M flang/lib/Frontend/CodeGenOptions.cpp
    M flang/lib/Frontend/CompilerInstance.cpp
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    A flang/test/Driver/large-data-threshold.f90
    A flang/test/Driver/mcmodel.f90
    A flang/test/Lower/large-data-threshold.f90
    A flang/test/Lower/mcmodel.f90

  Log Message:
  -----------
  [flang] Implement -mcmodel flag (#95411)

This patch implements the -mcmodel flag from clang, allowing the Code
Model to be changed for the LLVM module. The same set of mcmodel
flags are accepted as in clang and the same Code Model attributes are
added to the LLVM module for those flags.

Also add `-mlarge-data-threshold` for x86-64, which is automatically set
by the shared command-line code (see below). This is also added as an 
attribute into the LLVM module and on the target machine.

A function is created for `addMCModel` that is copied out of clang's
argument handling so that it can be shared with flang.

---------

Co-authored-by: Mats Petersson <mats.petersson at arm.com>


  Commit: a0176533766201eca58b20a11e42ab30c73d1b1b
      https://github.com/llvm/llvm-project/commit/a0176533766201eca58b20a11e42ab30c73d1b1b
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp

  Log Message:
  -----------
  [lldb][DataFormatter][NFC] Factor out MapIterator logic into separate helper (#97544)

This patch factors all the logic for advancing the `MapIterator` out of
`GetChildAtIndex`. This, in my opinion, helps readability, and will be
useful for upcoming cleanups in this area.

While here, some drive-by changes:
* added a couple of clarification comments
* fixed a variable name typo
* turned the `return lldb::ValueObjectSP()` into `return nullptr`
* added an assertion to make sure we keep the iterator cache in a valid
state


  Commit: d4f3d24e7f016440083a785ded818b8fb410b7d8
      https://github.com/llvm/llvm-project/commit/d4f3d24e7f016440083a785ded818b8fb410b7d8
  Author: Hansang Bae <hansang.bae at intel.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M openmp/runtime/src/include/omp-tools.h.var

  Log Message:
  -----------
  [OpenMP] Add ompt_start_tool declaration in omp-tools.h (#97099)

The function ompt_start_tool is a globally-visible C function according
to the specification.


  Commit: c0d1d0405cb9f55ec12dfb0cec9c5639d3b357d8
      https://github.com/llvm/llvm-project/commit/c0d1d0405cb9f55ec12dfb0cec9c5639d3b357d8
  Author: Kirill <pyasetskiyr at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M utils/bazel/examples/submodule/WORKSPACE

  Log Message:
  -----------
  [bazel] Update WORKSPACE file in examples (#97613)


  Commit: c940317d023e6790fc20152f354487571d0e3087
      https://github.com/llvm/llvm-project/commit/c940317d023e6790fc20152f354487571d0e3087
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    A llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-neon.ll
    A llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-struct.ll

  Log Message:
  -----------
  [msan] Add test cases for vector shadow track origins bug (#97611)

These test cases demonstrate a bug in MSan (vector shadow is not always
converted to scalar before zext) that will shortly be fixed in
https://github.com/llvm/llvm-project/pull/96722

The bug is not architecture-specific; we provide both x86 and Arm NEON
test cases.

Since the test cases will crash the compiler (unless it is a release
build), they are marked as UNSUPPORTED.

The buggy codepath is nested inside 'if
(instrumentWithCalls(ConvertedShadow)'. To keep the test cases small, we
set -msan-instrumentation-with-call-threshold=0, though we have observed
this bug in the real world with default settings.


  Commit: 96c18a2769a48436e01ccc59154b8de9fe305e22
      https://github.com/llvm/llvm-project/commit/96c18a2769a48436e01ccc59154b8de9fe305e22
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/SLPVectorizer/X86/entries-different-vf.ll

  Log Message:
  -----------
  [SLP][NFC]Make instructions non-foldable, NFC


  Commit: 27646db8561a206c0c7610b210b60a29c73e6991
      https://github.com/llvm/llvm-project/commit/27646db8561a206c0c7610b210b60a29c73e6991
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M .github/CODEOWNERS
    M .github/workflows/issue-write.yml
    M .github/workflows/pr-request-release-note.yml
    M bolt/docs/CommandLineArgumentReference.md
    M bolt/include/bolt/Core/BinaryBasicBlock.h
    M bolt/include/bolt/Core/BinaryContext.h
    M bolt/include/bolt/Core/BinaryFunction.h
    A bolt/include/bolt/Core/BinaryFunctionCallGraph.h
    A bolt/include/bolt/Core/CallGraph.h
    A bolt/include/bolt/Core/CallGraphWalker.h
    M bolt/include/bolt/Core/MCPlusBuilder.h
    R bolt/include/bolt/Passes/BinaryFunctionCallGraph.h
    R bolt/include/bolt/Passes/CallGraph.h
    R bolt/include/bolt/Passes/CallGraphWalker.h
    M bolt/include/bolt/Passes/HFSort.h
    M bolt/include/bolt/Passes/RegReAssign.h
    M bolt/include/bolt/Passes/ReorderFunctions.h
    M bolt/include/bolt/Rewrite/DWARFRewriter.h
    M bolt/lib/Core/BinaryBasicBlock.cpp
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Core/BinaryFunction.cpp
    A bolt/lib/Core/BinaryFunctionCallGraph.cpp
    M bolt/lib/Core/CMakeLists.txt
    A bolt/lib/Core/CallGraph.cpp
    A bolt/lib/Core/CallGraphWalker.cpp
    R bolt/lib/Passes/BinaryFunctionCallGraph.cpp
    M bolt/lib/Passes/BinaryPasses.cpp
    M bolt/lib/Passes/CMakeLists.txt
    R bolt/lib/Passes/CallGraph.cpp
    R bolt/lib/Passes/CallGraphWalker.cpp
    M bolt/lib/Passes/FrameAnalysis.cpp
    M bolt/lib/Passes/FrameOptimizer.cpp
    M bolt/lib/Passes/IndirectCallPromotion.cpp
    M bolt/lib/Passes/Instrumentation.cpp
    M bolt/lib/Passes/JTFootprintReduction.cpp
    M bolt/lib/Passes/RegAnalysis.cpp
    M bolt/lib/Passes/RegReAssign.cpp
    M bolt/lib/Passes/StokeInfo.cpp
    M bolt/lib/Profile/YAMLProfileReader.cpp
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
    M bolt/lib/Utils/CommandLineOpts.cpp
    A bolt/test/X86/hashing-based-function-matching.test
    M bolt/test/X86/issue20.s
    M bolt/test/X86/issue20.test
    M bolt/test/X86/linux-alt-instruction.s
    M bolt/test/X86/reader-stale-yaml-std.test
    M bolt/test/X86/sctc-bug4.test
    M clang-tools-extra/clang-doc/HTMLGenerator.cpp
    M clang-tools-extra/clang-doc/Representation.cpp
    M clang-tools-extra/clang-doc/Representation.h
    M clang-tools-extra/clang-doc/assets/index.js
    M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
    M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h
    M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
    M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
    M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
    M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
    M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
    M clang-tools-extra/clangd/Format.cpp
    M clang-tools-extra/clangd/index/remote/Client.h
    M clang-tools-extra/clangd/index/remote/server/Server.cpp
    M clang-tools-extra/clangd/support/Trace.cpp
    M clang-tools-extra/clangd/test/trace.test
    M clang-tools-extra/clangd/tool/ClangdMain.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-non-const-global-variables.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/pro-type-member-init.rst
    M clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
    M clang-tools-extra/docs/clang-tidy/index.rst
    A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.css
    A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.js
    A clang-tools-extra/test/clang-doc/assets.cpp
    M clang-tools-extra/test/clang-doc/basic-project.test
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-2.c
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-any-pointer.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-warn-on-sizeof-pointer-to-aggregate.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/avoid-non-const-global-variables.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-member-init.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/simplify-boolean-expr.cpp
    A clang-tools-extra/test/clang-tidy/infrastructure/allow-no-checks.cpp
    M clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/HIPSupport.rst
    M clang/docs/ReleaseNotes.rst
    M clang/docs/ThreadSafetyAnalysis.rst
    M clang/docs/UsersManual.rst
    M clang/docs/analyzer/checkers.rst
    M clang/docs/tools/clang-formatted-files.txt
    M clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/AST/GlobalDecl.h
    M clang/include/clang/AST/Mangle.h
    M clang/include/clang/AST/Redeclarable.h
    M clang/include/clang/AST/TemplateName.h
    M clang/include/clang/AST/VTableBuilder.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/Cuda.h
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Basic/LangStandard.h
    M clang/include/clang/Basic/LangStandards.def
    M clang/include/clang/Basic/OpenMPKinds.h
    M clang/include/clang/Basic/PointerAuthOptions.h
    M clang/include/clang/Basic/TargetCXXABI.h
    M clang/include/clang/Basic/Thunk.h
    M clang/include/clang/Basic/arm_sme.td
    M clang/include/clang/CodeGen/CodeGenABITypes.h
    M clang/include/clang/CodeGen/ConstantInitBuilder.h
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Driver/ToolChain.h
    M clang/include/clang/Format/Format.h
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/include/clang/InstallAPI/Visitor.h
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/ParsedAttr.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Sema/SemaHLSL.h
    M clang/include/clang/Sema/SemaObjC.h
    M clang/include/clang/Sema/SemaOpenCL.h
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
    M clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
    A clang/include/clang/StaticAnalyzer/Core/BugReporter/Z3CrosscheckVisitor.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
    M clang/include/clang/Tooling/Transformer/RangeSelector.h
    M clang/include/module.modulemap
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTDumper.cpp
    M clang/lib/AST/CMakeLists.txt
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/DeclCXX.cpp
    M clang/lib/AST/DeclPrinter.cpp
    R clang/lib/AST/Interp/ByteCodeExprGen.cpp
    R clang/lib/AST/Interp/ByteCodeExprGen.h
    R clang/lib/AST/Interp/ByteCodeStmtGen.cpp
    R clang/lib/AST/Interp/ByteCodeStmtGen.h
    A clang/lib/AST/Interp/Compiler.cpp
    A clang/lib/AST/Interp/Compiler.h
    M clang/lib/AST/Interp/Context.cpp
    M clang/lib/AST/Interp/Context.h
    M clang/lib/AST/Interp/Descriptor.cpp
    M clang/lib/AST/Interp/Disasm.cpp
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/EvalEmitter.h
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/InterpBlock.cpp
    M clang/lib/AST/Interp/InterpBlock.h
    M clang/lib/AST/Interp/InterpFrame.cpp
    M clang/lib/AST/Interp/InterpState.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/lib/AST/Interp/Pointer.cpp
    M clang/lib/AST/Interp/Pointer.h
    M clang/lib/AST/Interp/Program.cpp
    M clang/lib/AST/Interp/Program.h
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/Mangle.cpp
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/AST/StmtOpenMP.cpp
    M clang/lib/AST/VTableBuilder.cpp
    M clang/lib/Analysis/ThreadSafety.cpp
    M clang/lib/Basic/Cuda.cpp
    M clang/lib/Basic/LangOptions.cpp
    M clang/lib/Basic/OpenMPKinds.cpp
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/NVPTX.cpp
    M clang/lib/Basic/Targets/NVPTX.h
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/lib/CodeGen/BackendConsumer.h
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CGBuilder.h
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGCXX.cpp
    M clang/lib/CodeGen/CGCXXABI.h
    M clang/lib/CodeGen/CGClass.cpp
    M clang/lib/CodeGen/CGCoroutine.cpp
    M clang/lib/CodeGen/CGDeclCXX.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.h
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/lib/CodeGen/CGPointerAuth.cpp
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/CodeGen/CGVTT.cpp
    M clang/lib/CodeGen/CGVTables.cpp
    M clang/lib/CodeGen/CodeGenAction.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/CodeGen/ConstantEmitter.h
    M clang/lib/CodeGen/ConstantInitBuilder.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/CodeGen/LinkInModulesPass.cpp
    M clang/lib/CodeGen/LinkInModulesPass.h
    M clang/lib/CodeGen/MicrosoftCXXABI.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/OffloadBundler.cpp
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/AIX.cpp
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.h
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Driver/ToolChains/Cuda.h
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/lib/Driver/ToolChains/MinGW.cpp
    M clang/lib/Driver/ToolChains/Solaris.cpp
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/UnwrappedLineFormatter.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
    M clang/lib/Headers/float.h
    M clang/lib/Headers/ptrauth.h
    M clang/lib/InstallAPI/Visitor.cpp
    M clang/lib/Interpreter/CMakeLists.txt
    M clang/lib/Interpreter/CodeCompletion.cpp
    M clang/lib/Interpreter/DeviceOffload.cpp
    M clang/lib/Interpreter/IncrementalExecutor.cpp
    M clang/lib/Interpreter/IncrementalExecutor.h
    M clang/lib/Interpreter/Interpreter.cpp
    A clang/lib/Interpreter/Wasm.cpp
    A clang/lib/Interpreter/Wasm.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Parse/ParseHLSL.cpp
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/lib/Parse/Parser.cpp
    M clang/lib/Sema/CMakeLists.txt
    A clang/lib/Sema/CheckExprLifetime.cpp
    A clang/lib/Sema/CheckExprLifetime.h
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaAccess.cpp
    M clang/lib/Sema/SemaAttr.cpp
    M clang/lib/Sema/SemaAvailability.cpp
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaCast.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExceptionSpec.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaExprMember.cpp
    M clang/lib/Sema/SemaExprObjC.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaLambda.cpp
    M clang/lib/Sema/SemaLookup.cpp
    M clang/lib/Sema/SemaModule.cpp
    M clang/lib/Sema/SemaObjC.cpp
    M clang/lib/Sema/SemaOpenCL.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/lib/Sema/SemaTemplateVariadic.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
    M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
    M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
    M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
    M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
    M clang/lib/StaticAnalyzer/Core/CMakeLists.txt
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
    M clang/lib/StaticAnalyzer/Core/SVals.cpp
    A clang/lib/StaticAnalyzer/Core/Z3CrosscheckVisitor.cpp
    M clang/lib/Tooling/Transformer/RangeSelector.cpp
    M clang/lib/Tooling/Transformer/Stencil.cpp
    A clang/test/AST/HLSL/export.hlsl
    M clang/test/AST/Interp/arrays.cpp
    M clang/test/AST/Interp/c.c
    A clang/test/AST/Interp/const-temporaries.cpp
    M clang/test/AST/Interp/cxx23.cpp
    M clang/test/AST/Interp/literals.cpp
    A clang/test/AST/Interp/mutable.cpp
    M clang/test/AST/Interp/references.cpp
    M clang/test/Analysis/analyzer-checker-option-help.c
    M clang/test/Analysis/analyzer-config.c
    M clang/test/Analysis/stream.c
    A clang/test/Analysis/z3/crosscheck-statistics.c
    A clang/test/C/C23/Inputs/bits.bin
    A clang/test/C/C23/Inputs/boop.h
    A clang/test/C/C23/Inputs/i.dat
    A clang/test/C/C23/Inputs/jump.wav
    A clang/test/C/C23/Inputs/s.dat
    A clang/test/C/C23/n2322.c
    A clang/test/C/C23/n2350.c
    A clang/test/C/C23/n2359.c
    A clang/test/C/C23/n2508.c
    A clang/test/C/C23/n2549.c
    A clang/test/C/C23/n2607.c
    A clang/test/C/C23/n2670.c
    A clang/test/C/C23/n2683.c
    A clang/test/C/C23/n2683_2.c
    A clang/test/C/C23/n2819.c
    A clang/test/C/C23/n2826.c
    A clang/test/C/C23/n2836_n2939.c
    A clang/test/C/C23/n2838.c
    A clang/test/C/C23/n2886.c
    A clang/test/C/C23/n2900_n3011.c
    A clang/test/C/C23/n2900_n3011_2.c
    A clang/test/C/C23/n2927.c
    A clang/test/C/C23/n2927_2.c
    A clang/test/C/C23/n2930.c
    A clang/test/C/C23/n2934.c
    A clang/test/C/C23/n2940.c
    A clang/test/C/C23/n2975.c
    A clang/test/C/C23/n3007.c
    A clang/test/C/C23/n3017.c
    A clang/test/C/C23/n3018.c
    A clang/test/C/C23/n3033.c
    A clang/test/C/C23/n3033_2.c
    A clang/test/C/C23/n3035.c
    A clang/test/C/C23/n3042.c
    R clang/test/C/C2x/Inputs/bits.bin
    R clang/test/C/C2x/Inputs/boop.h
    R clang/test/C/C2x/Inputs/i.dat
    R clang/test/C/C2x/Inputs/jump.wav
    R clang/test/C/C2x/Inputs/s.dat
    R clang/test/C/C2x/n2322.c
    R clang/test/C/C2x/n2350.c
    R clang/test/C/C2x/n2359.c
    R clang/test/C/C2x/n2508.c
    R clang/test/C/C2x/n2549.c
    R clang/test/C/C2x/n2607.c
    R clang/test/C/C2x/n2670.c
    R clang/test/C/C2x/n2683.c
    R clang/test/C/C2x/n2683_2.c
    R clang/test/C/C2x/n2819.c
    R clang/test/C/C2x/n2826.c
    R clang/test/C/C2x/n2836_n2939.c
    R clang/test/C/C2x/n2838.c
    R clang/test/C/C2x/n2886.c
    R clang/test/C/C2x/n2900_n3011.c
    R clang/test/C/C2x/n2900_n3011_2.c
    R clang/test/C/C2x/n2927.c
    R clang/test/C/C2x/n2927_2.c
    R clang/test/C/C2x/n2930.c
    R clang/test/C/C2x/n2934.c
    R clang/test/C/C2x/n2940.c
    R clang/test/C/C2x/n2975.c
    R clang/test/C/C2x/n3007.c
    R clang/test/C/C2x/n3017.c
    R clang/test/C/C2x/n3018.c
    R clang/test/C/C2x/n3033.c
    R clang/test/C/C2x/n3033_2.c
    R clang/test/C/C2x/n3035.c
    R clang/test/C/C2x/n3042.c
    A clang/test/C/C2y/n3192.c
    A clang/test/C/C2y/n3259.c
    A clang/test/C/C2y/n3260.c
    A clang/test/C/C2y/n3273.c
    M clang/test/C/C99/n809.c
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p1.cpp
    A clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5-cxx14.cpp
    M clang/test/CXX/drs/cwg26xx.cpp
    M clang/test/CXX/expr/expr.post/expr.type.conv/p1.cpp
    M clang/test/CXX/over/over.match/over.match.funcs/over.match.class.deduct/p2.cpp
    M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3-0x.cpp
    M clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
    M clang/test/CodeGen/aarch64-targetattr.c
    M clang/test/CodeGen/coverage-target-attr.c
    M clang/test/CodeGen/no-skipped-passes-O0-opt-bisect.c
    A clang/test/CodeGen/nsan-basic.c
    A clang/test/CodeGen/ptrauth-ubsan-vptr.cpp
    M clang/test/CodeGen/sanitizer-module-constructor.c
    M clang/test/CodeGen/target-data.c
    M clang/test/CodeGenCUDA/builtins-amdgcn.cu
    M clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
    M clang/test/CodeGenCXX/atomicinit.cpp
    M clang/test/CodeGenCXX/attr-annotate.cpp
    M clang/test/CodeGenCXX/catch-undef-behavior.cpp
    M clang/test/CodeGenCXX/microsoft-uuidof.cpp
    A clang/test/CodeGenCXX/msabi-preserve-none-cc.cpp
    A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-call-2.cpp
    A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-call.cpp
    A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-virtual-dtor-call.cpp
    A clang/test/CodeGenCXX/ptrauth-explicit-vtable-pointer-control.cpp
    A clang/test/CodeGenCXX/ptrauth-rtti-layout.cpp
    A clang/test/CodeGenCXX/ptrauth-thunks.cpp
    A clang/test/CodeGenCXX/ptrauth-virtual-function.cpp
    A clang/test/CodeGenCXX/ptrauth-vtable-virtual-inheritance-thunk.cpp
    M clang/test/CodeGenCXX/ubsan-vtable-checks.cpp
    A clang/test/CodeGenHLSL/export.hlsl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
    A clang/test/CodeGenOpenCLCXX/version.clcpp
    A clang/test/Driver/Inputs/basic_baremetal_tree/bin/.keep
    A clang/test/Driver/Inputs/basic_baremetal_tree/include/armv6m-unknown-none-eabi/.keep
    A clang/test/Driver/Inputs/basic_baremetal_tree/include/armv6m-unknown-none-eabi/c++/v1/.keep
    A clang/test/Driver/Inputs/basic_baremetal_tree/include/c++/v1/.keep
    A clang/test/Driver/Inputs/basic_baremetal_tree/lib/armv6m-unknown-none-eabi/.keep
    M clang/test/Driver/aarch64-fp16.c
    M clang/test/Driver/aarch64-mac-cpus.c
    M clang/test/Driver/aarch64-sve2.c
    M clang/test/Driver/aarch64-v81a.c
    M clang/test/Driver/aarch64-v82a.c
    M clang/test/Driver/aarch64-v83a.c
    M clang/test/Driver/aarch64-v84a.c
    M clang/test/Driver/aarch64-v85a.c
    M clang/test/Driver/aarch64-v86a.c
    M clang/test/Driver/aarch64-v87a.c
    M clang/test/Driver/aarch64-v88a.c
    M clang/test/Driver/aarch64-v89a.c
    A clang/test/Driver/aarch64-v8a.c
    M clang/test/Driver/aarch64-v91a.c
    M clang/test/Driver/aarch64-v92a.c
    M clang/test/Driver/aarch64-v93a.c
    M clang/test/Driver/aarch64-v94a.c
    M clang/test/Driver/aarch64-v95a.c
    A clang/test/Driver/aarch64-v9a.c
    M clang/test/Driver/baremetal.cpp
    M clang/test/Driver/dxc_fcgl.hlsl
    M clang/test/Driver/print-supported-extensions.c
    M clang/test/Driver/sanitizer-ld.c
    M clang/test/Driver/unknown-std.c
    M clang/test/Headers/float.c
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    M clang/test/Misc/target-invalid-cpu-note.c
    M clang/test/Misc/warning-flags.c
    A clang/test/Modules/forward-friend.cppm
    A clang/test/Modules/pr97244.cppm
    A clang/test/Modules/pr97313.cppm
    M clang/test/Modules/template_name_lookup.cpp
    M clang/test/OpenMP/distribute_parallel_for_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
    M clang/test/OpenMP/nvptx_SPMD_codegen.cpp
    M clang/test/OpenMP/ordered_codegen.cpp
    M clang/test/OpenMP/parallel_for_codegen.cpp
    M clang/test/OpenMP/target_parallel_for_codegen.cpp
    M clang/test/OpenMP/target_parallel_for_simd_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
    M clang/test/PCH/cxx-explicit-specifier.cpp
    M clang/test/PCH/cxx2a-requires-expr.cpp
    M clang/test/Parser/compound_literal.c
    M clang/test/Parser/cxx2a-concepts-requires-expr.cpp
    M clang/test/Parser/generic-selection-type-extension-pedantic.c
    A clang/test/ParserHLSL/bitfields.hlsl
    A clang/test/ParserHLSL/hlsl_annotations_on_struct_members.hlsl
    M clang/test/Preprocessor/aarch64-target-features.c
    A clang/test/Preprocessor/c2y.c
    M clang/test/Preprocessor/riscv-target-features.c
    A clang/test/Sema/aarch64-sme2p1-intrinsics/acle_sme2p1_imm.cpp
    M clang/test/Sema/atomic-ops.c
    M clang/test/Sema/attr-capabilities.c
    M clang/test/Sema/complex-inc-dec.c
    M clang/test/Sema/preserve-none-call-conv.c
    M clang/test/Sema/tls_alignment.cpp
    A clang/test/SemaCUDA/amdgpu-builtins-pointer-args.cu
    M clang/test/SemaCXX/atomic-ops.cpp
    M clang/test/SemaCXX/attr-lifetimebound.cpp
    M clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp
    M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
    M clang/test/SemaCXX/cxx2a-explicit-bool.cpp
    M clang/test/SemaCXX/gh65522.cpp
    M clang/test/SemaCXX/invalid-deduction-guide-as-template-candidates.cpp
    A clang/test/SemaCXX/lambda-call.cpp
    M clang/test/SemaCXX/lambda-expressions.cpp
    M clang/test/SemaCXX/lookup-template-name-extern-CXX.cpp
    A clang/test/SemaCXX/ptrauth-incomplete-virtual-member-function-return-arg-type.cpp
    A clang/test/SemaCXX/vtable_pointer_authentication_attribute.cpp
    M clang/test/SemaCXX/warn-dangling-local.cpp
    A clang/test/SemaCXX/warn-explicit-specialization-storage-class.cpp
    M clang/test/SemaCXX/warn-thread-safety-analysis.cpp
    M clang/test/SemaCXX/warn-thread-safety-parsing.cpp
    M clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
    M clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
    M clang/test/SemaHLSL/Availability/avail-diag-strict-lib.hlsl
    M clang/test/SemaHLSL/Semantics/invalid_entry_parameter.hlsl
    A clang/test/SemaHLSL/export.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error.hlsl
    M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
    M clang/test/SemaTemplate/class-template-id.cpp
    M clang/test/SemaTemplate/ctad.cpp
    M clang/test/SemaTemplate/deduction-crash.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp
    M clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp
    M clang/test/SemaTemplate/temp_arg.cpp
    M clang/tools/driver/cc1_main.cpp
    M clang/unittests/AST/ASTImporterTest.cpp
    M clang/unittests/AST/MatchVerifier.h
    M clang/unittests/Format/ConfigParseTest.cpp
    M clang/unittests/Format/FormatTest.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp
    M clang/unittests/Interpreter/InterpreterTest.cpp
    M clang/unittests/StaticAnalyzer/CMakeLists.txt
    M clang/unittests/StaticAnalyzer/CallEventTest.cpp
    A clang/unittests/StaticAnalyzer/Z3CrosscheckOracleTest.cpp
    M clang/unittests/Tooling/RangeSelectorTest.cpp
    M clang/unittests/Tooling/RecursiveASTVisitorTests/DeductionGuide.cpp
    M clang/unittests/Tooling/ReplacementsYamlTest.cpp
    M clang/utils/TableGen/ClangAttrEmitter.cpp
    M clang/www/c_status.html
    M clang/www/cxx_status.html
    M cmake/Modules/CMakePolicy.cmake
    M compiler-rt/cmake/config-ix.cmake
    M compiler-rt/lib/asan/asan_suppressions.cpp
    M compiler-rt/lib/safestack/safestack_platform.h
    M compiler-rt/lib/sanitizer_common/sancov_flags.cpp
    M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
    M compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S
    M compiler-rt/test/asan/TestCases/printf-5.c
    M compiler-rt/test/lit.common.cfg.py
    M compiler-rt/test/metadata/common.h
    M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp
    M compiler-rt/test/tsan/Darwin/fork_deadlock.cpp
    M flang/docs/Intrinsics.md
    M flang/include/flang/Frontend/CodeGenOptions.h
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
    M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/include/flang/Optimizer/Dialect/FirAliasTagOpInterface.h
    M flang/include/flang/Optimizer/Dialect/FortranVariableInterface.td
    M flang/include/flang/Optimizer/Dialect/Support/KindMapping.h
    M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
    M flang/include/flang/Optimizer/Support/InternalNames.h
    M flang/include/flang/Optimizer/Support/Utils.h
    A flang/include/flang/Runtime/matmul-instances.inc
    M flang/include/flang/Runtime/matmul-transpose.h
    M flang/include/flang/Runtime/matmul.h
    M flang/lib/Evaluate/intrinsics-library.cpp
    M flang/lib/Frontend/CodeGenOptions.cpp
    M flang/lib/Frontend/CompilerInstance.cpp
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/ConvertProcedureDesignator.cpp
    M flang/lib/Lower/DirectivesCommon.h
    M flang/lib/Lower/OpenACC.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/Builder/TemporaryStorage.cpp
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/CodeGenOpenMP.cpp
    M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
    M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
    M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
    M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/lib/Optimizer/Dialect/FirAliasTagOpInterface.cpp
    M flang/lib/Optimizer/Dialect/FortranVariableInterface.cpp
    M flang/lib/Optimizer/Dialect/Support/KindMapping.cpp
    M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/SimplifyHLFIRIntrinsics.cpp
    M flang/lib/Optimizer/Support/CMakeLists.txt
    M flang/lib/Optimizer/Support/InternalNames.cpp
    A flang/lib/Optimizer/Support/Utils.cpp
    M flang/lib/Optimizer/Transforms/AbstractResult.cpp
    M flang/lib/Optimizer/Transforms/AffineDemotion.cpp
    M flang/lib/Optimizer/Transforms/AffinePromotion.cpp
    M flang/lib/Optimizer/Transforms/ArrayValueCopy.cpp
    M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
    M flang/lib/Optimizer/Transforms/CharacterConversion.cpp
    M flang/lib/Optimizer/Transforms/ConstantArgumentGlobalisation.cpp
    M flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
    M flang/lib/Optimizer/Transforms/MemoryAllocation.cpp
    M flang/lib/Optimizer/Transforms/PolymorphicOpConversion.cpp
    M flang/lib/Optimizer/Transforms/StackArrays.cpp
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/lib/Parser/token-sequence.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/runtime/execute.cpp
    M flang/runtime/matmul-transpose.cpp
    M flang/runtime/matmul.cpp
    M flang/runtime/pointer.cpp
    M flang/runtime/time-intrinsic.cpp
    A flang/test/Driver/large-data-threshold.f90
    A flang/test/Driver/mcmodel.f90
    A flang/test/Driver/print-resource-dir.F90
    M flang/test/Driver/target-cpu-features.f90
    M flang/test/Evaluate/folding04.f90
    M flang/test/Fir/fir-ops.fir
    M flang/test/Lower/HLFIR/procedure-pointer.f90
    A flang/test/Lower/HLFIR/type-info-components.f90
    M flang/test/Lower/OpenACC/acc-data.f90
    M flang/test/Lower/OpenACC/acc-enter-data.f90
    M flang/test/Lower/OpenACC/acc-exit-data.f90
    M flang/test/Lower/OpenACC/acc-parallel.f90
    M flang/test/Lower/OpenACC/acc-serial.f90
    M flang/test/Lower/OpenACC/acc-update.f90
    M flang/test/Lower/OpenMP/atomic-capture.f90
    M flang/test/Lower/OpenMP/copyin-order.f90
    A flang/test/Lower/OpenMP/declare-target-unnamed-main.f90
    A flang/test/Lower/OpenMP/order-clause.f90
    M flang/test/Lower/OpenMP/parallel-wsloop.f90
    M flang/test/Lower/OpenMP/parallel.f90
    M flang/test/Lower/OpenMP/simd.f90
    M flang/test/Lower/OpenMP/target.f90
    A flang/test/Lower/OpenMP/task2.f90
    M flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90
    M flang/test/Lower/dummy-procedure-character.f90
    A flang/test/Lower/large-data-threshold.f90
    A flang/test/Lower/mcmodel.f90
    A flang/test/Preprocessing/kw-in-char.F90
    A flang/test/Preprocessing/sentinel-after-semi.F90
    M flang/test/Runtime/no-cpp-dep.c
    A flang/test/Semantics/OpenMP/doconcurrent01.f90
    M flang/test/Semantics/boz-literal-constants.f90
    M flang/tools/bbc/bbc.cpp
    M flang/tools/tco/tco.cpp
    M flang/unittests/Runtime/CommandTest.cpp
    M flang/unittests/Runtime/Matmul.cpp
    M flang/unittests/Runtime/MatmulTranspose.cpp
    M libc/CMakeLists.txt
    M libc/benchmarks/CMakeLists.txt
    A libc/benchmarks/gpu/BenchmarkLogger.cpp
    A libc/benchmarks/gpu/BenchmarkLogger.h
    A libc/benchmarks/gpu/CMakeLists.txt
    A libc/benchmarks/gpu/LibcGpuBenchmark.cpp
    A libc/benchmarks/gpu/LibcGpuBenchmark.h
    A libc/benchmarks/gpu/LibcGpuBenchmarkMain.cpp
    A libc/benchmarks/gpu/src/CMakeLists.txt
    A libc/benchmarks/gpu/src/ctype/CMakeLists.txt
    A libc/benchmarks/gpu/src/ctype/isalnum_benchmark.cpp
    A libc/benchmarks/gpu/src/ctype/isalpha_benchmark.cpp
    A libc/benchmarks/gpu/timing/CMakeLists.txt
    A libc/benchmarks/gpu/timing/nvptx/CMakeLists.txt
    A libc/benchmarks/gpu/timing/nvptx/timing.h
    A libc/benchmarks/gpu/timing/timing.h
    M libc/cmake/modules/CheckCompilerFeatures.cmake
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt
    M libc/config/darwin/arm/entrypoints.txt
    M libc/config/gpu/entrypoints.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    R libc/config/linux/platform_defs.h.inc
    M libc/config/linux/riscv/entrypoints.txt
    R libc/config/linux/signal.h.in
    R libc/config/linux/syscall_numbers.h.inc
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/config/windows/entrypoints.txt
    M libc/docs/build_and_test.rst
    M libc/docs/gpu/motivation.rst
    M libc/docs/gpu/support.rst
    M libc/docs/math/index.rst
    M libc/hdr/types/CMakeLists.txt
    A libc/hdr/types/struct_sigaction.h
    M libc/include/CMakeLists.txt
    M libc/include/errno.h.def
    M libc/include/llvm-libc-macros/float16-macros.h
    M libc/include/llvm-libc-types/rpc_opcodes_t.h
    M libc/include/sys/syscall.h.def
    A libc/newhdrgen/class_implementation/classes/enumeration.py
    A libc/newhdrgen/class_implementation/classes/function.py
    A libc/newhdrgen/class_implementation/classes/include.py
    A libc/newhdrgen/class_implementation/classes/macro.py
    A libc/newhdrgen/class_implementation/classes/object.py
    A libc/newhdrgen/class_implementation/classes/type.py
    A libc/newhdrgen/header.py
    A libc/newhdrgen/yaml/arpa_inet.yaml
    A libc/newhdrgen/yaml/dirent.yaml
    A libc/newhdrgen/yaml/errno.yaml
    A libc/newhdrgen/yaml/fcntl.yaml
    A libc/newhdrgen/yaml/float.yaml
    A libc/newhdrgen/yaml/inttypes.yaml
    A libc/newhdrgen/yaml/limits.yaml
    A libc/newhdrgen/yaml/rpc.yaml
    A libc/newhdrgen/yaml/search.yaml
    A libc/newhdrgen/yaml/setjmp.yaml
    A libc/newhdrgen/yaml/spawn.yaml
    A libc/newhdrgen/yaml/stdbit.yaml
    A libc/newhdrgen/yaml/stdckdint.yaml
    A libc/newhdrgen/yaml/stdint.yaml
    A libc/newhdrgen/yaml/sys_auxv.yaml
    A libc/newhdrgen/yaml/sys_epoll.yaml
    A libc/newhdrgen/yaml/sys_ioctl.yaml
    A libc/newhdrgen/yaml/sys_prctl.yaml
    A libc/newhdrgen/yaml/sys_random.yaml
    A libc/newhdrgen/yaml/sys_resource.yaml
    A libc/newhdrgen/yaml/sys_select.yaml
    A libc/newhdrgen/yaml/sys_sendfile.yaml
    A libc/newhdrgen/yaml/sys_socket.yaml
    A libc/newhdrgen/yaml/sys_stat.yaml
    A libc/newhdrgen/yaml/sys_statvfs.yaml
    A libc/newhdrgen/yaml/sys_time.yaml
    A libc/newhdrgen/yaml/sys_types.yaml
    A libc/newhdrgen/yaml/sys_utsname.yaml
    A libc/newhdrgen/yaml/termios.yaml
    A libc/newhdrgen/yaml/threads.yaml
    A libc/newhdrgen/yaml/uchar.yaml
    A libc/newhdrgen/yaml/unistd.yaml
    A libc/newhdrgen/yaml/wchar.yaml
    A libc/newhdrgen/yaml_combined/ctype.yaml
    A libc/newhdrgen/yaml_combined/fenv.yaml
    A libc/newhdrgen/yaml_combined/math.yaml
    A libc/newhdrgen/yaml_combined/pthread.yaml
    A libc/newhdrgen/yaml_combined/sched.yaml
    A libc/newhdrgen/yaml_combined/signal.yaml
    A libc/newhdrgen/yaml_combined/stdfix.yaml
    A libc/newhdrgen/yaml_combined/stdio.yaml
    A libc/newhdrgen/yaml_combined/stdlib.yaml
    A libc/newhdrgen/yaml_combined/string.yaml
    A libc/newhdrgen/yaml_combined/strings.yaml
    A libc/newhdrgen/yaml_combined/sys_mman.yaml
    A libc/newhdrgen/yaml_combined/sys_wait.yaml
    A libc/newhdrgen/yaml_combined/time.yaml
    A libc/newhdrgen/yaml_to_classes.py
    M libc/spec/gnu_ext.td
    M libc/spec/llvm_libc_ext.td
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/NearestIntegerOperations.h
    M libc/src/__support/FPUtil/dyadic_float.h
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/FMA.h
    A libc/src/__support/FPUtil/generic/add_sub.h
    M libc/src/__support/FPUtil/generic/div.h
    M libc/src/__support/FPUtil/generic/sqrt.h
    M libc/src/__support/FPUtil/multiply_add.h
    M libc/src/__support/big_int.h
    M libc/src/__support/high_precision_decimal.h
    M libc/src/__support/threads/callonce.h
    M libc/src/__support/threads/linux/CMakeLists.txt
    M libc/src/__support/threads/linux/callonce.cpp
    A libc/src/__support/threads/linux/callonce.h
    M libc/src/errno/libc_errno.cpp
    M libc/src/math/CMakeLists.txt
    A libc/src/math/f16add.h
    A libc/src/math/f16addf.h
    A libc/src/math/f16addf128.h
    A libc/src/math/f16addl.h
    A libc/src/math/f16div.h
    A libc/src/math/f16divf128.h
    A libc/src/math/f16divl.h
    A libc/src/math/f16fma.h
    A libc/src/math/f16fmaf128.h
    A libc/src/math/f16fmal.h
    A libc/src/math/f16sqrt.h
    A libc/src/math/f16sqrtf128.h
    A libc/src/math/f16sqrtl.h
    A libc/src/math/f16sub.h
    A libc/src/math/f16subf.h
    A libc/src/math/f16subf128.h
    A libc/src/math/f16subl.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/f16add.cpp
    A libc/src/math/generic/f16addf.cpp
    A libc/src/math/generic/f16addf128.cpp
    A libc/src/math/generic/f16addl.cpp
    A libc/src/math/generic/f16div.cpp
    A libc/src/math/generic/f16divf128.cpp
    A libc/src/math/generic/f16divl.cpp
    A libc/src/math/generic/f16fma.cpp
    A libc/src/math/generic/f16fmaf128.cpp
    A libc/src/math/generic/f16fmal.cpp
    A libc/src/math/generic/f16sqrt.cpp
    A libc/src/math/generic/f16sqrtf128.cpp
    A libc/src/math/generic/f16sqrtl.cpp
    A libc/src/math/generic/f16sub.cpp
    A libc/src/math/generic/f16subf.cpp
    A libc/src/math/generic/f16subf128.cpp
    A libc/src/math/generic/f16subl.cpp
    M libc/src/math/generic/range_reduction_fma.h
    A libc/src/math/generic/sincos.cpp
    M libc/src/math/generic/sincosf_utils.h
    A libc/src/math/generic/sinpif.cpp
    A libc/src/math/sinpif.h
    M libc/src/signal/linux/CMakeLists.txt
    M libc/src/signal/linux/signal.cpp
    M libc/src/signal/sigaction.h
    M libc/src/stdio/gpu/CMakeLists.txt
    A libc/src/stdio/gpu/remove.cpp
    M libc/src/stdlib/rand.cpp
    M libc/src/stdlib/srand.cpp
    M libc/test/src/__support/math_extras_test.cpp
    A libc/test/src/math/AddTest.h
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/FMulTest.h
    M libc/test/src/math/FmaTest.h
    A libc/test/src/math/NearbyIntTest.h
    M libc/test/src/math/SqrtTest.h
    A libc/test/src/math/SubTest.h
    M libc/test/src/math/exhaustive/CMakeLists.txt
    A libc/test/src/math/exhaustive/sinpif_test.cpp
    A libc/test/src/math/f16add_test.cpp
    A libc/test/src/math/f16addf_test.cpp
    A libc/test/src/math/f16addl_test.cpp
    A libc/test/src/math/f16div_test.cpp
    A libc/test/src/math/f16divl_test.cpp
    A libc/test/src/math/f16fma_test.cpp
    M libc/test/src/math/f16fmaf_test.cpp
    A libc/test/src/math/f16fmal_test.cpp
    A libc/test/src/math/f16sqrt_test.cpp
    A libc/test/src/math/f16sqrtf_test.cpp
    A libc/test/src/math/f16sqrtl_test.cpp
    A libc/test/src/math/f16sub_test.cpp
    A libc/test/src/math/f16subf_test.cpp
    A libc/test/src/math/f16subl_test.cpp
    M libc/test/src/math/fmaf_test.cpp
    A libc/test/src/math/fmul_test.cpp
    A libc/test/src/math/nearbyint_test.cpp
    A libc/test/src/math/nearbyintf16_test.cpp
    A libc/test/src/math/nearbyintf_test.cpp
    A libc/test/src/math/nearbyintl_test.cpp
    A libc/test/src/math/sincos_test.cpp
    A libc/test/src/math/sinpif_test.cpp
    A libc/test/src/math/smoke/AddTest.h
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/SubTest.h
    A libc/test/src/math/smoke/f16add_test.cpp
    A libc/test/src/math/smoke/f16addf128_test.cpp
    A libc/test/src/math/smoke/f16addf_test.cpp
    A libc/test/src/math/smoke/f16addl_test.cpp
    A libc/test/src/math/smoke/f16div_test.cpp
    A libc/test/src/math/smoke/f16divf128_test.cpp
    A libc/test/src/math/smoke/f16divl_test.cpp
    A libc/test/src/math/smoke/f16fma_test.cpp
    A libc/test/src/math/smoke/f16fmaf128_test.cpp
    A libc/test/src/math/smoke/f16fmal_test.cpp
    A libc/test/src/math/smoke/f16sqrt_test.cpp
    A libc/test/src/math/smoke/f16sqrtf128_test.cpp
    A libc/test/src/math/smoke/f16sqrtl_test.cpp
    A libc/test/src/math/smoke/f16sub_test.cpp
    A libc/test/src/math/smoke/f16subf128_test.cpp
    A libc/test/src/math/smoke/f16subf_test.cpp
    A libc/test/src/math/smoke/f16subl_test.cpp
    A libc/test/src/math/smoke/sincos_test.cpp
    A libc/test/src/math/smoke/sinpif_test.cpp
    M libc/test/src/signal/CMakeLists.txt
    M libc/test/src/signal/sigaction_test.cpp
    M libc/test/src/signal/sigaltstack_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.h
    M libc/utils/gpu/server/rpc_server.cpp
    M libclc/CMakeLists.txt
    M libclc/cmake/modules/AddLibclc.cmake
    M libcxx/docs/Hardening.rst
    M libcxx/include/__configuration/availability.h
    M libcxx/include/__exception/nested_exception.h
    M libcxx/include/__iterator/move_iterator.h
    M libcxx/include/__type_traits/common_type.h
    M libcxx/include/__type_traits/conditional.h
    M libcxx/include/__type_traits/decay.h
    M libcxx/include/__utility/pair.h
    M libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
    M libcxx/src/CMakeLists.txt
    M libcxx/test/libcxx/strings/basic.string/string.capacity/PR53170.pass.cpp
    M libcxx/test/libcxx/strings/basic.string/string.capacity/allocation_size.pass.cpp
    M libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
    M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp
    M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.signals.pass.cpp
    A libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/pair.incomplete.compile.pass.cpp
    M libcxx/test/lit.cfg.py
    M libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/toctou.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/bool.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/double.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/float.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/int.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_double.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_long.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/pointer.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/short.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_int.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long_long.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_short.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/streambuf.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_chart.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size_chart.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf_chart.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size_chart.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/peek.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/read.pass.cpp
    M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg_off.pass.cpp
    M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp
    M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minus1.pass.cpp
    M libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/ios_Init.multiple.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.pass.cpp
    M libcxx/test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp
    M libcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp
    M libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
    M libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
    M libcxx/test/std/localization/codecvt_unicode.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/table_size.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp
    M libcxx/test/std/localization/locales/locale/locale.cons/name_construction.pass.cpp
    M libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp
    M libcxx/test/std/strings/basic.string/string.capacity/max_size.pass.cpp
    M libcxx/test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp
    M libcxx/test/std/strings/basic.string/string.capacity/reserve_size.pass.cpp
    M libcxx/test/std/thread/futures/futures.async/async_race.38682.pass.cpp
    M libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp
    M libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp
    M libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp
    M libcxx/utils/ci/Dockerfile
    M libcxx/utils/ci/docker-compose.yml
    M libcxx/utils/libcxx/test/features.py
    M libcxxabi/include/cxxabi.h
    M libcxxabi/lib/itanium-exceptions.exp
    M libcxxabi/src/cxa_exception.cpp
    M libcxxabi/test/catch_const_pointer_nullptr.pass.cpp
    M libcxxabi/test/catch_function_01.pass.cpp
    M libcxxabi/test/catch_function_03.pass.cpp
    M libcxxabi/test/catch_member_data_pointer_01.pass.cpp
    M libcxxabi/test/catch_member_function_pointer_02.pass.cpp
    M libcxxabi/test/catch_member_pointer_nullptr.pass.cpp
    M libcxxabi/test/catch_multi_level_pointer.pass.cpp
    M libcxxabi/test/catch_null_pointer_to_object_pr64953.pass.cpp
    M libcxxabi/test/catch_pointer_nullptr.pass.cpp
    M libcxxabi/test/catch_ptr_02.pass.cpp
    A libcxxabi/test/cxa_call_terminate.pass.cpp
    M libcxxabi/test/cxa_vec_new_overflow_PR41395.pass.cpp
    M libcxxabi/test/dynamic_cast.pass.cpp
    M libcxxabi/test/exception_object_alignment.pass.cpp
    M libcxxabi/test/incomplete_type.sh.cpp
    M libcxxabi/test/lit.cfg.py
    M libcxxabi/test/test_aux_runtime_op_array_new.pass.cpp
    M libcxxabi/test/test_demangle.pass.cpp
    M libcxxabi/test/test_exception_address_alignment.pass.cpp
    M libcxxabi/test/uncaught_exception.pass.cpp
    M libcxxabi/test/uncaught_exceptions.pass.cpp
    M libunwind/src/UnwindCursor.hpp
    M libunwind/test/lit.cfg.py
    M lld/Common/Version.cpp
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/Arch/RISCV.cpp
    M lld/ELF/Driver.cpp
    M lld/ELF/LTO.cpp
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/LinkerScript.h
    M lld/ELF/Options.td
    M lld/ELF/Relocations.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    M lld/ELF/Writer.cpp
    M lld/MachO/Config.h
    M lld/MachO/InputFiles.cpp
    M lld/MachO/ObjC.cpp
    M lld/MachO/SectionPriorities.h
    M lld/MachO/SyntheticSections.h
    M lld/MinGW/Driver.cpp
    M lld/test/ELF/aarch64-reloc-pauth.s
    M lld/test/ELF/as-needed-no-reloc.s
    M lld/test/ELF/as-needed.s
    M lld/test/ELF/auxiliary.s
    M lld/test/ELF/basic-freebsd.s
    M lld/test/ELF/dynamic-reloc.s
    M lld/test/ELF/filter.s
    M lld/test/ELF/gc-sections-shared.s
    M lld/test/ELF/gnu-property-align-32.s
    M lld/test/ELF/gnu-property-align.s
    A lld/test/ELF/linkerscript/empty-preinit-array-start-stop.test
    A lld/test/ELF/linkerscript/empty-section-start-stop.test
    R lld/test/ELF/linkerscript/preinit-array-empty.test
    M lld/test/ELF/linkerscript/sections-gc2.s
    M lld/test/ELF/lto/emit-llvm.ll
    M lld/test/ELF/no-soname.s
    M lld/test/ELF/partition-notes.s
    M lld/test/ELF/partition-synthetic-sections.s
    M lld/test/ELF/pre_init_fini_array_missing.s
    M lld/test/ELF/push-state.s
    M lld/test/ELF/shared-ppc64.s
    M lld/test/ELF/shared.s
    M lld/test/ELF/soname.s
    M lld/test/ELF/soname2.s
    M lld/test/ELF/version.test
    M lld/test/ELF/wrap-drop-shared-original.s
    M lld/test/MachO/dead-strip.s
    M lld/test/MachO/lto-explicit-exports.ll
    A lld/test/MachO/objc-category-merging-swift.s
    M lld/test/MinGW/driver.test
    A lld/test/wasm/import-table-explicit.s
    A lld/test/wasm/import-table.s
    R lld/test/wasm/import-table.test
    M lld/test/wasm/unresolved-symbols.s
    M lld/wasm/Relocations.cpp
    M lld/wasm/SymbolTable.cpp
    M lldb/bindings/python/CMakeLists.txt
    M lldb/bindings/python/python-swigsafecast.swig
    M lldb/bindings/python/python-wrapper.swig
    M lldb/docs/CMakeLists.txt
    M lldb/docs/index.rst
    A lldb/docs/python_extensions.rst
    M lldb/docs/use/python-reference.rst
    M lldb/examples/python/cmdtemplate.py
    M lldb/examples/python/templates/operating_system.py
    M lldb/examples/python/templates/scripted_platform.py
    M lldb/examples/python/templates/scripted_process.py
    A lldb/examples/python/templates/scripted_thread_plan.py
    M lldb/include/lldb/API/SBEvent.h
    M lldb/include/lldb/API/SBStream.h
    M lldb/include/lldb/Interpreter/CommandObject.h
    M lldb/include/lldb/Interpreter/Interfaces/ScriptedInterface.h
    A lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/include/lldb/Target/Platform.h
    M lldb/include/lldb/Target/RegisterFlags.h
    M lldb/include/lldb/Target/Statistics.h
    M lldb/include/lldb/Target/ThreadPlanPython.h
    M lldb/include/lldb/Utility/Broadcaster.h
    M lldb/include/lldb/Utility/StreamString.h
    M lldb/include/lldb/Utility/SupportFile.h
    M lldb/include/lldb/lldb-forward.h
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py
    M lldb/source/API/SBThread.cpp
    M lldb/source/Breakpoint/BreakpointResolver.cpp
    M lldb/source/Commands/CMakeLists.txt
    M lldb/source/Commands/CommandObjectCommands.cpp
    R lldb/source/Commands/CommandObjectScript.cpp
    R lldb/source/Commands/CommandObjectScript.h
    A lldb/source/Commands/CommandObjectScripting.cpp
    A lldb/source/Commands/CommandObjectScripting.h
    M lldb/source/Commands/CommandObjectSource.cpp
    M lldb/source/Commands/CommandObjectThread.cpp
    M lldb/source/Commands/Options.td
    M lldb/source/Core/DumpRegisterInfo.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Interpreter/ScriptInterpreter.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.h
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.h
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_powerpc.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.h
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
    M lldb/source/Plugins/Process/Utility/CMakeLists.txt
    A lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.cpp
    A lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.h
    R lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.cpp
    R lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.h
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/source/Symbol/LineEntry.cpp
    M lldb/source/Symbol/LineTable.cpp
    M lldb/source/Target/Platform.cpp
    M lldb/source/Target/RegisterFlags.cpp
    M lldb/source/Target/ThreadPlanPython.cpp
    M lldb/source/Target/ThreadPlanStepOverRange.cpp
    M lldb/source/Target/ThreadPlanStepRange.cpp
    M lldb/source/Utility/Broadcaster.cpp
    M lldb/source/Utility/Listener.cpp
    M lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
    M lldb/test/API/commands/command/script/add/test_commands.py
    A lldb/test/API/commands/expression/bitfield_enums/Makefile
    A lldb/test/API/commands/expression/bitfield_enums/TestBitfieldEnums.py
    A lldb/test/API/commands/expression/bitfield_enums/main.cpp
    M lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py
    M lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py
    M lldb/test/API/commands/register/register/register_command/TestRegisters.py
    M lldb/test/API/commands/settings/use_source_cache/TestUseSourceCache.py
    M lldb/test/API/commands/statistics/basic/TestStats.py
    M lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py
    M lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py
    M lldb/test/API/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py
    M lldb/test/API/functionalities/abbreviation/TestAbbreviations.py
    M lldb/test/API/functionalities/completion/TestCompletion.py
    R lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py
    A lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXMLRegisters.py
    M lldb/test/API/functionalities/gdb_remote_client/TestIOSSimulator.py
    M lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterFlags.py
    M lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py
    M lldb/test/API/functionalities/load_unload/TestLoadUnload.py
    M lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py
    M lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py
    M lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
    M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
    M lldb/test/API/functionalities/signal/TestSendSignal.py
    M lldb/test/API/functionalities/step_scripted/Steps.py
    M lldb/test/API/functionalities/thread_plan/wrap_step_over.py
    M lldb/test/API/lang/cpp/alignas_base_class/TestAlignAsBaseClass.py
    M lldb/test/API/lang/cpp/alignas_base_class/main.cpp
    M lldb/test/API/lang/cpp/diamond/TestCppDiamond.py
    M lldb/test/API/lang/cpp/namespace/TestNamespace.py
    M lldb/test/API/lang/cpp/namespace/main.cpp
    M lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py
    M lldb/test/API/lang/rust/enum-structs/TestRustEnumStructs.py
    M lldb/test/API/linux/aarch64/mte_core_file/TestAArch64LinuxMTEMemoryTagCoreFile.py
    M lldb/test/API/python_api/thread/TestThreadAPI.py
    M lldb/test/API/python_api/thread/main.cpp
    M lldb/test/API/test_utils/TestDecorators.py
    A lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
    M lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py
    A lldb/test/Shell/Register/Core/aarch64-freebsd-register-fields.test
    A lldb/test/Shell/SymbolFile/DWARF/no_unique_address-alignment.cpp
    A lldb/test/Shell/SymbolFile/DWARF/no_unique_address-base-alignment.cpp
    A lldb/test/Shell/SymbolFile/DWARF/packed-alignof.cpp
    A lldb/test/Shell/SymbolFile/DWARF/packed.cpp
    M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-missing-signature.test
    M lldb/test/Shell/SymbolFile/DWARF/x86/dwp-foreign-type-units.cpp
    A lldb/test/Shell/SymbolFile/DWARF/x86/enum-declaration-uniqueness.cpp
    M lldb/tools/lldb-dap/lldb-dap.cpp
    M lldb/tools/lldb-dap/package.json
    M lldb/unittests/Core/DumpRegisterInfoTest.cpp
    M lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
    M lldb/unittests/Utility/CMakeLists.txt
    M lldb/unittests/Utility/ListenerTest.cpp
    A lldb/unittests/Utility/SupportFileTest.cpp
    M lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp
    M llvm/CMakeLists.txt
    M llvm/docs/CommandGuide/FileCheck.rst
    M llvm/docs/GlobalISel/GenericOpcode.rst
    M llvm/docs/LangRef.rst
    M llvm/docs/ProgrammersManual.rst
    A llvm/docs/RISCV/RISCVVectorExtension.rst
    M llvm/docs/RISCVUsage.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/docs/UserGuides.rst
    M llvm/include/llvm/ADT/FloatingPointMode.h
    M llvm/include/llvm/ADT/Hashing.h
    M llvm/include/llvm/ADT/SmallPtrSet.h
    M llvm/include/llvm/Analysis/AliasAnalysis.h
    M llvm/include/llvm/Analysis/CFGPrinter.h
    M llvm/include/llvm/Analysis/DDG.h
    M llvm/include/llvm/Analysis/Delinearization.h
    M llvm/include/llvm/Analysis/DemandedBits.h
    M llvm/include/llvm/Analysis/DomTreeUpdater.h
    M llvm/include/llvm/Analysis/DominanceFrontier.h
    A llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
    A llvm/include/llvm/Analysis/GenericDomTreeUpdaterImpl.h
    M llvm/include/llvm/Analysis/IVUsers.h
    M llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
    M llvm/include/llvm/Analysis/IndirectCallVisitor.h
    M llvm/include/llvm/Analysis/LazyValueInfo.h
    M llvm/include/llvm/Analysis/Loads.h
    M llvm/include/llvm/Analysis/LoopAnalysisManager.h
    M llvm/include/llvm/Analysis/MLInlineAdvisor.h
    M llvm/include/llvm/Analysis/MemorySSA.h
    M llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
    M llvm/include/llvm/Analysis/ReleaseModeModelRunner.h
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/include/llvm/Analysis/SimplifyQuery.h
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/include/llvm/Analysis/VectorUtils.h
    M llvm/include/llvm/BinaryFormat/DynamicTags.def
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/include/llvm/BinaryFormat/MsgPackDocument.h
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/include/llvm/CodeGen/AsmPrinterHandler.h
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/include/llvm/CodeGen/DebugHandlerBase.h
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
    M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/MachineBasicBlock.h
    M llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
    A llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h
    M llvm/include/llvm/CodeGen/MachineDominators.h
    M llvm/include/llvm/CodeGen/MachineInstr.h
    M llvm/include/llvm/CodeGen/MachineMemOperand.h
    M llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h
    M llvm/include/llvm/CodeGen/MachinePipeliner.h
    M llvm/include/llvm/CodeGen/MachinePostDominators.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
    M llvm/include/llvm/Frontend/OpenMP/OMP.td
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/include/llvm/IR/Analysis.h
    M llvm/include/llvm/IR/BasicBlock.h
    M llvm/include/llvm/IR/ConstantRange.h
    M llvm/include/llvm/IR/ConstantRangeList.h
    M llvm/include/llvm/IR/Function.h
    M llvm/include/llvm/IR/GlobalValue.h
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/include/llvm/IR/Instruction.h
    M llvm/include/llvm/IR/Instructions.h
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/include/llvm/IR/IntrinsicsRISCVXCV.td
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/include/llvm/IR/PassInstrumentation.h
    M llvm/include/llvm/IR/PassManager.h
    M llvm/include/llvm/IR/PassManagerImpl.h
    M llvm/include/llvm/IR/PatternMatch.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/include/llvm/MC/MCAsmInfo.h
    M llvm/include/llvm/MC/MCAsmInfoDarwin.h
    R llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCCodeEmitter.h
    M llvm/include/llvm/MC/MCCodeView.h
    M llvm/include/llvm/MC/MCContext.h
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/include/llvm/MC/MCLinkerOptimizationHint.h
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/include/llvm/MC/MCObjectStreamer.h
    M llvm/include/llvm/MC/MCObjectWriter.h
    M llvm/include/llvm/MC/MCSection.h
    M llvm/include/llvm/MC/MCSectionCOFF.h
    M llvm/include/llvm/MC/MCSectionDXContainer.h
    M llvm/include/llvm/MC/MCSectionELF.h
    M llvm/include/llvm/MC/MCSectionGOFF.h
    M llvm/include/llvm/MC/MCSectionMachO.h
    M llvm/include/llvm/MC/MCSectionSPIRV.h
    M llvm/include/llvm/MC/MCSectionWasm.h
    M llvm/include/llvm/MC/MCSectionXCOFF.h
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/include/llvm/MC/MCSubtargetInfo.h
    M llvm/include/llvm/MC/MCTargetOptions.h
    M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
    M llvm/include/llvm/MCA/InstrBuilder.h
    M llvm/include/llvm/Object/ELF.h
    M llvm/include/llvm/Object/ELFTypes.h
    M llvm/include/llvm/Object/MachO.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
    A llvm/include/llvm/SandboxIR/SandboxIR.h
    A llvm/include/llvm/SandboxIR/SandboxIRValues.def
    M llvm/include/llvm/Support/Error.h
    M llvm/include/llvm/Support/GraphWriter.h
    M llvm/include/llvm/Support/JSON.h
    A llvm/include/llvm/Support/LogicalResult.h
    M llvm/include/llvm/Support/MathExtras.h
    M llvm/include/llvm/Support/RISCVAttributeParser.h
    M llvm/include/llvm/Support/RISCVAttributes.h
    M llvm/include/llvm/Support/SMTAPI.h
    M llvm/include/llvm/Support/ScopedPrinter.h
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Support/TypeSize.h
    M llvm/include/llvm/Support/YAMLTraits.h
    M llvm/include/llvm/Support/raw_ostream.h
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/include/llvm/TargetParser/PPCTargetParser.def
    M llvm/include/llvm/TargetParser/RISCVISAInfo.h
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/include/llvm/Transforms/IPO/ExtractGV.h
    M llvm/include/llvm/Transforms/IPO/HotColdSplitting.h
    M llvm/include/llvm/Transforms/IPO/Internalize.h
    M llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
    M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
    M llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
    A llvm/include/llvm/Transforms/Instrumentation/NumericalStabilitySanitizer.h
    M llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
    M llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h
    M llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
    M llvm/include/llvm/Transforms/Scalar/Reassociate.h
    M llvm/include/llvm/Transforms/Scalar/SpeculativeExecution.h
    M llvm/include/llvm/Transforms/Utils/Cloning.h
    M llvm/include/llvm/Transforms/Utils/Debugify.h
    M llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h
    M llvm/include/llvm/Transforms/Vectorize/LoopIdiomVectorize.h
    M llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h
    M llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
    M llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/lib/Analysis/BranchProbabilityInfo.cpp
    M llvm/lib/Analysis/CallPrinter.cpp
    M llvm/lib/Analysis/CaptureTracking.cpp
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Analysis/DemandedBits.cpp
    M llvm/lib/Analysis/DependenceAnalysis.cpp
    M llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
    M llvm/lib/Analysis/DomTreeUpdater.cpp
    M llvm/lib/Analysis/IVDescriptors.cpp
    M llvm/lib/Analysis/IVUsers.cpp
    M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
    M llvm/lib/Analysis/InlineAdvisor.cpp
    M llvm/lib/Analysis/InlineCost.cpp
    M llvm/lib/Analysis/InlineSizeEstimatorAnalysis.cpp
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Analysis/Lint.cpp
    M llvm/lib/Analysis/Loads.cpp
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Analysis/LoopInfo.cpp
    M llvm/lib/Analysis/LoopPass.cpp
    M llvm/lib/Analysis/LoopUnrollAnalyzer.cpp
    M llvm/lib/Analysis/MLInlineAdvisor.cpp
    M llvm/lib/Analysis/MemDerefPrinter.cpp
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    M llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
    M llvm/lib/Analysis/MemoryLocation.cpp
    M llvm/lib/Analysis/MustExecute.cpp
    M llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/Analysis/StackLifetime.cpp
    M llvm/lib/Analysis/StackSafetyAnalysis.cpp
    M llvm/lib/Analysis/StructuralHash.cpp
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/CMakeLists.txt
    M llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
    M llvm/lib/CodeGen/Analysis.cpp
    M llvm/lib/CodeGen/AsmPrinter/AIXException.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
    M llvm/lib/CodeGen/AsmPrinter/DIE.cpp
    M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/EHStreamer.h
    M llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.h
    M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
    M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h
    M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
    M llvm/lib/CodeGen/BranchFolding.cpp
    M llvm/lib/CodeGen/CFGuardLongjmp.cpp
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/EHContGuardCatchret.cpp
    M llvm/lib/CodeGen/EarlyIfConversion.cpp
    M llvm/lib/CodeGen/ExpandMemCmp.cpp
    M llvm/lib/CodeGen/ExpandVectorPredication.cpp
    M llvm/lib/CodeGen/GCMetadata.cpp
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
    M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
    M llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
    M llvm/lib/CodeGen/HardwareLoops.cpp
    M llvm/lib/CodeGen/IfConversion.cpp
    M llvm/lib/CodeGen/IndirectBrExpandPass.cpp
    M llvm/lib/CodeGen/InlineSpiller.cpp
    M llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
    M llvm/lib/CodeGen/KCFI.cpp
    M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/LexicalScopes.cpp
    M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
    M llvm/lib/CodeGen/LiveDebugVariables.cpp
    M llvm/lib/CodeGen/MIRPrinter.cpp
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
    M llvm/lib/CodeGen/MLRegAllocPriorityAdvisor.cpp
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp
    M llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
    M llvm/lib/CodeGen/MachineCheckDebugify.cpp
    A llvm/lib/CodeGen/MachineDomTreeUpdater.cpp
    M llvm/lib/CodeGen/MachineFunction.cpp
    M llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
    M llvm/lib/CodeGen/MachineFunctionPass.cpp
    M llvm/lib/CodeGen/MachineInstr.cpp
    M llvm/lib/CodeGen/MachineInstrBundle.cpp
    M llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
    M llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
    M llvm/lib/CodeGen/MachineOutliner.cpp
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    M llvm/lib/CodeGen/MachineSSAUpdater.cpp
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/lib/CodeGen/MachineTraceMetrics.cpp
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/lib/CodeGen/PHIElimination.cpp
    M llvm/lib/CodeGen/PeepholeOptimizer.cpp
    M llvm/lib/CodeGen/PseudoSourceValue.cpp
    M llvm/lib/CodeGen/RegAllocBase.cpp
    M llvm/lib/CodeGen/RegAllocBasic.cpp
    M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
    M llvm/lib/CodeGen/RegisterCoalescer.cpp
    M llvm/lib/CodeGen/SafeStack.cpp
    M llvm/lib/CodeGen/SafeStackLayout.h
    M llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
    M llvm/lib/CodeGen/SjLjEHPrepare.cpp
    M llvm/lib/CodeGen/StackColoring.cpp
    M llvm/lib/CodeGen/StackSlotColoring.cpp
    M llvm/lib/CodeGen/TailDuplication.cpp
    M llvm/lib/CodeGen/TailDuplicator.cpp
    M llvm/lib/CodeGen/TargetInstrInfo.cpp
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/CodeGen/TypePromotion.cpp
    M llvm/lib/CodeGen/VLIWMachineScheduler.cpp
    M llvm/lib/CodeGen/ValueTypes.cpp
    M llvm/lib/CodeGen/WasmEHPrepare.cpp
    M llvm/lib/CodeGen/WinEHPrepare.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFTypePrinter.cpp
    M llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
    M llvm/lib/Demangle/MicrosoftDemangle.cpp
    M llvm/lib/ExecutionEngine/ExecutionEngine.cpp
    M llvm/lib/ExecutionEngine/JITLink/ELF_aarch32.cpp
    M llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
    M llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
    M llvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
    M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
    M llvm/lib/ExecutionEngine/Orc/Layer.cpp
    M llvm/lib/ExecutionEngine/Orc/Mangling.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/IR/ConstantRange.cpp
    M llvm/lib/IR/ConstantRangeList.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/Function.cpp
    M llvm/lib/IR/Globals.cpp
    M llvm/lib/IR/IRBuilder.cpp
    M llvm/lib/IR/Instruction.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/Mangler.cpp
    M llvm/lib/IR/PassManager.cpp
    M llvm/lib/LTO/UpdateCompilerUsed.cpp
    M llvm/lib/Linker/LinkModules.cpp
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/MC/GOFFObjectWriter.cpp
    M llvm/lib/MC/MCAsmBackend.cpp
    M llvm/lib/MC/MCAsmInfo.cpp
    M llvm/lib/MC/MCAsmInfoDarwin.cpp
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCCodeView.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/lib/MC/MCDXContainerWriter.cpp
    M llvm/lib/MC/MCELFStreamer.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/MC/MCLinkerOptimizationHint.cpp
    M llvm/lib/MC/MCMachOStreamer.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCObjectWriter.cpp
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCParser/ELFAsmParser.cpp
    M llvm/lib/MC/MCParser/MasmParser.cpp
    M llvm/lib/MC/MCParser/WasmAsmParser.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/MCSectionCOFF.cpp
    M llvm/lib/MC/MCSectionELF.cpp
    M llvm/lib/MC/MCSectionMachO.cpp
    M llvm/lib/MC/MCSectionWasm.cpp
    M llvm/lib/MC/MCSectionXCOFF.cpp
    M llvm/lib/MC/MCStreamer.cpp
    M llvm/lib/MC/MCSubtargetInfo.cpp
    M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
    M llvm/lib/MC/MCWinCOFFStreamer.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/MC/SPIRVObjectWriter.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/lib/MCA/InstrBuilder.cpp
    M llvm/lib/Object/ELF.cpp
    M llvm/lib/Object/IRSymtab.cpp
    M llvm/lib/Object/TapiUniversal.cpp
    M llvm/lib/ObjectYAML/ELFEmitter.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassBuilderBindings.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    M llvm/lib/ProfileData/MemProfReader.cpp
    A llvm/lib/SandboxIR/CMakeLists.txt
    A llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/lib/Support/APFloat.cpp
    M llvm/lib/Support/CMakeLists.txt
    R llvm/lib/Support/Hashing.cpp
    M llvm/lib/Support/JSON.cpp
    M llvm/lib/Support/LockFileManager.cpp
    M llvm/lib/Support/RISCVAttributeParser.cpp
    M llvm/lib/Support/RISCVAttributes.cpp
    M llvm/lib/Support/Unix/Signals.inc
    M llvm/lib/Support/Z3Solver.cpp
    M llvm/lib/Support/raw_ostream.cpp
    M llvm/lib/Support/xxhash.cpp
    M llvm/lib/TableGen/Main.cpp
    M llvm/lib/TableGen/SetTheory.cpp
    M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
    M llvm/lib/Target/AArch64/AArch64FastISel.cpp
    M llvm/lib/Target/AArch64/AArch64Features.td
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.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/AArch64LowerHomogeneousPrologEpilog.cpp
    M llvm/lib/Target/AArch64/AArch64MCInstLower.cpp
    M llvm/lib/Target/AArch64/AArch64Processors.td
    M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
    M llvm/lib/Target/AArch64/AArch64SchedNeoverseV2.td
    M llvm/lib/Target/AArch64/AArch64SchedPredNeoverse.td
    M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.h
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
    M llvm/lib/Target/AArch64/SMEABIPass.cpp
    M llvm/lib/Target/AArch64/SMEInstrFormats.td
    M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.h
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
    M llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
    M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.h
    M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
    M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
    M llvm/lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
    M llvm/lib/Target/AMDGPU/R600TargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
    M llvm/lib/Target/AMDGPU/VOPInstructions.td
    M llvm/lib/Target/ARC/ARCTargetTransformInfo.h
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMBlockPlacement.cpp
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
    M llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
    M llvm/lib/Target/ARM/ARMParallelDSP.cpp
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.h
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMCExpr.h
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
    M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
    M llvm/lib/Target/ARM/MVETailPredication.cpp
    M llvm/lib/Target/ARM/Thumb1InstrInfo.cpp
    M llvm/lib/Target/ARM/Thumb2InstrInfo.cpp
    M llvm/lib/Target/AVR/AVRAsmPrinter.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.h
    M llvm/lib/Target/BPF/BPFAsmPrinter.cpp
    M llvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
    M llvm/lib/Target/BPF/BPFPreserveStaticOffset.cpp
    M llvm/lib/Target/BPF/BPFTargetTransformInfo.h
    M llvm/lib/Target/BPF/BTFDebug.cpp
    M llvm/lib/Target/BPF/BTFDebug.h
    M llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.h
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.h
    M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
    M llvm/lib/Target/DirectX/DirectXAsmPrinter.cpp
    M llvm/lib/Target/DirectX/DirectXIRPasses/PointerTypeAnalysis.cpp
    M llvm/lib/Target/DirectX/DirectXIRPasses/PointerTypeAnalysis.h
    M llvm/lib/Target/DirectX/DirectXTargetTransformInfo.h
    M llvm/lib/Target/DirectX/MCTargetDesc/DirectXMCTargetDesc.cpp
    M llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
    M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
    M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
    M llvm/lib/Target/Hexagon/HexagonLoopAlign.cpp
    M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
    M llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
    M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
    M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.h
    M llvm/lib/Target/Lanai/LanaiTargetObjectFile.cpp
    M llvm/lib/Target/Lanai/LanaiTargetTransformInfo.h
    M llvm/lib/Target/Lanai/MCTargetDesc/LanaiAsmBackend.cpp
    M llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.cpp
    M llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.h
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.h
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.h
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.h
    M llvm/lib/Target/M68k/GISel/M68kCallLowering.cpp
    M llvm/lib/Target/M68k/MCTargetDesc/M68kAsmBackend.cpp
    M llvm/lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp
    M llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
    M llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp
    M llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.h
    M llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
    M llvm/lib/Target/Mips/MipsAsmPrinter.cpp
    M llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
    M llvm/lib/Target/Mips/MipsISelLowering.cpp
    M llvm/lib/Target/Mips/MipsTargetMachine.cpp
    M llvm/lib/Target/Mips/MipsTargetObjectFile.cpp
    M llvm/lib/Target/Mips/MipsTargetTransformInfo.h
    M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.h
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
    M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
    M llvm/lib/Target/NVPTX/NVPTXMCExpr.h
    M llvm/lib/Target/NVPTX/NVPTXRegisterInfo.cpp
    M llvm/lib/Target/NVPTX/NVPTXRegisterInfo.td
    M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h
    M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
    M llvm/lib/Target/NVPTX/NVVMReflect.cpp
    M llvm/lib/Target/PowerPC/GISel/PPCCallLowering.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFStreamer.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    M llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
    M llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
    M llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
    M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
    M llvm/lib/Target/RISCV/CMakeLists.txt
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
    M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
    M llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
    M llvm/lib/Target/RISCV/RISCVPostRAExpandPseudoInsts.cpp
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    M llvm/lib/Target/RISCV/RISCVTargetMachine.h
    M llvm/lib/Target/RISCV/RISCVTargetObjectFile.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVAsmBackend.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.h
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVTargetTransformInfo.h
    M llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.h
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCExpr.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCExpr.h
    M llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
    M llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZSubtarget.cpp
    M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
    M llvm/lib/Target/Target.cpp
    M llvm/lib/Target/TargetLoweringObjectFile.cpp
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.h
    M llvm/lib/Target/VE/VETargetTransformInfo.h
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyAsmBackend.cpp
    M llvm/lib/Target/WebAssembly/WebAssembly.td
    M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyMCLowerPrePass.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h
    M llvm/lib/Target/X86/GISel/X86CallLowering.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCExpr.h
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
    M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/lib/Target/X86/X86ISelLoweringCall.cpp
    M llvm/lib/Target/X86/X86IndirectBranchTracking.cpp
    M llvm/lib/Target/X86/X86InsertPrefetch.cpp
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/lib/Target/X86/X86InstrCMovSetCC.td
    M llvm/lib/Target/X86/X86InstrFragments.td
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86InterleavedAccess.cpp
    M llvm/lib/Target/X86/X86LowerAMXType.cpp
    M llvm/lib/Target/X86/X86PartialReduction.cpp
    M llvm/lib/Target/X86/X86PreTileConfig.cpp
    M llvm/lib/Target/X86/X86ReturnThunks.cpp
    M llvm/lib/Target/X86/X86Subtarget.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.h
    M llvm/lib/Target/XCore/XCoreISelLowering.cpp
    M llvm/lib/Target/XCore/XCoreTargetObjectFile.cpp
    M llvm/lib/Target/XCore/XCoreTargetTransformInfo.h
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaAsmBackend.cpp
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCExpr.cpp
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCExpr.h
    M llvm/lib/TargetParser/AArch64TargetParser.cpp
    M llvm/lib/TargetParser/RISCVISAInfo.cpp
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/lib/Transforms/CFGuard/CFGuard.cpp
    M llvm/lib/Transforms/Coroutines/CoroCleanup.cpp
    M llvm/lib/Transforms/Coroutines/CoroElide.cpp
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/lib/Transforms/IPO/AlwaysInliner.cpp
    M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/IPO/CalledValuePropagation.cpp
    M llvm/lib/Transforms/IPO/ConstantMerge.cpp
    M llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
    M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    M llvm/lib/Transforms/IPO/GlobalSplit.cpp
    M llvm/lib/Transforms/IPO/IROutliner.cpp
    M llvm/lib/Transforms/IPO/Inliner.cpp
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/lib/Transforms/IPO/PartialInlining.cpp
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
    M llvm/lib/Transforms/Instrumentation/CGProfile.cpp
    M llvm/lib/Transforms/Instrumentation/CMakeLists.txt
    M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
    M llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    A llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp
    M llvm/lib/Transforms/Instrumentation/PGOForceFunctionAttrs.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
    M llvm/lib/Transforms/Instrumentation/PoisonChecking.cpp
    M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
    M llvm/lib/Transforms/Scalar/AnnotationRemarks.cpp
    M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/lib/Transforms/Scalar/EarlyCSE.cpp
    M llvm/lib/Transforms/Scalar/Float2Int.cpp
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/lib/Transforms/Scalar/GuardWidening.cpp
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
    M llvm/lib/Transforms/Scalar/InferAlignment.cpp
    M llvm/lib/Transforms/Scalar/InstSimplifyPass.cpp
    M llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/lib/Transforms/Scalar/LICM.cpp
    M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
    M llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
    M llvm/lib/Transforms/Scalar/LoopDeletion.cpp
    M llvm/lib/Transforms/Scalar/LoopDistribute.cpp
    M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
    M llvm/lib/Transforms/Scalar/LoopFuse.cpp
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    M llvm/lib/Transforms/Scalar/LoopInstSimplify.cpp
    M llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
    M llvm/lib/Transforms/Scalar/LoopRotation.cpp
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    M llvm/lib/Transforms/Scalar/MakeGuardsExplicit.cpp
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/lib/Transforms/Scalar/MergeICmps.cpp
    M llvm/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
    M llvm/lib/Transforms/Scalar/NaryReassociate.cpp
    M llvm/lib/Transforms/Scalar/NewGVN.cpp
    M llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
    M llvm/lib/Transforms/Scalar/SCCP.cpp
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
    M llvm/lib/Transforms/Scalar/Scalarizer.cpp
    M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
    M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
    M llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
    M llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
    M llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
    M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
    M llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp
    M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
    M llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
    M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
    M llvm/lib/Transforms/Utils/CanonicalizeAliases.cpp
    M llvm/lib/Transforms/Utils/CloneFunction.cpp
    M llvm/lib/Transforms/Utils/CountVisits.cpp
    M llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
    M llvm/lib/Transforms/Utils/FunctionComparator.cpp
    M llvm/lib/Transforms/Utils/HelloWorld.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/LoopConstrainer.cpp
    M llvm/lib/Transforms/Utils/LoopPeel.cpp
    M llvm/lib/Transforms/Utils/LoopSimplify.cpp
    M llvm/lib/Transforms/Utils/LoopUnroll.cpp
    M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    M llvm/lib/Transforms/Utils/LoopVersioning.cpp
    M llvm/lib/Transforms/Utils/LowerGlobalDtors.cpp
    M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
    M llvm/lib/Transforms/Utils/LowerSwitch.cpp
    M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
    M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
    M llvm/lib/Transforms/Utils/SSAUpdater.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/lib/Transforms/Utils/SplitModule.cpp
    M llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
    M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/lib/XRay/Profile.cpp
    R llvm/llvm.spec.in
    A llvm/test/Analysis/LoopAccessAnalysis/pr96656.ll
    M llvm/test/Analysis/ValueTracking/phi-known-bits.ll
    M llvm/test/Bitcode/amdgcn-atomic.ll
    M llvm/test/Bitcode/upgrade-memory-intrinsics.ll
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-fpowi-optsize.ll
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-fpowi.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-shufflevector.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/form-bitfield-extract-from-and.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-fcopysign.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/ptrauth-constant-in-code.ll
    M llvm/test/CodeGen/AArch64/arm64-jumptable.ll
    M llvm/test/CodeGen/AArch64/fptrunc.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-cfi.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-diff-scope-same-key.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-non-leaf.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-regsave.mir
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-diff-key.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-a.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-b.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll
    A llvm/test/CodeGen/AArch64/misched-move-imm.mir
    M llvm/test/CodeGen/AArch64/mul_pow2.ll
    M llvm/test/CodeGen/AArch64/popcount.ll
    A llvm/test/CodeGen/AArch64/pr96366.ll
    A llvm/test/CodeGen/AArch64/ptrauth-constant-in-code.ll
    M llvm/test/CodeGen/AArch64/sme2p1-intrinsics-movaz.ll
    A llvm/test/CodeGen/AArch64/sms-instruction-scheduled-at-correct-cycle.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-atomic-fadd.v2f16.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f32-rtn.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.v2f16-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.v2f16-rtn.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
    R llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.fmax.ll
    R llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.fmin.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.powi.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/load-legalize-range-metadata.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/vni8-across-blocks.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-break-large-phis.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-reloc-const.ll
    M llvm/test/CodeGen/AMDGPU/branch-folding-implicit-def-subreg.ll
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
    M llvm/test/CodeGen/AMDGPU/code-size-estimate.ll
    M llvm/test/CodeGen/AMDGPU/codegen-prepare-addrspacecast-non-null.ll
    A llvm/test/CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll
    M llvm/test/CodeGen/AMDGPU/cse-phi-incoming-val.ll
    M llvm/test/CodeGen/AMDGPU/dagcomb-extract-vec-elt-different-sizes.ll
    M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
    M llvm/test/CodeGen/AMDGPU/dual-source-blend-export.ll
    M llvm/test/CodeGen/AMDGPU/extra-lds-size.ll
    M llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
    M llvm/test/CodeGen/AMDGPU/extract-subvector.ll
    M llvm/test/CodeGen/AMDGPU/fcopysign.f16.ll
    M llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
    M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f32-rtn.ll
    M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
    M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
    M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll
    M llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll
    R llvm/test/CodeGen/AMDGPU/lds-atomic-fmin-fmax.ll
    A llvm/test/CodeGen/AMDGPU/lds-mixed-absolute-dynlds.ll
    M llvm/test/CodeGen/AMDGPU/lds-run-twice.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.pops.exiting.wave.id.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll
    M llvm/test/CodeGen/AMDGPU/llvm.ldexp.ll
    M llvm/test/CodeGen/AMDGPU/load-local-redundant-copies.ll
    M llvm/test/CodeGen/AMDGPU/load-range-metadata-sign-bits.ll
    M llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll
    M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll
    M llvm/test/CodeGen/AMDGPU/memcpy-fixed-align.ll
    M llvm/test/CodeGen/AMDGPU/memcpy-libcall.ll
    A llvm/test/CodeGen/AMDGPU/memcpy-param-combinations.ll
    A llvm/test/CodeGen/AMDGPU/memcpy-scalar-load.ll
    A llvm/test/CodeGen/AMDGPU/memmove-param-combinations.ll
    A llvm/test/CodeGen/AMDGPU/memmove-scalar-load.ll
    M llvm/test/CodeGen/AMDGPU/memory_clause.ll
    M llvm/test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
    A llvm/test/CodeGen/AMDGPU/no-corresponding-integer-type.ll
    M llvm/test/CodeGen/AMDGPU/promote-alloca-non-constant-index.ll
    M llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
    M llvm/test/CodeGen/AMDGPU/sdwa-preserve.mir
    M llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
    M llvm/test/CodeGen/AMDGPU/srem.ll
    M llvm/test/CodeGen/AMDGPU/trunc-store.ll
    M llvm/test/CodeGen/AMDGPU/vni8-across-blocks.ll
    A llvm/test/CodeGen/AMDGPU/vni8-live-reg-opt.ll
    M llvm/test/CodeGen/AMDGPU/wqm-gfx11.ll
    M llvm/test/CodeGen/ARM/and-cmp0-sink.ll
    A llvm/test/CodeGen/NVPTX/inline-asm-b128-test1.ll
    A llvm/test/CodeGen/NVPTX/inline-asm-b128-test2.ll
    A llvm/test/CodeGen/NVPTX/inline-asm-b128-test3.ll
    M llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
    M llvm/test/CodeGen/NVPTX/param-align.ll
    A llvm/test/CodeGen/NVPTX/store-undef.ll
    M llvm/test/CodeGen/PowerPC/fp128-bitcast-after-operation.ll
    M llvm/test/CodeGen/RISCV/O3-pipeline.ll
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/CodeGen/RISCV/double-arith.ll
    M llvm/test/CodeGen/RISCV/double-bitmanip-dagcombines.ll
    M llvm/test/CodeGen/RISCV/float-bitmanip-dagcombines.ll
    A llvm/test/CodeGen/RISCV/pr96366.ll
    M llvm/test/CodeGen/RISCV/rv32zbkb.ll
    M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zbkb.ll
    M llvm/test/CodeGen/RISCV/rv64zbkb.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-non-power-of-2.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-load-store-asm.ll
    A llvm/test/CodeGen/RISCV/rvv/pr95865.ll
    A llvm/test/CodeGen/RISCV/rvv/vfirst-byte-compare-index.ll
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
    A llvm/test/CodeGen/RISCV/xcvalu.ll
    A llvm/test/CodeGen/SPIRV/function/forward-call-type-inference.ll
    M llvm/test/CodeGen/SPIRV/transcoding/spirv-event-null.ll
    A llvm/test/CodeGen/SystemZ/systemz-large-stack-frames.ll
    M llvm/test/CodeGen/SystemZ/zos-prologue-epilog.ll
    M llvm/test/CodeGen/WebAssembly/call-indirect.ll
    M llvm/test/CodeGen/WebAssembly/function-pointer64.ll
    M llvm/test/CodeGen/WebAssembly/reg-stackify.ll
    M llvm/test/CodeGen/WebAssembly/swiftcc.ll
    M llvm/test/CodeGen/WebAssembly/target-features-attrs.ll
    A llvm/test/CodeGen/WebAssembly/target-features-cpus.ll
    M llvm/test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll
    M llvm/test/CodeGen/X86/any_extend_vector_inreg_of_broadcast.ll
    A llvm/test/CodeGen/X86/apx/cf.ll
    A llvm/test/CodeGen/X86/apx/cmov.ll
    M llvm/test/CodeGen/X86/avx512-shuffles/partial_permute.ll
    M llvm/test/CodeGen/X86/avx512vl-intrinsics.ll
    M llvm/test/CodeGen/X86/bfloat.ll
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-sext.ll
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll
    M llvm/test/CodeGen/X86/cmov.ll
    M llvm/test/CodeGen/X86/cmpf-avx.ll
    M llvm/test/CodeGen/X86/combine-pmadd.ll
    M llvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll
    M llvm/test/CodeGen/X86/is_fpclass-fp80.ll
    M llvm/test/CodeGen/X86/isel-buildvector-sse.ll
    M llvm/test/CodeGen/X86/isel-buildvector-sse2.ll
    M llvm/test/CodeGen/X86/masked_store.ll
    A llvm/test/CodeGen/X86/movmsk-bittest.ll
    M llvm/test/CodeGen/X86/osx-private-labels.ll
    M llvm/test/CodeGen/X86/pr81136.ll
    M llvm/test/CodeGen/X86/shuffle-vs-trunc-128.ll
    M llvm/test/CodeGen/X86/shuffle-vs-trunc-512.ll
    M llvm/test/CodeGen/X86/trap.ll
    M llvm/test/CodeGen/X86/unreachable-trap.ll
    A llvm/test/CodeGen/X86/unreachable-ubsantrap.ll
    M llvm/test/CodeGen/X86/vector-popcnt-256-ult-ugt.ll
    M llvm/test/CodeGen/X86/vector-sext.ll
    M llvm/test/CodeGen/X86/vector-unsigned-cmp.ll
    M llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast.ll
    M llvm/test/DebugInfo/NVPTX/cu-range-hole.ll
    M llvm/test/DebugInfo/attr-btf_type_tag.ll
    A llvm/test/Demangle/ms-auto-templates.test
    A llvm/test/ExecutionEngine/JITLink/AArch32/ELF_data_alignment.s
    M llvm/test/ExecutionEngine/Orc/global-ctor-order.ll
    M llvm/test/Feature/load_plugin_error.ll
    A llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-neon.ll
    A llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-struct.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/cfg.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/invoke.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/memory.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
    A llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll
    M llvm/test/LTO/X86/unified-cfi.ll
    M llvm/test/MC/Disassembler/AMDGPU/decode-err.txt
    A llvm/test/MC/ELF/crel-32.s
    A llvm/test/MC/ELF/crel.s
    M llvm/test/MC/MachO/cfi-advance-loc-err.s
    M llvm/test/MC/MachO/darwin-x86_64-diff-reloc-assign-2.s
    M llvm/test/MC/RISCV/attribute-arch.s
    M llvm/test/MC/RISCV/attribute.s
    M llvm/test/MC/RISCV/cfi-advance.s
    M llvm/test/MC/RISCV/invalid-attribute.s
    M llvm/test/MC/RISCV/rv32zbkb-only-valid.s
    M llvm/test/MC/RISCV/rv32zbkb-valid.s
    M llvm/test/MC/RISCV/rv64zbkb-valid.s
    A llvm/test/MC/Sparc/elf-sparc-machine-type.s
    M llvm/test/MC/Sparc/sparc-mem-asi-instructions.s
    M llvm/test/MC/Sparc/sparcv9-instructions.s
    M llvm/test/MC/WebAssembly/function-alias.ll
    M llvm/test/MC/WebAssembly/no-dead-strip.ll
    M llvm/test/MC/X86/align-branch-single.s
    A llvm/test/Other/crash-stack-trace.ll
    M llvm/test/Other/print-on-crash.ll
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-variadics.td
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
    M llvm/test/TableGen/GlobalISelEmitter.td
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
    A llvm/test/Transforms/Attributor/phi_bug_pointer_info.ll
    M llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll
    M llvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
    A llvm/test/Transforms/CorrelatedValuePropagation/uscmp.ll
    A llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll
    M llvm/test/Transforms/GVN/pr48805.ll
    A llvm/test/Transforms/IndVarSimplify/preserving-debugloc-rem-div.ll
    A llvm/test/Transforms/InferAddressSpaces/AMDGPU/preserving-debugloc-addrspacecast.ll
    A llvm/test/Transforms/Inline/ML/dead-callee.ll
    M llvm/test/Transforms/Inline/always-inline-phase-ordering.ll
    A llvm/test/Transforms/Inline/byval-with-non-alloca-addrspace.ll
    M llvm/test/Transforms/Inline/update_invoke_prof.ll
    M llvm/test/Transforms/Inline/update_value_profile.ll
    A llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-comb-no-active-lanes-stores.ll
    M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
    A llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
    A llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll
    A llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
    A llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
    A llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll
    A llvm/test/Transforms/InstCombine/X86/x86-vpermi2.ll
    M llvm/test/Transforms/InstCombine/add.ll
    M llvm/test/Transforms/InstCombine/atomicrmw.ll
    M llvm/test/Transforms/InstCombine/canonicalize-gep-mul.ll
    M llvm/test/Transforms/InstCombine/exact.ll
    A llvm/test/Transforms/InstCombine/fabs-fneg-fold.ll
    M llvm/test/Transforms/InstCombine/fcmp.ll
    M llvm/test/Transforms/InstCombine/getelementptr.ll
    M llvm/test/Transforms/InstCombine/icmp-select-implies-common-op.ll
    M llvm/test/Transforms/InstCombine/known-bits.ll
    M llvm/test/Transforms/InstCombine/ldexp.ll
    M llvm/test/Transforms/InstCombine/pr80597.ll
    M llvm/test/Transforms/InstCombine/ptrauth-intrinsics.ll
    M llvm/test/Transforms/InstCombine/range-check.ll
    M llvm/test/Transforms/InstCombine/saturating-add-sub.ll
    M llvm/test/Transforms/InstCombine/scalarization.ll
    M llvm/test/Transforms/InstCombine/select-icmp-and.ll
    M llvm/test/Transforms/InstCombine/select-of-bittest.ll
    M llvm/test/Transforms/InstCombine/select.ll
    M llvm/test/Transforms/InstCombine/xor.ll
    M llvm/test/Transforms/InstSimplify/rem.ll
    M llvm/test/Transforms/InstSimplify/select-inseltpoison.ll
    M llvm/test/Transforms/InstSimplify/select.ll
    A llvm/test/Transforms/JumpThreading/preserving-debugloc-br.ll
    M llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll
    M llvm/test/Transforms/LoopDistribute/debug-print.ll
    A llvm/test/Transforms/LoopIdiom/RISCV/byte-compare-index.ll
    A llvm/test/Transforms/LoopStrengthReduce/AArch64/vscale-fixups.ll
    A llvm/test/Transforms/LoopVectorize/AArch64/cost-no-valid-vplans-built.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
    M llvm/test/Transforms/LoopVectorize/X86/pr23997.ll
    M llvm/test/Transforms/LoopVectorize/induction.ll
    M llvm/test/Transforms/LoopVectorize/interleaved-accesses-pred-stores.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
    A llvm/test/Transforms/LoopVersioning/pr96656.ll
    M llvm/test/Transforms/NewGVN/pr35125.ll
    M llvm/test/Transforms/PGOProfile/Inputs/memprof.exe
    M llvm/test/Transforms/PGOProfile/Inputs/memprof.memprofraw
    M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.exe
    M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.memprofraw
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.exe
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.memprofraw
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.exe
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.memprofraw
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.exe
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.memprofraw
    A llvm/test/Transforms/PGOProfile/icp_vtable_cmp.ll
    A llvm/test/Transforms/PGOProfile/icp_vtable_invoke.ll
    A llvm/test/Transforms/PGOProfile/icp_vtable_tail_call.ll
    M llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll
    A llvm/test/Transforms/PhaseOrdering/X86/blendv-select.ll
    M llvm/test/Transforms/PhaseOrdering/X86/pr67803.ll
    A llvm/test/Transforms/PhaseOrdering/generate-fabs.ll
    M llvm/test/Transforms/Reassociate/reassoc-mul-nuw.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
    A llvm/test/Transforms/SLPVectorizer/AArch64/uselistorder.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll
    M llvm/test/Transforms/SLPVectorizer/X86/call.ll
    M llvm/test/Transforms/SLPVectorizer/X86/entries-different-vf.ll
    A llvm/test/Transforms/SLPVectorizer/X86/reordering-single-phi.ll
    A llvm/test/Transforms/SROA/propagate-fast-math-flags-on-phi.ll
    A llvm/test/Transforms/SeparateConstOffsetFromGEP/preserving_debugloc_sext.ll
    M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
    M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll
    A llvm/test/Transforms/SimplifyCFG/branch-nested.ll
    A llvm/test/Transforms/SimplifyCFG/hoisting-metadata.ll
    M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/loop-distribute.ll
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/loop-distribute.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/loop-distribute.test
    A llvm/test/tools/llc/new-pm/machine-branch-prob.ll
    M llvm/test/tools/llvm-config/paths.test
    A llvm/test/tools/llvm-dwarfdump/AArch64/template_ref_ptr.ll
    A llvm/test/tools/llvm-dwp/X86/empty_warning.s
    M llvm/test/tools/llvm-ifs/write-stub.test
    M llvm/test/tools/llvm-mca/AArch64/Neoverse/V2-basic-instructions.s
    M llvm/test/tools/llvm-objcopy/ELF/add-note.test
    M llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/basic.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/inline.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/inline.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/multi.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/pic.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/pic.memprofraw
    M llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-feature-pauth.s
    M llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-note-gnu-property.s
    M llvm/test/tools/llvm-readobj/ELF/AArch64/memtag.test
    M llvm/test/tools/llvm-readobj/ELF/AArch64/note-android-unknown.test
    A llvm/test/tools/llvm-readobj/ELF/crel.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-malformed.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-reloc.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
    M llvm/test/tools/llvm-readobj/ELF/gnu-note-size.test
    M llvm/test/tools/llvm-readobj/ELF/gnu-notes.test
    M llvm/test/tools/llvm-readobj/ELF/loadname.test
    M llvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v2.test
    M llvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v3.test
    M llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v2.test
    M llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v3.s
    M llvm/test/tools/llvm-readobj/ELF/note-amd.s
    M llvm/test/tools/llvm-readobj/ELF/note-amdgpu-invalid.s
    M llvm/test/tools/llvm-readobj/ELF/note-amdgpu.test
    M llvm/test/tools/llvm-readobj/ELF/note-core-ntfile.test
    M llvm/test/tools/llvm-readobj/ELF/note-core.test
    M llvm/test/tools/llvm-readobj/ELF/note-freebsd-core.test
    M llvm/test/tools/llvm-readobj/ELF/note-freebsd.test
    M llvm/test/tools/llvm-readobj/ELF/note-generic.s
    M llvm/test/tools/llvm-readobj/ELF/note-gnu-property.s
    M llvm/test/tools/llvm-readobj/ELF/note-gnu-property2.s
    M llvm/test/tools/llvm-readobj/ELF/note-llvmompoffload.test
    A llvm/test/tools/llvm-readobj/ELF/note-multiple-sections.test
    M llvm/test/tools/llvm-readobj/ELF/note-netbsd-core.test
    M llvm/test/tools/llvm-readobj/ELF/note-openbsd-core.test
    M llvm/test/tools/llvm-readobj/ELF/note-unknown.s
    M llvm/test/tools/llvm-readobj/ELF/relocation-errors.test
    M llvm/test/tools/llvm-readobj/ELF/section-types.test
    M llvm/test/tools/llvm-readobj/archive.test
    M llvm/test/tools/lto/no-bitcode.s
    M llvm/test/tools/lto/opt-level.ll
    M llvm/test/tools/lto/print-stats.ll
    M llvm/test/tools/yaml2obj/ELF/dynamic-relocations.yaml
    M llvm/test/tools/yaml2obj/ELF/reloc-sec-entry-size.yaml
    A llvm/test/tools/yaml2obj/ELF/relocation-crel.yaml
    M llvm/test/tools/yaml2obj/ELF/relocation-missing-symbol.yaml
    M llvm/test/tools/yaml2obj/ELF/relocation-type.yaml
    M llvm/tools/dsymutil/MachOUtils.cpp
    M llvm/tools/lli/ForwardingMemoryManager.h
    M llvm/tools/llvm-config/llvm-config.cpp
    M llvm/tools/llvm-dwp/llvm-dwp.cpp
    M llvm/tools/llvm-readobj/ELFDumper.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp
    M llvm/tools/llvm-stress/llvm-stress.cpp
    M llvm/tools/sancov/sancov.cpp
    M llvm/unittests/ADT/APFloatTest.cpp
    M llvm/unittests/ADT/HashingTest.cpp
    M llvm/unittests/ADT/SmallPtrSetTest.cpp
    M llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp
    M llvm/unittests/Analysis/DDGTest.cpp
    M llvm/unittests/Analysis/GlobalsModRefTest.cpp
    M llvm/unittests/Analysis/IVDescriptorsTest.cpp
    M llvm/unittests/Analysis/LoopInfoTest.cpp
    M llvm/unittests/Analysis/LoopNestTest.cpp
    M llvm/unittests/Analysis/MLModelRunnerTest.cpp
    M llvm/unittests/Analysis/MemorySSATest.cpp
    M llvm/unittests/Analysis/PluginInlineAdvisorAnalysisTest.cpp
    M llvm/unittests/Analysis/PluginInlineOrderAnalysisTest.cpp
    M llvm/unittests/Analysis/SparsePropagation.cpp
    M llvm/unittests/CMakeLists.txt
    M llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp
    M llvm/unittests/CodeGen/AMDGPUMetadataTest.cpp
    M llvm/unittests/CodeGen/AsmPrinterDwarfTest.cpp
    M llvm/unittests/CodeGen/CMakeLists.txt
    M llvm/unittests/CodeGen/GlobalISel/CMakeLists.txt
    A llvm/unittests/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/unittests/CodeGen/InstrRefLDVTest.cpp
    M llvm/unittests/CodeGen/LexicalScopesTest.cpp
    M llvm/unittests/CodeGen/MLRegAllocDevelopmentFeatures.cpp
    M llvm/unittests/CodeGen/MachineBasicBlockTest.cpp
    A llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp
    M llvm/unittests/CodeGen/MachineInstrTest.cpp
    M llvm/unittests/CodeGen/RegAllocScoreTest.cpp
    M llvm/unittests/CodeGen/SelectionDAGAddressAnalysisTest.cpp
    M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
    M llvm/unittests/Frontend/OpenMPDecompositionTest.cpp
    M llvm/unittests/IR/CFGBuilder.cpp
    M llvm/unittests/IR/ConstantRangeListTest.cpp
    M llvm/unittests/IR/ConstantRangeTest.cpp
    M llvm/unittests/IR/InstructionsTest.cpp
    M llvm/unittests/IR/PassBuilderCallbacksTest.cpp
    M llvm/unittests/MI/LiveIntervalTest.cpp
    M llvm/unittests/MIR/MachineMetadata.cpp
    M llvm/unittests/Passes/Plugins/DoublerPlugin/DoublerPlugin.cpp
    M llvm/unittests/Passes/Plugins/PluginsTest.cpp
    M llvm/unittests/ProfileData/InstrProfTest.cpp
    A llvm/unittests/SandboxIR/CMakeLists.txt
    A llvm/unittests/SandboxIR/SandboxIRTest.cpp
    M llvm/unittests/Support/ErrorOrTest.cpp
    M llvm/unittests/Support/MathExtrasTest.cpp
    M llvm/unittests/Support/raw_ostream_test.cpp
    M llvm/unittests/Target/AArch64/InstSizes.cpp
    M llvm/unittests/Target/ARM/InstSizes.cpp
    M llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp
    M llvm/unittests/Target/LoongArch/InstSizes.cpp
    M llvm/unittests/Target/RISCV/RISCVInstrInfoTest.cpp
    M llvm/unittests/Target/SPIRV/SPIRVConvergenceRegionAnalysisTests.cpp
    M llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
    M llvm/unittests/Target/X86/MachineSizeOptsTest.cpp
    M llvm/unittests/Target/X86/TernlogTest.cpp
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
    M llvm/unittests/TargetParser/TargetParserTest.cpp
    M llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
    M llvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp
    M llvm/unittests/Transforms/Utils/LocalTest.cpp
    M llvm/unittests/Transforms/Utils/LoopRotationUtilsTest.cpp
    M llvm/unittests/Transforms/Utils/LoopUtilsTest.cpp
    M llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp
    M llvm/unittests/Transforms/Utils/UnrollLoopTest.cpp
    M llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
    M llvm/unittests/tools/llvm-mca/X86/TestIncrementalMCA.cpp
    M llvm/utils/FileCheck/FileCheck.cpp
    M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
    M llvm/utils/TableGen/AsmMatcherEmitter.cpp
    M llvm/utils/TableGen/AsmWriterEmitter.cpp
    M llvm/utils/TableGen/Common/VarLenCodeEmitterGen.cpp
    M llvm/utils/TableGen/SubtargetEmitter.cpp
    M llvm/utils/TableGen/VTEmitter.cpp
    M llvm/utils/UpdateTestChecks/common.py
    M llvm/utils/git/code-format-helper.py
    M llvm/utils/git/github-automation.py
    M llvm/utils/gn/secondary/bolt/lib/Core/BUILD.gn
    M llvm/utils/gn/secondary/bolt/lib/Passes/BUILD.gn
    M llvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn
    M llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
    M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
    M llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
    M llvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
    M llvm/utils/gn/secondary/lldb/source/Commands/BUILD.gn
    M llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
    A llvm/utils/gn/secondary/llvm/lib/SandboxIR/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/CodeGen/GlobalISel/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/MC/AMDGPU/BUILD.gn
    A llvm/utils/gn/secondary/llvm/unittests/SandboxIR/BUILD.gn
    M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py
    M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir_lib.py
    M llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_script.test
    M llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_test.py
    M llvm/utils/mlgo-utils/tests/corpus/extract_ir_script.test
    M llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
    M llvm/utils/mlgo-utils/tests/corpus/make_corpus_script.test
    M llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py
    M llvm/utils/mlgo-utils/tests/lit.local.cfg
    M llvm/utils/update_analyze_test_checks.py
    M mlir/cmake/modules/AddMLIRPython.cmake
    M mlir/docs/DialectConversion.md
    M mlir/docs/PDLL.md
    M mlir/docs/Tutorials/DataFlowAnalysis.md
    M mlir/docs/Tutorials/Toy/Ch-2.md
    M mlir/docs/Tutorials/Toy/Ch-3.md
    M mlir/docs/Tutorials/Toy/Ch-5.md
    M mlir/examples/standalone/lib/Standalone/StandalonePasses.cpp
    M mlir/examples/standalone/standalone-translate/standalone-translate.cpp
    M mlir/examples/toy/Ch2/mlir/Dialect.cpp
    M mlir/examples/toy/Ch2/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch3/mlir/Dialect.cpp
    M mlir/examples/toy/Ch3/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch3/mlir/ToyCombine.cpp
    M mlir/examples/toy/Ch3/toyc.cpp
    M mlir/examples/toy/Ch4/mlir/Dialect.cpp
    M mlir/examples/toy/Ch4/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch4/mlir/ToyCombine.cpp
    M mlir/examples/toy/Ch4/toyc.cpp
    M mlir/examples/toy/Ch5/mlir/Dialect.cpp
    M mlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp
    M mlir/examples/toy/Ch5/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch5/mlir/ToyCombine.cpp
    M mlir/examples/toy/Ch5/toyc.cpp
    M mlir/examples/toy/Ch6/mlir/Dialect.cpp
    M mlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp
    M mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
    M mlir/examples/toy/Ch6/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch6/mlir/ToyCombine.cpp
    M mlir/examples/toy/Ch6/toyc.cpp
    M mlir/examples/toy/Ch7/mlir/Dialect.cpp
    M mlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp
    M mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
    M mlir/examples/toy/Ch7/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch7/mlir/ToyCombine.cpp
    M mlir/examples/toy/Ch7/toyc.cpp
    M mlir/examples/transform-opt/mlir-transform-opt.cpp
    M mlir/examples/transform/Ch4/lib/MyExtension.cpp
    M mlir/include/mlir/Analysis/FlatLinearValueConstraints.h
    M mlir/include/mlir/Analysis/Presburger/Barvinok.h
    M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
    M mlir/include/mlir/Analysis/Presburger/Matrix.h
    M mlir/include/mlir/Analysis/Presburger/PresburgerSpace.h
    M mlir/include/mlir/Analysis/Presburger/Simplex.h
    M mlir/include/mlir/Analysis/Presburger/Utils.h
    M mlir/include/mlir/Bytecode/BytecodeImplementation.h
    M mlir/include/mlir/Bytecode/BytecodeOpInterface.h
    M mlir/include/mlir/Bytecode/BytecodeReader.h
    M mlir/include/mlir/Bytecode/BytecodeReaderConfig.h
    M mlir/include/mlir/CAPI/Support.h
    M mlir/include/mlir/Conversion/AffineToStandard/AffineToStandard.h
    M mlir/include/mlir/Conversion/ConvertToLLVM/ToLLVMInterface.h
    M mlir/include/mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h
    M mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
    M mlir/include/mlir/Conversion/SCFToGPU/SCFToGPU.h
    M mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h
    M mlir/include/mlir/Conversion/VectorToGPU/VectorToGPU.h
    M mlir/include/mlir/Debug/CLOptionsSetup.h
    M mlir/include/mlir/Dialect/AMDGPU/Utils/Chipset.h
    M mlir/include/mlir/Dialect/Affine/Analysis/AffineStructures.h
    M mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h
    M mlir/include/mlir/Dialect/Affine/LoopUtils.h
    M mlir/include/mlir/Dialect/Affine/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/Affine/Utils.h
    M mlir/include/mlir/Dialect/Arith/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td
    M mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotModuleBufferize.h
    M mlir/include/mlir/Dialect/CMakeLists.txt
    M mlir/include/mlir/Dialect/DLTI/CMakeLists.txt
    M mlir/include/mlir/Dialect/DLTI/DLTIAttrs.td
    M mlir/include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.td
    M mlir/include/mlir/Dialect/GPU/Transforms/ParallelLoopMapper.h
    M mlir/include/mlir/Dialect/GPU/Transforms/Utils.h
    M mlir/include/mlir/Dialect/IRDL/IR/IRDLInterfaces.h
    M mlir/include/mlir/Dialect/IRDL/IR/IRDLTraits.h
    M mlir/include/mlir/Dialect/IRDL/IRDLLoading.h
    M mlir/include/mlir/Dialect/IRDL/IRDLVerifiers.h
    M mlir/include/mlir/Dialect/Linalg/Passes.td
    M mlir/include/mlir/Dialect/Linalg/TransformOps/GPUHeuristics.h
    M mlir/include/mlir/Dialect/Linalg/TransformOps/Syntax.h
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/MemRef/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/Mesh/Transforms/Spmdization.h
    M mlir/include/mlir/Dialect/NVGPU/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
    M mlir/include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.td
    M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
    A mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h
    A mlir/include/mlir/Dialect/Ptr/CMakeLists.txt
    A mlir/include/mlir/Dialect/Ptr/IR/CMakeLists.txt
    A mlir/include/mlir/Dialect/Ptr/IR/PtrAttrDefs.td
    A mlir/include/mlir/Dialect/Ptr/IR/PtrAttrs.h
    A mlir/include/mlir/Dialect/Ptr/IR/PtrDialect.h
    A mlir/include/mlir/Dialect/Ptr/IR/PtrDialect.td
    A mlir/include/mlir/Dialect/Ptr/IR/PtrOps.h
    A mlir/include/mlir/Dialect/Ptr/IR/PtrOps.td
    A mlir/include/mlir/Dialect/Ptr/IR/PtrTypes.h
    M mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
    M mlir/include/mlir/Dialect/SCF/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/SCF/Utils/AffineCanonicalizationUtils.h
    M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorInterfaces.td
    M mlir/include/mlir/Dialect/Tosa/Utils/ConversionUtils.h
    M mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.h
    M mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.td
    M mlir/include/mlir/Dialect/Transform/Transforms/TransformInterpreterUtils.h
    M mlir/include/mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h
    M mlir/include/mlir/ExecutionEngine/JitRunner.h
    M mlir/include/mlir/IR/Action.h
    M mlir/include/mlir/IR/AffineExpr.h
    M mlir/include/mlir/IR/AffineExprVisitor.h
    M mlir/include/mlir/IR/AffineMap.h
    M mlir/include/mlir/IR/BuiltinAttributeInterfaces.h
    M mlir/include/mlir/IR/BuiltinAttributeInterfaces.td
    M mlir/include/mlir/IR/Diagnostics.h
    M mlir/include/mlir/IR/Dialect.h
    M mlir/include/mlir/IR/EnumAttr.td
    M mlir/include/mlir/IR/ExtensibleDialect.h
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/include/mlir/IR/StorageUniquerSupport.h
    M mlir/include/mlir/IR/SymbolInterfaces.td
    M mlir/include/mlir/IR/TensorEncoding.td
    M mlir/include/mlir/IR/Verifier.h
    M mlir/include/mlir/IR/Visitors.h
    M mlir/include/mlir/InitAllDialects.h
    M mlir/include/mlir/InitAllPasses.h
    M mlir/include/mlir/Interfaces/DataLayoutInterfaces.h
    M mlir/include/mlir/Interfaces/DataLayoutInterfaces.td
    M mlir/include/mlir/Interfaces/FoldInterfaces.h
    M mlir/include/mlir/Interfaces/FunctionInterfaces.td
    M mlir/include/mlir/Interfaces/InferTypeOpInterface.td
    M mlir/include/mlir/Interfaces/LoopLikeInterface.td
    M mlir/include/mlir/Interfaces/MemorySlotInterfaces.h
    M mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
    M mlir/include/mlir/Interfaces/TilingInterface.td
    M mlir/include/mlir/Pass/Pass.h
    M mlir/include/mlir/Pass/PassManager.h
    M mlir/include/mlir/Pass/PassOptions.h
    M mlir/include/mlir/Query/Query.h
    M mlir/include/mlir/Reducer/ReductionNode.h
    M mlir/include/mlir/Support/LLVM.h
    M mlir/include/mlir/Support/LogicalResult.h
    M mlir/include/mlir/Support/StorageUniquer.h
    M mlir/include/mlir/Support/ToolUtilities.h
    M mlir/include/mlir/Target/Cpp/CppEmitter.h
    M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
    M mlir/include/mlir/Target/LLVMIR/LLVMImportInterface.h
    M mlir/include/mlir/Target/LLVMIR/LLVMTranslationInterface.h
    M mlir/include/mlir/Target/SPIRV/Serialization.h
    M mlir/include/mlir/Tools/PDLL/AST/Diagnostic.h
    M mlir/include/mlir/Tools/PDLL/CodeGen/MLIRGen.h
    M mlir/include/mlir/Tools/PDLL/Parser/Parser.h
    M mlir/include/mlir/Tools/lsp-server-support/CompilationDatabase.h
    M mlir/include/mlir/Tools/lsp-server-support/Protocol.h
    M mlir/include/mlir/Tools/lsp-server-support/Transport.h
    M mlir/include/mlir/Tools/mlir-lsp-server/MlirLspServerMain.h
    M mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
    M mlir/include/mlir/Tools/mlir-pdll-lsp-server/MlirPdllLspServerMain.h
    M mlir/include/mlir/Tools/mlir-query/MlirQueryMain.h
    M mlir/include/mlir/Tools/mlir-reduce/MlirReduceMain.h
    M mlir/include/mlir/Tools/mlir-translate/MlirTranslateMain.h
    M mlir/include/mlir/Tools/tblgen-lsp-server/TableGenLspServerMain.h
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/include/mlir/Transforms/HomomorphismSimplification.h
    M mlir/include/mlir/Transforms/Inliner.h
    M mlir/include/mlir/Transforms/LocationSnapshot.h
    M mlir/include/mlir/Transforms/SROA.h
    M mlir/lib/Analysis/AliasAnalysis/LocalAliasAnalysis.cpp
    M mlir/lib/Analysis/DataFlow/ConstantPropagationAnalysis.cpp
    M mlir/lib/Analysis/DataFlow/DeadCodeAnalysis.cpp
    M mlir/lib/Analysis/DataFlow/DenseAnalysis.cpp
    M mlir/lib/Analysis/DataFlow/SparseAnalysis.cpp
    M mlir/lib/Analysis/DataFlowFramework.cpp
    M mlir/lib/Analysis/Presburger/Barvinok.cpp
    M mlir/lib/Analysis/Presburger/CMakeLists.txt
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/lib/Analysis/Presburger/LinearTransform.cpp
    M mlir/lib/Analysis/Presburger/Matrix.cpp
    M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
    M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
    M mlir/lib/Analysis/Presburger/QuasiPolynomial.cpp
    M mlir/lib/Analysis/Presburger/Simplex.cpp
    M mlir/lib/Analysis/Presburger/Utils.cpp
    M mlir/lib/AsmParser/AffineParser.cpp
    M mlir/lib/AsmParser/AsmParserState.cpp
    M mlir/lib/AsmParser/DialectSymbolParser.cpp
    M mlir/lib/AsmParser/LocationParser.cpp
    M mlir/lib/AsmParser/Parser.cpp
    M mlir/lib/AsmParser/TypeParser.cpp
    M mlir/lib/Bindings/Python/IRAttributes.cpp
    M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
    M mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
    M mlir/lib/CAPI/IR/BuiltinTypes.cpp
    M mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp
    M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
    M mlir/lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp
    M mlir/lib/Conversion/ControlFlowToSPIRV/ControlFlowToSPIRV.cpp
    M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
    M mlir/lib/Conversion/FuncToSPIRV/FuncToSPIRV.cpp
    M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
    M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
    M mlir/lib/Conversion/NVVMToLLVM/NVVMToLLVM.cpp
    M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
    M mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
    M mlir/lib/Conversion/TensorToLinalg/TensorToLinalg.cpp
    M mlir/lib/Conversion/TensorToSPIRV/TensorToSPIRV.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
    M mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
    M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
    M mlir/lib/Dialect/Affine/Transforms/AffineScalarReplacement.cpp
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/lib/Dialect/Arith/Transforms/EmulateNarrowType.cpp
    M mlir/lib/Dialect/Arith/Transforms/EmulateWideInt.cpp
    M mlir/lib/Dialect/Arith/Transforms/IntNarrowing.cpp
    M mlir/lib/Dialect/ArmNeon/Transforms/LowerContractionToSMMLAPattern.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/EmptyTensorElimination.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/LowerDeallocations.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
    M mlir/lib/Dialect/CMakeLists.txt
    M mlir/lib/Dialect/DLTI/DLTI.cpp
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Dialect/GPU/Pipelines/GPUToNVVMPipeline.cpp
    M mlir/lib/Dialect/GPU/Transforms/ModuleToBinary.cpp
    M mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp
    M mlir/lib/Dialect/IRDL/IR/IRDL.cpp
    M mlir/lib/Dialect/IRDL/IRDLLoading.cpp
    M mlir/lib/Dialect/IRDL/IRDLVerifiers.cpp
    M mlir/lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
    M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
    M mlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
    M mlir/lib/Dialect/Linalg/Transforms/MeshShardingInterfaceImpl.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
    M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
    M mlir/lib/Dialect/Linalg/Transforms/TransposeConv2D.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/lib/Dialect/MemRef/IR/MemRefMemorySlot.cpp
    M mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp
    M mlir/lib/Dialect/Mesh/IR/MeshOps.cpp
    M mlir/lib/Dialect/Mesh/Interfaces/ShardingInterface.cpp
    M mlir/lib/Dialect/Mesh/Transforms/ShardingPropagation.cpp
    M mlir/lib/Dialect/Mesh/Transforms/Simplifications.cpp
    M mlir/lib/Dialect/Mesh/Transforms/Spmdization.cpp
    M mlir/lib/Dialect/NVGPU/Transforms/MmaSyncTF32Transform.cpp
    M mlir/lib/Dialect/NVGPU/Transforms/OptimizeSharedMemory.cpp
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Dialect/Polynomial/IR/Polynomial.cpp
    M mlir/lib/Dialect/Polynomial/IR/PolynomialAttributes.cpp
    M mlir/lib/Dialect/Polynomial/IR/PolynomialDialect.cpp
    M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
    A mlir/lib/Dialect/Ptr/CMakeLists.txt
    A mlir/lib/Dialect/Ptr/IR/CMakeLists.txt
    A mlir/lib/Dialect/Ptr/IR/PtrAttrs.cpp
    A mlir/lib/Dialect/Ptr/IR/PtrDialect.cpp
    A mlir/lib/Dialect/Ptr/IR/PtrTypes.cpp
    M mlir/lib/Dialect/Quant/IR/QuantDialectBytecode.cpp
    M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    M mlir/lib/Dialect/SPIRV/Transforms/SPIRVWebGPUTransforms.cpp
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaFolders.cpp
    M mlir/lib/Dialect/Tosa/Utils/ConversionUtils.cpp
    M mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp
    M mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorBitCast.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorBroadcast.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorContract.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorInterleave.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorScan.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorShapeCast.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorTranspose.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/lib/IR/AffineExpr.cpp
    M mlir/lib/IR/AffineMap.cpp
    M mlir/lib/IR/ExtensibleDialect.cpp
    M mlir/lib/Interfaces/DataLayoutInterfaces.cpp
    M mlir/lib/Query/Query.cpp
    M mlir/lib/Support/ToolUtilities.cpp
    M mlir/lib/TableGen/CodeGenHelpers.cpp
    M mlir/lib/Target/LLVM/NVVM/Target.cpp
    M mlir/lib/Target/LLVMIR/Dialect/GPU/SelectObjectAttr.cpp
    M mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
    M mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp
    M mlir/lib/Target/SPIRV/Serialization/Serializer.cpp
    M mlir/lib/Tools/PDLL/CodeGen/CPPGen.cpp
    M mlir/lib/Tools/PDLL/Parser/Lexer.cpp
    M mlir/lib/Tools/PDLL/Parser/Lexer.h
    M mlir/lib/Tools/PDLL/Parser/Parser.cpp
    M mlir/lib/Tools/lsp-server-support/Protocol.cpp
    M mlir/lib/Tools/mlir-lsp-server/LSPServer.h
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
    M mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.h
    M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.h
    M mlir/lib/Tools/mlir-query/MlirQueryMain.cpp
    M mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
    M mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
    M mlir/lib/Tools/tblgen-lsp-server/LSPServer.h
    M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.cpp
    M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.h
    M mlir/lib/Transforms/SROA.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/python/mlir/extras/types.py
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-analysis-empty-tensor-elimination.mlir
    M mlir/test/Dialect/DLTI/invalid.mlir
    M mlir/test/Dialect/DLTI/roundtrip.mlir
    M mlir/test/Dialect/DLTI/valid.mlir
    M mlir/test/Dialect/Linalg/bufferize.mlir
    M mlir/test/Dialect/Linalg/data-layout-propagation.mlir
    M mlir/test/Dialect/Linalg/one-shot-bufferize-analysis.mlir
    A mlir/test/Dialect/Linalg/roundtrip-linalg-named-ops.mlir
    A mlir/test/Dialect/Linalg/specialize-generic-ops.mlir
    A mlir/test/Dialect/Linalg/transform-op-specialize-elemwise-binary.mlir
    A mlir/test/Dialect/Linalg/transform-op-specialize-elemwise-unary.mlir
    A mlir/test/Dialect/Linalg/transform-op-specialize-matmul.mlir
    R mlir/test/Dialect/Linalg/transform-op-specialize_elemwise_binary.mlir
    R mlir/test/Dialect/Linalg/transform-op-specialize_elemwise_unary.mlir
    M mlir/test/Dialect/Linalg/transform-tile-reduction.mlir
    M mlir/test/Dialect/Linalg/vectorize-conv-masked-and-scalable.mlir
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir
    A mlir/test/Dialect/Ptr/layout.mlir
    A mlir/test/Dialect/Ptr/types.mlir
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M mlir/test/Dialect/Vector/test-scalable-bounds.mlir
    M mlir/test/Interfaces/TilingInterface/tile-fuse-and-yield-using-interface.mlir
    M mlir/test/Target/LLVMIR/nvvmir.mlir
    M mlir/test/Target/LLVMIR/omptarget-llvm.mlir
    M mlir/test/Target/LLVMIR/omptarget-nowait-llvm.mlir
    M mlir/test/Target/LLVMIR/omptarget-parallel-llvm.mlir
    M mlir/test/Target/LLVMIR/openmp-llvm.mlir
    M mlir/test/Transforms/test-legalize-type-conversion.mlir
    M mlir/test/lib/Analysis/DataFlow/TestLivenessAnalysis.cpp
    M mlir/test/lib/Dialect/ArmNeon/TestLowerToArmNeon.cpp
    M mlir/test/lib/Dialect/Mesh/TestOpLowering.cpp
    M mlir/test/lib/Dialect/Mesh/TestReshardingSpmdization.cpp
    M mlir/test/lib/Dialect/Test/TestAttributes.cpp
    M mlir/test/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestOpDefs.cpp
    M mlir/test/lib/Dialect/Test/TestOps.h
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/test/lib/Dialect/Test/TestOpsSyntax.cpp
    M mlir/test/lib/Dialect/Test/TestOpsSyntax.td
    M mlir/test/lib/Dialect/Test/TestTypeDefs.td
    M mlir/test/lib/Dialect/Test/TestTypes.h
    M mlir/test/mlir-pdll/CodeGen/CPP/general.pdll
    M mlir/test/mlir-tblgen/attrdefs.td
    M mlir/test/mlir-tblgen/constraint-unique.td
    M mlir/test/mlir-tblgen/interfaces-as-constraints.td
    M mlir/test/mlir-tblgen/op-attribute.td
    M mlir/test/mlir-tblgen/op-decl-and-defs.td
    M mlir/test/mlir-tblgen/predicate.td
    M mlir/test/mlir-tblgen/rewriter-static-matcher.td
    M mlir/test/mlir-tblgen/typedefs.td
    M mlir/test/python/ir/attributes.py
    M mlir/test/python/python_test_ops.td
    M mlir/tools/mlir-pdll-lsp-server/mlir-pdll-lsp-server.cpp
    M mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp
    M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
    M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
    M mlir/tools/mlir-tblgen/DialectGen.cpp
    M mlir/tools/mlir-tblgen/FormatGen.h
    M mlir/tools/mlir-tblgen/LLVMIRConversionGen.cpp
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp
    M mlir/tools/mlir-tblgen/OpInterfacesGen.cpp
    M mlir/tools/mlir-tblgen/RewriterGen.cpp
    M mlir/tools/mlir-translate/mlir-translate.cpp
    M mlir/tools/mlir-vulkan-runner/VulkanRuntime.h
    M mlir/tools/tblgen-lsp-server/tblgen-lsp-server.cpp
    M mlir/unittests/Analysis/Presburger/ParserTest.cpp
    M mlir/unittests/Analysis/Presburger/Utils.h
    M mlir/unittests/IR/AffineExprTest.cpp
    M mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp
    M mlir/unittests/Rewrite/PatternBenefit.cpp
    M offload/DeviceRTL/CMakeLists.txt
    M offload/DeviceRTL/include/Interface.h
    A offload/DeviceRTL/include/Workshare.h
    M offload/DeviceRTL/src/Debug.cpp
    M offload/DeviceRTL/src/Kernel.cpp
    M offload/DeviceRTL/src/LibC.cpp
    M offload/DeviceRTL/src/Workshare.cpp
    M offload/test/api/omp_dynamic_shared_memory.c
    M offload/test/jit/empty_kernel_lvl1.c
    M offload/test/jit/empty_kernel_lvl2.c
    M offload/test/jit/type_punning.c
    M offload/test/libc/assert.c
    M offload/test/lit.cfg
    M offload/test/mapping/auto_zero_copy.cpp
    M offload/test/mapping/auto_zero_copy_apu.cpp
    M offload/test/mapping/auto_zero_copy_globals.cpp
    M offload/test/mapping/prelock.cpp
    M offload/test/offloading/barrier_fence.c
    M offload/test/offloading/bug49334.cpp
    M offload/test/offloading/default_thread_limit.c
    A offload/test/offloading/dynamic-schedule-non-spmd.cpp
    A offload/test/offloading/dynamic-schedule.cpp
    M offload/test/offloading/dynamic_module.c
    M offload/test/offloading/fortran/basic-target-parallel-do.f90
    M offload/test/offloading/fortran/basic-target-parallel-region.f90
    M offload/test/offloading/fortran/basic-target-region-1D-array-section.f90
    M offload/test/offloading/fortran/basic-target-region-3D-array-section.f90
    M offload/test/offloading/fortran/basic-target-region-3D-array.f90
    M offload/test/offloading/fortran/basic_target_region.f90
    M offload/test/offloading/fortran/constant-arr-index.f90
    M offload/test/offloading/fortran/declare-target-vars-in-target-region.f90
    M offload/test/offloading/fortran/double-target-call-with-declare-target.f90
    M offload/test/offloading/fortran/target-map-allocatable-array-section-1d-bounds.f90
    M offload/test/offloading/fortran/target-map-allocatable-array-section-3d-bounds.f90
    M offload/test/offloading/fortran/target-map-allocatable-map-scopes.f90
    M offload/test/offloading/fortran/target-map-derived-type-full-1.f90
    M offload/test/offloading/fortran/target-map-derived-type-full-2.f90
    M offload/test/offloading/fortran/target-map-derived-type-full-implicit-1.f90
    M offload/test/offloading/fortran/target-map-derived-type-full-implicit-2.f90
    M offload/test/offloading/fortran/target-map-double-large-nested-dtype-multi-member.f90
    M offload/test/offloading/fortran/target-map-double-nested-dtype-array-bounds.f90
    M offload/test/offloading/fortran/target-map-double-nested-dtype-double-array-bounds.f90
    M offload/test/offloading/fortran/target-map-double-nested-dtype-single-member.f90
    M offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit-update.f90
    M offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit.f90
    M offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90
    M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90
    M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90
    M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90
    M offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90
    M offload/test/offloading/fortran/target-map-enter-exit-allocatables.f90
    M offload/test/offloading/fortran/target-map-enter-exit-array-2.f90
    M offload/test/offloading/fortran/target-map-enter-exit-array-bounds.f90
    M offload/test/offloading/fortran/target-map-enter-exit-array.f90
    M offload/test/offloading/fortran/target-map-enter-exit-scalar.f90
    M offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90
    M offload/test/offloading/fortran/target-map-large-nested-dtype-multi-member.f90
    M offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90
    M offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90
    M offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90
    M offload/test/offloading/fortran/target-map-nested-dtype-single-member.f90
    M offload/test/offloading/fortran/target-map-pointer-scopes-enter-exit.f90
    M offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90
    M offload/test/offloading/fortran/target-map-pointer-target-scopes.f90
    M offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90
    M offload/test/offloading/fortran/target-map-two-dtype-individual-member-array-1D-bounds.f90
    M offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-1.f90
    M offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-2.f90
    M offload/test/offloading/fortran/target-map-two-dtype-multi-member-array-1D-bounds.f90
    M offload/test/offloading/fortran/target-map-two-nested-dtype-member-array-map.f90
    M offload/test/offloading/fortran/target-nested-target-data.f90
    M offload/test/offloading/fortran/target-parallel-do-collapse.f90
    M offload/test/offloading/fortran/target-region-implicit-array.f90
    M offload/test/offloading/fortran/target_map_common_block.f90
    M offload/test/offloading/fortran/target_map_common_block1.f90
    M offload/test/offloading/fortran/target_map_common_block2.f90
    M offload/test/offloading/fortran/target_update.f90
    M offload/test/offloading/memory_manager.cpp
    M offload/test/offloading/ompx_bare.c
    M offload/test/offloading/ompx_bare_ballot_sync.c
    M offload/test/offloading/ompx_bare_shfl_down_sync.cpp
    M offload/test/offloading/ompx_coords.c
    M offload/test/offloading/ompx_saxpy_mixed.c
    M offload/test/offloading/parallel_offloading_map.cpp
    M offload/test/offloading/parallel_target_teams_reduction.cpp
    M offload/test/offloading/parallel_target_teams_reduction_max.cpp
    M offload/test/offloading/parallel_target_teams_reduction_min.cpp
    A offload/test/offloading/schedule.c
    M offload/test/offloading/small_trip_count.c
    M offload/test/offloading/small_trip_count_thread_limit.cpp
    M offload/test/offloading/spmdization.c
    M offload/test/offloading/target_critical_region.cpp
    M offload/test/offloading/taskloop_offload_nowait.cpp
    M offload/test/offloading/thread_limit.c
    M offload/test/offloading/workshare_chunk.c
    M offload/test/ompt/target_memcpy.c
    M offload/test/ompt/target_memcpy_emi.c
    M offload/test/ompt/veccopy.c
    M offload/test/ompt/veccopy_data.c
    M offload/test/ompt/veccopy_disallow_both.c
    M offload/test/ompt/veccopy_emi.c
    M offload/test/ompt/veccopy_emi_map.c
    M offload/test/ompt/veccopy_map.c
    M offload/test/ompt/veccopy_no_device_init.c
    M openmp/runtime/src/dllexports
    M openmp/runtime/src/include/omp-tools.h.var
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_csupport.cpp
    M openmp/runtime/src/kmp_dispatch.cpp
    M openmp/runtime/src/kmp_sched.cpp
    M openmp/runtime/src/ompt-general.cpp
    M openmp/runtime/src/ompt-specific.h
    M openmp/runtime/test/ompt/callback.h
    M openmp/runtime/test/ompt/synchronization/ordered_dependences.c
    M openmp/runtime/test/ompt/tasks/taskloop.c
    M openmp/runtime/test/ompt/tasks/taskloop_dispatch.c
    M openmp/runtime/test/ompt/teams/distribute_dispatch.c
    M openmp/runtime/test/ompt/worksharing/for/auto.c
    M openmp/runtime/test/ompt/worksharing/for/auto_serialized.c
    M openmp/runtime/test/ompt/worksharing/for/auto_split.c
    M openmp/runtime/test/ompt/worksharing/for/base.h
    M openmp/runtime/test/ompt/worksharing/for/base_serialized.h
    M openmp/runtime/test/ompt/worksharing/for/base_split.h
    M openmp/runtime/test/ompt/worksharing/for/guided_serialized.c
    M openmp/runtime/test/ompt/worksharing/for/loop_dispatch.c
    M openmp/runtime/test/ompt/worksharing/for/runtime.c
    M openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c
    M openmp/runtime/test/ompt/worksharing/for/runtime_split.c
    M openmp/runtime/test/ompt/worksharing/sections.c
    M openmp/runtime/test/ompt/worksharing/sections_dispatch.c
    M openmp/runtime/test/ompt/worksharing/single.c
    M openmp/runtime/test/parallel/omp_parallel_num_threads_list.c
    M polly/lib/Analysis/ScopBuilder.cpp
    M polly/lib/CodeGen/BlockGenerators.cpp
    M polly/lib/CodeGen/CodeGeneration.cpp
    M polly/lib/CodeGen/PerfMonitor.cpp
    M polly/lib/Support/SCEVAffinator.cpp
    M polly/lib/Transform/DeLICM.cpp
    M third-party/benchmark/src/sysinfo.cc
    M third-party/unittest/CMakeLists.txt
    M utils/bazel/examples/http_archive/WORKSPACE
    M utils/bazel/examples/submodule/WORKSPACE
    M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  Rebase

Created using spr 1.3.5


Compare: https://github.com/llvm/llvm-project/compare/2928c3c3322b...27646db8561a

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