[all-commits] [llvm/llvm-project] da3e60: [Github] Make issue write workflow only run after ...

Nathan Lanza via All-commits all-commits at lists.llvm.org
Wed Jul 10 16:02:03 PDT 2024


  Branch: refs/heads/users/lanza/sprcir-build-out-ast-consumer-patterns-to-reach-the-entry-point-into-cirgen
  Home:   https://github.com/llvm/llvm-project
  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: d54802092de3d92c4ecd331801970b0d84fecc25
      https://github.com/llvm/llvm-project/commit/d54802092de3d92c4ecd331801970b0d84fecc25
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  [MC][ELF] Eliminate some hash maps from ELFObjectWriter (#97421)

Remove some maps. Mostly cleanup, only a slight performance win.

- Replace SectionIndexMap with layout order: The section layout order is
only used in MachO, so we can repurpose the field as section table
index.
- Store section offsets in MCSectionELF: No need for a map, and
especially not a std::map. Direct access to the underlying (and easily
modifyable) data structure is always faster.
- Improve storage of groups: There's no point in having a DenseMap, the
number of sections and groups are reasonably small to use vectors.


  Commit: 4eecf3c650ea53aa00cae2fe983f95ee6ec6705a
      https://github.com/llvm/llvm-project/commit/4eecf3c650ea53aa00cae2fe983f95ee6ec6705a
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/scalarization-overhead.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reused-extractelements.ll

  Log Message:
  -----------
  [SLP]Reorder buildvector/reduction vectorization and fuse the loops.

Currently SLP vectorizer tries at first to find reduction nodes, and
then vectorize buildvector sequences. Need to try to vectorize wide
buildvector sequences at first and only then try to vectorize
reductions, and then smaller buildvector sequences.

Reviewers: RKSimon

Reviewed By: RKSimon

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


  Commit: 97dc50882cbc63d7098e95f73f242185c75c226b
      https://github.com/llvm/llvm-project/commit/97dc50882cbc63d7098e95f73f242185c75c226b
  Author: Shaw Young <58664393+shawbyoung at users.noreply.github.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M bolt/docs/CommandLineArgumentReference.md
    M bolt/include/bolt/Profile/YAMLProfileReader.h
    M bolt/lib/Profile/YAMLProfileReader.cpp
    A bolt/test/X86/name-similarity-function-matching.test

  Log Message:
  -----------
  [BOLT] Match functions with name similarity (#95884)

A mapping - from namespace to associated binary functions - is used to
match function profiles to binary based on the
'--name-similarity-function-matching-threshold' flag set edit distance
threshold. The flag is set to 0 (exact name matching) by default as it is
expensive, requiring the processing of all BFs.

Test Plan: Added name-similarity-function-matching.test. On a binary
with 5M functions, rewrite passes took ~520s without the flag and
~2018s with the flag set to 20.


  Commit: c156d421851d175805309a83bf703ad304955847
      https://github.com/llvm/llvm-project/commit/c156d421851d175805309a83bf703ad304955847
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/test/Driver/riscv-arch.c
    M llvm/lib/TargetParser/RISCVISAInfo.cpp

  Log Message:
  -----------
  [RISCV] Remove SeenExtMap from RISCVISAInfo::parseArchString. (#97506)

Use the Exts map directly instead of adding to a temporary MapVector
first.

There are a couple functional change from this.
-If an unknown extension is duplicated, we will now print an error for
it being unknown instead of an error for it being duplicated. 
-If an unknown extension is followed by an underscore with no extension after
it, we will error for the unknown extension instead of the dangling
underscore.

These don't seem like serious changes to me. I've updated tests
accordingly.


  Commit: edbc0e30a9e587cee1189be023b9385adc2f239a
      https://github.com/llvm/llvm-project/commit/edbc0e30a9e587cee1189be023b9385adc2f239a
  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:
  -----------
  [mlir][loops] Reland Refactor LoopFuseSiblingOp and support parallel fusion #94391 (#97607)

The refactor had a bug where the fused loop was inserted in an incorrect
location. This patch fixes the bug and relands the original PR
https://github.com/llvm/llvm-project/pull/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 LoopLikeOpInterfaces, 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: d5f5dc9dcca427a290a9f454046113afdb6a68ff
      https://github.com/llvm/llvm-project/commit/d5f5dc9dcca427a290a9f454046113afdb6a68ff
  Author: vporpo <vporpodas at google.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/include/llvm/SandboxIR/SandboxIRValues.def
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  [SandboxIR] More boilerplate: Function, Argument, Constant, Instruction, OpaqueInst (#97343)

A very basic implementation of sandboxir::
`Fuction`
`Argument`
`Constant`
`Instruction`
`OpaqueInst`


  Commit: bbd52dd44ceee80e3b6ba6a9b2bd8ee9a9713833
      https://github.com/llvm/llvm-project/commit/bbd52dd44ceee80e3b6ba6a9b2bd8ee9a9713833
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/arith-add-ssat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-add-usat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-add.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fix.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshl-rot.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshl.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshr-rot.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-mul.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-smax.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-smin.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-sub-ssat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-sub-usat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-sub.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-umax.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-umin.ll
    M llvm/test/Transforms/SLPVectorizer/X86/horizontal-list.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shift-ashr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shift-lshr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shift-shl.ll

  Log Message:
  -----------
  [SLP]Remove operands upon marking instruction for deletion.

If the instruction is marked for deletion, better to drop all its
operands and mark them for deletion too (if allowed). It allows to have
more vectorizable patterns and generate less useless extractelement
instructions.

Reviewers: RKSimon

Reviewed By: RKSimon

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


  Commit: 7aa906dda56ea6843004f1d52eb13860341ca5e5
      https://github.com/llvm/llvm-project/commit/7aa906dda56ea6843004f1d52eb13860341ca5e5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Merge the Arch and Exts variables in RISCVISAInfo::parseArchString. NFC


  Commit: c02e8f762a410e55581866c43636efcd6504c1bd
      https://github.com/llvm/llvm-project/commit/c02e8f762a410e55581866c43636efcd6504c1bd
  Author: Ilia Sergachev <1894984+sergachev at users.noreply.github.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SplitModule.h
    M llvm/lib/Transforms/Utils/SplitModule.cpp
    A llvm/test/tools/llvm-split/name-hash-based-distribution.ll
    A llvm/test/tools/llvm-split/round-robin.ll
    M llvm/tools/llvm-split/llvm-split.cpp

  Log Message:
  -----------
  [llvm][transforms] Add a new algorithm to SplitModule (#95941)

The new round-robin algorithm overrides the hash-based distribution of
functions to modules. It achieves a more even number of functions per
module when the number of functions is close to the number of requested
modules. It's not in use by default and is available under a new flag.


  Commit: 7002ecb4c6dba2050b321699e0e17eb890c3ca2c
      https://github.com/llvm/llvm-project/commit/7002ecb4c6dba2050b321699e0e17eb890c3ca2c
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-neon.ll
    M llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-struct.ll

  Log Message:
  -----------
      [msan] Convert vector shadow to scalar before zext (#96722)

zext does not allow converting vector shadow to scalar, so we must
manually convert it prior to calling zext in materializeOneCheck, for
which the 'ConvertedShadow' parameter isn't actually guaranteed to be
scalar (1). Note that it is safe/no-op to call convertShadowToScalar on
a shadow that is already scalar.

In contrast, the storeOrigin function already converts the (potentially
vector) shadow to scalar; we add a comment to note why it is load
bearing.

(1) In materializeInstructionChecks():
"// Disable combining in some cases. TrackOrigins checks each shadow to
pick
 // correct origin.
 bool Combine = !MS.TrackOrigins;
 ...
       if (!Combine) {
        materializeOneCheck(IRB, ConvertedShadow, ShadowData.Origin);
        continue;
      }"


  Commit: a1bc606b5fb9a91eb16fc0c012aa785323788c90
      https://github.com/llvm/llvm-project/commit/a1bc606b5fb9a91eb16fc0c012aa785323788c90
  Author: agozillon <Andrew.Gozillon at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/StackReclaim.cpp
    M flang/test/Transforms/stack-reclaime.fir

  Log Message:
  -----------
  [Flang][Transform] Modify stack reclaim pass to use allocation address space when generating intrinsics (#96836)

This PR aims to factor in the allocation address space provided by an
architectures data layout when generating the intrinsic instructions,
this allows them to be lowered later with the address spaces in tow.
This aligns the intrinsic creation with the LLVM IRBuilder's
https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/IR/IRBuilder.h#L1053

This is also necessary for the below example to compile for OpenMP AMD
GPU and not ICE the compiler in ISEL as AMD's stackrestore and stacksave
are expected to have the appropriate allocation address space for AMD
GPU.

program main
    integer(4), allocatable :: test
    allocate(test)

!$omp target map(tofrom:test)
    do i = 1, 10
      test = test + 50
    end do
!$omp end target

  deallocate(test)
end program

The PR also fixes the issue I opened a while ago which hits the same
error when compiling for AMDGPU:
https://github.com/llvm/llvm-project/issues/82368

Although, you have to have the appropriate GPU LIBC and Fortran offload
runtime (both compiled for AMDGPU) added to the linker for the command
or it will reach another ISEL error and ICE weirdly. But with the
pre-requisites it works fine with this PR.


  Commit: a379b2260fc3bada0c11a6a1cd7891a1a6e1fb99
      https://github.com/llvm/llvm-project/commit/a379b2260fc3bada0c11a6a1cd7891a1a6e1fb99
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/IR/DIBuilder.cpp
    M llvm/lib/IR/LegacyPassManager.cpp

  Log Message:
  -----------
  [IR] Use range-based for loops (NFC) (#97575)


  Commit: 92f4001906a18fca29929a333e61fdd662a9b0bd
      https://github.com/llvm/llvm-project/commit/92f4001906a18fca29929a333e61fdd662a9b0bd
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [Transforms] Use range-based for loops (NFC) (#97576)


  Commit: fd524d4df797d3c25a1f50b03b1d8ffcbbdd87af
      https://github.com/llvm/llvm-project/commit/fd524d4df797d3c25a1f50b03b1d8ffcbbdd87af
  Author: shawbyoung <shawbyoung at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M bolt/lib/Profile/CMakeLists.txt

  Log Message:
  -----------
  [BOLT] Add Demangle to Profile link components

Added Demangle to Profile link components to fix shared build.


  Commit: 873c3f7e7813223906d3ebf5acb4359a8b5726bc
      https://github.com/llvm/llvm-project/commit/873c3f7e7813223906d3ebf5acb4359a8b5726bc
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/arith-add-ssat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-add-usat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-add.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fix.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshl-rot.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshl.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshr-rot.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-mul.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-smax.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-smin.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-sub-ssat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-sub-usat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-sub.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-umax.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-umin.ll
    M llvm/test/Transforms/SLPVectorizer/X86/horizontal-list.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shift-ashr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shift-lshr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shift-shl.ll

  Log Message:
  -----------
  Revert "[SLP]Remove operands upon marking instruction for deletion."

This reverts commit bbd52dd44ceee80e3b6ba6a9b2bd8ee9a9713833 to fix
a crash revealed in https://lab.llvm.org/buildbot/#/builders/4/builds/505


  Commit: af784a5c13328aa4a8ce622260563b459856a8d4
      https://github.com/llvm/llvm-project/commit/af784a5c13328aa4a8ce622260563b459856a8d4
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/test/ThinLTO/X86/funcimport-stats.ll
    M llvm/test/Transforms/FunctionImport/funcimport.ll

  Log Message:
  -----------
  [ThinLTO] Use a set rather than a map to track exported ValueInfos. (#97360)

https://github.com/llvm/llvm-project/pull/95482 is a reland of
https://github.com/llvm/llvm-project/pull/88024.
https://github.com/llvm/llvm-project/pull/95482 keeps indexing memory
usage reasonable by using unordered_map and doesn't make other changes
to originally reviewed code.

While discussing possible ways to minimize indexing memory usage, Teresa
asked whether I need `ExportSetTy` as a map or a set is sufficient. This
PR implements the idea. It uses a set rather than a map to track exposed
ValueInfos.

Currently, `ExportLists` has two use cases, and neither needs to track a
ValueInfo's import/export status. So using a set is sufficient and
correct.
1) In both in-process and distributed ThinLTO, it's used to decide if a
function or global variable is visible [1] from another module after importing
creates additional cross-module references.
     * If a cross-module call edge is seen today, the callee must be visible
       to another module without keeping track of its export status already.
       For instance, this [2] is how callees of direct calls get exported.
2) For in-process ThinLTO [3], it's used to compute lto cache key.
     * The cache key computation already hashes [4] 'ImportList' , and 'ExportList' is
        determined by 'ImportList'. So it's fine to not track 'import type' for export list.

[1] https://github.com/llvm/llvm-project/blob/66cd8ec4c08252ebc73c82e4883a8da247ed146b/llvm/lib/LTO/LTO.cpp#L1815-L1819
[2] https://github.com/llvm/llvm-project/blob/66cd8ec4c08252ebc73c82e4883a8da247ed146b/llvm/lib/LTO/LTO.cpp#L1783-L1794
[3] https://github.com/llvm/llvm-project/blob/66cd8ec4c08252ebc73c82e4883a8da247ed146b/llvm/lib/LTO/LTO.cpp#L1494-L1496
[4] https://github.com/llvm/llvm-project/blob/b76100e220591fab2bf0a4917b216439f7aa4b09/llvm/lib/LTO/LTO.cpp#L194-L222


  Commit: a3c5c83273358a85a4e02f5f76379b1a276e7714
      https://github.com/llvm/llvm-project/commit/a3c5c83273358a85a4e02f5f76379b1a276e7714
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  [DAGCombiner] Remove unneeded getValueType() calls in visitMULHS/MULHU. NFC

We have an existing VT variable that should match N0.getValueType.


  Commit: b5864988b3230324f5426036f45aab43d20a5b94
      https://github.com/llvm/llvm-project/commit/b5864988b3230324f5426036f45aab43d20a5b94
  Author: Mats Petersson <mats.petersson at arm.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M flang/test/Lower/mcmodel.f90

  Log Message:
  -----------
  [flang] Fix failing test (#97634)

Add requires line to not test when the target architecture isn't
supported.

Technically we could make it a bit less restrictive, but want green
builds.


  Commit: 04a1a3482ce3ee00b5bbec1ce852e58410e4b6ad
      https://github.com/llvm/llvm-project/commit/04a1a3482ce3ee00b5bbec1ce852e58410e4b6ad
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    A clang/test/Driver/crel.c
    A clang/test/Misc/cc1as-crel.s
    M clang/tools/driver/cc1as_main.cpp

  Log Message:
  -----------
  [Driver] Add -Wa, options --crel and --allow-experimental-crel

The two options are discussed in a few comments around
https://github.com/llvm/llvm-project/pull/91280#issuecomment-2099344079

* -Wa,--crel: error "-Wa,--allow-experimental-crel must be specified to use -Wa,--crel..."
* -Wa,--allow-experimental-crel: no-op
* -Wa,--crel,--allow-experimental-crel: enable CREL in the integrated assembler (#91280)

MIPS's little-endian n64 ABI messed up the `r_info` field in
relocations. While this could be fixed with CREL, my intention is to
avoid complication in assembler/linker. The implementation simply
doesn't allow CREL for MIPS.

Link: https://discourse.llvm.org/t/rfc-crel-a-compact-relocation-format-for-elf/77600

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


  Commit: 4c63672ca706c708de1e49bb29d026a705daa0d2
      https://github.com/llvm/llvm-project/commit/4c63672ca706c708de1e49bb29d026a705daa0d2
  Author: Hansang Bae <hansang.bae at intel.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M openmp/libompd/test/ompt_plugin.h

  Log Message:
  -----------
  [OpenMP] Fix use of ompt_start_tool in ompd test. (#97616)


  Commit: 6aed0d5afb53434068f37f1b2909590e9dda3d8f
      https://github.com/llvm/llvm-project/commit/6aed0d5afb53434068f37f1b2909590e9dda3d8f
  Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M libc/CMakeLists.txt
    A libc/newhdrgen/CMakeLists.txt
    M libc/newhdrgen/class_implementation/classes/enumeration.py
    M libc/newhdrgen/class_implementation/classes/function.py
    M libc/newhdrgen/class_implementation/classes/object.py
    M libc/newhdrgen/header.py
    A libc/newhdrgen/tests/expected_output/test_header.h
    A libc/newhdrgen/tests/input/test_small.h.def
    A libc/newhdrgen/tests/input/test_small.yaml
    A libc/newhdrgen/tests/output/test_small.h
    A libc/newhdrgen/tests/test_integration.py
    M libc/newhdrgen/yaml_to_classes.py

  Log Message:
  -----------
  [libc] created integration tests for newhdrgen (#97361)

- created integration tests for libc hdrgen 
- implemented sorting function names in yaml files through script


  Commit: 611212fc9a4174723540542e9dbafb2a60275341
      https://github.com/llvm/llvm-project/commit/611212fc9a4174723540542e9dbafb2a60275341
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_fmax.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_fmin.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Legalize atomicrmw fmin/fmax (#97048)

We only handled the easy LDS case before. Handle the other address
spaces
with the more complicated legality logic.


  Commit: 4a1fdeb04d10f5562687568ea8c494b3ef46c587
      https://github.com/llvm/llvm-project/commit/4a1fdeb04d10f5562687568ea8c494b3ef46c587
  Author: RoseZhang03 <rosezhang at google.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    A libc/newhdrgen/yaml/ctype.yaml
    A libc/newhdrgen/yaml/fenv.yaml
    A libc/newhdrgen/yaml/math.yaml
    A libc/newhdrgen/yaml/pthread.yaml
    A libc/newhdrgen/yaml/sched.yaml
    A libc/newhdrgen/yaml/signal.yaml
    A libc/newhdrgen/yaml/stdfix.yaml
    A libc/newhdrgen/yaml/stdio.yaml
    A libc/newhdrgen/yaml/stdlib.yaml
    A libc/newhdrgen/yaml/string.yaml
    A libc/newhdrgen/yaml/strings.yaml
    M libc/newhdrgen/yaml/sys_auxv.yaml
    A libc/newhdrgen/yaml/sys_mman.yaml
    M libc/newhdrgen/yaml/sys_types.yaml
    A libc/newhdrgen/yaml/sys_wait.yaml
    A libc/newhdrgen/yaml/time.yaml
    R libc/newhdrgen/yaml_combined/ctype.yaml
    R libc/newhdrgen/yaml_combined/fenv.yaml
    R libc/newhdrgen/yaml_combined/math.yaml
    R libc/newhdrgen/yaml_combined/pthread.yaml
    R libc/newhdrgen/yaml_combined/sched.yaml
    R libc/newhdrgen/yaml_combined/signal.yaml
    R libc/newhdrgen/yaml_combined/stdfix.yaml
    R libc/newhdrgen/yaml_combined/stdio.yaml
    R libc/newhdrgen/yaml_combined/stdlib.yaml
    R libc/newhdrgen/yaml_combined/string.yaml
    R libc/newhdrgen/yaml_combined/strings.yaml
    R libc/newhdrgen/yaml_combined/sys_mman.yaml
    R libc/newhdrgen/yaml_combined/sys_wait.yaml
    R libc/newhdrgen/yaml_combined/time.yaml

  Log Message:
  -----------
  [libc] reordered Function class parameters and moved yaml files (#97329)

Reordered Function class parameter "standards" to make more logical
sense and to match the ordering in the add_function function.
Deleted the yaml_combined folder and moved contained files to the yaml
folder.
Updated math.yaml file with the recently added math functions in spec.td


  Commit: 5828b04b0373f10fade7eefbeb181dc8ceb98422
      https://github.com/llvm/llvm-project/commit/5828b04b0373f10fade7eefbeb181dc8ceb98422
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M bolt/include/bolt/Core/DebugData.h
    M bolt/include/bolt/Rewrite/DWARFRewriter.h
    M bolt/lib/Core/DebugData.cpp
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M bolt/test/X86/debug-fission-single-convert.s
    M bolt/test/X86/dwarf4-df-dualcu.test
    M bolt/test/X86/dwarf4-df-input-lowpc-ranges-cus.test
    M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test

  Log Message:
  -----------
  [BOLT][DWARF] Refactor legacy ranges writers (#96006)

Refactors legacy ranges writers to create a writer for each instance of
a DWO file.

We now write out everything into .debug_ranges after the all the DWO
files are processed. This also changes the order that ranges is written
out in, as before we wrote out while in the main CU processing loop and
we now iterate through the CU buckets created by partitionCUs, after the
main processing loop.


  Commit: 7d68d9d2f27535e03934383220282e18edd0c1e8
      https://github.com/llvm/llvm-project/commit/7d68d9d2f27535e03934383220282e18edd0c1e8
  Author: lntue <35648136+lntue at users.noreply.github.com>
  Date:   2024-07-03 (Wed, 03 Jul 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/docs/math/index.rst
    M libc/src/__support/FPUtil/double_double.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/tan.cpp
    R libc/src/math/x86_64/CMakeLists.txt
    R libc/src/math/x86_64/tan.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/tan_test.cpp
    M libc/test/src/math/tan_test.cpp

  Log Message:
  -----------
  [libc][math] Implement correctly rounded double precision tan (#97489)

Using the same range reduction as `sin`, `cos`, and `sincos`:
1) Reducing `x = k*pi/128 + u`, with `|u| <= pi/256`, and `u` is in
double-double.
2) Approximate `tan(u)` using degree-9 Taylor polynomial.
3) Compute
```
   tan(x) ~ (sin(k*pi/128) + tan(u) * cos(k*pi/128)) / (cos(k*pi/128) - tan(u) * sin(k*pi/128))
```
using the fast double-double division algorithm in [the CORE-MATH
project](https://gitlab.inria.fr/core-math/core-math/-/blob/master/src/binary64/tan/tan.c#L1855).
4) Perform relative-error Ziv's accuracy test
5) If the accuracy tests failed, we redo the computations using 128-bit
precision `DyadicFloat`.

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


  Commit: 10b43f429a9f5cc7315c5b0490433647c9a93493
      https://github.com/llvm/llvm-project/commit/10b43f429a9f5cc7315c5b0490433647c9a93493
  Author: Krystian Stasiowski <sdkrystian at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/TreeTransform.h
    A clang/test/CXX/expr/expr.prim/expr.prim.id/expr.prim.id.general/p4.cpp

  Log Message:
  -----------
  [Clang][Sema] Correctly transform dependent operands of overloaded binary operator& (#97596)

Currently, `TreeTransform::TransformCXXOperatorCallExpr` calls
`TreeTransform::TransformAddressOfOperand` to transform the first
operand of a `CXXOperatorCallExpr` when its `OverloadOperatorKind` is
`OO_Amp` -- regardless of arity. This results in the first operand of
binary `operator&` being incorrectly transformed as if it was the
operand of the address of operator in cases such as the following:
```
struct A {
  int x;
};

void operator&(A, A);

template<typename T>
struct B {
  int f() {
    return T::x & 1; // invalid reference to 'A::x' is not diagnosed because 'T::x' is incorrectly transformed as if it was the operand of unary operator&
  }
};

template struct B<A>;
```
Prior to #92318 we would build a `CXXDependentScopeMemberExpr` for
`T::x` (as with most dependent qualified names that were not member
qualified names). Since `TreeTransform::TransformAddressOfOperand` only
differs from `TransformExpr` for `DependentScopeDeclRefExpr` and
`UnresolvedLookupExpr` operands, `T::x` was transformed "correctly". Now
that we build a `DependentScopeDeclRefExpr` for `T::x`, it is
incorrectly transformed as if it was the operand of the address of
operator and we fail to diagnose the invalid reference to a non-static
data member. This patch fixes the issue by only calling
`TreeTransform::TransformAddressOfOperand` for `CXXOperatorCallExpr`s
with a single operand. This fixes #97483.


  Commit: af7ee51a90beeb8198ceac0100c52b102543cf4b
      https://github.com/llvm/llvm-project/commit/af7ee51a90beeb8198ceac0100c52b102543cf4b
  Author: Jeff Niu <jeff at modular.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
    A mlir/test/Bytecode/external_resources.mlir

  Log Message:
  -----------
  [mlir][bytecode] Fix external resource bytecode parsing (#97650)

The key was being dropped for external resources because they aren't
present in the dialect resource name mapper.


  Commit: eaabd762bd54dec75d8fee69f6aa1c26d1cbc68f
      https://github.com/llvm/llvm-project/commit/eaabd762bd54dec75d8fee69f6aa1c26d1cbc68f
  Author: Han-Chung Wang <hanhan0912 at gmail.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir

  Log Message:
  -----------
  Revert "[MLIR][Vector] Generalize DropUnitDimFromElementwiseOps to non leading / trailing dimensions." (#97652)

Reverts llvm/llvm-project#92934 because it breaks some lowering. To
repro: `mlir-opt -test-vector-transfer-flatten-patterns ~/repro.mlir`

```mlir
func.func @unit_dim_folding(%arg0: vector<1x1xf32>) -> vector<1x1xf32> {
  %cst = arith.constant dense<0.000000e+00> : vector<1x1xf32>
  %0 = arith.mulf %arg0, %cst : vector<1x1xf32>
  return %0 : vector<1x1xf32>
}
```


  Commit: d3a76b03d8f35903bc17cb85c14c9816c963cff6
      https://github.com/llvm/llvm-project/commit/d3a76b03d8f35903bc17cb85c14c9816c963cff6
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/rdar128092379.ll

  Log Message:
  -----------
  [llvm][SLPVectorizer] Fix a bad cast assertion (#97621)

Fixes: rdar://128092379


  Commit: 3eebeb7e50c49ece2788ff4d5ffab5cc6c3da455
      https://github.com/llvm/llvm-project/commit/3eebeb7e50c49ece2788ff4d5ffab5cc6c3da455
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M libc/src/__support/block.h
    M libc/src/__support/freelist.h
    M libc/src/__support/freelist_heap.h
    A libc/src/stdlib/aligned_alloc.h
    M libc/src/stdlib/freelist_malloc.cpp
    M libc/test/src/__support/CMakeLists.txt
    M libc/test/src/__support/block_test.cpp
    M libc/test/src/__support/freelist_heap_test.cpp
    M libc/test/src/__support/freelist_malloc_test.cpp

  Log Message:
  -----------
  [libc] Add aligned_alloc (#96586)

This adds support for aligned_alloc with the freelist allocator. This
works by finding blocks large enough to hold the requested size plus
some shift amount that's at most the requested alignment. Blocks that
meet this requirement but aren't properly aligned can be split such that
the usable_space of a new block is aligned properly. The "padding" block
created will be merged with the previous block if one exists.


  Commit: 2ef5b8227a3022654b5ef4bd7bafdc5b8750237f
      https://github.com/llvm/llvm-project/commit/2ef5b8227a3022654b5ef4bd7bafdc5b8750237f
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M libc/docs/full_host_build.rst

  Log Message:
  -----------
  [libc][docs] Update full host build docs (#97643)

Add a note explaining how to fix the missing `asm` folder, as well as a
warning about installing without setting a sysroot.


  Commit: 4c79fac140261f67ef33e5f108df63d30cd6e3c7
      https://github.com/llvm/llvm-project/commit/4c79fac140261f67ef33e5f108df63d30cd6e3c7
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  [BOLT] Remove workaround for flushPendingLabels

The code emits an empty MCDataFragment to ensure that the labels are
attached to `SplitSection`. The workaround, due to the removed
`flushPendingLabels` mechanism (see
75006466296ed4b0f845cbbec4bf77c21de43b40), is now unneeded.

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


  Commit: f2c6add926625459ec52c9f36b29c8dd05d57c7d
      https://github.com/llvm/llvm-project/commit/f2c6add926625459ec52c9f36b29c8dd05d57c7d
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCSection.h

  Log Message:
  -----------
  [MC] Remove remnant code related to pending labels

Follow-up to 485d7eaefd93c4f6bc8c51c9a169ffb22ce3a898


  Commit: 089ba1127f35fe89ff4d18cca1c87869f9eace6c
      https://github.com/llvm/llvm-project/commit/089ba1127f35fe89ff4d18cca1c87869f9eace6c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Linker/IRMover.cpp

  Log Message:
  -----------
  [Linker] Use a range-based for loop (NFC) (#97656)


  Commit: 665efe896746b1dd138773e6e4d300ec97de27c2
      https://github.com/llvm/llvm-project/commit/665efe896746b1dd138773e6e4d300ec97de27c2
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M libc/docs/dev/clang_tidy_checks.rst
    M libc/docs/dev/code_style.rst
    M libc/docs/dev/implementation_standard.rst
    M libc/src/__support/macros/config.h

  Log Message:
  -----------
  [libc] Add LIBC_NAMESPACE_DECL macro (#97109)

This defines to LIBC_NAMESPACE with
`__attribute__((visibility("hidden")))` so all the symbols under it have
hidden visibility. This new macro should be used when declaring a new
namespace that will have internal functions/globals and LIBC_NAMESPACE
should be used as a means of accessing functions/globals declared within
LIBC_NAMESPACE_DECL.


  Commit: 94471e73fe3a6e5ddf700ed79941b1f1c8d2127b
      https://github.com/llvm/llvm-project/commit/94471e73fe3a6e5ddf700ed79941b1f1c8d2127b
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCSymbolMachO.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCMachOStreamer.cpp
    M llvm/lib/MC/MachObjectWriter.cpp

  Log Message:
  -----------
  [MC] Move MCAssembler::isSymbolLinkerVisible to MCSymbolMachO


  Commit: a0c6b8aef853eedaa0980f07c0a502a5a8a9740e
      https://github.com/llvm/llvm-project/commit/a0c6b8aef853eedaa0980f07c0a502a5a8a9740e
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M bolt/docs/OptimizingLinux.md

  Log Message:
  -----------
  [BOLT][docs] Add merge-fdata to Linux optimization guide (#97659)


  Commit: 73f5f83b192b0a27f7edae5365c247961d9f1bd9
      https://github.com/llvm/llvm-project/commit/73f5f83b192b0a27f7edae5365c247961d9f1bd9
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/include/llvm/CodeGen/MachineBasicBlock.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp

  Log Message:
  -----------
  [BasicBlockSections] Using MBBSectionID as DenseMap key (#97295)

getSectionIDNum may return same value for two different MBBSectionID.
e.g. A Cold type MBBSectionID with number 0 and a Default type
MBBSectionID with number 2 get same value 2 from getSectionIDNum. This
may lead to overwrite of MBBSectionRanges.  Using MBBSectionID itself
as DenseMap key is better choice.


  Commit: 507b0f6714ec94e286d8c1ef16f871e1b1564426
      https://github.com/llvm/llvm-project/commit/507b0f6714ec94e286d8c1ef16f871e1b1564426
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/ptrauth-call.ll

  Log Message:
  -----------
  [AArch64] Clean up ptrauth-call test a bit. NFC.

The test was recently committed, but was written so long ago that it
still had typed pointers.  Switch them to opaque ptrs.  While there,
tidy up some formatting, and turn a couple CHECKs into CHECK-NEXT.


  Commit: ac2013560505f7c85a9d9061ea705124d6681719
      https://github.com/llvm/llvm-project/commit/ac2013560505f7c85a9d9061ea705124d6681719
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    A llvm/test/CodeGen/RISCV/rvv/remat.ll

  Log Message:
  -----------
  [RISCV] Rematerialize vid.v (#97520)

This adds initial support for rematerializing vector instructions,
starting with vid.v since it's simple and has the least number of
operands. It has one passthru operand which we need to check is
undefined. It also has an AVL operand, but it's fine to rematerialize
with it because it's scalar and register allocation is split between
vector and scalar.
    
RISCVInsertVSETVLI can still happen before vector regalloc if
-riscv-vsetvl-after-rvv-regalloc is false, so this makes sure that we
only rematerialize after regalloc by checking for the implicit uses that
are added.


  Commit: 32f7672acc92d6b3d9b64cfeb9b25c31ae542337
      https://github.com/llvm/llvm-project/commit/32f7672acc92d6b3d9b64cfeb9b25c31ae542337
  Author: jyu2-git <jennifer.yu at intel.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/test/OpenMP/target_data_use_device_addr_codegen.cpp
    M clang/test/OpenMP/target_map_both_pointer_pointee_codegen.cpp
    M offload/test/mapping/map_both_pointer_pointee.c

  Log Message:
  -----------
  [Clang][OpenMP] This is addition fix for #92210. (#94802)

Fix another runtime problem when explicit map both pointer and pointee
in target data region.

In #92210, problem is only addressed in target region, but missing for
target data region.

The change just passing AreBothBasePtrAndPteeMapped in
generateInfoForComponentList when processing target data.

---------

Co-authored-by: Alexey Bataev <a.bataev at gmx.com>


  Commit: 8ce1aed55f3dbb71406dc6feaed3f162ac183d21
      https://github.com/llvm/llvm-project/commit/8ce1aed55f3dbb71406dc6feaed3f162ac183d21
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Support/Utils.h
    M 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/Optimizer/Builder/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Transformational.cpp
    M flang/runtime/matmul-transpose.cpp
    M flang/runtime/matmul.cpp
    M flang/test/HLFIR/matmul-lowering.fir
    M flang/test/HLFIR/mul_transpose.f90
    M flang/test/Lower/Intrinsics/matmul.f90
    M flang/unittests/Optimizer/Builder/Runtime/RuntimeCallTestBase.h
    M flang/unittests/Optimizer/Builder/Runtime/TransformationalTest.cpp
    M flang/unittests/Runtime/Matmul.cpp
    M flang/unittests/Runtime/MatmulTranspose.cpp

  Log Message:
  -----------
  [flang] Lower MATMUL to type specific runtime calls. (#97547)

Lower MATMUL to the new runtime entries added in #97406.


  Commit: 24cee1c41c05c9e934e46c4aa48e88caaba29786
      https://github.com/llvm/llvm-project/commit/24cee1c41c05c9e934e46c4aa48e88caaba29786
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
    M llvm/test/CodeGen/SPIRV/instructions/atomic.ll
    M llvm/test/CodeGen/SPIRV/instructions/integer-casts.ll
    M llvm/test/CodeGen/SPIRV/transcoding/OpDot.ll
    M llvm/test/CodeGen/SPIRV/transcoding/sub_group_ballot.ll
    M llvm/test/CodeGen/SPIRV/transcoding/sub_group_non_uniform_arithmetic.ll
    M llvm/test/CodeGen/SPIRV/transcoding/sub_group_non_uniform_vote.ll
    M llvm/test/CodeGen/SPIRV/transcoding/sub_group_shuffle.ll
    M llvm/test/CodeGen/SPIRV/transcoding/sub_group_shuffle_relative.ll

  Log Message:
  -----------
  [SPIR-V] Add __spirv_ wrappers to Non-Uniform, Atomic, Convert Instructions (#96790)

This PR:
* adds missing __spirv_ wrappers to Non-Uniform, Atomic, and Convert
Instructions,
* fixes emission of Group builtins,
* adds relevant checks to test cases to cover newly added __spirv_
wrappers.


  Commit: 843117050d63db6de983d4840ab3786f91c118b3
      https://github.com/llvm/llvm-project/commit/843117050d63db6de983d4840ab3786f91c118b3
  Author: goldsteinn <35538541+goldsteinn at users.noreply.github.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/utils/emacs/llvm-mode.el

  Log Message:
  -----------
  [emacs] More consistently highlight value keywords that appear in vectors (#97594)

Previously something like `<i8 123, i8 poison>` would not properly
highlight the `poison` keyword at the end.


  Commit: 2acb068865e009e103391d25b18ed90b4c65d6cb
      https://github.com/llvm/llvm-project/commit/2acb068865e009e103391d25b18ed90b4c65d6cb
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
    M llvm/test/tools/llvm-readobj/ELF/reloc-types-aarch64.test

  Log Message:
  -----------
  [PAC][llvm-readobj][ELF][AArch64] Define AUTH relocations for signed GOT (#96158)

- AUTH variant GOT-generating relocations

https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#auth-variant-got-generating-relocations

- AUTH variant dynamic relocations for signed GOT

https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#additional-auth-variant-dynamic-relocations-for-signed-got


  Commit: 86187ed2998e43be62176c2c4a7b204cc52f6ce6
      https://github.com/llvm/llvm-project/commit/86187ed2998e43be62176c2c4a7b204cc52f6ce6
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp] Fix init chain in local initializers


  Commit: 948862b24d209ddcf5a93845e1ce327d108761ce
      https://github.com/llvm/llvm-project/commit/948862b24d209ddcf5a93845e1ce327d108761ce
  Author: bangyu shen <94283495+shubaoyu2 at users.noreply.github.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
    M mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir

  Log Message:
  -----------
  [mlir][nvvm] Fix the verifier of `wgmma.mma_async` wrt transposed layouts  (#97538)

the WGMMA expect layouts for A/B are row/col, the transposed version
should be col/row. when checking other datatypes cannot use transposed
layout, it should reject col-major for A and row-major for B


  Commit: 0ad6ac8c5338e42192bc006576397a02b838d265
      https://github.com/llvm/llvm-project/commit/0ad6ac8c5338e42192bc006576397a02b838d265
  Author: Nikhil Kalra <1368497+nikalra at users.noreply.github.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/BufferOptimizations.cpp

  Log Message:
  -----------
  [NFC][MLIR] Fix: `alloca` promotion for `AllocationOpInterface` (#97672)

The std::optional returned by buildPromotedAlloc was directly
dereferenced and assumed to be non-null, even though the documentation
for AllocationOpInterface indicates that std::nullopt is a legal value
if buffer stack promotion is not supported (and is the default value
supplied by the TableGen interface file). This patch removes the direct
dereference so that the optional can be null-checked prior to use.

Co-authored-by: Nikhil Kalra <nkalra at apple.com>


  Commit: 2dda8a2650927e4b0fbb459507684455e196d9a9
      https://github.com/llvm/llvm-project/commit/2dda8a2650927e4b0fbb459507684455e196d9a9
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  Revert "[clang][Interp] Fix init chain in local initializers"

This reverts commit 86187ed2998e43be62176c2c4a7b204cc52f6ce6.

Seems like this breaks buildbots:
https://lab.llvm.org/buildbot/#/builders/56/builds/1638


  Commit: 30df62992e890310550259afbe458b845c0d6b89
      https://github.com/llvm/llvm-project/commit/30df62992e890310550259afbe458b845c0d6b89
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp

  Log Message:
  -----------
  [lldb][DataFormatter][NFC] Remove duplicate null-check in std::map iterator formatter

The nullness is already checked a few lines before this.


  Commit: c67653fbc3dd4ea9ab2a32c481a9ac4411020c7b
      https://github.com/llvm/llvm-project/commit/c67653fbc3dd4ea9ab2a32c481a9ac4411020c7b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-shuffles.ll

  Log Message:
  -----------
  [RISCV] Support vXf16 vector_shuffle with Zvfhmin. (#97491)

We can shuffle vXf16 vectors just like vXi16 vectors. We don't need any
FP instructions. Update the predicates for vrgather and vslides patterns
to only check the predicates based on the equivalent integer type. If we
use the FP type it will check Zvfh and block Zvfhmin.

These are probably not the only patterns that need to be fixed, but the
test from the bug report no longer crashes.

Fixes #97477


  Commit: 899fe2cf318f6e3c7a183125ff17ef53944b2989
      https://github.com/llvm/llvm-project/commit/899fe2cf318f6e3c7a183125ff17ef53944b2989
  Author: goldsteinn <35538541+goldsteinn at users.noreply.github.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll

  Log Message:
  -----------
  [CVP][LVI] Fix incorrect scalar type when getting constant folded vec (#97682)

Fixes #97674

After #97428 added support for vectors, our constant ranges can now be
from splat vectors so when they reduce to a singe constant value, we
need to return the original type as opposed to just an int.


  Commit: a2ed21648c5faa148037f9e022fccdcb5178cbc3
      https://github.com/llvm/llvm-project/commit/a2ed21648c5faa148037f9e022fccdcb5178cbc3
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [LVI] Simplify the getPredicateResult() implementation (NFC)

By using ConstantRange::icmp().


  Commit: 97a2bd8415dc6792b99ec0f091ad7570673c3f37
      https://github.com/llvm/llvm-project/commit/97a2bd8415dc6792b99ec0f091ad7570673c3f37
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2024-07-04 (Thu, 04 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 "[mlir][loops] Reland Refactor LoopFuseSiblingOp and support parallel fusion #94391 (#97607)"

This reverts commit edbc0e30a9e587cee1189be023b9385adc2f239a.

Reason for rollback. ASAN complains about this PR:

==4320==ERROR: AddressSanitizer: heap-use-after-free on address 0x502000006cd8 at pc 0x55e2978d63cf bp 0x7ffe6431c2b0 sp 0x7ffe6431c2a8
READ of size 8 at 0x502000006cd8 thread T0
    #0 0x55e2978d63ce in map<llvm::MutableArrayRef<mlir::BlockArgument> &, llvm::MutableArrayRef<mlir::BlockArgument>, nullptr> mlir/include/mlir/IR/IRMapping.h:40:11
    #1 0x55e2978d63ce in mlir::createFused(mlir::LoopLikeOpInterface, mlir::LoopLikeOpInterface, mlir::RewriterBase&, std::__u::function<llvm::SmallVector<mlir::Value, 6u> (mlir::OpBuilder&, mlir::Location, llvm::ArrayRef<mlir::BlockArgument>)>, llvm::function_ref<void (mlir::RewriterBase&, mlir::LoopLikeOpInterface, mlir::LoopLikeOpInterface&, mlir::IRMapping)>) mlir/lib/Interfaces/LoopLikeInterface.cpp:156:11
    #2 0x55e2952a614b in mlir::fuseIndependentSiblingForLoops(mlir::scf::ForOp, mlir::scf::ForOp, mlir::RewriterBase&) mlir/lib/Dialect/SCF/Utils/Utils.cpp:1398:43
    #3 0x55e291480c6f in mlir::transform::LoopFuseSiblingOp::apply(mlir::transform::TransformRewriter&, mlir::transform::TransformResults&, mlir::transform::TransformState&) mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp:482:17
    #4 0x55e29149ed5e in mlir::transform::detail::TransformOpInterfaceInterfaceTraits::Model<mlir::transform::LoopFuseSiblingOp>::apply(mlir::transform::detail::TransformOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::transform::TransformRewriter&, mlir::transform::TransformResults&, mlir::transform::TransformState&) blaze-out/k8-opt-asan/bin/mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.h.inc:477:56
    #5 0x55e297494a60 in apply blaze-out/k8-opt-asan/bin/mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.cpp.inc:61:14
    #6 0x55e297494a60 in mlir::transform::TransformState::applyTransform(mlir::transform::TransformOpInterface) mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp:953:48
    #7 0x55e294646a8d in applySequenceBlock(mlir::Block&, mlir::transform::FailurePropagationMode, mlir::transform::TransformState&, mlir::transform::TransformResults&) mlir/lib/Dialect/Transform/IR/TransformOps.cpp:1788:15
    #8 0x55e29464f927 in mlir::transform::NamedSequenceOp::apply(mlir::transform::TransformRewriter&, mlir::transform::TransformResults&, mlir::transform::TransformState&) mlir/lib/Dialect/Transform/IR/TransformOps.cpp:2155:10
    #9 0x55e2945d28ee in mlir::transform::detail::TransformOpInterfaceInterfaceTraits::Model<mlir::transform::NamedSequenceOp>::apply(mlir::transform::detail::TransformOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::transform::TransformRewriter&, mlir::transform::TransformResults&, mlir::transform::TransformState&) blaze-out/k8-opt-asan/bin/mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.h.inc:477:56
    #10 0x55e297494a60 in apply blaze-out/k8-opt-asan/bin/mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.cpp.inc:61:14
    #11 0x55e297494a60 in mlir::transform::TransformState::applyTransform(mlir::transform::TransformOpInterface) mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp:953:48
    #12 0x55e2974a5fe2 in mlir::transform::applyTransforms(mlir::Operation*, mlir::transform::TransformOpInterface, mlir::RaggedArray<llvm::PointerUnion<mlir::Operation*, mlir::Attribute, mlir::Value>> const&, mlir::transform::TransformOptions const&, bool) mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp:2016:16
    #13 0x55e2945888d7 in mlir::transform::applyTransformNamedSequence(mlir::RaggedArray<llvm::PointerUnion<mlir::Operation*, mlir::Attribute, mlir::Value>>, mlir::transform::TransformOpInterface, mlir::ModuleOp, mlir::transform::TransformOptions const&) mlir/lib/Dialect/Transform/Transforms/TransformInterpreterUtils.cpp:234:10
    #14 0x55e294582446 in (anonymous namespace)::InterpreterPass::runOnOperation() mlir/lib/Dialect/Transform/Transforms/InterpreterPass.cpp:147:16
    #15 0x55e2978e93c6 in operator() mlir/lib/Pass/Pass.cpp:527:17
    #16 0x55e2978e93c6 in void llvm::function_ref<void ()>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_1>(long) llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
    #17 0x55e2978e207a in operator() llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
    #18 0x55e2978e207a in executeAction<mlir::PassExecutionAction, mlir::Pass &> mlir/include/mlir/IR/MLIRContext.h:275:7
    #19 0x55e2978e207a in mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) mlir/lib/Pass/Pass.cpp:521:21
    #20 0x55e2978e5fbf in runPipeline mlir/lib/Pass/Pass.cpp:593:16
    #21 0x55e2978e5fbf in mlir::PassManager::runPasses(mlir::Operation*, mlir::AnalysisManager) mlir/lib/Pass/Pass.cpp:904:10
    #22 0x55e2978e5b65 in mlir::PassManager::run(mlir::Operation*) mlir/lib/Pass/Pass.cpp:884:60
    #23 0x55e291ebb460 in performActions(llvm::raw_ostream&, std::__u::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*, mlir::MlirOptMainConfig const&) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:408:17
    #24 0x55e291ebabd9 in processBuffer mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:481:9
    #25 0x55e291ebabd9 in operator() mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:548:12
    #26 0x55e291ebabd9 in llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::MlirOptMain(llvm::raw_ostream&, std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_0>(long, std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
    #27 0x55e297b1cffe in operator() llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
    #28 0x55e297b1cffe in mlir::splitAndProcessBuffer(std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::$_0::operator()(llvm::StringRef) const mlir/lib/Support/ToolUtilities.cpp:86:16
    #29 0x55e297b1c9c5 in interleave<const llvm::StringRef *, (lambda at mlir/lib/Support/ToolUtilities.cpp:79:23), (lambda at llvm/include/llvm/ADT/STLExtras.h:2147:49), void> llvm/include/llvm/ADT/STLExtras.h:2125:3
    #30 0x55e297b1c9c5 in interleave<llvm::SmallVector<llvm::StringRef, 8U>, (lambda at mlir/lib/Support/ToolUtilities.cpp:79:23), llvm::raw_ostream, llvm::StringRef> llvm/include/llvm/ADT/STLExtras.h:2147:3
    #31 0x55e297b1c9c5 in mlir::splitAndProcessBuffer(std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) mlir/lib/Support/ToolUtilities.cpp:89:3
    #32 0x55e291eb0cf0 in mlir::MlirOptMain(llvm::raw_ostream&, std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:551:10
    #33 0x55e291eb115c in mlir::MlirOptMain(int, char**, llvm::StringRef, llvm::StringRef, mlir::DialectRegistry&) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:589:14
    #34 0x55e291eb15f8 in mlir::MlirOptMain(int, char**, llvm::StringRef, mlir::DialectRegistry&) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:605:10
    #35 0x55e29130d1be in main mlir/tools/mlir-opt/mlir-opt.cpp:311:33
    #36 0x7fbcf3fff3d3 in __libc_start_main (/usr/grte/v5/lib64/libc.so.6+0x613d3) (BuildId: 9a996398ce14a94560b0c642eb4f6e94)
    #37 0x55e2912365a9 in _start /usr/grte/v5/debug-src/src/csu/../sysdeps/x86_64/start.S:120

0x502000006cd8 is located 8 bytes inside of 16-byte region [0x502000006cd0,0x502000006ce0)
freed by thread T0 here:
    #0 0x55e29130b7e2 in operator delete(void*, unsigned long) compiler-rt/lib/asan/asan_new_delete.cpp:155:3
    #1 0x55e2979eb657 in __libcpp_operator_delete<void *, unsigned long>
    #2 0x55e2979eb657 in __do_deallocate_handle_size<>
    #3 0x55e2979eb657 in __libcpp_deallocate
    #4 0x55e2979eb657 in deallocate
    #5 0x55e2979eb657 in deallocate
    #6 0x55e2979eb657 in operator()
    #7 0x55e2979eb657 in ~vector
    #8 0x55e2979eb657 in mlir::Block::~Block() mlir/lib/IR/Block.cpp:24:1
    #9 0x55e2979ebc17 in deleteNode llvm/include/llvm/ADT/ilist.h:42:39
    #10 0x55e2979ebc17 in erase llvm/include/llvm/ADT/ilist.h:205:5
    #11 0x55e2979ebc17 in erase llvm/include/llvm/ADT/ilist.h:209:39
    #12 0x55e2979ebc17 in mlir::Block::erase() mlir/lib/IR/Block.cpp:67:28
    #13 0x55e297aef978 in mlir::RewriterBase::eraseBlock(mlir::Block*) mlir/lib/IR/PatternMatch.cpp:245:10
    #14 0x55e297af0563 in mlir::RewriterBase::inlineBlockBefore(mlir::Block*, mlir::Block*, llvm::ilist_iterator<llvm::ilist_detail::node_options<mlir::Operation, false, false, void, false, void>, false, false>, mlir::ValueRange) mlir/lib/IR/PatternMatch.cpp:331:3
    #15 0x55e297af06d8 in mlir::RewriterBase::mergeBlocks(mlir::Block*, mlir::Block*, mlir::ValueRange) mlir/lib/IR/PatternMatch.cpp:341:3
    #16 0x55e297036608 in mlir::scf::ForOp::replaceWithAdditionalYields(mlir::RewriterBase&, mlir::ValueRange, bool, std::__u::function<llvm::SmallVector<mlir::Value, 6u> (mlir::OpBuilder&, mlir::Location, llvm::ArrayRef<mlir::BlockArgument>)> const&) mlir/lib/Dialect/SCF/IR/SCF.cpp:575:12
    #17 0x55e2970673ca in mlir::detail::LoopLikeOpInterfaceInterfaceTraits::Model<mlir::scf::ForOp>::replaceWithAdditionalYields(mlir::detail::LoopLikeOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::RewriterBase&, mlir::ValueRange, bool, std::__u::function<llvm::SmallVector<mlir::Value, 6u> (mlir::OpBuilder&, mlir::Location, llvm::ArrayRef<mlir::BlockArgument>)> const&) blaze-out/k8-opt-asan/bin/mlir/include/mlir/Interfaces/LoopLikeInterface.h.inc:658:56
    #18 0x55e2978d5feb in replaceWithAdditionalYields blaze-out/k8-opt-asan/bin/mlir/include/mlir/Interfaces/LoopLikeInterface.cpp.inc:105:14
    #19 0x55e2978d5feb in mlir::createFused(mlir::LoopLikeOpInterface, mlir::LoopLikeOpInterface, mlir::RewriterBase&, std::__u::function<llvm::SmallVector<mlir::Value, 6u> (mlir::OpBuilder&, mlir::Location, llvm::ArrayRef<mlir::BlockArgument>)>, llvm::function_ref<void (mlir::RewriterBase&, mlir::LoopLikeOpInterface, mlir::LoopLikeOpInterface&, mlir::IRMapping)>) mlir/lib/Interfaces/LoopLikeInterface.cpp:135:14
    #20 0x55e2952a614b in mlir::fuseIndependentSiblingForLoops(mlir::scf::ForOp, mlir::scf::ForOp, mlir::RewriterBase&) mlir/lib/Dialect/SCF/Utils/Utils.cpp:1398:43
    #21 0x55e291480c6f in mlir::transform::LoopFuseSiblingOp::apply(mlir::transform::TransformRewriter&, mlir::transform::TransformResults&, mlir::transform::TransformState&) mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp:482:17
    #22 0x55e29149ed5e in mlir::transform::detail::TransformOpInterfaceInterfaceTraits::Model<mlir::transform::LoopFuseSiblingOp>::apply(mlir::transform::detail::TransformOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::transform::TransformRewriter&, mlir::transform::TransformResults&, mlir::transform::TransformState&) blaze-out/k8-opt-asan/bin/mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.h.inc:477:56
    #23 0x55e297494a60 in apply blaze-out/k8-opt-asan/bin/mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.cpp.inc:61:14
    #24 0x55e297494a60 in mlir::transform::TransformState::applyTransform(mlir::transform::TransformOpInterface) mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp:953:48
    #25 0x55e294646a8d in applySequenceBlock(mlir::Block&, mlir::transform::FailurePropagationMode, mlir::transform::TransformState&, mlir::transform::TransformResults&) mlir/lib/Dialect/Transform/IR/TransformOps.cpp:1788:15
    #26 0x55e29464f927 in mlir::transform::NamedSequenceOp::apply(mlir::transform::TransformRewriter&, mlir::transform::TransformResults&, mlir::transform::TransformState&) mlir/lib/Dialect/Transform/IR/TransformOps.cpp:2155:10
    #27 0x55e2945d28ee in mlir::transform::detail::TransformOpInterfaceInterfaceTraits::Model<mlir::transform::NamedSequenceOp>::apply(mlir::transform::detail::TransformOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::transform::TransformRewriter&, mlir::transform::TransformResults&, mlir::transform::TransformState&) blaze-out/k8-opt-asan/bin/mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.h.inc:477:56
    #28 0x55e297494a60 in apply blaze-out/k8-opt-asan/bin/mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.cpp.inc:61:14
    #29 0x55e297494a60 in mlir::transform::TransformState::applyTransform(mlir::transform::TransformOpInterface) mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp:953:48
    #30 0x55e2974a5fe2 in mlir::transform::applyTransforms(mlir::Operation*, mlir::transform::TransformOpInterface, mlir::RaggedArray<llvm::PointerUnion<mlir::Operation*, mlir::Attribute, mlir::Value>> const&, mlir::transform::TransformOptions const&, bool) mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp:2016:16
    #31 0x55e2945888d7 in mlir::transform::applyTransformNamedSequence(mlir::RaggedArray<llvm::PointerUnion<mlir::Operation*, mlir::Attribute, mlir::Value>>, mlir::transform::TransformOpInterface, mlir::ModuleOp, mlir::transform::TransformOptions const&) mlir/lib/Dialect/Transform/Transforms/TransformInterpreterUtils.cpp:234:10
    #32 0x55e294582446 in (anonymous namespace)::InterpreterPass::runOnOperation() mlir/lib/Dialect/Transform/Transforms/InterpreterPass.cpp:147:16
    #33 0x55e2978e93c6 in operator() mlir/lib/Pass/Pass.cpp:527:17
    #34 0x55e2978e93c6 in void llvm::function_ref<void ()>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_1>(long) llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
    #35 0x55e2978e207a in operator() llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
    #36 0x55e2978e207a in executeAction<mlir::PassExecutionAction, mlir::Pass &> mlir/include/mlir/IR/MLIRContext.h:275:7
    #37 0x55e2978e207a in mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) mlir/lib/Pass/Pass.cpp:521:21
    #38 0x55e2978e5fbf in runPipeline mlir/lib/Pass/Pass.cpp:593:16
    #39 0x55e2978e5fbf in mlir::PassManager::runPasses(mlir::Operation*, mlir::AnalysisManager) mlir/lib/Pass/Pass.cpp:904:10
    #40 0x55e2978e5b65 in mlir::PassManager::run(mlir::Operation*) mlir/lib/Pass/Pass.cpp:884:60
    #41 0x55e291ebb460 in performActions(llvm::raw_ostream&, std::__u::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*, mlir::MlirOptMainConfig const&) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:408:17
    #42 0x55e291ebabd9 in processBuffer mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:481:9
    #43 0x55e291ebabd9 in operator() mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:548:12
    #44 0x55e291ebabd9 in llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::MlirOptMain(llvm::raw_ostream&, std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_0>(long, std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
    #45 0x55e297b1cffe in operator() llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
    #46 0x55e297b1cffe in mlir::splitAndProcessBuffer(std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::$_0::operator()(llvm::StringRef) const mlir/lib/Support/ToolUtilities.cpp:86:16
    #47 0x55e297b1c9c5 in interleave<const llvm::StringRef *, (lambda at mlir/lib/Support/ToolUtilities.cpp:79:23), (lambda at llvm/include/llvm/ADT/STLExtras.h:2147:49), void> llvm/include/llvm/ADT/STLExtras.h:2125:3
    #48 0x55e297b1c9c5 in interleave<llvm::SmallVector<llvm::StringRef, 8U>, (lambda at mlir/lib/Support/ToolUtilities.cpp:79:23), llvm::raw_ostream, llvm::StringRef> llvm/include/llvm/ADT/STLExtras.h:2147:3
    #49 0x55e297b1c9c5 in mlir::splitAndProcessBuffer(std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) mlir/lib/Support/ToolUtilities.cpp:89:3
    #50 0x55e291eb0cf0 in mlir::MlirOptMain(llvm::raw_ostream&, std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:551:10
    #51 0x55e291eb115c in mlir::MlirOptMain(int, char**, llvm::StringRef, llvm::StringRef, mlir::DialectRegistry&) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:589:14

previously allocated by thread T0 here:
    #0 0x55e29130ab5d in operator new(unsigned long) compiler-rt/lib/asan/asan_new_delete.cpp:86:3
    #1 0x55e2979ed5d4 in __libcpp_operator_new<unsigned long>
    #2 0x55e2979ed5d4 in __libcpp_allocate
    #3 0x55e2979ed5d4 in allocate
    #4 0x55e2979ed5d4 in __allocate_at_least<std::__u::allocator<mlir::BlockArgument> >
    #5 0x55e2979ed5d4 in __split_buffer
    #6 0x55e2979ed5d4 in mlir::BlockArgument* std::__u::vector<mlir::BlockArgument, std::__u::allocator<mlir::BlockArgument>>::__push_back_slow_path<mlir::BlockArgument const&>(mlir::BlockArgument const&)
    #7 0x55e2979ec0f2 in push_back
    #8 0x55e2979ec0f2 in mlir::Block::addArgument(mlir::Type, mlir::Location) mlir/lib/IR/Block.cpp:154:13
    #9 0x55e29796e457 in parseRegionBody mlir/lib/AsmParser/Parser.cpp:2172:34
    #10 0x55e29796e457 in (anonymous namespace)::OperationParser::parseRegion(mlir::Region&, llvm::ArrayRef<mlir::OpAsmParser::Argument>, bool) mlir/lib/AsmParser/Parser.cpp:2121:7
    #11 0x55e29796b25e in (anonymous namespace)::CustomOpAsmParser::parseRegion(mlir::Region&, llvm::ArrayRef<mlir::OpAsmParser::Argument>, bool) mlir/lib/AsmParser/Parser.cpp:1785:16
    #12 0x55e297035742 in mlir::scf::ForOp::parse(mlir::OpAsmParser&, mlir::OperationState&) mlir/lib/Dialect/SCF/IR/SCF.cpp:521:14
    #13 0x55e291322c18 in llvm::ParseResult llvm::detail::UniqueFunctionBase<llvm::ParseResult, mlir::OpAsmParser&, mlir::OperationState&>::CallImpl<llvm::ParseResult (*)(mlir::OpAsmParser&, mlir::OperationState&)>(void*, mlir::OpAsmParser&, mlir::OperationState&) llvm/include/llvm/ADT/FunctionExtras.h:220:12
    #14 0x55e29795bea3 in operator() llvm/include/llvm/ADT/FunctionExtras.h:384:12
    #15 0x55e29795bea3 in callback_fn<llvm::unique_function<llvm::ParseResult (mlir::OpAsmParser &, mlir::OperationState &)> > llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
    #16 0x55e29795bea3 in operator() llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
    #17 0x55e29795bea3 in parseOperation mlir/lib/AsmParser/Parser.cpp:1521:9
    #18 0x55e29795bea3 in parseCustomOperation mlir/lib/AsmParser/Parser.cpp:2017:19
    #19 0x55e29795bea3 in (anonymous namespace)::OperationParser::parseOperation() mlir/lib/AsmParser/Parser.cpp:1174:10
    #20 0x55e297971d20 in parseBlockBody mlir/lib/AsmParser/Parser.cpp:2296:9
    #21 0x55e297971d20 in (anonymous namespace)::OperationParser::parseBlock(mlir::Block*&) mlir/lib/AsmParser/Parser.cpp:2226:12
    #22 0x55e29796e4f5 in parseRegionBody mlir/lib/AsmParser/Parser.cpp:2184:7
    #23 0x55e29796e4f5 in (anonymous namespace)::OperationParser::parseRegion(mlir::Region&, llvm::ArrayRef<mlir::OpAsmParser::Argument>, bool) mlir/lib/AsmParser/Parser.cpp:2121:7
    #24 0x55e29796b25e in (anonymous namespace)::CustomOpAsmParser::parseRegion(mlir::Region&, llvm::ArrayRef<mlir::OpAsmParser::Argument>, bool) mlir/lib/AsmParser/Parser.cpp:1785:16
    #25 0x55e29796b2cf in (anonymous namespace)::CustomOpAsmParser::parseOptionalRegion(mlir::Region&, llvm::ArrayRef<mlir::OpAsmParser::Argument>, bool) mlir/lib/AsmParser/Parser.cpp:1796:12
    #26 0x55e2978d89ff in mlir::function_interface_impl::parseFunctionOp(mlir::OpAsmParser&, mlir::OperationState&, bool, mlir::StringAttr, llvm::function_ref<mlir::Type (mlir::Builder&, llvm::ArrayRef<mlir::Type>, llvm::ArrayRef<mlir::Type>, mlir::function_interface_impl::VariadicFlag, std::__u::basic_string<char, std::__u::char_traits<char>, std::__u::allocator<char>>&)>, mlir::StringAttr, mlir::StringAttr) mlir/lib/Interfaces/FunctionImplementation.cpp:232:14
    #27 0x55e2969ba41d in mlir::func::FuncOp::parse(mlir::OpAsmParser&, mlir::OperationState&) mlir/lib/Dialect/Func/IR/FuncOps.cpp:203:10
    #28 0x55e291322c18 in llvm::ParseResult llvm::detail::UniqueFunctionBase<llvm::ParseResult, mlir::OpAsmParser&, mlir::OperationState&>::CallImpl<llvm::ParseResult (*)(mlir::OpAsmParser&, mlir::OperationState&)>(void*, mlir::OpAsmParser&, mlir::OperationState&) llvm/include/llvm/ADT/FunctionExtras.h:220:12
    #29 0x55e29795bea3 in operator() llvm/include/llvm/ADT/FunctionExtras.h:384:12
    #30 0x55e29795bea3 in callback_fn<llvm::unique_function<llvm::ParseResult (mlir::OpAsmParser &, mlir::OperationState &)> > llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
    #31 0x55e29795bea3 in operator() llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
    #32 0x55e29795bea3 in parseOperation mlir/lib/AsmParser/Parser.cpp:1521:9
    #33 0x55e29795bea3 in parseCustomOperation mlir/lib/AsmParser/Parser.cpp:2017:19
    #34 0x55e29795bea3 in (anonymous namespace)::OperationParser::parseOperation() mlir/lib/AsmParser/Parser.cpp:1174:10
    #35 0x55e297959b78 in parse mlir/lib/AsmParser/Parser.cpp:2725:20
    #36 0x55e297959b78 in mlir::parseAsmSourceFile(llvm::SourceMgr const&, mlir::Block*, mlir::ParserConfig const&, mlir::AsmParserState*, mlir::AsmParserCodeCompleteContext*) mlir/lib/AsmParser/Parser.cpp:2785:41
    #37 0x55e29790d5c2 in mlir::parseSourceFile(std::__u::shared_ptr<llvm::SourceMgr> const&, mlir::Block*, mlir::ParserConfig const&, mlir::LocationAttr*) mlir/lib/Parser/Parser.cpp:46:10
    #38 0x55e291ebbfe2 in parseSourceFile<mlir::ModuleOp, const std::__u::shared_ptr<llvm::SourceMgr> &> mlir/include/mlir/Parser/Parser.h:159:14
    #39 0x55e291ebbfe2 in parseSourceFile<mlir::ModuleOp> mlir/include/mlir/Parser/Parser.h:189:10
    #40 0x55e291ebbfe2 in mlir::parseSourceFileForTool(std::__u::shared_ptr<llvm::SourceMgr> const&, mlir::ParserConfig const&, bool) mlir/include/mlir/Tools/ParseUtilities.h:31:12
    #41 0x55e291ebb263 in performActions(llvm::raw_ostream&, std::__u::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*, mlir::MlirOptMainConfig const&) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:383:33
    #42 0x55e291ebabd9 in processBuffer mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:481:9
    #43 0x55e291ebabd9 in operator() mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:548:12
    #44 0x55e291ebabd9 in llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::MlirOptMain(llvm::raw_ostream&, std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_0>(long, std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
    #45 0x55e297b1cffe in operator() llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
    #46 0x55e297b1cffe in mlir::splitAndProcessBuffer(std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::$_0::operator()(llvm::StringRef) const mlir/lib/Support/ToolUtilities.cpp:86:16
    #47 0x55e297b1c9c5 in interleave<const llvm::StringRef *, (lambda at mlir/lib/Support/ToolUtilities.cpp:79:23), (lambda at llvm/include/llvm/ADT/STLExtras.h:2147:49), void> llvm/include/llvm/ADT/STLExtras.h:2125:3
    #48 0x55e297b1c9c5 in interleave<llvm::SmallVector<llvm::StringRef, 8U>, (lambda at mlir/lib/Support/ToolUtilities.cpp:79:23), llvm::raw_ostream, llvm::StringRef> llvm/include/llvm/ADT/STLExtras.h:2147:3
    #49 0x55e297b1c9c5 in mlir::splitAndProcessBuffer(std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) mlir/lib/Support/ToolUtilities.cpp:89:3
    #50 0x55e291eb0cf0 in mlir::MlirOptMain(llvm::raw_ostream&, std::__u::unique_ptr<llvm::MemoryBuffer, std::__u::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:551:10
    #51 0x55e291eb115c in mlir::MlirOptMain(int, char**, llvm::StringRef, llvm::StringRef, mlir::DialectRegistry&) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:589:14
    #52 0x55e291eb15f8 in mlir::MlirOptMain(int, char**, llvm::StringRef, mlir::DialectRegistry&) mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:605:10
    #53 0x55e29130d1be in main mlir/tools/mlir-opt/mlir-opt.cpp:311:33
    #54 0x7fbcf3fff3d3 in __libc_start_main (/usr/grte/v5/lib64/libc.so.6+0x613d3) (BuildId: 9a996398ce14a94560b0c642eb4f6e94)
    #55 0x55e2912365a9 in _start /usr/grte/v5/debug-src/src/csu/../sysdeps/x86_64/start.S:120

SUMMARY: AddressSanitizer: heap-use-after-free mlir/include/mlir/IR/IRMapping.h:40:11 in map<llvm::MutableArrayRef<mlir::BlockArgument> &, llvm::MutableArrayRef<mlir::BlockArgument>, nullptr>
Shadow bytes around the buggy address:
  0x502000006a00: fa fa 00 fa fa fa 00 00 fa fa 00 fa fa fa 00 fa
  0x502000006a80: fa fa 00 fa fa fa 00 00 fa fa 00 00 fa fa 00 00
  0x502000006b00: fa fa 00 00 fa fa 00 00 fa fa 00 fa fa fa 00 fa
  0x502000006b80: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa 00 00
  0x502000006c00: fa fa 00 00 fa fa 00 00 fa fa 00 00 fa fa fd fa
=>0x502000006c80: fa fa fd fa fa fa fd fd fa fa fd[fd]fa fa fd fd
  0x502000006d00: fa fa 00 fa fa fa 00 fa fa fa 00 fa fa fa 00 fa
  0x502000006d80: fa fa 00 fa fa fa 00 fa fa fa 00 fa fa fa 00 fa
  0x502000006e00: fa fa 00 fa fa fa 00 fa fa fa 00 00 fa fa 00 fa
  0x502000006e80: fa fa 00 fa fa fa 00 00 fa fa 00 fa fa fa 00 fa
  0x502000006f00: fa fa 00 fa fa fa 00 fa fa fa 00 fa fa fa 00 fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==4320==ABORTING


  Commit: ebab105670a409e426ddcb0278578711a622b1b2
      https://github.com/llvm/llvm-project/commit/ebab105670a409e426ddcb0278578711a622b1b2
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/IR/Value.cpp
    A llvm/test/Analysis/BasicAA/ptr-vector.ll

  Log Message:
  -----------
  [IR] Don't strip through pointer to vector of pointer bitcasts

When using stripPointerCasts() and getUnderlyingObject(), don't
strip through a bitcast from ptr to <1 x ptr>, which is not a
no-op pointer cast. Calling code is generally not prepared to
handle that situation, resulting in incorrect alias analysis
results for example.

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


  Commit: 927def49728371d746476e79a6570cd93a4d335c
      https://github.com/llvm/llvm-project/commit/927def49728371d746476e79a6570cd93a4d335c
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-04 (Thu, 04 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:
  -----------
  Revert "[lldb] Print empty enums as if they were unrecognised normal enums (#97553)"

This reverts commit 41fddc4ec3302f125a5b84ae86c8027dedc89984.

Due to build errors with gcc passing signed ints to unsigned ints.


  Commit: 67b302c52f79db2ab5c46e5e8c600f1c2af57a83
      https://github.com/llvm/llvm-project/commit/67b302c52f79db2ab5c46e5e8c600f1c2af57a83
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M mlir/test/Dialect/Vector/invalid.mlir
    M mlir/test/Dialect/Vector/ops.mlir

  Log Message:
  -----------
  [mlir][vector] Add vector.step operation (#96776)

This patch adds a new vector.step operation to the Vector dialect. It
produces a linear sequence of index values from 0 to N, where N is the
number of elements in the result vector, and can be used to create
vectors of indices.

It supports both fixed-width and scalable vectors. For fixed the
canonical representation is `arith.constant dense<[0, .., N]>`. A
scalable step cannot be represented as a constant and is lowered to the
`llvm.experimental.stepvector` intrinsic [1].

This op enables scalable vectorization of linalg.index ops, see #96778. It can
also be used in the SparseVectorizer in-place of lower-level stepvector
intrinsic, see [2] (patch to follow).

[1] https://llvm.org/docs/LangRef.html#llvm-experimental-stepvector-intrinsic
[2] https://github.com/llvm/llvm-project/blob/acf675b63f9426e61aac2155e29280f7d21f9421/mlir/lib/Dialect/SparseTensor/Transforms/SparseVectorization.cpp#L385-L388


  Commit: 7b34cad1b8505dd1d5593ab8fd196398bf605ac5
      https://github.com/llvm/llvm-project/commit/7b34cad1b8505dd1d5593ab8fd196398bf605ac5
  Author: Tianyi Guan <tguan at nvidia.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    A llvm/test/CodeGen/AArch64/itofp-bf16.ll
    M llvm/test/CodeGen/AArch64/itofp.ll

  Log Message:
  -----------
  [AArch64] Extract bf16 cases from `itofp.ll` to `itofp-bf16.ll`, NFC.


  Commit: 54de090340acff98bd1c1163f5eaf0bcbfe247e1
      https://github.com/llvm/llvm-project/commit/54de090340acff98bd1c1163f5eaf0bcbfe247e1
  Author: Tianyi Guan <tguan at nvidia.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/itofp.ll

  Log Message:
  -----------
  [AArch64] Add i128 and fp128 tests to `itofp.ll`. NFC


  Commit: 173514d58ec4e6166670f1e37a038df3865c8b96
      https://github.com/llvm/llvm-project/commit/173514d58ec4e6166670f1e37a038df3865c8b96
  Author: Tianyi Guan <tguan at nvidia.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/fcmp.ll

  Log Message:
  -----------
  [AArch64] Add fp128 tests in `fcmp.ll`. NFC


  Commit: 328d9f62976defb96cba8102ea54f44cf88c8032
      https://github.com/llvm/llvm-project/commit/328d9f62976defb96cba8102ea54f44cf88c8032
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-04 (Thu, 04 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:
  -----------
  Reland "[lldb] Print empty enums as if they were unrecognised normal enums (#97553)"

This reverts commit 927def49728371d746476e79a6570cd93a4d335c.

I've refactored the tests so that we're explicit about whether the
enum is signed or not. Which means we use the proper types
throughout.


  Commit: 4002e380d0f7c689df7d26d9637118c2c7c6f985
      https://github.com/llvm/llvm-project/commit/4002e380d0f7c689df7d26d9637118c2c7c6f985
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Use splat shorthand in strided load store tests. NFC


  Commit: 28be3f8ac51e62610f8e78b411adf05a2365dff7
      https://github.com/llvm/llvm-project/commit/28be3f8ac51e62610f8e78b411adf05a2365dff7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp

  Log Message:
  -----------
  [LAA] Cache pointer bounds expansions (NFCI).

This avoids expanding the same bounds multiple times, which helps reduce
the compile-time impact of removing the restrictions added in
234cc40adc6, notably -0.06% on stage1-O3 and -0.05% on both
stage1-ReleaseThinLTO and stage1-ReleaseLTO-g.

https://llvm-compile-time-tracker.com/compare.php?from=8b9ebc4bb86cf0979e05908cbb04336f2d01dda5&to=fabd36f96c31e47ea72653f5a404feaadfc7b5b5&stat=instructions:u


  Commit: f99746f30a125324500cc7a46829fcfd44bed3dc
      https://github.com/llvm/llvm-project/commit/f99746f30a125324500cc7a46829fcfd44bed3dc
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp

  Log Message:
  -----------
  [Orc][RuntimeDyld] Return after handling error (#95364)

If OnLoaded failed, return after passing the error to OnEmitted instead
of also calling finalizeAsync (which would use values that have already
been moved and perform another call to OnEmitted).


  Commit: 94b2b1d74a4488e61d7992b12d1042ae6a99f3d5
      https://github.com/llvm/llvm-project/commit/94b2b1d74a4488e61d7992b12d1042ae6a99f3d5
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/SandboxIR/SandboxIR.cpp

  Log Message:
  -----------
  Fix MSVC "not all control paths return a value" warning. NFC


  Commit: 81660bbc1c066646ef3c232f5af097092e76f8b7
      https://github.com/llvm/llvm-project/commit/81660bbc1c066646ef3c232f5af097092e76f8b7
  Author: Tomas Matheson <Tomas.Matheson at arm.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/unittests/TargetParser/TargetParserTest.cpp
    M llvm/utils/TableGen/ARMTargetDefEmitter.cpp

  Log Message:
  -----------
  [AArch64] remove pointless AEK_NONE (#97569)


  Commit: 2c0add93b2df27b34c819c11474d8ba7b8e52e70
      https://github.com/llvm/llvm-project/commit/2c0add93b2df27b34c819c11474d8ba7b8e52e70
  Author: Graham Hunter <graham.hunter at arm.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll

  Log Message:
  -----------
  [TTI] Return a more sensible cost for histogram intrinsic. (#97397)

This is just an initial cost, making it invalid for any target which
doesn't specifically return a cost for now. Also adds an AArch64
specific cost check.

We will need to improve that later, e.g. by returning a scalarization
cost for generic targets and possibly introducing a new TTI method, at
least once LoopVectorize has changed it's cost model. The reason is
that the histogram intrinsic also effectively contains a gather and
scatter, and we will need details of the addressing to determine an
appropriate cost for that.


  Commit: e6cf292003fa53214a8abf2b4150e58296f76483
      https://github.com/llvm/llvm-project/commit/e6cf292003fa53214a8abf2b4150e58296f76483
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll

  Log Message:
  -----------
  [InstCombine][X86] Add some basic knownbits tests for PMULH/PMULHU

Recognise known zero upperbits


  Commit: 5c204b1d2619cbad7b7ad228b62feae08781a6db
      https://github.com/llvm/llvm-project/commit/5c204b1d2619cbad7b7ad228b62feae08781a6db
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll

  Log Message:
  -----------
  [ValueTracking][X86] computeKnownBitsFromOperator - add PMULH/PMULHU intrinsics mulhs/mulhu known bits handling.

These map directly to the KnownBits implementations.


  Commit: 2b3b405b09a0d965a4aff1f92958418ddbf1e7f6
      https://github.com/llvm/llvm-project/commit/2b3b405b09a0d965a4aff1f92958418ddbf1e7f6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/RISCV/first-order-recurrence-scalable-vf1.ll
    A llvm/test/Transforms/LoopVectorize/first-order-recurrence-scalable-vf1.ll

  Log Message:
  -----------
  [LV] Don't vectorize first-order recurrence with VF <vscale x 1 x ..>

The assertion added as part of https://github.com/llvm/llvm-project/pull/93395
surfaced cases where first-order recurrences are vectorized with
<vscale x 1 x ..>. If vscale is 1, then we are unable to extract the
penultimate value (second to last lane). Previously this case got
mis-compiled, trying to extract from an invalid lane (-1)
https://llvm.godbolt.org/z/3adzYYcf9.

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


  Commit: e7bfd4d77fafdcad890f80f8feee50ca02e0e2c3
      https://github.com/llvm/llvm-project/commit/e7bfd4d77fafdcad890f80f8feee50ca02e0e2c3
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    A llvm/test/Transforms/Mem2Reg/single-store.ll

  Log Message:
  -----------
  [Mem2Reg] Add some single store tests (NFC)

For https://github.com/llvm/llvm-project/issues/97702.


  Commit: 07b3e2c0c68b93a3d4d89426dc7fd14cc31ca6be
      https://github.com/llvm/llvm-project/commit/07b3e2c0c68b93a3d4d89426dc7fd14cc31ca6be
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M lldb/test/API/python_api/thread/TestThreadAPI.py

  Log Message:
  -----------
  [LLDB] XFail on Windows TestThreadAPI.py test_StepInstruction

TestThreadAPI.py test_StepInstruction started failing after #97493

Following assertion fails but I am not sure if test will pass after
changing the test.

AssertionError: 'void __cdecl call_me(bool)' != 'call_me(bool)'

I have marked it as xfail I ll run it on a Windows machine to find
an appropriate fix.

https://lab.llvm.org/buildbot/#/builders/141/builds/476


  Commit: d6af73e9fbc84315100499a096f17ec5eeeeea23
      https://github.com/llvm/llvm-project/commit/d6af73e9fbc84315100499a096f17ec5eeeeea23
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M compiler-rt/test/fuzzer/fuzzer-leak.test

  Log Message:
  -----------
  [compiler-rt][Fuzzer] Disable fuzzer-leak test

This has been flaky and reporting a lot of unrelated failures to PRs.

See https://github.com/llvm/llvm-project/issues/97712


  Commit: 483557224b8d36761f39d5847e17ef7361757f1b
      https://github.com/llvm/llvm-project/commit/483557224b8d36761f39d5847e17ef7361757f1b
  Author: Kristóf Umann <dkszelethus at gmail.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
    M clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
    M clang/lib/StaticAnalyzer/Core/MemRegion.cpp
    M clang/test/Analysis/bstring_UninitRead.c

  Log Message:
  -----------
  [analyzer] Check the correct first and last elements in cstring.UninitializedRead (#95408)

I intend to fix this checker up so that we can move it out of alpha. I
made a bunch of analyses, and found many similar false positives:

```c++
int t[] = {1,2,3};
memcpy(dst, t, sizeof(t) / sizeof(t[0])); // warn
```

The problem here is the way CStringChecker checks whether the
destination and source buffers are initialized: heuristically, it only
checks the first and last element. This is fine, however, it retrieves
these elements as characters, even if the underlaying object is not a
character array. Reading the last byte of an integer is undefined, so
the checker emits a bug here.

A quick search tells you the rationale: "Both objects are reinterpreted
as arrays of unsigned char.". But the static analyzer right now can't
check byte-by-byte if a memory region is _initialized_, it can only
check if its a well-defined character or not.

In this patch, I pry the original array out of the arguments to memcpy
(and similar functions), and retrieve the actual first and last elements
according to the array's actual element type.

Currently, my improvements reduced the number of reports to 29 on these
projects: memcached,tmux,curl,twin,vim,openssl,sqlite,ffmpeg,postgres


https://codechecker-demo.eastus.cloudapp.azure.com/Default/reports?detection-status=New&detection-status=Reopened&detection-status=Unresolved&is-unique=on&run=%2acstring_uninit_upper_bound_patched&newcheck=%2acstring_uninit_upper_bounds_patched&diff-type=New&checker-name=alpha.unix.cstring.UninitializedRead&items-per-page=100

Before my patch, there were 87.


https://codechecker-demo.eastus.cloudapp.azure.com/Default/reports?detection-status=New&detection-status=Reopened&detection-status=Unresolved&is-unique=on&run=%2acstring_uninit_baseline&newcheck=%2acstring_uninit_upper_bounds_patched&diff-type=New&checker-name=alpha.unix.cstring.UninitializedRead&items-per-page=100


  Commit: 7fb71d15cd3c2a185d4a60791e893d3c5721754d
      https://github.com/llvm/llvm-project/commit/7fb71d15cd3c2a185d4a60791e893d3c5721754d
  Author: Ilya Leoshkevich <iii at linux.ibm.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/cmake/config.guess

  Log Message:
  -----------
  [SystemZ] Fix handling of target triples on Debian (#95407) (#97546)

Debian's GCC installation has target triple "s390x-linux-gnu". Since,
unlike in Ubuntu, there is no /etc/lsb-release, config.guess detects
"s390x-ibm-linux". Generic_GCC::GCCInstallationDetector::init() only
tries to strip the "unknown" vendor, so GCC installation detection
fails.

Checking /etc/os-release in addition to /etc/lsb-release fixes this
problem. However, LLVM-built sanitizer runtimes still cannot be found:
the driver looks for them in lib/clang/19/lib/s390x-linux-gnu, but the
build system places them in lib/clang/19/lib/s390x-unknown-linux-gnu.

According to @MaskRay, the build system is doing the right thing [1]: on
the file system, full arch-vendor-os-environment triples must be used.
In order to satisfy both GCCInstallationDetector and this rule, use the
"s390x-unknown-linux-gnu" triple.

[1]
https://github.com/llvm/llvm-project/issues/95407#issuecomment-2167390240


  Commit: 42b193c962bd04b840b121e5fd27131038404925
      https://github.com/llvm/llvm-project/commit/42b193c962bd04b840b121e5fd27131038404925
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    A llvm/test/MC/X86/AMX/amx-error.s

  Log Message:
  -----------
  [AMX] Error out when AMX DP instructions use same registers (#97686)

Fixes #97522


  Commit: 99f6ff9c0b5f2c009878c2ad5607bc7a3086956b
      https://github.com/llvm/llvm-project/commit/99f6ff9c0b5f2c009878c2ad5607bc7a3086956b
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp

  Log Message:
  -----------
  [Flang][OpenMP] Use InsertionGuard in DataSharingProcessor (#97562)

This patch removes the introduction of `fir.undef` operations as a way
to keep track of insertion points inside of the `DataSharingProcessor`,
and it replaces them with an `InsertionGuard` to avoid creating such
operations inside of loop wrappers.

Leaving any `fir.undef` operation inside of a loop wrapper would result
in a verifier error, since they enforce strict requirements on the
contents of their code regions.


  Commit: 6222c8f0305de1fdc5ff39f5f1d87fcfeebfa646
      https://github.com/llvm/llvm-project/commit/6222c8f0305de1fdc5ff39f5f1d87fcfeebfa646
  Author: Nicholas Guy <67685292+NickGuy-Arm at users.noreply.github.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/CodeGen/AArch64/partial-reduction-add.ll

  Log Message:
  -----------
  [IR][LangRef] Add partial reduction add intrinsic (#94499)

Adds the llvm.experimental.partial.reduce.add.* overloaded intrinsic,
this intrinsic represents add reductions that result in a narrower
vector.


  Commit: f58930f705884dfac3bd8c481c827d027a6068cb
      https://github.com/llvm/llvm-project/commit/f58930f705884dfac3bd8c481c827d027a6068cb
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
    M llvm/test/Transforms/Mem2Reg/single-store.ll

  Log Message:
  -----------
  [Mem2Reg] Don't use single store optimization for potentially poison value (#97711)

If there is a single store, then loads must either load the stored value
or uninitialized memory (undef). If the stored value may be poison, then
replacing an uninitialized memory load with it would be incorrect. Fall
back to the generic code in that case.

This PR only fixes the case where there is a literal poison store -- the
case where the value is non-trivially poison will still get miscompiled
by phi simplification later, see #96631.

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


  Commit: bbc6504b3d2f237ed7e84dcaecb228bf2124f72e
      https://github.com/llvm/llvm-project/commit/bbc6504b3d2f237ed7e84dcaecb228bf2124f72e
  Author: Ariel-Burton <arielburton at yahoo.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [NFC] [APFloat] Refactor IEEEFloat::toString (#97117)

This PR lifts the body of IEEEFloat::toString out to a standalone
function. We do this to facilitate code sharing with other floating
point types, e.g., the forthcoming support for HexFloat.

There is no change in functionality.


  Commit: 3cab132e94d3c63dbcf20d2acc4879b2b98a0de9
      https://github.com/llvm/llvm-project/commit/3cab132e94d3c63dbcf20d2acc4879b2b98a0de9
  Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M clang/www/analyzer/alpha_checks.html
    M clang/www/analyzer/available_checks.html

  Log Message:
  -----------
  [clang][analyzer][doc] Migrate checkers-related docs from HTML to RST (#97032)

Documentation for the checkers is kept up to date in RST files.
This patch removes duplication by replacing the HTML docs with links to
docs generated from the RST.


  Commit: 218f71d43283c2916aac6923edf4df6c0024676a
      https://github.com/llvm/llvm-project/commit/218f71d43283c2916aac6923edf4df6c0024676a
  Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
    A llvm/test/Transforms/LowerConstantIntrinsics/preserving-debugloc-br.ll

  Log Message:
  -----------
  [DebugInfo][LowerConstantIntrinsics] Fix the missing debug location of new branch instruction (#97145)

Fix #97142 .


  Commit: e0f4d27a50c6b524d6cf24c347038a18112ce517
      https://github.com/llvm/llvm-project/commit/e0f4d27a50c6b524d6cf24c347038a18112ce517
  Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
    A llvm/test/Transforms/LoopFlatten/preserving_debugloc_br.ll

  Log Message:
  -----------
  [DebugInfo][LoopFlatten] Fix missing debug location update for new br instruction (#97085)

Fix #97084 .


  Commit: 2532ebb341d9c60692688fdd5b94cf61693e1e63
      https://github.com/llvm/llvm-project/commit/2532ebb341d9c60692688fdd5b94cf61693e1e63
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [X86] Add test showing failure to concat VBLENDVB nodes back together through bitcasts


  Commit: d43ec97de081755990264049eba09cb7c83cb321
      https://github.com/llvm/llvm-project/commit/d43ec97de081755990264049eba09cb7c83cb321
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [X86] combineConcatVectorOps - IsConcatFree - peek through bitcasts to find inplace subvectors.

The EXTRACT_SUBVECTOR nodes don't have to be the same type, they just need to be at the correct bit offsets when concatenated back together.


  Commit: f329e3ed9070aee3f4c0ebc80ed62f5c4b645d73
      https://github.com/llvm/llvm-project/commit/f329e3ed9070aee3f4c0ebc80ed62f5c4b645d73
  Author: Discookie <viktor.cseh at ericsson.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
    M clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
    A clang-tools-extra/clang-tidy/bugprone/PointerArithmeticOnPolymorphicObjectCheck.cpp
    A clang-tools-extra/clang-tidy/bugprone/PointerArithmeticOnPolymorphicObjectCheck.h
    M clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/bugprone/pointer-arithmetic-on-polymorphic-object.rst
    A clang-tools-extra/docs/clang-tidy/checks/cert/ctr56-cpp.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/pointer-arithmetic-on-polymorphic-object-all.cpp
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/pointer-arithmetic-on-polymorphic-object-decl-only.cpp

  Log Message:
  -----------
  [clang-tidy] Add `bugprone-pointer-arithmetic-on-polymorphic-object` check (#91951)

Finds pointer arithmetic on classes that declare a virtual function.

This check corresponds to the SEI Cert rule [CTR56-CPP: Do not use
pointer arithmetic on polymorphic
objects](https://wiki.sei.cmu.edu/confluence/display/cplusplus/CTR56-CPP.+Do+not+use+pointer+arithmetic+on+polymorphic+objects).

```cpp
struct Base {
  virtual void ~Base();
};

struct Derived : public Base {};

void foo(Base *b) {
  b += 1; // passing `Derived` to `foo()` results in UB
}
```

[Results on open-source
projects](https://codechecker-demo.eastus.cloudapp.azure.com/Default/runs?run=Discookie-ctr56-with-classnames).
Most of the Qtbase reports are from having a `virtual override`
declaration, and the LLVM reports are true positives, as far as I can
tell.


  Commit: 0035c2efad8fd7b4dbd01efbc573999f7b91b0d5
      https://github.com/llvm/llvm-project/commit/0035c2efad8fd7b4dbd01efbc573999f7b91b0d5
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn

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


  Commit: b12449fb289708f3d31c107d6e7977044a01da62
      https://github.com/llvm/llvm-project/commit/b12449fb289708f3d31c107d6e7977044a01da62
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/IndirectThunks.h
    M llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
    M llvm/lib/Target/ARM/ARMSLSHardening.cpp
    M llvm/lib/Target/X86/X86IndirectThunks.cpp

  Log Message:
  -----------
  [CodeGen] Refactor and document ThunkInserter (#97468)

In preparation for supporting BLRA* instructions in SLS Hardening on
AArch64, refactor ThunkInserter class.

The main intention of this commit is to document the way to merge the
BLR-rewriting logic of the AArch64SLSHardening pass into the
SLSBLRThunkInserter class. This makes it possible to only call
createThunkFunction for the thunks that are actually referenced.
Ultimately, it will prevent SLSBLRThunkInserter from unconditionally
generating about 1800 thunk functions corresponding to every possible
combination of operands passed to BLRAA or BLRAB instructions.

This particular commit does not affect the generated machine code and
consists of the following changes:
* document the existing behavior of ThunkInserter class
* introduce ThunkInserterPass template class to get rid of mostly
identical boilerplate code in ARM, AArch64 and X86 implementations
* move the InsertedThunks parameter from `mayUseThunk` to `insertThunks`
method


  Commit: 94a067a306fecceac913cc6d9bfdcd49464358ec
      https://github.com/llvm/llvm-project/commit/94a067a306fecceac913cc6d9bfdcd49464358ec
  Author: Walter Erquinigo <a20012251 at gmail.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Target/Language.h
    M lldb/source/Commands/CommandObjectBreakpoint.cpp
    M lldb/source/Plugins/Language/ObjC/ObjCLanguage.h

  Log Message:
  -----------
  [LLDB] Support exception breakpoints for plugin-provided languages (#97675)

CommandObjectBreakpoint has a harcoded list of languages for which
exception breakpoints can be enabled. I'm making this a bit more generic
so that my Mojo plugin can get this feature.
Basically, I'm adding a new overridable method
`Language::SupportsExceptionBreakpoints` that can be used by language
plugins to determine whether they support this feature or not. This
method is used in addition to the hardcoded list and, as an example, I'm
using it for the ObjC language support.

Another route is simply to avoid doing the check that it's being done
right now and simply try to the create the exception breakpoint for
whatever language that is not in the hardcoded list. I'm happy to do
that if the reviewers think it's a good idea.

As a note, the other possible place for adding this
`SupportsExceptionBreakpoints` method is in `LanguageRuntime`. However,
accessing it requires having a process, which is not always the case
when invoking the `breakpoint set -E` command. The process might not be
alive yet, so `Language` is a good second place for this.

And as a final note, I don't want to make this
`SupportsExceptionBreakpoints` complicated. I'm keeping it as simple as
possible because it can easily evolve as it's not part of the public
API.


  Commit: 361350fc89a7579b6e0b2f6da5740556369d0b97
      https://github.com/llvm/llvm-project/commit/361350fc89a7579b6e0b2f6da5740556369d0b97
  Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M bolt/include/bolt/Core/DebugNames.h
    M bolt/lib/Core/DebugNames.cpp
    M bolt/test/X86/dwarf5-df-types-debug-names.test

  Log Message:
  -----------
  [BOLT][DWARF] Deduplicate Foreign TU list (#97629)

There could be multiple TUs with the same hash in various DWO files. In
bigger binaries this could be in the thousands. Although they could be
structurally different and we need to output Entries for all of them,
for the purposes of figuring out a TU hash we only need one entry in
Foreign TU list.


  Commit: 817f0d9d3099a25ea83fcf633071ccaaeac09954
      https://github.com/llvm/llvm-project/commit/817f0d9d3099a25ea83fcf633071ccaaeac09954
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [Flang][OpenMP] NFC: Remove unused argument for omp.target lowering (#97564)

This patch removes the `outerCombined` argument from `genTargetOp()` and
the `processReduction` argument from `genTargetClauses()`, as they
aren't used.


  Commit: 5db6eac244bd42aaefd0caac3f824b2e60060f52
      https://github.com/llvm/llvm-project/commit/5db6eac244bd42aaefd0caac3f824b2e60060f52
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
    M llvm/test/CodeGen/X86/O0-pipeline.ll
    M llvm/test/CodeGen/X86/opt-pipeline.ll

  Log Message:
  -----------
  [X86] Avoid useless DomTree in flags copy lowering (#97628)

Currently, flags copy lowering does two expensive things:

- It traverses the CFG in RPO, and
- It requires a dominator tree that is not preserved.

Most notably, it is the only machine dominator tree user at -O0.

Many functions have no flag copies to begin with, therefore, add an
early exit if EFLAGS has no COPY def.

The legacy pass manager has no way to dynamically decide whether an
analysis is required. Therefore, if there's a copy, get the dominator
tree from the pass manager, if it has one, otherwise, compute it.

These changes should make the pass very cheap for the common case.


  Commit: f15266e9d5d87a291a515064f8f0dd5f0c412ed3
      https://github.com/llvm/llvm-project/commit/f15266e9d5d87a291a515064f8f0dd5f0c412ed3
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/MC/MCELFStreamer.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp

  Log Message:
  -----------
  [MC][ELF] Emit instructions directly into fragment (#94950)

Avoid needless copying of instructions and fixups and directly emit into
the fragment small vectors.

This (optionally, second commit) also removes the single use of the
MCCompactEncodedInstFragment to simplify code.


  Commit: 655651a023654a01bba317c0f2561542bb75bcec
      https://github.com/llvm/llvm-project/commit/655651a023654a01bba317c0f2561542bb75bcec
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M .github/workflows/libcxx-build-and-test.yaml
    M libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp
    R libcxx/trigger

  Log Message:
  -----------
  [libc++] Upgrade to GCC 14 (#97205)


  Commit: 8299bfaf299527c63f61f1bf9abffb88fad3eb38
      https://github.com/llvm/llvm-project/commit/8299bfaf299527c63f61f1bf9abffb88fad3eb38
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [VPlan] Extract reduction result insertion point to variable (NFCI).

Split off from https://github.com/llvm/llvm-project/pull/92651 as
suggested.


  Commit: 79d6f52c4f56fbada3e14fa924c370e27418222e
      https://github.com/llvm/llvm-project/commit/79d6f52c4f56fbada3e14fa924c370e27418222e
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/LazyValueInfo.h
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp

  Log Message:
  -----------
  [LVI] Use Constant instead of Tristate for predicate results

A lot of the users just end up converting it into a Constant
themselves. Doing this in the API leaves less room for error
with vector types, and brings getPredicateResult() closer to
LatticeValueElement::getCompare(), hopefully allowing us to
consolidate them.


  Commit: f4d058fdb1f456fdab9593eab4955a62b6bb8e70
      https://github.com/llvm/llvm-project/commit/f4d058fdb1f456fdab9593eab4955a62b6bb8e70
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/test/CodeGen/X86/shift-combine.ll

  Log Message:
  -----------
  [SelectionDAG] Ignore LegalTypes parameter in TargetLoweringBase::getShiftAmountTy. (#97645)

When this flag was false, `getShiftAmountTy` would return `PointerTy`
instead of the target's preferred shift amount type for scalar shifts.

This used to be needed when the target's preferred type wasn't large
enough to support the shift amount needed for an illegal type. For
example, any scalar type larger than i256 on X86 since X86's preferred
shift amount type is i8.

For a while now, we've had code that uses `MVT::i32` if `LegalTypes` is
true, but the target's preferred type is too small. This fixed a
repeated cause of crashes where the `LegalTypes` flag wasn't set to
false when illegal types could be present.

This has made it unnecessary to set the `LegalTypes` flag correctly, and
as a result more and more places don't. So I think its time for this
flag to go away.

This first patch just disconnects the flag. The interface and all
callers will be cleaned up in follow up patches.

The X86 test change is because we now have the same shift type for both
shifts in a (srl (sub C, (shl X, 32), 32) sequence. This makes the shift
amounts appear equal in value and type which is needed to enable a
combine.


  Commit: 34fe032fdb9315fe8da699126eb506ad6d2883ec
      https://github.com/llvm/llvm-project/commit/34fe032fdb9315fe8da699126eb506ad6d2883ec
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [DAGCombiner] Use getShiftAmountConstant where possible. (#97683)

In #97645, I proposed removing the LegalTypes operand to
TargetLowering::getShiftAmountTy. This means we don't need to use the
DAGCombiner wrapper for getShiftAmountTy that manages this flag. Now we
can use getShiftAmountConstant and let it call
TargetLowering::getShiftAmountTy.


  Commit: fbd1b6567ae41d64f1dbb6b32c7cf8a1b710b8d9
      https://github.com/llvm/llvm-project/commit/fbd1b6567ae41d64f1dbb6b32c7cf8a1b710b8d9
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp

  Log Message:
  -----------
  [lldb][DataFormatter][NFC] Move std::map iterator formatter into LibCxxMap.cpp (#97687)

The two formatters follow very similar techniques to retrieve data out
of the map. We're changing this for `std::map` in
https://github.com/llvm/llvm-project/pull/97579 and plan to change it in
the same way for the iterator formatter. Having them in the same place
will allow us to re-use some of the logic (and we won't have to repeat
some of the clarification comments).


  Commit: 687531fbed080b86c31144bf66c29f4a30e10e84
      https://github.com/llvm/llvm-project/commit/687531fbed080b86c31144bf66c29f4a30e10e84
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [DAG] PromoteIntRes_EXTRACT_SUBVECTOR - pull out repeated getOperand/getVectorElementType calls. NFC.


  Commit: bb6ab8b4f491cb1eaf6a88ca0b0bb283e3bd8bba
      https://github.com/llvm/llvm-project/commit/bb6ab8b4f491cb1eaf6a88ca0b0bb283e3bd8bba
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [TargetLowering] Update the description of getShiftAmountTy. NFC

After f4d058fdb1f456fdab9593eab4955a62b6bb8e70, the LegalTypes
argument is no longer used.


  Commit: 2307d270ccbf75dc72e8b4406bc0ec88781328f0
      https://github.com/llvm/llvm-project/commit/2307d270ccbf75dc72e8b4406bc0ec88781328f0
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M libc/test/src/__support/CMakeLists.txt

  Log Message:
  -----------
  [libc] fix float_comparison_test when an emulator is used to run the test (#97748)

This patch adds a missing ${CMAKE_CROSSCOMPILING_EMULATOR} to the call to libc_str_to_float_comparison_test so the test can run in an emulator, if required.

This is currently required for the rv32 buildbot, which runs in a qemu emulator.


  Commit: 8bb4294be71e10eca02e23aab4f17af905687c4a
      https://github.com/llvm/llvm-project/commit/8bb4294be71e10eca02e23aab4f17af905687c4a
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M libc/src/sched/linux/sched_rr_get_interval.cpp
    M libc/test/src/__support/time/linux/timeout_test.cpp

  Log Message:
  -----------
  [libc] Fix compilation warnings on 32-bit archs (#97745)

timespec's tv_nsec is a long int, which has different sizes in 32-bit and 64-bit platforms, so this patch adds one and fixes another static_cast throw warnings in 32-bit archs


  Commit: 0ccec541d526a1be84fdfcf8f42553965dadff78
      https://github.com/llvm/llvm-project/commit/0ccec541d526a1be84fdfcf8f42553965dadff78
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M libc/src/__support/FPUtil/generic/FMod.h
    M libc/src/__support/big_int.h
    M libc/test/src/math/smoke/CopySignTest.h

  Log Message:
  -----------
  [libc] Fix compilation when long double is used as float128 (#97747)

Small patch that fixes the compilation when float128 is a long double, e.g., rv32. It fixes a static_cast, adds a missing %= operator and changes a cast to use get_val() in a test case instead


  Commit: 834ecc8b2ad44859f5bcaac9f92178e469390a51
      https://github.com/llvm/llvm-project/commit/834ecc8b2ad44859f5bcaac9f92178e469390a51
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/AST/ast-dump-ctad-alias.cpp
    M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp

  Log Message:
  -----------
  [clang] CTAD alias: fix transformation for require-clause expr Part2. (#93533)

In the https://github.com/llvm/llvm-project/pull/90961 fix, we miss a
case where the undeduced template parameters of the underlying deduction
guide are not transformed, which leaves incorrect depth/index
information, and causes crashes when evaluating constraints.

This patch fix this missing case.

Fixes #92596
Fixes #92212


  Commit: 4f77677c3b383da99e46fdb29e7b8de63eb72447
      https://github.com/llvm/llvm-project/commit/4f77677c3b383da99e46fdb29e7b8de63eb72447
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M libc/src/__support/OSUtil/linux/fcntl.cpp
    M libc/test/src/sys/mman/linux/CMakeLists.txt
    M libc/test/src/sys/mman/linux/shm_test.cpp

  Log Message:
  -----------
  [libc] Implement fcntl when only SYS_fcntl64 is available (#97740)

This patch tries to implement fcntl with either SYS_fcntl or SYS_fcntl64, and also changes a test case to call the fcntl function instead of using the syscall


  Commit: d1dc4169838381688a74f245cdaedbe9fce13848
      https://github.com/llvm/llvm-project/commit/d1dc4169838381688a74f245cdaedbe9fce13848
  Author: Max Winkler <max.enrico.winkler at gmail.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/MicrosoftMangle.cpp
    A clang/test/CodeGenCXX/mangle-ms-auto-templates-memptrs.cpp
    A clang/test/CodeGenCXX/mangle-ms-auto-templates-nullptr.cpp
    M llvm/lib/Demangle/MicrosoftDemangle.cpp
    M llvm/test/Demangle/ms-auto-templates.test

  Log Message:
  -----------
  Fix MSVC 1920+ auto NTTP mangling for pointers to members (#97007)

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

This is a continuation of
https://github.com/llvm/llvm-project/pull/92477 for pointers to member
data and pointers to member functions.

The mangled name must be prefixed with `$M <mangled-type>` for the
deduced type of the nttp parameter.


  Commit: 093ddac68c6855b5c2d786a99475b793e35e2342
      https://github.com/llvm/llvm-project/commit/093ddac68c6855b5c2d786a99475b793e35e2342
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/src/tzdb.cpp
    M libcxx/test/libcxx/time/time.zone/time.zone.db/leap_seconds.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.db/leap_seconds.pass.cpp

  Log Message:
  -----------
  [libc++][chrono] Fixes leap seconds. (#90070)

While implementing the UTC clock it turns out that the implementation of
the leap seconds was not correct, it should store the individual value,
not the sum.

It also looks like LWG3359 has not been fully implemented.

Implements parts of:
- LWG3359 <chrono> leap second support should allow for negative leap
seconds


  Commit: d1c911ffe48eef23817d11c900dec30e0e3b5ae4
      https://github.com/llvm/llvm-project/commit/d1c911ffe48eef23817d11c900dec30e0e3b5ae4
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/CodeGen/attr-target-version.c
    M clang/test/CodeGenCXX/fmv-namespace.cpp
    M clang/test/Sema/attr-target-version.c

  Log Message:
  -----------
  [clang][FMV] Do not omit explicit default target_version attribute. (#96628)

Fixes a crash and cleans up some dead code.

namespace Foo {
int bar();
__attribute((target_version("default"))) int bar() { return 0; }
__attribute((target_version("mops"))) int bar() { return 1; }
}

$ clang++ --target=aarch64-linux-gnu --rtlib=compiler-rt fmv.cpp

None multiversion type isn't valid here
UNREACHABLE executed at clang/lib/CodeGen/CodeGenModule.cpp:1840! ...
getMangledNameImpl
clang::CodeGen::CodeGenModule::getMangledName
clang::CodeGen::CodeGenModule::EmitGlobal


  Commit: 8270485af12516c159c4a2c6533fa9b149bdc63a
      https://github.com/llvm/llvm-project/commit/8270485af12516c159c4a2c6533fa9b149bdc63a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/var-permute-128.ll
    M llvm/test/CodeGen/X86/var-permute-256.ll
    M llvm/test/CodeGen/X86/var-permute-512.ll

  Log Message:
  -----------
  [X86] var-permute-*.ll - check memory address math

Expose the memory addressing to simplify checking stack spill/restore manipulation codegen


  Commit: e975ff0a223e79842b693e0ec4d3cac87963869a
      https://github.com/llvm/llvm-project/commit/e975ff0a223e79842b693e0ec4d3cac87963869a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/test/CodeGen/X86/addr-mode-matcher-3.ll
    M llvm/test/CodeGen/X86/sttni.ll
    M llvm/test/CodeGen/X86/var-permute-128.ll

  Log Message:
  -----------
  [X86] matchAddressRecursively - don't fold zext(shl(x,c)) -> shl(zext(x),c)) if the pattern has multiple uses

Fixes #97533 crash where we hit a case where the root node had referenced the original zext node, which we then deleted - hopefully I can come up with a better solution, but the codegen changes don't look too bad atm (pulls out a shift from some complex LEA nodes that shared the scaled index).


  Commit: c1a5f1ea363560961f52a62335658b445c51b491
      https://github.com/llvm/llvm-project/commit/c1a5f1ea363560961f52a62335658b445c51b491
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [Support] Use range-based for loops (NFC) (#97657)


  Commit: b298e2d2d2251767a5ddcdef2310494d3b8da773
      https://github.com/llvm/llvm-project/commit/b298e2d2d2251767a5ddcdef2310494d3b8da773
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M lld/MinGW/Driver.cpp
    M lld/test/MinGW/driver.test

  Log Message:
  -----------
  [LLD] [MinGW] Reinstate the former spelling in the version message (#97698)

0f9fbbb63cfcd2069441aa2ebef622c9716f8dbb changed the version printouts.
This broke linker detection in Meson, when disambiguating between the
ld.lld and lld-link interfaces, in

https://github.com/mesonbuild/meson/blob/1.4.1/mesonbuild/linkers/detect.py#L67,
which checks for the string "(compatible with GNU linkers)" including
the parentheses.

Reinstate the parentheses in the printout here, for compatibility with
Meson. The printout looks a little odd in this form, "LLD 19.0.0
(https://github.com/llvm/llvm-project
173514d58ec4e6166670f1e37a038df3865c8b96) (compatible with GNU
linkers)", but works with Meson.

The Meson check is loosened in https://github.com/mesonbuild/meson/pull/13383,
but existing versions of Meson with the too strict check will be around
for quite some time, so we should only change LLD to the new form once
older versions of Meson aren't used for these targets any longer, i.e.
earliest within a few years.


  Commit: 3141c11fe8f5ebd8a8645b7977f2f1055a33bb33
      https://github.com/llvm/llvm-project/commit/3141c11fe8f5ebd8a8645b7977f2f1055a33bb33
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp

  Log Message:
  -----------
  [SelectionDAG] Remove LegalTypes argument from getShiftAmountTy. NFC (#97757)

This argument is no longer used inside the function. Remove it from the
interface.


  Commit: 7a9ef0f2688805d0e7ea22f91eb3608e8cab6fd4
      https://github.com/llvm/llvm-project/commit/7a9ef0f2688805d0e7ea22f91eb3608e8cab6fd4
  Author: Anchu Rajendran S <asudhaku at amd.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  Adding masked operation to OpenMP Dialect (#96022)

Adding MLIR Op support for omp masked. Omp masked is introduced in 5.2
standard and allows a region to be executed by threads
specified by a programmer. This is achieved with the help of filter
clause which helps to specify thread id expected to execute the region.


  Commit: 839ed1ba553346b0c225e9b839cf3cb716dc7412
      https://github.com/llvm/llvm-project/commit/839ed1ba553346b0c225e9b839cf3cb716dc7412
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M compiler-rt/include/profile/MemProfData.inc

  Log Message:
  -----------
  [MemProf][compiler-rt] Update MemProfData preprocessor directives

This Memprof preprocessor directives have diverged at some point. This
patch fixes that by copying an additional include from the LLVM side to
the compiler-rt side so the two files are identical again.


  Commit: 4762f3bab05768123e7fbf6a5408a2418c52e31c
      https://github.com/llvm/llvm-project/commit/4762f3bab05768123e7fbf6a5408a2418c52e31c
  Author: Elvis Wang <110374989+ElvisWang123 at users.noreply.github.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/rvv-intrinsics.ll
    M llvm/test/Transforms/VectorCombine/RISCV/vpintrin-scalarization.ll

  Log Message:
  -----------
  [RISCV][TTI] Add cost of type based binOp VP intrinsics with functionalOPC. (#93435)

Intrinsics not supported in the backend will fall Into BasicTTIImpl,
which will check if the VP intrinsic is a type based instruction.
All type based instruction will fall into the
`getTypeBasedIntrinsicInstrCost()` which doesn't support instruction
with scalable vector type.

This patch adds the instruction cost for type based binOp VP intrinsic
instructions in the backend to get the valid instruction costs.
The cost of type based binOp VP intrinsics will be same as their non-VP
counterpart.


  Commit: bfa762a5a59aa8bf64f589b36da24e427e8806c3
      https://github.com/llvm/llvm-project/commit/bfa762a5a59aa8bf64f589b36da24e427e8806c3
  Author: Bimo <rui.xu at intel.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
    M mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
    M mlir/test/python/dialects/linalg/opdsl/test_core_named_ops.py

  Log Message:
  -----------
  [MLIR][Python] fix class name of powf and negf in linalg (#97696)

The following logic can lead to a class name mismatch when using
`linalg.powf` in Python. This PR fixed the issue and also renamed
`NegfOp` to `NegFOp` in linalg to adhere to the naming convention, as
exemplified by `arith::NegFOp`.


https://github.com/llvm/llvm-project/blob/173514d58ec4e6166670f1e37a038df3865c8b96/mlir/python/mlir/dialects/linalg/opdsl/lang/dsl.py#L140-L143
```
# linalg.powf(arg0, arg1, outs=[init_result.result])
NotImplementedError: Unknown named op_name / op_class_name: powf / PowfOp
```


  Commit: 8419da8bd4f8c21c452051e57220d495df4af2a0
      https://github.com/llvm/llvm-project/commit/8419da8bd4f8c21c452051e57220d495df4af2a0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [SelectionDAG] Remove LegalTypes argument from getShiftAmountConstant. (#97653)

#97645 proposed to remove LegalTypes from getShiftAmountTy. This patches
removes it from getShiftAmountConstant which is one of the callers of
getShiftAmountTy.


  Commit: f737865be2a115955880bb398b4bf61145db26a5
      https://github.com/llvm/llvm-project/commit/f737865be2a115955880bb398b4bf61145db26a5
  Author: Alexandre Ganea <alex_toresh at yahoo.fr>
  Date:   2024-07-04 (Thu, 04 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:
  -----------
  Revert "[llvm-config] Quote and escape paths if necessary (#97305)"

This reverts commit e8c94149d3ca12d4d02fb8de89981c68ffa278f3.


  Commit: 33112cbf59d838d25a4bf2a8c539d1aceda191c7
      https://github.com/llvm/llvm-project/commit/33112cbf59d838d25a4bf2a8c539d1aceda191c7
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [DAGCombiner] Remove unnecessary assert from getShiftAmountTy wrapper. NFC

The same assert appears in the TargetLowering function.

Refine comment to describe as a convenience wrapper and leave it to
TargetLowering documentation to explain.


  Commit: ffc459de7540eaf9bdbcb7b7cc2376fd7e9e7f11
      https://github.com/llvm/llvm-project/commit/ffc459de7540eaf9bdbcb7b7cc2376fd7e9e7f11
  Author: Yunzezhu94 <93851382+Yunzezhu94 at users.noreply.github.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/fold-binop-into-select-return-constant.ll

  Log Message:
  -----------
  [RISCV] Add a check in lowerSELECT after foldBinOpIntoSelectIfProfitable (#97391)

In certain case foldBinOpIntoSelectIfProfitable may return a constant
node, the node will be lowered in lowerSELECT and lead to crash.
This patch fix the bug by adding an extra check before lowerSELECT that
do lowerSELECT as before when foldBinOpIntoSelectIfProfitable returns a
select node, and return the node directly when
foldBinOpIntoSelectIfProfitable returns a constant node.

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


  Commit: 9e211744b82a72e08c137f75b1c671713e2891af
      https://github.com/llvm/llvm-project/commit/9e211744b82a72e08c137f75b1c671713e2891af
  Author: Youngsuk Kim <youngsuk.kim at hpe.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M clang/lib/InstallAPI/DiagnosticBuilderWrappers.cpp
    M clang/unittests/Frontend/CompilerInstanceTest.cpp
    M clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp
    M clang/utils/TableGen/ClangAttrEmitter.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 item to remove `raw_string_ostream::str()`.


  Commit: 23aff11e9c345fb0ba501a1751997baae15f3b52
      https://github.com/llvm/llvm-project/commit/23aff11e9c345fb0ba501a1751997baae15f3b52
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/convert-highly-predictable-select-to-branch.ll

  Log Message:
  -----------
  [RISCV] Add FeaturePredictableSelectIsExpensive

This information is used in CGP/SelectOpt to decide when to convert
selects into branches.

Reviewers: dtcxzyw, mgudim, asb, preames, topperc, lukel97

Reviewed By: dtcxzyw, topperc, lukel97

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


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir
    M llvm/test/Transforms/LoopStrengthReduce/RISCV/lsr-drop-solution.ll

  Log Message:
  -----------
  [RISCV] Don't forward AVL in VSETVLIInfo if it would clobber other definitions (#97264)

This fixes a crash found when compiling OpenBLAS with -mllvm
-verify-machineinstrs.

When we "forward" the AVL from the output of a vsetvli, we might have to
extend the LiveInterval of the AVL to where insert the new vsetvli.

Most of the time we are able to extend the LiveInterval because there's
only one val num (definition) for the register. But PHI elimination can
assign multiple values to the same register, in which case we end up
clobbering a different val num when extending:

    %x = PseudoVSETVLI %avl, ...
    %avl = ADDI ...
    %v = PseudoVADD ..., avl=%x
    ; %avl is forwarded to PseudoVADD:
    %x = PseudoVSETVLI %avl, ...
    %avl = ADDI ...
    %v = PseudoVADD ..., avl=%avl

Here there's no way to extend the %avl from the vsetvli since %avl is
redefined, i.e. we have two val nums.

This fixes it by only forwarding it when we have exactly one val num,
where it should be safe to extend it.


  Commit: c7ee20433c43e45658031a340e221097a32a469f
      https://github.com/llvm/llvm-project/commit/c7ee20433c43e45658031a340e221097a32a469f
  Author: Sushant Gokhale <sgokhale at nvidia.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/test/OpenMP/declare_mapper_codegen.cpp
    M clang/test/OpenMP/target_enter_data_codegen.cpp
    M clang/test/OpenMP/target_exit_data_codegen.cpp
    M clang/test/OpenMP/target_update_codegen.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/test/Transforms/OpenMP/add_attributes.ll

  Log Message:
  -----------
  [OpenMP] Fix stack corruption due to argument mismatch (#96386)

While lowering (#pragma omp target update from), clang's generated
.omp_task_entry. is setting up 9 arguments while calling
__tgt_target_data_update_nowait_mapper.

At the same time, in __tgt_target_data_update_nowait_mapper, call to
targetData<TaskAsyncInfoWrapperTy>() is converted to a sibcall assuming
it has the argument count listed in the signature.

AARCH64 asm sequence for this is as follows (removed unrelated insns):

`
.omp_task_entry..108:
  sub   sp, sp, #32
  stp   x29, x30, sp, #16       // 16-byte Folded Spill
  add   x29, sp, #16
  str   x8, sp, #8. // stack canary
  str   xzr, [sp]
  bl   __tgt_target_data_update_nowait_mapper

__tgt_target_data_update_nowait_mapper:
  sub   sp, sp, #32
  stp   x29, x30, sp, #16       // 16-byte Folded Spill
  add   x29, sp, #16
  str   x8, sp, #8 // stack canary
  // Sibcall argument setup
adrp x8,
:got:_Z16targetDataUpdateP7ident_tR8DeviceTyiPPvS4_PlS5_S4_S4_R11AsyncInfoTyb
ldr x8, [x8,
:got_lo12:_Z16targetDataUpdateP7ident_tR8DeviceTyiPPvS4_PlS5_S4_S4_R11AsyncInfoTyb]
  stp   x9, x8, x29, #16
  adrp  x8, .L.str.8
  add   x8, x8, :lo12:.L.str.8
  str   x8, x29, #32. <==. This is the insn that erases $fp

  ldp   x29, x30, sp, #16       // 16-byte Folded Reload
  add   sp, sp, #32
  // Sibcall
b
ZL10targetDataI22TaskAsyncInfoWrapperTyEvP7ident_tliPPvS4_PlS5_S4_S4_PFiS2_R8DeviceTyiS4_S4_S5_S5_S4_S4_R11AsyncInfoTybEPKcSD
`

On AArch64, call to __tgt_target_data_update_nowait_mapper in
.omp_task_entry. sets up only single space on stack and this results in
ovewriting $fp and subsequent stack corruption. This issue can be
credited to discrepancy of __tgt_target_data_update_nowait_mapper
signature in openmp/libomptarget/include/omptarget.h taking 13 arguments
while clang/lib/CodeGen/CGOpenMPRuntime.cpp and
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def taking only 9 arguments.

This patch modifies __tgt_target_data_update_nowait_mapper signature to
match .omp_task_entry usage(and other 2 files mentioned above).

Co-authored-by: Kugan Vivekanandarajah <kvivekananda at nvidia.com>


  Commit: 5ce141f7af7ba6a42dac41562fb06160a7863b59
      https://github.com/llvm/llvm-project/commit/5ce141f7af7ba6a42dac41562fb06160a7863b59
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/test/tools/llvm-symbolizer/get-input-file.test
    M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp

  Log Message:
  -----------
  [symbolizer] Empty string is not an error (#97781)

This is recommit of llvm/llvm-project#92660, reverted in
llvm/llvm-project#94424.
Original commit message is below.

After commit
https://github.com/llvm/llvm-project/commit/1792852f86dc75efa1f44d46b1a0daf386d64afa
([symbolizer] Change reaction on invalid input) llvm-symbolizer issues
an error on malformed command instead of echoing it to the standard
output, as in previous versions. It turns out this behavior broke a use
case when echoing was used to check if llvm-symbolizer is working
(https://github.com/llvm/llvm-project/commit/1792852f86dc75efa1f44d46b1a0daf386d64afa#commitcomment-142161925).

With this change an empty line as input is not considered as an error
anymore and does not produce any output on stderr. llvm-symbolizer still
respond on empty line with line not found, this is consistent with GNU
addr2line.


  Commit: a3ba6a7f972dee85cc073bb4c98bd074e9c276d6
      https://github.com/llvm/llvm-project/commit/a3ba6a7f972dee85cc073bb4c98bd074e9c276d6
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

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

  Log Message:
  -----------
  [MC,MachO] Simplify IndirectSybols


  Commit: d2dd4b55e67e333d9253abeeacac5d3de1a094db
      https://github.com/llvm/llvm-project/commit/d2dd4b55e67e333d9253abeeacac5d3de1a094db
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    A libcxx/test/libcxx/feature_test_macro/implemented_ftms.sh.py
    A libcxx/test/libcxx/feature_test_macro/invalid.sh.py
    A libcxx/test/libcxx/feature_test_macro/standard_ftms.sh.py
    A libcxx/test/libcxx/feature_test_macro/std_dialects.sh.py
    A libcxx/test/libcxx/feature_test_macro/test_data.json
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++] Adds a new feature-test macro generator class. (#90889)

The new feature-test macro generator uses a JSON file as input.
Separating the
code from the data allows for testing the code. The generator has
several tests.

This JSON format is based on the new format proposed in #88630

At the moment the FTM script has the existing code and an unused new
generator. Followup patches will complete the generator and convert the
existing
Python `dict` to the new JSON format. Since that conversion is a manual
job and
quite a bit of work the transition path has some unused code for some
time.


  Commit: 1d4d92d1cc98f22259aded4c3f29c67e7686ee30
      https://github.com/llvm/llvm-project/commit/1d4d92d1cc98f22259aded4c3f29c67e7686ee30
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCMachOStreamer.cpp
    M llvm/lib/MC/MachObjectWriter.cpp

  Log Message:
  -----------
  [MC] Move MCAssembler::IndirectSymbols to MachObjectWriter


  Commit: 7c4dbad550cfed8c501fb82ad0883542ac989b35
      https://github.com/llvm/llvm-project/commit/7c4dbad550cfed8c501fb82ad0883542ac989b35
  Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
    A llvm/test/Transforms/SimplifyCFG/preserving-debugloc-br.ll

  Log Message:
  -----------
  [DebugInfo][SimplifyCFGPass] Fix the missing debug location update for the new br instruction (#97389)

Fix #97388 .


  Commit: 093aaca2b0ad23ded5dcb45e8f837ffb7b21ffb3
      https://github.com/llvm/llvm-project/commit/093aaca2b0ad23ded5dcb45e8f837ffb7b21ffb3
  Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    A clang/docs/analyzer/images/analyzer_html.png
    A clang/docs/analyzer/images/analyzer_xcode.png
    A clang/docs/analyzer/images/scan_build_cmd.png
    M clang/docs/analyzer/user-docs.rst
    A clang/docs/analyzer/user-docs/CommandLineUsage.rst
    A clang/docs/analyzer/user-docs/FilingBugs.rst
    A clang/docs/analyzer/user-docs/Installation.rst
    A clang/docs/analyzer/user-docs/UsingWithXCode.rst
    M clang/www/analyzer/codechecker.html
    M clang/www/analyzer/command-line.html
    M clang/www/analyzer/filing_bugs.html
    M clang/www/analyzer/index.html
    M clang/www/analyzer/installation.html
    R clang/www/analyzer/latest_checker.html.incl
    M clang/www/analyzer/scan-build.html
    M clang/www/analyzer/xcode.html

  Log Message:
  -----------
   [clang][analyzer][doc] Migrate user-related docs from HTML to RST (#97034)



User documentation currently found at https://clang-analyzer.llvm.org is migrated to RST format.

This commit migrates all the relevant content, including suspicious or even clearly outdated parts. These issues will be cleaned up in separate follow-up commits (where the diff is not obscured by the format change). However, a few typos are fixed, and some parts (availability of binary releases, integration with XCode) are marked (with [Legacy] tags) to highlight that they are outdated.

The primary motivation for this change is to update the facts in the docs and make them discoverable from the RST-generated doc-tree as well (many subpages are not accessible at all, as the menu generation for the HTML-based page is not working at all).


This commit migrates all the relevant content, including parts that are
suspicious or even clearly outdated. These issues will be cleaned up in
separate follow-up commits (where the diff is not obscured by the format
change). However, a few typos are fixed and some parts (availability of
binary releases, integration with XCode) are marked (with [Legacy] tags)
to highlight that they are outdated.

The primary motivation for this change is to update the facts in the
docs and make them discoverable from the RST-generated doc-tree as well
(many subpages are not accessible **at all**, as the menu generation for
the HTML based page is not working at all).


  Commit: 009082aa4b20462d46c885d5abc9320a887f1932
      https://github.com/llvm/llvm-project/commit/009082aa4b20462d46c885d5abc9320a887f1932
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCMachOStreamer.cpp
    M llvm/lib/MC/MachObjectWriter.cpp

  Log Message:
  -----------
  [MC] Move MCAssembler::DataRegions to MachObjectWriter

and make some cleanup.


  Commit: 74984dee51307779a3eab10a8cd6102be37e1081
      https://github.com/llvm/llvm-project/commit/74984dee51307779a3eab10a8cd6102be37e1081
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/X86/apx/cf.ll

  Log Message:
  -----------
  [X86][CodeGen] Convert masked.load/store to CLOAD/CSTORE node only when vector size = 1

This fixes the crash when building llvm-test-suite with avx512f + cf.


  Commit: c60b9307d003517ba8813eebc20d4a01fcbbda5c
      https://github.com/llvm/llvm-project/commit/c60b9307d003517ba8813eebc20d4a01fcbbda5c
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/X86/apx/cf.ll

  Log Message:
  -----------
  Revert "[X86][CodeGen] Convert masked.load/store to CLOAD/CSTORE node only when vector size = 1"

This reverts commit 74984dee51307779a3eab10a8cd6102be37e1081.

It caused AArch64 test sve-nontemporal-masked-ldst.ll to fail.


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

  Changed paths:
    M llvm/tools/llvm-cov/CodeCoverage.cpp
    M llvm/tools/llvm-cov/SourceCoverageView.cpp
    M llvm/tools/llvm-cov/SourceCoverageView.h

  Log Message:
  -----------
  [llvm-cov] Remove View member from MCDCView and BranchView (#97734)

These were never actually used, and the way they were constructed
doesn't really make sense.

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


  Commit: 8101cbff77aca47ee3c7de8e43d0546057ff2ee6
      https://github.com/llvm/llvm-project/commit/8101cbff77aca47ee3c7de8e43d0546057ff2ee6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M openmp/libompd/src/TargetValue.h

  Log Message:
  -----------
  [ompd] Fix strict aliasing violation in TargetValue::getValue() (#97739)

For the case where baseTypeSize does not match the size of T, read the
value into a separate char buffer first. This avoids accessing buf using
two different types.

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


  Commit: d6df01870a24cc707c724849b346111959413363
      https://github.com/llvm/llvm-project/commit/d6df01870a24cc707c724849b346111959413363
  Author: Finlay <finlay.marno at codeplay.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Dialect/LLVMIR/func.mlir
    M mlir/test/Target/LLVMIR/Import/function-attributes.ll
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [MLIR] Add the convergent attribute to LLVM Dialect (#97709)

In order to use the convergent attribute in the GPUToLLVMSPV pass, I've
added the attribute to the LLVM dialect.
Some details on the convergent attribute
https://llvm.org/docs/ConvergentOperations.html#convergent-operations


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

  Changed paths:
    M openmp/libompd/test/CMakeLists.txt

  Log Message:
  -----------
  [openmp] Add ompdModule dependency to check-ompd (#97736)

ompdModule is required by the gdb plugin. Ran into this when trying to
run check-ompd without explicitly building openmp first.


  Commit: 27bb2a36401b89fdce68e0e427493d645c42a218
      https://github.com/llvm/llvm-project/commit/27bb2a36401b89fdce68e0e427493d645c42a218
  Author: Nikhil Kalra <1368497+nikalra at users.noreply.github.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Pass/PassOptions.h
    M mlir/lib/Pass/PassRegistry.cpp
    M mlir/test/Pass/pipeline-options-parsing.mlir

  Log Message:
  -----------
  [mlir][Pass] Handle escaped pipline option values (#97667)

The PassRegistry parser properly handles escape tokens (', ", {}) when
parsing pass options from string but then does not strip the escape
tokens when providing the values back to the caller.

This change updates the parser such that escape tokens are properly
removed and whitespace is trimmed when extracting option values.


  Commit: a48305e0f9753bc24d9db93b2b0b5a91f10e83dc
      https://github.com/llvm/llvm-project/commit/a48305e0f9753bc24d9db93b2b0b5a91f10e83dc
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/CodeGen/X86/apx/cf.ll

  Log Message:
  -----------
  [X86][CodeGen] Convert masked.load/store to CLOAD/CSTORE node only when vector size = 1

This fixes the crash when building llvm-test-suite with avx512f + cf.


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

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

  Log Message:
  -----------
  [Mem2Reg] Always allow single-store optimization for dominating stores

In #97711 the single-store optimization was disabled for the case
where the value is potentially poison, as this may produce incorrect
results for loads of uninitialized memory.

However, this resulted in compile-time regressions. Address these
by still allowing the single-store optimization to occur in cases
where the store dominates the load, as we know that such a load
will always read initialized memory.


  Commit: b3fa2a691ff7d5a85bc31fb428cd58d68bfecd10
      https://github.com/llvm/llvm-project/commit/b3fa2a691ff7d5a85bc31fb428cd58d68bfecd10
  Author: Kelvin Lee <kiyolee at gmail.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.h

  Log Message:
  -----------
  [lldb][FreeBSD] Fix NativeRegisterContextFreeBSD_x86_64() declaration (#97796)

Supposingly this is a typo.


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    A llvm/test/CodeGen/RISCV/rvv/known-never-zero.ll

  Log Message:
  -----------
  [SelectionDAG] Handle VSCALE in isKnownNeverZero (#97789)

VSCALE is by definition greater than zero, but this checks it via
getVScaleRange anyway.

The motivation for this is to be able to check if the EVL for a VP
strided load is non-zero in #97394.

I added the tests to the RISC-V backend since the existing X86
known-never-zero.ll test crashed when trying to lower vscale for the
+sse2 RUN line.


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/PhaseOrdering/X86/blendv-select.ll

  Log Message:
  -----------
  [VectorCombine] foldShuffleToIdentity - handle bitcasts with equal element counts (#97731)

Basic initial patch for #96884 that just handles case where we bitcast between float/integers of the same element width


  Commit: 99d6c6d936573d209f29c3cc6749eaf59912bd2a
      https://github.com/llvm/llvm-project/commit/99d6c6d936573d209f29c3cc6749eaf59912bd2a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/first-order-recurrence-fold-tail.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/fixed-order-recurrence.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/interleaving-reduction.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/masked-call.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/pr73894.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-reduction-inloop-cond.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/streaming-compatible-sve-no-maximize-bandwidth.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect-inloop-reductions.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect-reductions.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect-strict-reductions.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-select-cmp.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-option.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-reductions.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/synthesize-mask-for-call.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/widen-call-with-intrinsic-or-libfunc.ll
    M llvm/test/Transforms/LoopVectorize/ARM/mve-reduction-predselect.ll
    M llvm/test/Transforms/LoopVectorize/ARM/mve-reduction-types.ll
    M llvm/test/Transforms/LoopVectorize/ARM/mve-selectandorcost.ll
    M llvm/test/Transforms/LoopVectorize/ARM/sphinx.ll
    M llvm/test/Transforms/LoopVectorize/ARM/tail-fold-multiple-icmps.ll
    M llvm/test/Transforms/LoopVectorize/ARM/tail-folding-not-allowed.ll
    M llvm/test/Transforms/LoopVectorize/PowerPC/exit-branch-cost.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/defaults.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/first-order-recurrence-scalable-vf1.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/inloop-reduction.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/ordered-reduction.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/scalable-basics.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/scalable-tailfold.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/select-cmp-reduction.ll
    M llvm/test/Transforms/LoopVectorize/SystemZ/predicated-first-order-recurrence.ll
    M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
    M llvm/test/Transforms/LoopVectorize/X86/fixed-order-recurrence.ll
    M llvm/test/Transforms/LoopVectorize/X86/imprecise-through-phis.ll
    M llvm/test/Transforms/LoopVectorize/X86/induction-costs.ll
    M llvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
    M llvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
    M llvm/test/Transforms/LoopVectorize/X86/pr72969.ll
    M llvm/test/Transforms/LoopVectorize/X86/reduction-fastmath.ll
    M llvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll
    M llvm/test/Transforms/LoopVectorize/X86/tail_loop_folding.ll
    M llvm/test/Transforms/LoopVectorize/X86/uniform_mem_op.ll
    M llvm/test/Transforms/LoopVectorize/X86/x86-predication.ll
    M llvm/test/Transforms/LoopVectorize/branch-weights.ll
    M llvm/test/Transforms/LoopVectorize/dead_instructions.ll
    M llvm/test/Transforms/LoopVectorize/epilog-vectorization-any-of-reductions.ll
    M llvm/test/Transforms/LoopVectorize/epilog-vectorization-reductions.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains-vplan.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-multiply-recurrences.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
    M llvm/test/Transforms/LoopVectorize/fix-reduction-dbg.ll
    M llvm/test/Transforms/LoopVectorize/float-minmax-instruction-flag.ll
    M llvm/test/Transforms/LoopVectorize/if-pred-non-void.ll
    M llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
    M llvm/test/Transforms/LoopVectorize/induction.ll
    M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
    M llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
    M llvm/test/Transforms/LoopVectorize/invariant-store-vectorization-2.ll
    M llvm/test/Transforms/LoopVectorize/invariant-store-vectorization.ll
    M llvm/test/Transforms/LoopVectorize/load-deref-pred-align.ll
    M llvm/test/Transforms/LoopVectorize/loop-form.ll
    M llvm/test/Transforms/LoopVectorize/pr51614-fold-tail-by-masking.ll
    M llvm/test/Transforms/LoopVectorize/pr55167-fold-tail-live-out.ll
    M llvm/test/Transforms/LoopVectorize/pr59319-loop-access-info-invalidation.ll
    M llvm/test/Transforms/LoopVectorize/reduction-align.ll
    M llvm/test/Transforms/LoopVectorize/reduction-inloop-cond.ll
    M llvm/test/Transforms/LoopVectorize/reduction-odd-interleave-counts.ll
    M llvm/test/Transforms/LoopVectorize/reduction-small-size.ll
    M llvm/test/Transforms/LoopVectorize/reduction.ll
    M llvm/test/Transforms/LoopVectorize/scalable-reduction-inloop.ll
    M llvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
    M llvm/test/Transforms/LoopVectorize/select-cmp.ll
    M llvm/test/Transforms/LoopVectorize/select-reduction-start-value-may-be-undef-or-poison.ll
    M llvm/test/Transforms/LoopVectorize/select-reduction.ll
    M llvm/test/Transforms/LoopVectorize/store-reduction-results-in-tail-folded-loop.ll
    M llvm/test/Transforms/LoopVectorize/strict-fadd-interleave-only.ll
    M llvm/test/Transforms/LoopVectorize/trunc-reductions.ll
    M llvm/test/Transforms/LoopVectorize/vplan-iv-transforms.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing-outer-loop.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge-vf1.ll
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
    M llvm/test/Transforms/PhaseOrdering/AArch64/hoist-runtime-checks.ll
    M llvm/test/Transforms/PhaseOrdering/X86/hoist-load-of-baseptr.ll
    M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
    M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h

  Log Message:
  -----------
  [VPlan] Model branch cond to enter scalar epilogue in VPlan. (#92651)

This patch moves branch condition creation to enter the scalar epilogue
loop to VPlan. Modeling the branch in the middle block also requires
modeling the successor blocks. This is done using the recently
introduced VPIRBasicBlock.

Note that the middle.block is still created as part of the skeleton and
then patched in during VPlan execution. Unfortunately the skeleton needs
to create the middle.block early on, as it is also used for induction
resume value creation and is also needed to properly update the
dominator tree during skeleton creation.

After this patch lands, I plan to move induction resume value and phi
node creation in the scalar preheader to VPlan. Once that is done, we
should be able to create the middle.block in VPlan directly.

This is a re-worked version based on the earlier
https://reviews.llvm.org/D150398 and the main change is the use of
VPIRBasicBlock.

Depends on https://github.com/llvm/llvm-project/pull/92525

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


  Commit: 2d0c4c363b4b39014b469c30234cf06894e06d6a
      https://github.com/llvm/llvm-project/commit/2d0c4c363b4b39014b469c30234cf06894e06d6a
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [Flang][OpenMP] Remove unused OpWithBodyGenInfo attributes (#97572)

This patch removes the `outerCombined`, `reductionSymbols` and
`reductionTypes` attributes from the `OpWithBodyGenInfo` structure and
their uses, as they never impact the lowering process or its output.

The `outerCombined` variable is always set to `false`, so in practice it
doesn't represent what its name indicates. Furthermore, initializing it
correctly can result in privatization not being performed in cases where
it should (at least tests doing this together with composite construct
support pointed me in that direction). It seems to be tied to the early
privatization approach, where a redundant alloca could possibly be
avoided in certain cases. With the transition to delayed privatization,
it seems like it won't serve that purpose anymore, since the decision of
what and where privatization-related allocations are inserted will be
postponed to the MLIR to LLVM IR translation stage. Since this feature
is already currently not being used, its potential benefit appears to be
minor and it won't make sense to do once the delayed privatization
approach is rolled out, I propose removing it.

The `reductionSymbols` and `reductionTypes` variables are set in certain
cases but never used. Unless there's a plan where these will be needed,
in which case it would be a better alternative to document it, I believe
we should also remove them.


  Commit: 5aacf93a8968b1ae83382ed0ce6de8279b0cd753
      https://github.com/llvm/llvm-project/commit/5aacf93a8968b1ae83382ed0ce6de8279b0cd753
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M libcxx/include/cmath
    M libcxx/include/complex
    M libcxx/src/CMakeLists.txt
    A libcxx/src/support/win32/compiler_rt_shims.cpp
    M libcxx/test/std/numerics/complex.number/complex.member.ops/divide_equal_complex.pass.cpp
    M libcxx/test/std/numerics/complex.number/complex.ops/complex_divide_complex.pass.cpp
    M libcxx/test/std/numerics/complex.number/complex.ops/complex_times_complex.pass.cpp
    M libcxx/test/std/numerics/complex.number/complex.ops/scalar_divide_complex.pass.cpp
    A libcxx/test/support/floating_pointer_helpers.h

  Log Message:
  -----------
  [libc++] Use _Complex for multiplication and division of complex floating point types (#83575)

This significantly simplifies the implementation and improves the
codegen. The only downside is that the accuracy can be marginally worse,
but that is up to the compiler to decide with this change, which means
it can be controlled by compiler flags.

Differential Revision: https://reviews.llvm.org/D155312


  Commit: fbd736062e043d34cddd6031b4ee93954d4bf199
      https://github.com/llvm/llvm-project/commit/fbd736062e043d34cddd6031b4ee93954d4bf199
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp] Short-cirtuit Move/Copy constructors if we can


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

  Changed paths:
    M llvm/test/CodeGen/X86/is_fpclass-fp80.ll

  Log Message:
  -----------
  [X86] is_fpclass-fp80.ll - regenerate with standard X86/X64 prefixes

Add nounwind to reduce cfi noise


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

  Changed paths:
    M llvm/test/CodeGen/X86/zero-remat.ll

  Log Message:
  -----------
  [X86] zero-remat.ll - regenerate with standard X86/X64 prefixes


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

  Changed paths:
    M llvm/test/CodeGen/X86/fp-strict-scalar-cmp-fp16.ll

  Log Message:
  -----------
  [X86] fp-strict-scalar-cmp-fp16.ll - regenerate with standard X86/X64 prefixes


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

  Changed paths:
    M llvm/test/CodeGen/X86/csr-split.ll

  Log Message:
  -----------
  [X86] csr-split.ll - regenerate with standard X86/X64 prefixes


  Commit: 720b958953d1dd34c8e3a52588ab26c52edfc2a6
      https://github.com/llvm/llvm-project/commit/720b958953d1dd34c8e3a52588ab26c52edfc2a6
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [Flang][OpenMP] NFC: Share DataSharingProcessor creation logic for all loop directives (#97565)

This patch moves the logic associated with the creation of a
`DataSharingProcessor` instance for loop-associated OpenMP leaf
constructs to the `genOMPDispatch` function, avoiding code duplication
for standalone and composite loop constructs.

This also prevents privatization-related allocations to be later made
inside of loop wrappers when support for composite constructs is
implemented.


  Commit: 6fbd26b147ab93da4d0689ea2f6ff73cc9859cb8
      https://github.com/llvm/llvm-project/commit/6fbd26b147ab93da4d0689ea2f6ff73cc9859cb8
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp] Add QualType parameter to Pointer::toRValue

This fixes the crash from #97302, but exposes an underlying problem.


  Commit: cc53b953acebfe47504bfd1af1f71b5906a974bf
      https://github.com/llvm/llvm-project/commit/cc53b953acebfe47504bfd1af1f71b5906a974bf
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64.h
    M llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/test/CodeGen/AArch64/O0-pipeline.ll
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    M llvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll
    M llvm/test/CodeGen/AArch64/speculation-hardening-sls-blr-bti.mir
    M llvm/test/CodeGen/AArch64/speculation-hardening-sls-blr.mir

  Log Message:
  -----------
  [AArch64] When hardening against SLS, only create called thunks  (#97472)

In preparation for implementing hardening of BLRA* instructions,
restrict thunk function generation to only the thunks being actually
called from any function. As described in the existing comments,
emitting all possible thunks for BLRAA and BLRAB instructions would mean
adding about 1800 functions in total, most of which are likely not to be
called.

This commit merges AArch64SLSHardening class into SLSBLRThunkInserter,
so thunks can be created as needed while rewriting a machine function.
The usages of TII, TRI and ST fields of AArch64SLSHardening class are
replaced with requesting them in-place, as ThunkInserter assumes
multiple "entry points" in contrast to the only runOnMachineFunction
method of AArch64SLSHardening.

The runOnMachineFunction method essentially replaces pre-existing
insertThunks implementation as there is no more need to insert all
possible thunks unconditionally. Instead, thunks are created on first
use from inside of insertThunks method.


  Commit: f926e19aa9c0bdca3f05322e1b62562a9a3a05e2
      https://github.com/llvm/llvm-project/commit/f926e19aa9c0bdca3f05322e1b62562a9a3a05e2
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/lib/AST/Interp/Compiler.h
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/Pointer.h
    M clang/test/AST/Interp/records.cpp

  Log Message:
  -----------
  Reapply "[clang][Interp] Fix init chain in local initializers"

This reverts commit 2dda8a2650927e4b0fbb459507684455e196d9a9.


  Commit: 8ec9840610262b62a7dbb7dcf7056f4b97fd5ca9
      https://github.com/llvm/llvm-project/commit/8ec9840610262b62a7dbb7dcf7056f4b97fd5ca9
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [CodeGen] Add dump() to MachineTraceMetrics.h

To enhance debugging.

Reviewers: arsenm, goldsteinn, RKSimon, dtcxzyw, asi-sc

Reviewed By: dtcxzyw, RKSimon

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


  Commit: eedc2c8cb25130b7177170a82288dec8cb83e301
      https://github.com/llvm/llvm-project/commit/eedc2c8cb25130b7177170a82288dec8cb83e301
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [LV] Remove now obsolete DT updates of scalar exit block.

Remove manual DT updates of scalar exit blocks during legacy skeleton
creation, as they are not needed after 99d6c6d9365.

This fixes DT verification failures with expensive checks, including
https://lab.llvm.org/buildbot/#/builders/16/builds/1270.


  Commit: b52c512ff033e2876f1f4b5a4da8c27a9f1bbd87
      https://github.com/llvm/llvm-project/commit/b52c512ff033e2876f1f4b5a4da8c27a9f1bbd87
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp

  Log Message:
  -----------
  [MLIR][OpenMP] Remove OpenMPDialectFoldInterface (#97577)

The `OpenMPDialectFoldInterface` was originally introduced to prevent
constants from being hoisted out of `omp.target` regions. This hasn't
been necessary since the `IsolatedFromAbove` trait was added to that
operation, so it's safe to remove this interface.


  Commit: 5d7911095931d4894e63fa3379a598384f2eb029
      https://github.com/llvm/llvm-project/commit/5d7911095931d4894e63fa3379a598384f2eb029
  Author: YAMAMOTO Takashi <yamamoto at midokura.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/test/Other/new-pm-defaults.ll
    A llvm/test/Transforms/PhaseOrdering/X86/merge-functions2.ll
    A llvm/test/Transforms/PhaseOrdering/X86/merge-functions3.ll

  Log Message:
  -----------
  [Pipelines] Perform mergefunc after constmerge (#92498)

Constmerge can fold switch jump tables, possibly making functions
identical again. It can help mergefunc.
On the other hand, the opposite seems unlikely.

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


  Commit: 2f0700a84311d1a8b0fc12499fe9480ccbd188e9
      https://github.com/llvm/llvm-project/commit/2f0700a84311d1a8b0fc12499fe9480ccbd188e9
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp] Add a missing template keyword

This broke a buildbot:
https://lab.llvm.org/buildbot/#/builders/190/builds/1326


  Commit: 959ff45bdad1777598c89b662fc98653a19eb8a3
      https://github.com/llvm/llvm-project/commit/959ff45bdad1777598c89b662fc98653a19eb8a3
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/SystemZ/zero_unroll.ll

  Log Message:
  -----------
  [LV] Regenerate test checks for zero_unroll.ll (NFC).

Regenerate test checks to better show impact of
https://github.com/llvm/llvm-project/pull/96622.


  Commit: d6e5b1421e368161f6e4c6db577fcc68d5c8f3a2
      https://github.com/llvm/llvm-project/commit/d6e5b1421e368161f6e4c6db577fcc68d5c8f3a2
  Author: Nabeel Omer <nabeel.omer at sony.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/tools/opt/optdriver.cpp

  Log Message:
  -----------
  [NFC][opt] Improve help message (#97805)

This patch changes all single quotes in the help text to double quotes
for the sake of cross platform correctness.

The single quotes previously used in the help message are correct for
bash and most other shells but aren't correct for the Windows command
prompt as it only interprets double quotes in the manner intended in the
help message.

This patch was prompted by the fact that if you aren't aware of the
aformentioned quirk the single quotes result in very confusing error
messages from the command prompt.


  Commit: 00c622e596f918d9d83674b58097c8982ae1af95
      https://github.com/llvm/llvm-project/commit/00c622e596f918d9d83674b58097c8982ae1af95
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp][Test] Add test for #97302

Fixes #97302


  Commit: db7db687a6b72f79ecd165603e805c4292ddfd6d
      https://github.com/llvm/llvm-project/commit/db7db687a6b72f79ecd165603e805c4292ddfd6d
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [libc++] Use __is_array if the builtin is fixed (#93037)


  Commit: ccc0b66d6971b64175b4e99c6d5baaa2830c4208
      https://github.com/llvm/llvm-project/commit/ccc0b66d6971b64175b4e99c6d5baaa2830c4208
  Author: Youngsuk Kim <youngsuk.kim at hpe.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/lib/AST/JSONNodeDumper.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
    M clang/lib/Sema/SemaCodeComplete.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 item to remove `raw_string_ostream::str()`.

p.s. also remove some unneeded/dead code.


  Commit: e2cee2c1e6ee87f3e1ca8197d822919e24494a22
      https://github.com/llvm/llvm-project/commit/e2cee2c1e6ee87f3e1ca8197d822919e24494a22
  Author: Ádám Kallai <kadam at inf.u-szeged.hu>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    A bolt/test/AArch64/test-indirect-branch.s

  Log Message:
  -----------
  [BOLT][AArch64] Fixes assertion errors occurred when perf2bolt was executed (#83394)

BOLT only checks for the most common indirect branch pattern during the
branch analyzation.
Extended the logic with two other indirect patterns which slightly
differ from the expected one.
Those patterns may be hit when statically linking libc (pattern 2
requires 'lld' linker).

As a workaround mark them as UNKNOWN branch for now. 

Fixes: #83114


  Commit: f54279668f5687cfc03b0a61226055d9826e3093
      https://github.com/llvm/llvm-project/commit/f54279668f5687cfc03b0a61226055d9826e3093
  Author: Sam Elliott <quic_aelliott at quicinc.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M lld/ELF/InputSection.h
    M lld/ELF/Symbols.h

  Log Message:
  -----------
  [lld][ELF] Annotate Bitfields with Preferred Types (#97737)


  Commit: 7102eae4c0640492e1fcea3da7f22f4e75a4f062
      https://github.com/llvm/llvm-project/commit/7102eae4c0640492e1fcea3da7f22f4e75a4f062
  Author: Sam Elliott <quic_aelliott at quicinc.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:

  Log Message:
  -----------
  [lld][ELF] Annotate Bitfields with Preferred Types (#97737)


  Commit: d4216b5d0b111879f153c53caecf8ea011296cec
      https://github.com/llvm/llvm-project/commit/d4216b5d0b111879f153c53caecf8ea011296cec
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGGPUBuiltin.cpp
    M clang/test/CodeGenHIP/printf-builtin.hip
    M clang/test/CodeGenHIP/printf.cpp
    M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp

  Log Message:
  -----------
  [clang][CodeGen][AMDGPU] Enable AMDGPU `printf` for `spirv64-amd-amdhsa` (#97132)

This enables the AMDGPU specific implementation of `printf` when
compiling for AMDGCN flavoured SPIR-V, the consequence being that the
expansion into ROCDL calls & friends gets expanded before "lowering" to
SPIR-V and gets carried through. The only relatively "novel" aspect is
that the `callAppendStringN` is simplified to take the type of the
passed in arguments, as opposed to querying them from the module. This
is a neutral change since the arguments were passed directly to the
call, without any attempt to cast them, hence the assumption that the
actual types match the formal ones was already baked in.


  Commit: 9f2215ae5517a3d6e1d59e597bff83b821b96c7e
      https://github.com/llvm/llvm-project/commit/9f2215ae5517a3d6e1d59e597bff83b821b96c7e
  Author: lntue <35648136+lntue at users.noreply.github.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M libc/src/math/generic/erff.cpp

  Log Message:
  -----------
  [libc][math] Fix signed zeros for erff. (#97742)

The inexact exception flag was raised for the exact cases of signed
zeros. This was reported by Paul Zimmermann using the CORE-MATH test
suites.


  Commit: ac76ce2693b25bc3c643360acc18ebc01d22c072
      https://github.com/llvm/llvm-project/commit/ac76ce2693b25bc3c643360acc18ebc01d22c072
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M libc/docs/math/index.rst
    M libc/spec/llvm_libc_ext.td
    M libc/spec/stdc.td

  Log Message:
  -----------
  [libc][math][c23] Classify f16fma{,f,l} as LLVM libc extensions (#97728)


  Commit: 18b575d4aac603b6acd3fa0d639fbc79cd4f0ac3
      https://github.com/llvm/llvm-project/commit/18b575d4aac603b6acd3fa0d639fbc79cd4f0ac3
  Author: Zibi Sarbinowski <zibi at ca.ibm.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M libcxxabi/src/CMakeLists.txt

  Log Message:
  -----------
  [libc++abi] Fixing up LIBCXXABI_ADDITIONAL_COMPILE_FLAGS (#97608)

This is the continuation of #96112 which implements proposal from Louis.
Using PRIVATE option on target_compile_options() fixes the issue of
propagating the option into lib++.


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

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

  Log Message:
  -----------
  [InstCombine][X86] Pull out repeated uses of PatternMatch namespace. NFC.

Followup requested on #96882


  Commit: ae0d2244a23567c8d9863e63b338d34c31416a7b
      https://github.com/llvm/llvm-project/commit/ae0d2244a23567c8d9863e63b338d34c31416a7b
  Author: Nick Zavaritsky <mejedi at gmail.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/include/clang/AST/ASTConsumer.h
    M clang/include/clang/Frontend/MultiplexConsumer.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/CodeGen/BackendConsumer.h
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CodeGenAction.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/CodeGen/ModuleBuilder.cpp
    M clang/lib/Frontend/MultiplexConsumer.cpp
    M clang/lib/Interpreter/IncrementalParser.cpp
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/CodeGen/bpf-debug-info-extern-func.c
    A clang/test/CodeGen/bpf-debug-info-unref.c
    M llvm/lib/Target/BPF/BTFDebug.cpp
    M llvm/lib/Target/BPF/BTFDebug.h
    A llvm/test/CodeGen/BPF/BTF/extern-var-func2.ll

  Log Message:
  -----------
  [BPF] Fix linking issues in static map initializers (#91310)

When BPF object files are linked with bpftool, every symbol must be
accompanied by BTF info. Ensure that extern functions referenced by
global variable initializers are included in BTF.

The primary motivation is "static" initialization of PROG maps:

```c
extern int elsewhere(struct xdp_md *);

struct {
  __uint(type, BPF_MAP_TYPE_PROG_ARRAY);
  __uint(max_entries, 1);
  __type(key, int);
  __type(value, int);
  __array(values, int (struct xdp_md *));
} prog_map SEC(".maps") = { .values = { elsewhere } };
```

BPF backend needs debug info to produce BTF. Debug info is not
normally generated for external variables and functions. Previously, it
was solved differently for variables (collecting variable declarations
    in ExternalDeclarations vector) and functions (logic invoked during
    codegen in CGExpr.cpp).

This patch generalises ExternalDefclarations to include both function
and variable declarations. This change ensures that function references
    are not missed no matter the context. Previously external functions
    referenced in constant expressions lacked debug info.


  Commit: b0b3c1accd9b75fca149432128b1651261509b64
      https://github.com/llvm/llvm-project/commit/b0b3c1accd9b75fca149432128b1651261509b64
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [gn] port 5aacf93a8968


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

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/include/llvm/IR/Constant.h
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/IR/Constants.cpp

  Log Message:
  -----------
  [IR] Add Constant::toConstantRange() (NFC)

The logic in llvm::getVectorConstantRange() can be a bit
inconvenient to use in some cases because of the need to handle
the scalar case separately. Generalize it to handle all constants,
and move it to live directly on Constant.


  Commit: 4339d2edf6cbf4f7ddee3100980495ebcb8f64a5
      https://github.com/llvm/llvm-project/commit/4339d2edf6cbf4f7ddee3100980495ebcb8f64a5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll

  Log Message:
  -----------
  [CVP] Add missing CHECK lines in test (NFC)


  Commit: f92bfca9fc217cad9026598ef6755e711c0be070
      https://github.com/llvm/llvm-project/commit/f92bfca9fc217cad9026598ef6755e711c0be070
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/shr-exact-demanded-bits.ll

  Log Message:
  -----------
  [AArch64] All bits of an exact right shift are demanded (#97448)

When building a vector which contains zero elements, the AArch64 ISel
replaces those elements with `undef`, if they are right shifted out.

However, these elements need to stay zero if the right shift is exact,
or otherwise we will be introducing undefined behavior.

Should allow https://github.com/llvm/llvm-project/pull/92528 to be
recommitted.


  Commit: 130f0f526dc28ebbe23e5956857e85f7c9b754f5
      https://github.com/llvm/llvm-project/commit/130f0f526dc28ebbe23e5956857e85f7c9b754f5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll

  Log Message:
  -----------
  [LVI][CVP] Add support for vector comparisons


  Commit: 3bb25636414ee5b5eaf99c0bdcc191052c9d7ffb
      https://github.com/llvm/llvm-project/commit/3bb25636414ee5b5eaf99c0bdcc191052c9d7ffb
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [mlir][vector] Fix crash in `vector.insert` canonicalization (#97801)

The `InsertOpConstantFolder` assumed that whenever the destination can
be folded to a constant attribute, that attribute must be a
`DenseElementsAttr`. That is is not necessarily the case.


  Commit: 9315645834ea81cf9550364a4950f289e9706a26
      https://github.com/llvm/llvm-project/commit/9315645834ea81cf9550364a4950f289e9706a26
  Author: Maksim Levental <maksim.levental at gmail.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Bindings/Python/PybindAdaptors.h
    M mlir/test/python/dialects/python_test.py
    M mlir/test/python/lib/PythonTestCAPI.cpp
    M mlir/test/python/lib/PythonTestCAPI.h
    M mlir/test/python/lib/PythonTestDialect.h
    M mlir/test/python/lib/PythonTestModule.cpp
    M mlir/test/python/python_test_ops.td

  Log Message:
  -----------
  [mlir][python] auto attribute casting (#97786)


  Commit: 344930316f4c901673461dcf44ad57ae6ade1015
      https://github.com/llvm/llvm-project/commit/344930316f4c901673461dcf44ad57ae6ade1015
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/LoopDistribute/basic.ll
    M llvm/test/Transforms/LoopDistribute/bounds-expansion-bug.ll
    M llvm/test/Transforms/LoopDistribute/crash-in-memcheck-generation.ll
    M llvm/test/Transforms/LoopDistribute/diagnostics-with-hotness.ll
    M llvm/test/Transforms/LoopDistribute/diagnostics.ll
    M llvm/test/Transforms/LoopDistribute/disable_nonforced.ll
    M llvm/test/Transforms/LoopDistribute/disable_nonforced_enable.ll
    M llvm/test/Transforms/LoopDistribute/early-exit.ll
    M llvm/test/Transforms/LoopDistribute/followup.ll
    M llvm/test/Transforms/LoopDistribute/metadata.ll
    M llvm/test/Transforms/LoopDistribute/no-if-convert.ll
    M llvm/test/Transforms/LoopDistribute/outside-use.ll
    M llvm/test/Transforms/LoopDistribute/pointer-phi-in-loop.ll
    M llvm/test/Transforms/LoopDistribute/pr28443.ll
    M llvm/test/Transforms/LoopDistribute/program-order.ll
    M llvm/test/Transforms/LoopDistribute/scev-inserted-runtime-check.ll
    M llvm/test/Transforms/LoopDistribute/symbolic-stride.ll
    M llvm/test/Transforms/LoopDistribute/uncomputable-backedge-taken-count.ll
    M llvm/test/Transforms/LoopDistribute/unknown-bounds-for-memchecks.ll

  Log Message:
  -----------
  LDist/test: clean up and modernize (NFC) (#97822)

Clean up unused triple/datalayout lines, strengthen RUN lines to include
-verify-loop-info/-verify-dom-info, and regenerate tests with
UpdateTestChecks where appropriate.


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

  Changed paths:
    M llvm/test/Transforms/InstCombine/X86/blend_x86.ll

  Log Message:
  -----------
  [InstCombine][X86] Add test showing failure to peek through bitcast+shuffle+bitcast sequence to fold BLENDV to SELECT

Mentioned on #96882


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

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/blend_x86.ll

  Log Message:
  -----------
  [InstCombine][X86] Peek through bitcast+shuffle+bitcast sequence when folding BLENDV to SELECT

Mentioned on #96882


  Commit: 3bfc5167d9e49b9a53e364e8d8853fce543cca0f
      https://github.com/llvm/llvm-project/commit/3bfc5167d9e49b9a53e364e8d8853fce543cca0f
  Author: walter erquinigo <walter at modular.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Target/Language.h
    M lldb/source/Commands/CommandObjectBreakpoint.cpp
    M lldb/source/Plugins/Language/ObjC/ObjCLanguage.h

  Log Message:
  -----------
  [lldb-dap][NFC] Minor rename

As a minor follow up for https://github.com/llvm/llvm-project/pull/97675, I'm renaming `SupportsExceptionBreakpoints` to `SupportsExceptionBreakpointsOnThrow` and adding a `SupportsExceptionBreakpointsOnCatch` to have a bit of more granularity.


  Commit: 44248d2d248be43c3e55d1ab6808342f63e0c70c
      https://github.com/llvm/llvm-project/commit/44248d2d248be43c3e55d1ab6808342f63e0c70c
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    A compiler-rt/test/profile/check-same-common-code.test

  Log Message:
  -----------
  [PGO][compiler-rt] Add a test to ensure include files do not diverge (#97775)

Memprof has two include files that are duplicated between LLVM and
compiler-rt. They need to stay in sync to ensure correct functionality,
but the comments can be somewhat easy to miss, which causes fixups like
839ed1ba553346b0c225e9b839cf3cb716dc7412 to be needed. This patch adds a
test to ensure that the files are the same between LLVM and compiler-rt
to catch this ideally before commit, but if not, soon afterwards.

There is additionally `InstrProfData.inc` for some PGO variants that is
added to the same test here as well.


  Commit: 23d1d959583c35e6eab7e3e70d4c16449b418563
      https://github.com/llvm/llvm-project/commit/23d1d959583c35e6eab7e3e70d4c16449b418563
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    A compiler-rt/lib/builtins/cpu_model/AArch64CPUFeatures.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64.h
    A compiler-rt/test/builtins/TestCases/check-same-common-code.test
    M compiler-rt/test/builtins/lit.cfg.py
    A llvm/include/llvm/TargetParser/AArch64CPUFeatures.inc
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h

  Log Message:
  -----------
  [LLVM][compiler-rt][AArch64] Refactor AArch64 CPU features (#97777)

This patch refactors the AArch64 CPUFeatures enum into a separate
include file that is identical between LLVM and compiler-rt. This, along
with a test in compiler-rt to ensure that the two stay in sync.


  Commit: 0f1da49b4d854ce7c6572000da3fb6cb0a1245d2
      https://github.com/llvm/llvm-project/commit/0f1da49b4d854ce7c6572000da3fb6cb0a1245d2
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M libc/test/src/unistd/CMakeLists.txt
    M libc/test/src/unistd/readlink_test.cpp
    M libc/test/src/unistd/readlinkat_test.cpp

  Log Message:
  -----------
  [libc] Fix readlink tests on 32-bit systems (#97850)

Use sizeof in a string literal instead of a CString so we get the right size when creating the buf array.

We also now use strlen(FILENAME) to get the string lenght when calling readlink and readlinkat.


  Commit: 788731cdbd732180639988c9589adbe63bb28afa
      https://github.com/llvm/llvm-project/commit/788731cdbd732180639988c9589adbe63bb28afa
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-07-05 (Fri, 05 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/SemaExprCXX.cpp
    M clang/test/CXX/drs/cwg5xx.cpp
    M clang/test/OpenMP/deferred-diags.cpp
    M clang/test/SemaCXX/new-delete.cpp
    M clang/www/cxx_status.html

  Log Message:
  -----------
  [clang] Implement P3144R2 "Deleting a Pointer to an Incomplete Type..." (#97733)

This patch implements (not yet published)
[P3144R2](https://wiki.edg.com/pub/Wg21stlouis2024/StrawPolls/p3144r2.pdf)
"Deleting a Pointer to an Incomplete Type Should be Ill-formed". Wording
changes (not yet merged into the working draft) read:
> 7.6.2.9 [expr.delete] Delete
> If the object being deleted has incomplete class type at the point of
deletion <del>and the complete class has a
non-trivial destructor or a deallocation function, the behavior is
undefined</del>, <ins>the program is ill-formed</ins>.

We preserve status quo of emitting a warning when deleting a pointer to
incomplete type up to, and including, C++23, but make it ill-formed
since C++26. Same goes for deleting pointers to `void`, which has been
allowed as an extension.


  Commit: fc665436626fa265ebb8d62b9f8a4cfab9b959d0
      https://github.com/llvm/llvm-project/commit/fc665436626fa265ebb8d62b9f8a4cfab9b959d0
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M libc/test/src/unistd/CMakeLists.txt
    M libc/test/src/unistd/readlink_test.cpp
    M libc/test/src/unistd/readlinkat_test.cpp

  Log Message:
  -----------
  Revert "[libc] Fix readlink tests on 32-bit systems" (#97852)

Reverts #97850 while I investigate the buildbot issue


  Commit: 683c8e9913cd87e0b2a8e083298cd3ebc67923fe
      https://github.com/llvm/llvm-project/commit/683c8e9913cd87e0b2a8e083298cd3ebc67923fe
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M libcxx/include/complex

  Log Message:
  -----------
  [libc++] Adds a missing include.

This should fix the clang modules with the locales disabled build in the
CI.


  Commit: 1ed84a862f9ce3c60251968f23a5405f06458975
      https://github.com/llvm/llvm-project/commit/1ed84a862f9ce3c60251968f23a5405f06458975
  Author: PeterChou1 <peter.chou at mail.utoronto.ca>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/tool/CMakeLists.txt
    M llvm/CMakeLists.txt

  Log Message:
  -----------
  [clang-doc] fix bug introduced by asset test (#97540)


  Commit: e70f376b25ea96f3b0db75ff77ae1a58d53f2119
      https://github.com/llvm/llvm-project/commit/e70f376b25ea96f3b0db75ff77ae1a58d53f2119
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/MC/MCParser/AsmParser.cpp

  Log Message:
  -----------
  [MCParser] Simplify macro-like body expansion

Make it easy to support argument expansion in the altmacro mode.


  Commit: f6ae0d302f09f62b852a29f6dbfdbb4b9c2affb7
      https://github.com/llvm/llvm-project/commit/f6ae0d302f09f62b852a29f6dbfdbb4b9c2affb7
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    A llvm/test/CodeGen/X86/computenumsignbits-shl.ll

  Log Message:
  -----------
  [CodeGen] Pre-commit test case related to ComputeNumSignBits for SHL (#97695)

Adding test cases aiming at showing possibility to look through
ZERO_EXTEND/ANY_EXTEND when computing number of sign bits for an
SHL node. If all extended bits are shifted out we can analyze the
operand that is extended.


  Commit: c2fbc701aaf826e2015a5dcab36e3ba792e7da7f
      https://github.com/llvm/llvm-project/commit/c2fbc701aaf826e2015a5dcab36e3ba792e7da7f
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    R llvm/test/CodeGen/X86/computenumsignbits-shl.ll
    A llvm/test/CodeGen/X86/known-signbits-shl.ll

  Log Message:
  -----------
  [SelectionDAG] Let ComputeKnownSignBits handle (shl (ext X), C) (#97695)

Add simple support for looking through ZEXT/ANYEXT/SEXT when doing
ComputeKnownSignBits for SHL. This is valid for the case when all
extended bits are shifted out, because then the number of sign bits
can be found by analysing the EXT operand.

A future improvement could be to pass along the "shifted left by"
information in the recursive calls to ComputeKnownSignBits. Allowing
us to handle this more generically.


  Commit: ac03ae30cf2b6465ea8f117dfa74ba6f670f6258
      https://github.com/llvm/llvm-project/commit/ac03ae30cf2b6465ea8f117dfa74ba6f670f6258
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/novect-lcssa-cfg-invalidation.ll

  Log Message:
  -----------
  [LV] Preserve LAA in LoopVectorize (NFCI).

LoopVectorize already always preserves DT, LI and SCEV. If any changes
get made to the CFG, cached LAA info for loops are cleared.

LoopAccessAnalysis also implements ::invalidate to clear the analysis if
SE, DT or LI gets invalidated. Hence it should be safe to preserve LAA
and save a small amount of compile-time.


  Commit: 812f9e81d2f75c874301a8f5df25d3de7616a9c5
      https://github.com/llvm/llvm-project/commit/812f9e81d2f75c874301a8f5df25d3de7616a9c5
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/test/MC/AsmParser/altmacro_expression.s

  Log Message:
  -----------
  [MCParser] .altmacro: ignore & after a token


  Commit: f8b1ca4992a22b4b65282c09dd6f07a1a2839070
      https://github.com/llvm/llvm-project/commit/f8b1ca4992a22b4b65282c09dd6f07a1a2839070
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/MC/MCParser/AsmParser.cpp
    A llvm/test/MC/AsmParser/altmacro-arg.s

  Log Message:
  -----------
  [MCParser] .altmacro: Support argument expansion not preceded by \

In the .altmacro mode, an argument can be expanded even if not preceded
by \


  Commit: 3a4970652902dbdac0cef66738b85e695b67338c
      https://github.com/llvm/llvm-project/commit/3a4970652902dbdac0cef66738b85e695b67338c
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/test/MC/AArch64/ilp32-diagnostics.s

  Log Message:
  -----------
  [AArch64,test] Improve ilp32-diagnostics.s


  Commit: 37bee254975baaa07511cc93ddf059722f29e6b0
      https://github.com/llvm/llvm-project/commit/37bee254975baaa07511cc93ddf059722f29e6b0
  Author: Shaw Young <58664393+shawbyoung at users.noreply.github.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [BOLT][NFC] Refactor function matching (#97502)

Moved function matching techniques into separate helper functions for
ease of understanding and to make space for additional function 
matching techniques to be added (e.g. call graph function matching).


  Commit: 4a0aff199bda8abf04a59e4c0bdcedaac7d19841
      https://github.com/llvm/llvm-project/commit/4a0aff199bda8abf04a59e4c0bdcedaac7d19841
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  MCAssembler: Clean up iterator types for Symbols


  Commit: 045e68f97b0e3d3df7be1d45e9ea3e105fff7b2a
      https://github.com/llvm/llvm-project/commit/045e68f97b0e3d3df7be1d45e9ea3e105fff7b2a
  Author: lntue <35648136+lntue at users.noreply.github.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M libc/test/src/unistd/readlink_test.cpp
    M libc/test/src/unistd/readlinkat_test.cpp

  Log Message:
  -----------
  [libc] Change the test file names used in readlink_test and readlinkat_test. (#97864)

Attempting to fix the following errors from the build bots:
```
Failed to match LIBC_NAMESPACE::symlink(LINK_VAL, LINK) against Succeeds(0).
Expected return value to be equal to 0 but got -1.
Expected errno to be equal to "Success" but got "File exists".
```


  Commit: dc1da93958be0311b79dce39d71bd954c478cf19
      https://github.com/llvm/llvm-project/commit/dc1da93958be0311b79dce39d71bd954c478cf19
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M bolt/lib/Profile/BoltAddressTranslation.cpp
    M bolt/test/X86/register-fragments-bolt-symbols.s

  Log Message:
  -----------
  [BOLT][BAT] Add support for three-way split functions (#93760)

In three-way split functions, if only .warm fragment is present, BAT
incorrectly overwrites the map for .warm fragment by empty .cold
fragment.

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


  Commit: 34855405b0a7dd6719fa3278f9b888f7f11bc4d8
      https://github.com/llvm/llvm-project/commit/34855405b0a7dd6719fa3278f9b888f7f11bc4d8
  Author: Youngsuk Kim <youngsuk.kim at hpe.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/MIRPrintingPass.cpp
    M llvm/lib/FileCheck/FileCheck.cpp
    M llvm/lib/IR/DiagnosticInfo.cpp
    M llvm/lib/Remarks/Remark.cpp
    M llvm/tools/llvm-opt-report/OptReport.cpp
    M llvm/utils/TableGen/CompressInstEmitter.cpp
    M llvm/utils/TableGen/X86DisassemblerTables.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 item to remove `raw_string_ostream::str()`.


  Commit: ceade83ad5fc529f2b2beb896eec0dd0b29fdd44
      https://github.com/llvm/llvm-project/commit/ceade83ad5fc529f2b2beb896eec0dd0b29fdd44
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/lib/Format/Format.cpp
    M clang/unittests/Format/SortIncludesTest.cpp

  Log Message:
  -----------
  [clang-format] Skip block commented out includes when sorting them (#97787)

Fixes #97539.


  Commit: b75453bc07dabe8e0dc0efb0766a4238e3df6712
      https://github.com/llvm/llvm-project/commit/b75453bc07dabe8e0dc0efb0766a4238e3df6712
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp

  Log Message:
  -----------
  MCAssembler: Remove unneeded non-const iterators for Sections and misleading size()

The pointers cannot be mutated even if the dereferenced MCSection can.


  Commit: 8f5b1440dbdda570d66f170f47cb971388126bf3
      https://github.com/llvm/llvm-project/commit/8f5b1440dbdda570d66f170f47cb971388126bf3
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [bazel] Port #97777 (#97868)


  Commit: 88381cecfff48536230e11901f1598332033fd45
      https://github.com/llvm/llvm-project/commit/88381cecfff48536230e11901f1598332033fd45
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Hoist some common setOperationActions to a common place. NFC

We always want these actions if the type is legal. We don't need
to check the subtarget features. So hoist them to a common point.


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

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

  Log Message:
  -----------
  [RISCV] Remove unnecessary setOperationAction for ISD::SELECT_CC for fixed vectors. NFC

We already looped through all builtin operations and marked them as
Expand. We don't need to do it to SELECT_CC again.


  Commit: 593f708118aef792f434185547f74fedeaf51dd4
      https://github.com/llvm/llvm-project/commit/593f708118aef792f434185547f74fedeaf51dd4
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Support/Windows/Process.inc
    M llvm/lib/Support/Windows/Signals.inc

  Log Message:
  -----------
  [Support] Silence function cast warning when building with Clang ToT targetting Windows


  Commit: 10e1b935e5d9017067207d62ababa733df088ecd
      https://github.com/llvm/llvm-project/commit/10e1b935e5d9017067207d62ababa733df088ecd
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cpp

  Log Message:
  -----------
  [compiler-rt] Silence function cast warning when building with Clang ToT targetting Windows


  Commit: cf1ded3ac248ad4feeed7b4dd20c60b7e3c40339
      https://github.com/llvm/llvm-project/commit/cf1ded3ac248ad4feeed7b4dd20c60b7e3c40339
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp

  Log Message:
  -----------
  [lldb] Silence function cast warning when building with Clang ToT targetting Windows


  Commit: be26e545424a6e006cd67e4433c88c25b23404ae
      https://github.com/llvm/llvm-project/commit/be26e545424a6e006cd67e4433c88c25b23404ae
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M openmp/runtime/src/CMakeLists.txt

  Log Message:
  -----------
  [openmp] Silence warning when building the x64 Windows LLVM release package

This fixes:
```
MASM : warning A4018:invalid command-line option : -U_GLIBCXX_ASSERTIONS
```


  Commit: 6337fdcc520e8f948bef23b361c75edeb32ed015
      https://github.com/llvm/llvm-project/commit/6337fdcc520e8f948bef23b361c75edeb32ed015
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Use EXTLOAD in lowerVECTOR_SHUFFLE. (#97862)

We're creating a load and a splat. The splat doesn't use the extended
bits so it doesn't matter what extend we use.


  Commit: 0b9f2847da79298ed09c29493245113f02b32d9f
      https://github.com/llvm/llvm-project/commit/0b9f2847da79298ed09c29493245113f02b32d9f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll

  Log Message:
  -----------
  [RISCV] Remove unused check-prefixes. NFC


  Commit: a348824798e03c1ffd10e6a1c5340130b0f48bf9
      https://github.com/llvm/llvm-project/commit/a348824798e03c1ffd10e6a1c5340130b0f48bf9
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
    M llvm/test/CodeGen/RISCV/rvv/vmadd-vp.ll

  Log Message:
  -----------
  [RISCV] Allow folding vmerge with implicit passthru when true has tied dest (#78565)

We currently don't fold a vmerge if it has an implicit-def passthru and
its true operand also has a passthru (i.e. tied dest).

This restriction was added in https://reviews.llvm.org/D151596, back
whenever we had separate TU/TA pseudos. It looks like it was added
because the policy might not have been handled correctly.

However the policy should be set correctly if we relax this restriction
today, since we compute the policy differently now that we have removed
the TU/TA distinction in our pseudos.

We use a TUMU policy, and relax it to TAMU iff the vmerge's passthru is
implicit-def.

The reasoning behind this being that the tail elements always come from
the vmerge's passthru[^1], so if vmerge's passthru is implicit-def then
the tail is also implicit-def. So a tail agnostic policy is OK.

[^1]: unless the VL was shrunk, but in this case which case we
conservatively use TUMU.


  Commit: ccf357ff643c6af86bb459eba5a00f40f1dcaf22
      https://github.com/llvm/llvm-project/commit/ccf357ff643c6af86bb459eba5a00f40f1dcaf22
  Author: Izaak Schroeder <izaak.schroeder at gmail.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M libc/config/linux/aarch64/headers.txt
    M libc/config/linux/x86_64/headers.txt
    M libc/include/CMakeLists.txt
    A libc/include/dlfcn.h.def
    M libc/include/llvm-libc-macros/CMakeLists.txt
    A libc/include/llvm-libc-macros/dlfcn-macros.h

  Log Message:
  -----------
  [libc] Add `dlfcn.h` headers (#97772)


  Commit: 9cb9a97e44130e17e96f994c3e594aba69ea1ad5
      https://github.com/llvm/llvm-project/commit/9cb9a97e44130e17e96f994c3e594aba69ea1ad5
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
    M runtimes/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Use Clang to infer the target triple (#89425)

When using Clang as a compiler, use Clang to normalize the triple that's
used to construct path for runtime library build and install paths. This
ensures that paths are consistent and avoids the issue where the build
uses a different triple spelling.

Differential Revision: https://reviews.llvm.org/D140925


  Commit: acd7a688fcd26ce4d72cecbddeddef788482e17e
      https://github.com/llvm/llvm-project/commit/acd7a688fcd26ce4d72cecbddeddef788482e17e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/tools/bugpoint/BugDriver.cpp
    M llvm/tools/llvm-as/llvm-as.cpp
    M llvm/tools/llvm-extract/llvm-extract.cpp
    M llvm/tools/llvm-link/llvm-link.cpp
    M llvm/tools/verify-uselistorder/verify-uselistorder.cpp

  Log Message:
  -----------
  [llvm] Remove redundant calls to std::unique_ptr<T>::get (NFC) (#97778)


  Commit: 874ca08645420413e525054a47caf039bebde28b
      https://github.com/llvm/llvm-project/commit/874ca08645420413e525054a47caf039bebde28b
  Author: Zhikai Zeng <backlight.zzk at gmail.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/SemaCXX/eval-crashes.cpp

  Log Message:
  -----------
  [Clang][ExprConstant] fix constant expression did not evaluate to integer (#97146)

fixes https://github.com/llvm/llvm-project/issues/96670

The cause is that we might return a lvalue here at


https://github.com/llvm/llvm-project/blob/3e53c97d33210db68188e731e93ee48dbaeeae32/clang/lib/AST/ExprConstant.cpp#L15861-L15865

This PR will make sure we return a rvalue in `FastEvaluateAsRValue`.


  Commit: ac9d34a2eed4c4d58edf25b92e397faa76170d00
      https://github.com/llvm/llvm-project/commit/ac9d34a2eed4c4d58edf25b92e397faa76170d00
  Author: PeterChou1 <peter.chou at mail.utoronto.ca>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/tool/CMakeLists.txt
    M llvm/CMakeLists.txt

  Log Message:
  -----------
  [clang-doc] revert asset bug fix (#97882)

reverts https://github.com/llvm/llvm-project/pull/97540

which broke clangs standalone build


  Commit: 5aa8ef8e9b05b714550eedbced34f67f225dbe6f
      https://github.com/llvm/llvm-project/commit/5aa8ef8e9b05b714550eedbced34f67f225dbe6f
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp

  Log Message:
  -----------
  [libc++][test] Updates sized deallocation tests. (#97833)

In #90373 size deallocation was enabled by default. Some test were
disabled to propagate the clang changes to the libc++ CI. These changes
have been propagated so the test filter can be updated.


  Commit: 126f81dd5a804636e4b66146d2d039099d9d5889
      https://github.com/llvm/llvm-project/commit/126f81dd5a804636e4b66146d2d039099d9d5889
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M libcxx/src/tzdb.cpp

  Log Message:
  -----------
  [NFC][libc++] removes std:: qualification,

Elements in nested namespaces in the std namespace do not use fully
qualified names in libc++. This adjusts a few cases found.


  Commit: 55b95a7a75ec4568d6ee7a3199090e830619c68e
      https://github.com/llvm/llvm-project/commit/55b95a7a75ec4568d6ee7a3199090e830619c68e
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M mlir/docs/DialectConversion.md
    M mlir/include/mlir/Transforms/DialectConversion.h

  Log Message:
  -----------
  [mlir][Transforms][NFC] Dialect conversion: Reland docs improvement (#97886)

#96207 was reverted but the improvements to the documentation of the
dialect conversion are still useful.


  Commit: 88b26293a24bdd85fce2b2f7191cc0a5bc0cecfe
      https://github.com/llvm/llvm-project/commit/88b26293a24bdd85fce2b2f7191cc0a5bc0cecfe
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
    A llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir

  Log Message:
  -----------
  [AArch64][PAC] Support BLRA* instructions in SLS Hardening pass (#97605)

Make SLS Hardening pass handle BLRA* instructions the same way it
handles BLR. The thunk names have the form

    __llvm_slsblr_thunk_xN            for BLR thunks
    __llvm_slsblr_thunk_(aaz|abz)_xN  for BLRAAZ and BLRABZ thunks
    __llvm_slsblr_thunk_(aa|ab)_xN_xM for BLRAA and BLRAB thunks

Now there are about 1800 possible thunk names, so do not rely on linear
thunk function's name lookup and parse the name instead.


  Commit: f90bac99e19d4243ac52cf6e18aa374f9a8754cb
      https://github.com/llvm/llvm-project/commit/f90bac99e19d4243ac52cf6e18aa374f9a8754cb
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
    R llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir

  Log Message:
  -----------
  Revert "[AArch64][PAC] Support BLRA* instructions in SLS Hardening pass" (#97887)

This reverts commit 88b26293a24bdd85fce2b2f7191cc0a5bc0cecfe due to
failures of

    CodeGen/AArch64/speculation-hardening-sls-blra.mir


  Commit: be3a8b8d94608746b22cb0cf3fc03af33b7d8648
      https://github.com/llvm/llvm-project/commit/be3a8b8d94608746b22cb0cf3fc03af33b7d8648
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticGroups.td

  Log Message:
  -----------
  [clang] Add C++26 diagnostics to compatibility diagnosic groups (#97806)

This patch adds `CXXPre26Compat` and `CXXPre26CompatPedantic` groups
(which are concerned with new features not available in older language
modes) to `CXX98Compat`, etc. This way, if user has `-Wc++20-compat` and
they use pack indexing, they will be warned.

Ideally this should have been done when C++26 groups were created, but
we shipped two releases of Clang since then.


  Commit: 4a9aef683df895934c26591404692d41a687b005
      https://github.com/llvm/llvm-project/commit/4a9aef683df895934c26591404692d41a687b005
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M llvm/include/llvm/ADT/APInt.h
    M llvm/include/llvm/ADT/DynamicAPInt.h
    M llvm/include/llvm/ADT/SlowDynamicAPInt.h
    M llvm/lib/Support/DynamicAPInt.cpp

  Log Message:
  -----------
  DynamicAPInt: optimize size of structure (#97831)

Reuse the APInt::BitWidth to eliminate DynamicAPInt::HoldsLarge, cutting
the size of DynamicAPInt by four bytes. This is implemented by making
DynamicAPInt a friend of SlowDynamicAPInt and APInt, so it can directly
access SlowDynamicAPInt::Val and APInt::BitWidth.

We get a speedup of 4% with this patch.


  Commit: de88b2cb16af4bba659d0bb2ddf10bda681ec84d
      https://github.com/llvm/llvm-project/commit/de88b2cb16af4bba659d0bb2ddf10bda681ec84d
  Author: Gábor Spaits <gaborspaits1 at gmail.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaInit.cpp

  Log Message:
  -----------
  [Clang] Simplify release notes and remove irrelevant comment (#96407)

As discussed before with @cor3ntin before
(https://github.com/llvm/llvm-project/pull/94752) here is the
simplification of the release note written for the previously mentioned
PR and the removal of a comment that is no longer useful.

(Sorry for creating this PR this late.)

Co-authored-by: Gabor Spaits <Gabor.Spaits at hightec-rt.com>


  Commit: f8834ed24bf11d19c96c49d42e77d4408af91fd8
      https://github.com/llvm/llvm-project/commit/f8834ed24bf11d19c96c49d42e77d4408af91fd8
  Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
  Date:   2024-07-06 (Sat, 06 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
    A libc/src/math/cospif.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/cospif.cpp
    M libc/src/math/generic/sinpif.cpp
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/cospif_test.cpp
    M libc/test/src/math/exhaustive/CMakeLists.txt
    A libc/test/src/math/exhaustive/cospif_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/cospif_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.h

  Log Message:
  -----------
  [libc][C23][math] Implement cospif function correctly rounded for all rounding modes (#97464)

I also fixed a comment in sinpif.cpp in the first commit. Should this be
included in this PR?

All tests were passed, including the exhaustive test.

CC: @lntue


  Commit: 9374f83a73e53633da3258090f5c9a1f0d055526
      https://github.com/llvm/llvm-project/commit/9374f83a73e53633da3258090f5c9a1f0d055526
  Author: Justin Holewinski <jholewinski at nvidia.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

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

  Log Message:
  -----------
  Outline X86 autoupgrade patterns (#97851)

Outlining these patterns has a significant impact on the overall stack
frame size of llvm::UpgradeIntrinsicCall. This is helpful for scenarios
where compilation threads are stack-constrained. The overall impact is
low when using clang as the host compiler, but very pronounced when
using MSVC 2022 with release builds.

Clang:   1,624 ->   824 bytes
MSVC:   23,560 -> 6,120 bytes


  Commit: 2da0055924161d63f4ecb88371ba6ccb4552f13d
      https://github.com/llvm/llvm-project/commit/2da0055924161d63f4ecb88371ba6ccb4552f13d
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M libcxx/include/__string/char_traits.h

  Log Message:
  -----------
  [libc++][NFC] Merge identical char_traits functions into a base class (#97700)


  Commit: d64efe42eb98af76ba4ba26f48d079713f513af9
      https://github.com/llvm/llvm-project/commit/d64efe42eb98af76ba4ba26f48d079713f513af9
  Author: Daniel Bertalan <dani at danielbertalan.dev>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/Writer.cpp
    M lld/test/MachO/init-offsets.s
    A lld/test/MachO/invalid/init-offsets.s

  Log Message:
  -----------
  [lld-macho] Remove symbols to `__mod_init_func` with `-init_offsets` (#97156)

When `-fixup_chains`/`-init_offsets` is used, a different section,
`__init_offsets` is synthesized from `__mod_init_func`. If there are any
symbols defined inside `__mod_init_func`, they are added to the symbol
table unconditionally while processing the input files. Later, when
querying these symbols' addresses (when constructing the symtab or
exports trie), we crash with a null deref, as there is no output section
assigned to them.

Just making the symbols point to `__init_offsets` is a bad idea, as the
new section stores 32-bit integers instead of 64-bit pointers; accessing
the symbols would not do what the programmer intended. We should
entirely omit them from the output. This is what ld64 and ld-prime do.

This patch uses the same mechanism as dead-stripping to mark these
symbols as not needed in the output. There might be nicer fixes than the
workaround, this is discussed in #97155.

Fixes https://github.com/llvm/llvm-project/pull/79894#issuecomment-1944092892
Fixes #94716


  Commit: e55585fd7bddf5bb3824a53cbe2971206d3c20c6
      https://github.com/llvm/llvm-project/commit/e55585fd7bddf5bb3824a53cbe2971206d3c20c6
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M clang/www/cxx_status.html

  Log Message:
  -----------
  [Clang] Fix typo in cxx_status.html


  Commit: 9e9404387d3b787305dc8bf21b0e20c477b6ff39
      https://github.com/llvm/llvm-project/commit/9e9404387d3b787305dc8bf21b0e20c477b6ff39
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M libcxx/docs/index.rst
    M libcxx/include/__configuration/compiler.h
    M libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
    M libcxx/test/std/algorithms/robust_against_adl.compile.pass.cpp
    M libcxx/test/std/containers/views/mdspan/mdspan/index_operator.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.leap/nonmembers/comparison.pass.cpp
    M libcxx/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp
    M libcxx/test/std/utilities/expected/expected.expected/monadic/transform_error.pass.cpp
    M libcxx/test/std/utilities/expected/expected.void/monadic/transform_error.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.pass.cpp
    M libcxxabi/test/catch_member_function_pointer_02.pass.cpp

  Log Message:
  -----------
  [libc++] Remove annotations for GCC 13 and update the documentation (#97744)

GCC 14 has been released a while ago. We've updated the CI to use GCC 14
now. This removes any old annotations in the tests and updates the
documentation to reflect the updated version requirements.


  Commit: 048815c22ae779b1f2a0289b7b28ed8cf54af676
      https://github.com/llvm/llvm-project/commit/048815c22ae779b1f2a0289b7b28ed8cf54af676
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp

  Log Message:
  -----------
  Revert "[lldb] Silence function cast warning when building with Clang ToT targetting Windows"

This reverts commit cf1ded3ac248ad4feeed7b4dd20c60b7e3c40339.


  Commit: b4b17d97637bb70976405b7cd4194ee89a60b763
      https://github.com/llvm/llvm-project/commit/b4b17d97637bb70976405b7cd4194ee89a60b763
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cpp

  Log Message:
  -----------
  Revert "[compiler-rt] Silence function cast warning when building with Clang ToT targetting Windows"

This reverts commit 10e1b935e5d9017067207d62ababa733df088ecd.


  Commit: 57b76b4210728a11a5a0c5ed869a251d5ad9742d
      https://github.com/llvm/llvm-project/commit/57b76b4210728a11a5a0c5ed869a251d5ad9742d
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M llvm/lib/Support/Windows/Process.inc
    M llvm/lib/Support/Windows/Signals.inc

  Log Message:
  -----------
  Revert "[Support] Silence function cast warning when building with Clang ToT targetting Windows"

This reverts commit 593f708118aef792f434185547f74fedeaf51dd4.


  Commit: 6e4bb60adef6abd34516f9121930eaa84e41e04a
      https://github.com/llvm/llvm-project/commit/6e4bb60adef6abd34516f9121930eaa84e41e04a
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M libcxx/utils/libcxx/test/features.py

  Log Message:
  -----------
  [libc++] Assume newer LLVM versions for not-yet-released macOS versions

This makes the test suite forward-compatible with future versions of macOS.
Previously, the Lit features were built in a way that they would assume
that any newer macOS version doesn't contain any version of LLVM, which
doesn't make sense.


  Commit: 8426b51e0e942b27af8a50b9cee53c1b68d139c2
      https://github.com/llvm/llvm-project/commit/8426b51e0e942b27af8a50b9cee53c1b68d139c2
  Author: Mital Ashok <mital at mitalashok.co.uk>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M libcxx/test/std/utilities/utility/pairs/pairs.pair/ctor.pair_U_V_move.pass.cpp

  Log Message:
  -----------
  [libcxx][test][NFC] Fix std::pair convertible tests in light of CWG2137 (#97403)

https://cplusplus.github.io/CWG/issues/2137.html

This change was previously made as part of
924701311aa79180e86ad8ce43d253f27d25ec7d (#77768) and later reverted in
6e4930c67508a90bdfd756f6e45417b5253cd741

This change is still needed because the comment is still true: A
standards-conformant compiler is currently supposed to fail this test.

This also means that any future work on CWG2137 with Clang would not
need to modify the libc++ test suite


  Commit: 5028dea65266ab8b7f8f9ebd5d5e01faacebc645
      https://github.com/llvm/llvm-project/commit/5028dea65266ab8b7f8f9ebd5d5e01faacebc645
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp

  Log Message:
  -----------
  [LAA] Only invalidate loops that require runtime checks (NFCI).

LAA doesn't keep references to IR outside the loop or references to
SCEVs that may be invalidated, unless runtime checks are needed (either
memory or SCEV predicates). For the current LAA users, it should be
sufficient to invalidate entries for loops that require runtime checks,
thus avoiding analyzing loops again unnecessarily.

This helps reduce compile-time, in particular when removing the
restrictions added in 234cc40adc6.

https://llvm-compile-time-tracker.com/compare.php?from=73894dba2cdbcc00678d0c13a6b61765675f60b4&to=05c6bdc41b5f63696ebeb7116325725fa94f66d6&stat=instructions:u


  Commit: 9abb574f9a68b1c0c32f49745f9dad8e1a7db1f9
      https://github.com/llvm/llvm-project/commit/9abb574f9a68b1c0c32f49745f9dad8e1a7db1f9
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCDwarf.h

  Log Message:
  -----------
  [MC] Make MCCFIInstruction smaller

by placing `Operation` next to a 4-byte member.
Refactor the union representation so that it is easy to add a pointer
member for .cfi_label support without increasing the total size. There
are two primary forms (RI and RR) and RIA for AMDGPU-specific
.cfi_llvm_def_aspace_cfa.


  Commit: 40c12648c6c0a39efce294e3fa763fd6c8ed4005
      https://github.com/llvm/llvm-project/commit/40c12648c6c0a39efce294e3fa763fd6c8ed4005
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp

  Log Message:
  -----------
  [Bitcode] Use range-based for loops (NFC) (#97776)


  Commit: 02c7be5094fa3ffb3f118d9e2d69af435b7c8ef6
      https://github.com/llvm/llvm-project/commit/02c7be5094fa3ffb3f118d9e2d69af435b7c8ef6
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M libcxx/include/__locale_dir/locale_base_api.h
    M libcxx/include/__locale_dir/locale_base_api/android.h
    M libcxx/include/__locale_dir/locale_base_api/fuchsia.h
    M libcxx/include/__locale_dir/locale_base_api/ibm.h
    M libcxx/include/__locale_dir/locale_base_api/musl.h
    M libcxx/include/__locale_dir/locale_base_api/newlib.h
    M libcxx/include/__locale_dir/locale_base_api/openbsd.h
    M libcxx/include/__locale_dir/locale_base_api/win32.h
    M libcxx/include/__support/xlocale/__posix_l_fallback.h
    M libcxx/include/__support/xlocale/__strtonum_fallback.h

  Log Message:
  -----------
  [libc++] Remove dead code from the locale base API and support code (#89070)


  Commit: f4e6ddbc2ed77ef73a036408f1d04bb792e2d357
      https://github.com/llvm/llvm-project/commit/f4e6ddbc2ed77ef73a036408f1d04bb792e2d357
  Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M libc/benchmarks/gpu/LibcGpuBenchmark.cpp
    M libc/benchmarks/gpu/LibcGpuBenchmark.h

  Log Message:
  -----------
  [libc] Fix Cppcheck Issues (#96999)

This PR fixes linting issues discovered by `cppcheck`.

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


  Commit: b151c7e36a26a4168d0384c88295099e4b6470d0
      https://github.com/llvm/llvm-project/commit/b151c7e36a26a4168d0384c88295099e4b6470d0
  Author: Izaak Schroeder <izaak.schroeder at gmail.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/dev/undefined_behavior.rst
    M libc/spec/posix.td
    M libc/src/CMakeLists.txt
    A libc/src/dlfcn/CMakeLists.txt
    A libc/src/dlfcn/dlclose.cpp
    A libc/src/dlfcn/dlclose.h
    A libc/src/dlfcn/dlerror.cpp
    A libc/src/dlfcn/dlerror.h
    A libc/src/dlfcn/dlopen.cpp
    A libc/src/dlfcn/dlopen.h
    A libc/src/dlfcn/dlsym.cpp
    A libc/src/dlfcn/dlsym.h

  Log Message:
  -----------
  [libc] Add `dlfcn.h` placeholder (#97501)

Adds `dlopen` and friends. This is needed as part of the effort to
compile `libunwind` + `libc` without baremetal mode. This is part of
https://github.com/llvm/llvm-project/issues/97191. This should still be
spec compliant, since `dlopen` always returns `NULL` and `dlerror`
always returns an error message.

> If dlopen() fails for any reason, it returns NULL.

> The function dlclose() returns 0 on success, and nonzero on error.

> Since the value of the symbol could actually be NULL (so that a NULL
return from dlsym() need not indicate an error), the correct way to test
for an error is to call dlerror() to clear any old error conditions,
then call dlsym(), and then call dlerror() again, saving its return
value into a variable, and check whether this saved value is not NULL.


See:
- https://linux.die.net/man/3/dlopen


  Commit: f767295942288bd70156ad322defac60b568c927
      https://github.com/llvm/llvm-project/commit/f767295942288bd70156ad322defac60b568c927
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M clang-tools-extra/clangd/support/ThreadsafeFS.cpp

  Log Message:
  -----------
  [clangd] Use std::make_unique (NFC) (#97915)


  Commit: 75bc20ff899753b100cb875ce703af2348a1d6bb
      https://github.com/llvm/llvm-project/commit/75bc20ff899753b100cb875ce703af2348a1d6bb
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/BranchProbabilityInfo.h
    M llvm/include/llvm/Analysis/MLInlineAdvisor.h
    M llvm/include/llvm/Analysis/MemorySSA.h
    M llvm/include/llvm/ProfileData/SampleProfReader.h
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
    M llvm/lib/IR/DebugProgramInstruction.cpp
    M llvm/lib/ObjectYAML/XCOFFYAML.cpp
    M llvm/lib/Support/TimeProfiler.cpp
    M llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/tools/bugpoint/CrashDebugger.cpp
    M llvm/tools/llvm-as/llvm-as.cpp
    M llvm/tools/llvm-objdump/MachODump.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp
    M llvm/tools/llvm-readobj/llvm-readobj.cpp
    M llvm/unittests/CodeGen/GlobalISel/GISelMITest.h
    M llvm/unittests/DebugInfo/BTF/BTFParserTest.cpp
    M llvm/unittests/DebugInfo/DWARF/DWARFExpressionCopyBytesTest.cpp
    M llvm/unittests/IR/VFABIDemanglerTest.cpp
    M llvm/unittests/Linker/LinkModulesTest.cpp
    M llvm/unittests/MC/DwarfLineTableHeaders.cpp
    M llvm/unittests/MIR/MachineMetadata.cpp
    M llvm/unittests/Target/X86/MachineSizeOptsTest.cpp
    M llvm/unittests/Transforms/Utils/SizeOptsTest.cpp

  Log Message:
  -----------
  [llvm] Remove redundant calls to std::unique_ptr<T>::get (NFC) (#97914)


  Commit: d00f1c14dc0ea8a933f90ada0f77781d99a439a7
      https://github.com/llvm/llvm-project/commit/d00f1c14dc0ea8a933f90ada0f77781d99a439a7
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    A llvm/include/llvm/CodeGenData/OutlinedHashTree.h
    A llvm/include/llvm/CodeGenData/OutlinedHashTreeRecord.h
    M llvm/lib/CMakeLists.txt
    A llvm/lib/CodeGenData/CMakeLists.txt
    A llvm/lib/CodeGenData/OutlinedHashTree.cpp
    A llvm/lib/CodeGenData/OutlinedHashTreeRecord.cpp
    M llvm/unittests/CMakeLists.txt
    A llvm/unittests/CodeGenData/CMakeLists.txt
    A llvm/unittests/CodeGenData/OutlinedHashTreeRecordTest.cpp
    A llvm/unittests/CodeGenData/OutlinedHashTreeTest.cpp

  Log Message:
  -----------
  [CGData] Outlined Hash Tree (#89792)

This defines the OutlinedHashTree class.
It contains sequences of stable hash values of instructions that have
been outlined. This OutlinedHashTree can be used to track the outlined
instruction sequences across modules. A trie structure is used in its
implementation, allowing for a compact sharing of common prefixes.

This is a patch for
https://discourse.llvm.org/t/rfc-enhanced-machine-outliner-part-2-thinlto-nolto/78753.


  Commit: 8a41327948e7611e851234782b8005d615c5c92c
      https://github.com/llvm/llvm-project/commit/8a41327948e7611e851234782b8005d615c5c92c
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M lld/docs/ReleaseNotes.rst

  Log Message:
  -----------
  ReleaseNotes: add lld/ELF notes


  Commit: 57fa5084036d10824f6f64e3bcc481db8fa73c24
      https://github.com/llvm/llvm-project/commit/57fa5084036d10824f6f64e3bcc481db8fa73c24
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M llvm/unittests/CodeGenData/OutlinedHashTreeTest.cpp

  Log Message:
  -----------
  Fix build break for [CGData] Outlined Hash Tree (#89792)


  Commit: ba255076a0efce1e2e7ecf5572a794912e23370b
      https://github.com/llvm/llvm-project/commit/ba255076a0efce1e2e7ecf5572a794912e23370b
  Author: Izaak Schroeder <izaak.schroeder at gmail.com>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M libc/config/linux/aarch64/headers.txt
    M libc/config/linux/x86_64/headers.txt
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-macros/CMakeLists.txt
    A libc/include/llvm-libc-macros/elf-macros.h
    M libc/include/llvm-libc-macros/link-macros.h
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/Dl_info.h
    A libc/include/llvm-libc-types/__dl_iterate_phdr_callback_t.h
    A libc/include/llvm-libc-types/struct_dl_phdr_info.h

  Log Message:
  -----------
  [libc] Add `link.h` and `elf.h` headers (#97924)

Headers for https://github.com/llvm/llvm-project/pull/97504


  Commit: 1acb08660a7a2cd3f0f2e8f4fbfe34c830484480
      https://github.com/llvm/llvm-project/commit/1acb08660a7a2cd3f0f2e8f4fbfe34c830484480
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-07-06 (Sat, 06 Jul 2024)

  Changed paths:
    M libc/config/linux/aarch64/headers.txt
    M libc/config/linux/x86_64/headers.txt
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-macros/CMakeLists.txt
    R libc/include/llvm-libc-macros/elf-macros.h
    M libc/include/llvm-libc-macros/link-macros.h
    M libc/include/llvm-libc-types/CMakeLists.txt
    R libc/include/llvm-libc-types/Dl_info.h
    R libc/include/llvm-libc-types/__dl_iterate_phdr_callback_t.h
    R libc/include/llvm-libc-types/struct_dl_phdr_info.h

  Log Message:
  -----------
  Revert "[libc] Add `link.h` and `elf.h` headers" (#97931)

Reverts llvm/llvm-project#97924


  Commit: f4c781174b4b8fd958d9074c25eb06b6e276cb1c
      https://github.com/llvm/llvm-project/commit/f4c781174b4b8fd958d9074c25eb06b6e276cb1c
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/SemaTemplate/generic-lambda.cpp

  Log Message:
  -----------
  [Clang] Add captures to the instantiation scope for noexcept specifiers (#97166)

The noexcept specifiers of dependent lambdas would be transformed and
rebuilt, where the map of instantiation should also contain captured
variables in case they are used from the noexcept specifier.

I also uncovered another assertion failure while at it. However, I
decided to leave it as-is because 1) that doesn't appear to be the case
in the release version and 2) fixing that might lead to ABI breakage.
Anyhow, the case has been added to the test comment.

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


  Commit: e83e53b7027149a61a6d4d27ddf66614d8d24129
      https://github.com/llvm/llvm-project/commit/e83e53b7027149a61a6d4d27ddf66614d8d24129
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    M llvm/unittests/MC/AMDGPU/CMakeLists.txt
    A llvm/unittests/MC/AMDGPU/Disassembler.cpp

  Log Message:
  -----------
  [AMDGPU][MC] Allow UC_VERSION_* constant reuse (#96461)

If more than one disassembler is created for a context then allow reuse
of existing constants.
Warn if constants values do not match.


  Commit: 9d6b68b63f02e0fa3a1dd5b4553cc0d8f17d8777
      https://github.com/llvm/llvm-project/commit/9d6b68b63f02e0fa3a1dd5b4553cc0d8f17d8777
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M libcxx/src/CMakeLists.txt
    R libcxx/src/chrono_exception.cpp
    A libcxx/src/experimental/chrono_exception.cpp
    A libcxx/src/experimental/include/tzdb/time_zone_private.h
    A libcxx/src/experimental/include/tzdb/types_private.h
    A libcxx/src/experimental/include/tzdb/tzdb_list_private.h
    A libcxx/src/experimental/include/tzdb/tzdb_private.h
    A libcxx/src/experimental/time_zone.cpp
    A libcxx/src/experimental/tzdb.cpp
    A libcxx/src/experimental/tzdb_list.cpp
    R libcxx/src/include/tzdb/time_zone_private.h
    R libcxx/src/include/tzdb/types_private.h
    R libcxx/src/include/tzdb/tzdb_list_private.h
    R libcxx/src/include/tzdb/tzdb_private.h
    R libcxx/src/time_zone.cpp
    R libcxx/src/tzdb.cpp
    R libcxx/src/tzdb_list.cpp
    M libcxx/test/libcxx/time/time.zone/time.zone.db/rules.pass.cpp
    M libcxx/test/libcxx/time/time.zone/time.zone.db/zones.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Makes implementation experimental. (#95657)

This moves the files to libcxx/src/experimental/ as discussed in #90394.

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


  Commit: 0ff06b44cc345901eaeaf968f885b9a0fd59ec24
      https://github.com/llvm/llvm-project/commit/0ff06b44cc345901eaeaf968f885b9a0fd59ec24
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    A llvm/utils/gn/secondary/llvm/lib/CodeGenData/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
    A llvm/utils/gn/secondary/llvm/unittests/CodeGenData/BUILD.gn

  Log Message:
  -----------
  [gn] port d00f1c14dc0e (CodeGenDataTests)


  Commit: 964327d22f51e479ef12dfcfc1ed28af0e7f7d06
      https://github.com/llvm/llvm-project/commit/964327d22f51e479ef12dfcfc1ed28af0e7f7d06
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

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

  Log Message:
  -----------
  [gn] port 9d6b68b63f02 (libc++ tzdb to experimental/)


  Commit: 03807aa2c5d924a2e88fad1cacda2470c5052f1c
      https://github.com/llvm/llvm-project/commit/03807aa2c5d924a2e88fad1cacda2470c5052f1c
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M llvm/unittests/MC/AMDGPU/Disassembler.cpp

  Log Message:
  -----------
  [AMDGPU][MC] Attempt to fix build after e83e53b702714

See https://github.com/llvm/llvm-project/pull/96461#issuecomment-2212381515


  Commit: 902fb1b4653d5a23613492406cd5693446f06ab6
      https://github.com/llvm/llvm-project/commit/902fb1b4653d5a23613492406cd5693446f06ab6
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/unittests/MC/AMDGPU/BUILD.gn

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


  Commit: c65f8d881671c3c7966fbbc967b7c4ca063d989b
      https://github.com/llvm/llvm-project/commit/c65f8d881671c3c7966fbbc967b7c4ca063d989b
  Author: Felix Schneider <fx.schn at gmail.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/invalid.mlir

  Log Message:
  -----------
  [mlir][linalg] Fix crashes in parser on linalg ops without operands (#97944)

`parseDstStyleOp` parses both `ins()` and `outs()` optionally. The
parsers for `linalg.transpose`, `linalg.broadcast` and `linalg.map`
however assume that at least one operand is present in the state,
leading to crashes otherwise.

This patch adds checks to the parsers which stop them from crashing if
no operands were parsed. When the Ops are parsed successfuly, the
verifiers can work on them.

Fix https://github.com/llvm/llvm-project/issues/97857


  Commit: 07c157a43534744bff8b9cf03a5ec8d19717ba72
      https://github.com/llvm/llvm-project/commit/07c157a43534744bff8b9cf03a5ec8d19717ba72
  Author: Jeremy Kun <jkun at google.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M mlir/include/mlir/IR/DialectImplementation.h
    M mlir/test/IR/parser.mlir
    A mlir/test/IR/parser_dialect_loading.mlir
    M mlir/test/lib/Dialect/Test/TestAttrDefs.td
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
    M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp

  Log Message:
  -----------
  [mlir] load dialect in parser for optional parameters (#96667)

https://github.com/llvm/llvm-project/pull/96242 fixed an issue where the
auto-generated parsers were not loading dialects whose namespaces are
not present in the textual IR. This required the attribute parameter to
be a tablegen def with its dialect information attached.

This fails when using parameter wrapper classes like
`OptionalParameter`. This came up because `RingAttr` uses
`OptionalParameter` for its second and third attributes.
`OptionalParameter` takes as input the C++ type as a string instead of
the tablegen def, and so it doesn't have a dialect member value to
trigger the fix from https://github.com/llvm/llvm-project/pull/96242.
The docs on this topic say the appropriate solution as overloading
`FieldParser` for a particular type.

This PR updates `FieldParser` for generic attributes to load the dialect
on demand. This requires `mlir-tblgen` to emit a `dialectName` static
field on the generated attribute class, and check for it with template
metaprogramming, since not all attribute types go through `mlir-tblgen`.

---------

Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Co-authored-by: Oleksandr "Alex" Zinenko <ftynse at gmail.com>


  Commit: 649cdfc4b6781a350dfc87d9b2a4b5a4c3395909
      https://github.com/llvm/llvm-project/commit/649cdfc4b6781a350dfc87d9b2a4b5a4c3395909
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/test/ELF/version.test

  Log Message:
  -----------
  [ELF] Reinstate the former spelling in the version message

With `LLVM_APPEND_VC_REV=off`, the new version message after #97323
looks like:
```
% /tmp/out/custom2/bin/ld.lld --version
LLD 19.0.0, compatible with GNU linkers
```

A trailing comma after the version string might cause issues with
version detection tools that don't strip it, as seen in the Linux
kernel's scripts/ld-version.sh script.

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


  Commit: d043e4c322489fa5b9f6363e3c83984219c2b602
      https://github.com/llvm/llvm-project/commit/d043e4c322489fa5b9f6363e3c83984219c2b602
  Author: Hristo Hristov <hghristov.rmm at gmail.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M libcxx/include/__compare/synth_three_way.h
    M libcxx/include/array
    M libcxx/include/deque
    M libcxx/include/forward_list
    M libcxx/include/list
    M libcxx/include/map
    M libcxx/include/set
    M libcxx/include/vector

  Log Message:
  -----------
  [libc++] Restore `__synth_three_way` lambda (#90398)

Restore `__synth_three_way` lambda to match the Standard. 
GH-57222 is done, restoring the Standard wording implementation should
be possible.


https://github.com/llvm/llvm-project/blob/df28d4412c1d21b0e18896c92ac77d2fac7729f1/libcxx/include/__compare/synth_three_way.h#L28

According to comment
https://github.com/llvm/llvm-project/issues/59513#issuecomment-2068338762,
GH-59513 is not a blocker.

Co-authored-by: Hristo Hristov <zingam at outlook.com>


  Commit: 7f3c40a6613346a4ea856c1462de4fca12dc4fef
      https://github.com/llvm/llvm-project/commit/7f3c40a6613346a4ea856c1462de4fca12dc4fef
  Author: Nhat Nguyen <nhat7203 at gmail.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/hdr/CMakeLists.txt
    A libc/hdr/limits_macros.h
    A libc/hdr/sys_stat_macros.h
    A libc/hdr/unistd_macros.h
    M libc/include/llvm-libc-macros/limits-macros.h
    M libc/include/llvm-libc-macros/linux/unistd-macros.h
    M libc/src/sys/statvfs/linux/CMakeLists.txt
    M libc/src/unistd/CMakeLists.txt
    A libc/src/unistd/fpathconf.h
    M libc/src/unistd/linux/CMakeLists.txt
    A libc/src/unistd/linux/fpathconf.cpp
    A libc/src/unistd/linux/pathconf.cpp
    A libc/src/unistd/linux/pathconf_utils.cpp
    A libc/src/unistd/linux/pathconf_utils.h
    A libc/src/unistd/pathconf.h
    M libc/test/src/unistd/CMakeLists.txt
    A libc/test/src/unistd/fpathconf_test.cpp
    A libc/test/src/unistd/pathconf_test.cpp

  Log Message:
  -----------
  [libc] implement pathconf/fpathconf (#87165)


  Commit: 29b8b72117845dc3d20e70fbfa85c590fa9c7830
      https://github.com/llvm/llvm-project/commit/29b8b72117845dc3d20e70fbfa85c590fa9c7830
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
    M llvm/test/Transforms/LoopVectorize/SystemZ/zero_unroll.ll
    M llvm/test/Transforms/LoopVectorize/X86/induction-costs.ll
    M llvm/test/Transforms/LoopVectorize/pr32859.ll
    M llvm/test/Transforms/LoopVectorize/vplan-incomplete-cases.ll

  Log Message:
  -----------
  [LV] Move check if any vector insts will be generated to VPlan. (#96622)

This patch moves the check if any vector instructions will be generated
from getInstructionCost to be based on VPlan. This simplifies
getInstructionCost, is more accurate as we check the final result and
also allows us to exit early once we visit a recipe that generates
vector instructions.

The helper can then be re-used by the VPlan-based cost model to match
the legacy selectVectorizationFactor behavior, this fixing a crash and
paving the way to recommit
https://github.com/llvm/llvm-project/pull/92555.

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


  Commit: 1b26bb0d12e6d609403e667282d5e7aa10dc4d48
      https://github.com/llvm/llvm-project/commit/1b26bb0d12e6d609403e667282d5e7aa10dc4d48
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M libc/hdr/math_macros.h
    M libc/src/__support/File/linux/CMakeLists.txt
    M libc/src/__support/threads/sleep.h
    M libc/src/math/generic/cos.cpp
    M libc/src/math/generic/sin.cpp
    M libc/src/math/generic/sincos.cpp
    M libc/src/search/hsearch.cpp
    M libc/startup/linux/aarch64/tls.cpp

  Log Message:
  -----------
  [libc] fix aarch64 GCC build (#97932)

This PR fix several build errors on aarch64 targets when building with
gcc:
- uninitialized values leading to `Werrors`
- undefined builtin functions
- glibc header pollution


  Commit: f13463ee52cf95c76867d0dafe6bff16cb9e3009
      https://github.com/llvm/llvm-project/commit/f13463ee52cf95c76867d0dafe6bff16cb9e3009
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M libc/utils/HdrGen/CMakeLists.txt
    M libc/utils/LibcTableGenUtil/CMakeLists.txt

  Log Message:
  -----------
  [libc] support out of tree build with dynlibs (#97959)


  Commit: 2718654c542c742e2dd18dcda8b93de1d4d3b640
      https://github.com/llvm/llvm-project/commit/2718654c542c742e2dd18dcda8b93de1d4d3b640
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp
    M llvm/include/llvm/MC/MCDwarf.h
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/lib/CodeGen/CFIInstrInserter.cpp
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCDwarf.cpp
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCStreamer.cpp
    A llvm/test/MC/ELF/cfi-label.s

  Log Message:
  -----------
  [MC] Support .cfi_label

GNU assembler 2.26 introduced the .cfi_label directive. It does not
expand to any CFI instructions, but defines a label in
.eh_frame/.debug_frame, which can be used by runtime patching code to
locate the FDE. .cfi_label is not allowed for CIE's initial
instructions, and can therefore be used to force the next instruction to
be placed in a FDE instead of a CIE.

In glibc since 2018, sysdeps/riscv/start.S utilizes .cfi_label to force
DW_CFA_undefined to be placed in a FDE. arc/csky/loongarch ports have
copied this use.
```
.cfi_startproc
// DW_CFA_undefined is allowed for CIE's initial instructions.
// Without .cfi_label, gas would place DW_CFA_undefined in a CIE.
.cfi_label .Ldummy
.cfi_undefined ra
.cfi_endproc
```

No CFI instruction is associated with .cfi_label, so the `case
MCCFIInstruction::OpLabel:` code in BOLT is unreachable and onlt to make
-Wswitch happy.

Close #97222

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


  Commit: 73447a3302541c343525570222b318e7f94f9402
      https://github.com/llvm/llvm-project/commit/73447a3302541c343525570222b318e7f94f9402
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

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

  Log Message:
  -----------
  [libc] Include tan in the baremetal configuration (#97921)

This is available as of #97489.


  Commit: cc5ba739f27ab2f28d4a0f2e295d1e426aa836a7
      https://github.com/llvm/llvm-project/commit/cc5ba739f27ab2f28d4a0f2e295d1e426aa836a7
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/Module.cpp

  Log Message:
  -----------
  [IR] Use range-based for loops (NFC) (#97950)


  Commit: afd0e6d06ba05cf3cd8b0bb91b6506242de78a4d
      https://github.com/llvm/llvm-project/commit/afd0e6d06ba05cf3cd8b0bb91b6506242de78a4d
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticCommonKinds.td
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/lib/Basic/Targets/PPC.h
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    A clang/test/CodeGen/PowerPC/musttail-forward-declaration-inline.c
    A clang/test/CodeGen/PowerPC/musttail-forward-declaration-weak.c
    A clang/test/CodeGen/PowerPC/musttail-forward-declaration.c
    A clang/test/CodeGen/PowerPC/musttail-indirect.cpp
    A clang/test/CodeGen/PowerPC/musttail-inline.c
    A clang/test/CodeGen/PowerPC/musttail-undefined.c
    A clang/test/CodeGen/PowerPC/musttail-weak.c
    A clang/test/CodeGen/PowerPC/musttail.c

  Log Message:
  -----------
  [PowerPC] Diagnose musttail instead of crash inside backend (#93267)

musttail is not often possible to be generated on PPC targets as when
calling to a function defined in another module, PPC needs to restore
the TOC pointer. To restore the TOC pointer, compiler needs to emit a
nop after the call to let linker generate codes to restore TOC pointer.
Tail call cannot generate expected call sequence for this case.

To avoid the crash inside the compiler backend, a diagnosis is added in
the frontend.

Fixes #63214


  Commit: 112aa105635413c24e7a2ed3638a14a5600d1d1d
      https://github.com/llvm/llvm-project/commit/112aa105635413c24e7a2ed3638a14a5600d1d1d
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M compiler-rt/lib/orc/error.h

  Log Message:
  -----------
  [ORC-RT] Fix typo in comment.


  Commit: 73bfb65c5714c6442a00bce866132d28ea609254
      https://github.com/llvm/llvm-project/commit/73bfb65c5714c6442a00bce866132d28ea609254
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M compiler-rt/include/orc_rt/c_api.h

  Log Message:
  -----------
  [ORC-RT] Remove unused typedef from the C API.


  Commit: 431b9965f59ad68e5c7d7112bc6b7ea154e5f85c
      https://github.com/llvm/llvm-project/commit/431b9965f59ad68e5c7d7112bc6b7ea154e5f85c
  Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
    A llvm/test/Transforms/SpeculativeExecution/dropping-debugloc-hoist.ll

  Log Message:
  -----------
  [DebugInfo][SpeculativeExecution] Drop the debug location of the hoisted instruction (#97384)

Fix #97375 .


  Commit: e4ee9bf0d2dee8064c539c047ee525e5b7ad44e5
      https://github.com/llvm/llvm-project/commit/e4ee9bf0d2dee8064c539c047ee525e5b7ad44e5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll

  Log Message:
  -----------
  [RISCV] Custom legalize vXf16 BUILD_VECTOR without Zfhmin. (#97874)

If we don't have Zfhmin, we will call `SoftPromoteHalfOperand` on the
BUILD_VECTOR. This operation is not supported by the generic code.

Instead, custom lower to a vXi16 BUILD_VECTOR using bitcasts.

Fixes #97849.


  Commit: 3ed76b45be185469f0ff58292102a4202902679d
      https://github.com/llvm/llvm-project/commit/3ed76b45be185469f0ff58292102a4202902679d
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h

  Log Message:
  -----------
  [X86][NFC] Remove dead code for "_REV" instructions (#97828)

Those "_REV" instructions should not appear before encoding
optimization, while macro fusion is done before encoding optimization.

Partial reland of 8bbf100799a97f8342bf1a8409c6fb48f03e837f

BOLT has dropped macro-op fusion alignment optimization in
https://github.com/llvm/llvm-project/pull/97358, which unblocks the
reland.


  Commit: 4a9dabee73f79974c69a35af7668c7a7e52e2d7f
      https://github.com/llvm/llvm-project/commit/4a9dabee73f79974c69a35af7668c7a7e52e2d7f
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M libc/spec/linux.td

  Log Message:
  -----------
  [libc] add prctl func spec (#97971)


  Commit: e603451f3cb16792fb46ab5f2fa50b05f3e5d935
      https://github.com/llvm/llvm-project/commit/e603451f3cb16792fb46ab5f2fa50b05f3e5d935
  Author: Feng Zou <feng.zou at intel.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/lib/Basic/Targets/X86.cpp
    M clang/lib/Basic/Targets/X86.h
    M llvm/lib/Target/X86/X86.td
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    A llvm/test/CodeGen/X86/branch-hint.ll

  Log Message:
  -----------
  [X86] Support branch hint (#97721)

For more details about this feature, please refer to latest Intel 64 and
IA-32 Architectures Optimization Reference Manual Volume 1:
https://www.intel.com/content/www/us/en/content-details/821612/intel-64-and-ia-32-architectures-optimization-reference-manual-volume-1.html


  Commit: 2a9607168b42498c4a70441089be57af88eec4d2
      https://github.com/llvm/llvm-project/commit/2a9607168b42498c4a70441089be57af88eec4d2
  Author: Vikram Hegde <115221833+vikramRH at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f32-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f32-rtn.ll
    M llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
    M llvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
    M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f32-no-rtn.ll
    M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f32-rtn.ll
    M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan_fp.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fadd.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/global_atomics_scan_fsub.ll

  Log Message:
  -----------
  [AMDGPU] Cleanup bitcast spam in atomic optimizer (#96933)


  Commit: 13ed3b472b6209ef6f7c5b0ee1eb91e563e01cbc
      https://github.com/llvm/llvm-project/commit/13ed3b472b6209ef6f7c5b0ee1eb91e563e01cbc
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

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

  Log Message:
  -----------
  [DivisionByConstantInfo] Use APInt::getLowBitsSet instead of getAllOnes+lshr. NFC


  Commit: 5789ee28772d942da113762f45fa5f47996b55d7
      https://github.com/llvm/llvm-project/commit/5789ee28772d942da113762f45fa5f47996b55d7
  Author: Konstantin Varlamov <varconsteq at gmail.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M libcxx/include/chrono

  Log Message:
  -----------
  [libc++] Guard transitive include of `<locale>` with availability macro (#97869)

This is a follow-up to https://github.com/llvm/llvm-project/pull/85521,
similar to https://github.com/llvm/llvm-project/pull/95686.


  Commit: 5ab9e003c8bd1e8b095869e472336447de1ed148
      https://github.com/llvm/llvm-project/commit/5ab9e003c8bd1e8b095869e472336447de1ed148
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [AMDGPU] Fix -Wunused-variable in AMDGPUAtomicOptimizer.cpp (NFC)

/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp:688:18:
error: unused variable 'TyBitWidth' [-Werror,-Wunused-variable]
  const unsigned TyBitWidth = DL->getTypeSizeInBits(Ty);
                 ^
1 error generated.


  Commit: ef465bf8b11f667fd5e73fc5abcc121793a18a81
      https://github.com/llvm/llvm-project/commit/ef465bf8b11f667fd5e73fc5abcc121793a18a81
  Author: hstk30-hw <hanwei62 at huawei.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    A llvm/test/CodeGen/ARM/sdiv_shl.ll

  Log Message:
  -----------
  [ARM] Fix arm32be softfp mode miscompilation for neon sdiv (#97883)

Related issue: https://github.com/llvm/llvm-project/issues/97782


  Commit: aa9e4f0bc93fc735e83ea8b5269e699f31fb9d28
      https://github.com/llvm/llvm-project/commit/aa9e4f0bc93fc735e83ea8b5269e699f31fb9d28
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Refactor mask check in performCombineVMergeAndVOps. NFC


  Commit: 5e136b7e0d310b368ce5025d55bfd7a376391199
      https://github.com/llvm/llvm-project/commit/5e136b7e0d310b368ce5025d55bfd7a376391199
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Utility/Listener.h
    M lldb/source/Utility/Listener.cpp

  Log Message:
  -----------
  [lldb] Make Listener::m_broadcasters_mutex non-recursive (#97552)

Follow-up to #97400. No changes apart from changing the type were
necessary. The mutex was already not used recursively.


  Commit: 64740edac8d62a477701a9f089d89a654a004b22
      https://github.com/llvm/llvm-project/commit/64740edac8d62a477701a9f089d89a654a004b22
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M mlir/lib/Analysis/Presburger/Utils.cpp

  Log Message:
  -----------
  mlir/Presburger: optimize normalizeDiv when gcd=1 (#97893)


  Commit: 074414fdbdff93bd14fe0a46499cf4fb03587899
      https://github.com/llvm/llvm-project/commit/074414fdbdff93bd14fe0a46499cf4fb03587899
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseVectorization.cpp

  Log Message:
  -----------
  [mlir][sparse] Use vector.step for index vector generation (#97692)


  Commit: 4132ab84eece2352302ced8803a88c140a217aff
      https://github.com/llvm/llvm-project/commit/4132ab84eece2352302ced8803a88c140a217aff
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel

  Log Message:
  -----------
  [bazel] Port for the libc change f8834ed24bf11d19c96c49d42e77d4408af91fd8


  Commit: 1604c24981a73fd7689626db87c23165d7303d7a
      https://github.com/llvm/llvm-project/commit/1604c24981a73fd7689626db87c23165d7303d7a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [AArch64] Fix copy and paste error in tryCombineMULLWithUZP1() (NFCI) (#97729)

The bitcast check was performed on the wrong value in one of the
branches.

I believe this doesn't actually result in any behavior difference,
because the following code looking at ExtractHigh users currently
doesn't try to look through BITCASTS. I've left a TODO for that.

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


  Commit: c119da23afb42daf588c3e4caf97094689d70688
      https://github.com/llvm/llvm-project/commit/c119da23afb42daf588c3e4caf97094689d70688
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/PowerPC/aix-available-externally-linkage-fun.ll
    M llvm/test/CodeGen/PowerPC/aix-extern-weak.ll
    M llvm/test/CodeGen/PowerPC/aix-extern.ll
    M llvm/test/CodeGen/PowerPC/aix-text-ref.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-reloc.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-visibility.ll

  Log Message:
  -----------
  [PowerPC] Function descriptor symbol may be omitted for external symbol. #97526

If a function's address is taken, which means it may be called via a function pointer,
we need the function descriptor for it.
Otherwise, the function descriptor can be omitted for external symbols.


  Commit: f21b62b0d1d13fa3f259da4dde587c1289c84fb8
      https://github.com/llvm/llvm-project/commit/f21b62b0d1d13fa3f259da4dde587c1289c84fb8
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    A llvm/include/llvm/IR/DbgVariableFragmentInfo.h
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/include/llvm/IR/DebugProgramInstruction.h
    M llvm/lib/IR/DebugProgramInstruction.cpp

  Log Message:
  -----------
  [NFC] Add fragment-getting functions to DbgRecord (#97705)

Patch [1/x] to fix structured bindings debug info in SROA.

Copy getFragment and getFragmentOrEntireVariable from DbgVariableIntrinsic.

Move FragmentInfo out of DIExpression and DebugInfoMetadata.h into a new file
DbgVariableFragmentInfo.h so it can be included into DebugProgramInstruction.h
without pulling in other includes and classes.

These functions will be used in subsequent patches.


  Commit: 40fe73e09f1f76c7ff2a50cf960c753dd809629b
      https://github.com/llvm/llvm-project/commit/40fe73e09f1f76c7ff2a50cf960c753dd809629b
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [bazel] Add missing gmp dep for f8834ed24bf11d19c96c49d42e77d4408af91fd8


  Commit: 11f7c89bef14f57e36ed74a0fc647f214b1e058e
      https://github.com/llvm/llvm-project/commit/11f7c89bef14f57e36ed74a0fc647f214b1e058e
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    R llvm/include/llvm/IR/DbgVariableFragmentInfo.h
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/include/llvm/IR/DebugProgramInstruction.h
    M llvm/lib/IR/DebugProgramInstruction.cpp

  Log Message:
  -----------
  Revert "[NFC] Add fragment-getting functions to DbgRecord (#97705)"

This reverts commit f21b62b0d1d13fa3f259da4dde587c1289c84fb8.

Fails to build.


  Commit: 9b754675d3e0861039cf87cf4a0488ecc121e530
      https://github.com/llvm/llvm-project/commit/9b754675d3e0861039cf87cf4a0488ecc121e530
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueLattice.h
    M llvm/lib/Analysis/LazyValueInfo.cpp

  Log Message:
  -----------
  [ValueLattice] Add asConstantRange() helper (NFC)

Move the toConstantRange() helper from LVI into ValueLattice,
so it can be reused in other places like SCCP.


  Commit: deb6b6038c3dcdca7ce21abca4fddffbe53b1403
      https://github.com/llvm/llvm-project/commit/deb6b6038c3dcdca7ce21abca4fddffbe53b1403
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    A llvm/include/llvm/IR/DbgVariableFragmentInfo.h
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/include/llvm/IR/DebugProgramInstruction.h
    M llvm/lib/IR/DebugProgramInstruction.cpp

  Log Message:
  -----------
  Reapply [NFC] Add fragment-getting functions to DbgRecord (#97705)

Patch [1/x] to fix structured bindings debug info in SROA.

Copy getFragment and getFragmentOrEntireVariable from DbgVariableIntrinsic.

Move FragmentInfo out of DIExpression and DebugInfoMetadata.h into a new file
DbgVariableFragmentInfo.h so it can be included into DebugProgramInstruction.h
without pulling in other includes and classes.


  Commit: f50f7a7aa0b897ef91361d7dc159f3262d142bdc
      https://github.com/llvm/llvm-project/commit/f50f7a7aa0b897ef91361d7dc159f3262d142bdc
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  [NFC] Add DIExpression::extractLeadingOffset (#97719)

Patch [2/x] to fix structured bindings debug info in SROA.

It extracts a constant offset from the DIExpression if there is one and fills
RemainingOps with the ops that come after it.

This function will be used in a subsequent patch.


  Commit: 5ce9a86110df0592d036688dc5b3ae2fbdbf99db
      https://github.com/llvm/llvm-project/commit/5ce9a86110df0592d036688dc5b3ae2fbdbf99db
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/examples/synthetic/gnu_libstdcpp.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/variant/TestDataFormatterLibStdcxxVariant.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/variant/main.cpp

  Log Message:
  -----------
  [lldb] Make variant formatter work with libstdc++-14 (#97568)

In this version the internal data member has grown an additional
template parameter (bool), which was throwing the summary provider off.

This patch uses the type of the entire variant object. This is part of
the API/ABI, so it should be more stable, but it means we have to
explicitly strip typedefs and references to get to the interesting bits,
which is why I've extended the test case with examples of those.


  Commit: b590e9a5aedabeceb00d81d49897abbf02ab3b87
      https://github.com/llvm/llvm-project/commit/b590e9a5aedabeceb00d81d49897abbf02ab3b87
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Utility/Listener.h
    M lldb/source/API/SBAttachInfo.cpp
    M lldb/source/API/SBLaunchInfo.cpp
    M lldb/source/Utility/Listener.cpp

  Log Message:
  -----------
  [lldb] Remove Listener::SetShadow (#97555)

It's not used since https://reviews.llvm.org/D157556.


  Commit: c2fe75f99c9b385eb707571e0b46b7a1afef37db
      https://github.com/llvm/llvm-project/commit/c2fe75f99c9b385eb707571e0b46b7a1afef37db
  Author: tcwzxx <tcwzxx at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  Make the logic for checking scatter vectorized nodes of GEP clearer (#97826)

There is no functional change.

Authored-by: zhizhixu <zhizhixu at tencent.com>


  Commit: 4c23625357b0b6091bc97478a79d522a832c2b21
      https://github.com/llvm/llvm-project/commit/4c23625357b0b6091bc97478a79d522a832c2b21
  Author: Kendal Harland <3987220+kendalharland at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py

  Log Message:
  -----------
  Fix flake in TestZerothFrame.py (#96685)

This test is currently flaky on a local Windows amd64 build. The reason
is that it relies on the order of `process.threads` but this order is
nondeterministic:

If we print lldb's inputs and outputs while running, we can see that the
breakpoints are always being set correctly, and always being hit:

```sh
runCmd: breakpoint set -f "main.c" -l 2
output: Breakpoint 1: where = a.out`func_inner + 1 at main.c:2:9, address = 0x0000000140001001

runCmd: breakpoint set -f "main.c" -l 7
output: Breakpoint 2: where = a.out`main + 17 at main.c:7:5, address = 0x0000000140001021

runCmd: run
output: Process 52328 launched: 'C:\workspace\llvm-project\llvm\build\lldb-test-build.noindex\functionalities\unwind\zeroth_frame\TestZerothFrame.test_dwarf\a.out' (x86_64)
Process 52328 stopped
* thread #1, stop reason = breakpoint 1.1
    frame #0: 0x00007ff68f6b1001 a.out`func_inner at main.c:2:9
   1    void func_inner() {
-> 2        int a = 1;  // Set breakpoint 1 here
                ^
   3    }
   4
   5    int main() {
   6        func_inner();
   7        return 0; // Set breakpoint 2 here
```

However, sometimes the backtrace printed in this test shows that the
process is stopped inside NtWaitForWorkViaWorkerFactory from
`ntdll.dll`:

```sh
Backtrace at the first breakpoint:
frame #0: 0x00007ffecc7b3bf4 ntdll.dll`NtWaitForWorkViaWorkerFactory + 20
frame #1: 0x00007ffecc74585e ntdll.dll`RtlClearThreadWorkOnBehalfTicket + 862
frame #2: 0x00007ffecc3e257d kernel32.dll`BaseThreadInitThunk + 29
frame #3: 0x00007ffecc76af28 ntdll.dll`RtlUserThreadStart + 40
```

When this happens, the test fails with an assertion error that the
stopped thread's zeroth frame's current line number does not match the
expected line number. This is because the test is looking at the wrong
thread: `process.threads[0]`.

If we print the list of threads each time the test is run, we notice
that threads are sometimes in a different order, within
`process.threads`:

```sh
Thread 0: thread #4: tid = 0x9c38, 0x00007ffecc7b3bf4 ntdll.dll`NtWaitForWorkViaWorkerFactory + 20
Thread 1: thread #2: tid = 0xa950, 0x00007ffecc7b3bf4 ntdll.dll`NtWaitForWorkViaWorkerFactory + 20
Thread 2: thread #1: tid = 0xab18, 0x00007ff64bc81001 a.out`func_inner at main.c:2:9, stop reason = breakpoint 1.1
Thread 3: thread #3: tid = 0xc514, 0x00007ffecc7b3bf4 ntdll.dll`NtWaitForWorkViaWorkerFactory + 20

Thread 0: thread #3: tid = 0x018c, 0x00007ffecc7b3bf4 ntdll.dll`NtWaitForWorkViaWorkerFactory + 20
Thread 1: thread #1: tid = 0x85c8, 0x00007ff7130c1001 a.out`func_inner at main.c:2:9, stop reason = breakpoint 1.1
Thread 2: thread #2: tid = 0xf344, 0x00007ffecc7b3bf4 ntdll.dll`NtWaitForWorkViaWorkerFactory + 20
Thread 3: thread #4: tid = 0x6a50, 0x00007ffecc7b3bf4 ntdll.dll`NtWaitForWorkViaWorkerFactory + 20
```

Use `self.thread()` to consistently select the correct thread, instead.

Co-authored-by: kendal <kendal at thebrowser.company>


  Commit: d6fb89903409c7977f90b9f2f6a557f04d3f7e35
      https://github.com/llvm/llvm-project/commit/d6fb89903409c7977f90b9f2f6a557f04d3f7e35
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
    M mlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir
    M mlir/test/Target/LLVMIR/openmp-llvm.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Improve loop wrapper representation (#97706)

This patch replaces the `SingleBlockImplicitTerminator<"TerminatorOp">`
trait of loop wrapper operations for the `SingleBlock` trait. This
enables a more robust implementation of the
`LoopWrapperInterface::isWrapper()` method, since it does no longer have
to deal with the potentially missing (implicit) terminator.

The `LoopWrapperInterface::isWrapper()` method is also extended to not
identify as wrappers those operations which have a loop wrapper
operation inside that is not taking a wrapper role. This is important
for cases where `omp.parallel` is nested, which can but is not required
to work as a loop wrapper.

Tests are updated to integrate these representation and validation
changes.


  Commit: 857700ff6fb9f9f653c3788445df06db07e7bb59
      https://github.com/llvm/llvm-project/commit/857700ff6fb9f9f653c3788445df06db07e7bb59
  Author: Kendal Harland <3987220+kendalharland at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py

  Log Message:
  -----------
  [lldb][test] Fix type error when calling random.randrange with 'float' arg (#97328)

This test only runs on Windows and fails because we're passing a literal
of the wrong type to random.randrange.

Co-authored-by: kendal <kendal at thebrowser.company>


  Commit: a497e987e5b09ab58efc7c6bef5ff68d4cd750f3
      https://github.com/llvm/llvm-project/commit/a497e987e5b09ab58efc7c6bef5ff68d4cd750f3
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/sitofp-to-tbl.ll

  Log Message:
  -----------
  Reapply "[AArch64] Lower extending sitofp using tbl (#92528)"

This re-commits d1a4f0c9fb559eb4c2fb56112e56343bcd333edc after
a issue was fixed in f92bfca9fc217cad9026598ef6755e711c0be070
("[AArch64] All bits of an exact right shift are demanded (#97448)").


  Commit: 124b18b09d6bc25ac5f34e24a9b13f4212c01233
      https://github.com/llvm/llvm-project/commit/124b18b09d6bc25ac5f34e24a9b13f4212c01233
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  Fix un/signed mismatch in test introduced in #97719

Buildbot:
https://lab.llvm.org/buildbot/#/builders/168/builds/799


  Commit: 8ac6b415e4e5e631410d9cf6a10f15668f663441
      https://github.com/llvm/llvm-project/commit/8ac6b415e4e5e631410d9cf6a10f15668f663441
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [X86] Ensure VPERMV3 -> VPERMV fold comes from a double width vector

#96414 + #97206 didn't ensure that we were extracting subvectors from a vector double the width of the destination.

We can relax this in a future patch, but fix the #97968 crash first.

Fixes #97968


  Commit: 92083e855b4d4ce7e3f7633cd35a4fcb90e2c24f
      https://github.com/llvm/llvm-project/commit/92083e855b4d4ce7e3f7633cd35a4fcb90e2c24f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [X86] Allow VPERMV3 -> VPERMV folds to handle extraction from a wider source vector (e.g. v16i32 -> v4i32)

We don't need to restrict this to double width vectors, as long as we correctly bitcast the types

Improves the fix for #97968


  Commit: 27ccc8835e5163484234549fa6128eeb00d7432d
      https://github.com/llvm/llvm-project/commit/27ccc8835e5163484234549fa6128eeb00d7432d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    A llvm/test/Transforms/LoopVectorize/X86/ephemeral-recipes.ll

  Log Message:
  -----------
  [LV] Add tests with ephemeral values that are widened.

Add tests with loops with ephemeral values that are widened.
After 29b8b72117, @ephemeral_load_and_compare_another_load_used_outside
is vectorized even though the only vector values that are generated are
ephemeral.


  Commit: b9254ade77d41c7582a98e6754058c39fd456c2a
      https://github.com/llvm/llvm-project/commit/b9254ade77d41c7582a98e6754058c39fd456c2a
  Author: Tomas Matheson <Tomas.Matheson at arm.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    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
    M 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
    M clang/test/Driver/aarch64-v9a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-a64fx.c
    A clang/test/Driver/print-enabled-extensions/aarch64-ampere1.c
    A clang/test/Driver/print-enabled-extensions/aarch64-ampere1a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-ampere1b.c
    A clang/test/Driver/print-enabled-extensions/aarch64-apple-a10.c
    A clang/test/Driver/print-enabled-extensions/aarch64-apple-a11.c
    A clang/test/Driver/print-enabled-extensions/aarch64-apple-a12.c
    A clang/test/Driver/print-enabled-extensions/aarch64-apple-a13.c
    A clang/test/Driver/print-enabled-extensions/aarch64-apple-a14.c
    A clang/test/Driver/print-enabled-extensions/aarch64-apple-a15.c
    A clang/test/Driver/print-enabled-extensions/aarch64-apple-a16.c
    A clang/test/Driver/print-enabled-extensions/aarch64-apple-a17.c
    A clang/test/Driver/print-enabled-extensions/aarch64-apple-a7.c
    A clang/test/Driver/print-enabled-extensions/aarch64-apple-m4.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv8-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv8-r.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv8.1-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv8.2-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv8.3-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv8.4-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv8.5-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv8.6-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv8.7-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv8.8-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv8.9-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv9-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv9.1-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv9.2-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv9.3-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv9.4-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-armv9.5-a.c
    A clang/test/Driver/print-enabled-extensions/aarch64-carmel.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a34.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a35.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a510.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a520.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a520ae.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a53.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a55.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a57.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a65.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a65ae.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a710.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a715.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a72.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a720.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a720ae.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a725.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a73.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a75.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a76.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a76ae.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a77.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a78.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a78ae.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-a78c.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-r82.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-r82ae.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-x1.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-x1c.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-x2.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-x3.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-x4.c
    A clang/test/Driver/print-enabled-extensions/aarch64-cortex-x925.c
    A clang/test/Driver/print-enabled-extensions/aarch64-exynos-m3.c
    A clang/test/Driver/print-enabled-extensions/aarch64-exynos-m4.c
    A clang/test/Driver/print-enabled-extensions/aarch64-exynos-m5.c
    A clang/test/Driver/print-enabled-extensions/aarch64-falkor.c
    A clang/test/Driver/print-enabled-extensions/aarch64-generic.c
    A clang/test/Driver/print-enabled-extensions/aarch64-kryo.c
    A clang/test/Driver/print-enabled-extensions/aarch64-neoverse-512tvb.c
    A clang/test/Driver/print-enabled-extensions/aarch64-neoverse-e1.c
    A clang/test/Driver/print-enabled-extensions/aarch64-neoverse-n1.c
    A clang/test/Driver/print-enabled-extensions/aarch64-neoverse-n2.c
    A clang/test/Driver/print-enabled-extensions/aarch64-neoverse-n3.c
    A clang/test/Driver/print-enabled-extensions/aarch64-neoverse-v1.c
    A clang/test/Driver/print-enabled-extensions/aarch64-neoverse-v2.c
    A clang/test/Driver/print-enabled-extensions/aarch64-neoverse-v3.c
    A clang/test/Driver/print-enabled-extensions/aarch64-neoverse-v3ae.c
    A clang/test/Driver/print-enabled-extensions/aarch64-oryon-1.c
    A clang/test/Driver/print-enabled-extensions/aarch64-saphira.c
    A clang/test/Driver/print-enabled-extensions/aarch64-thunderx.c
    A clang/test/Driver/print-enabled-extensions/aarch64-thunderx2t99.c
    A clang/test/Driver/print-enabled-extensions/aarch64-thunderx3t110.c
    A clang/test/Driver/print-enabled-extensions/aarch64-thunderxt81.c
    A clang/test/Driver/print-enabled-extensions/aarch64-thunderxt83.c
    A clang/test/Driver/print-enabled-extensions/aarch64-thunderxt88.c
    A clang/test/Driver/print-enabled-extensions/aarch64-tsv110.c
    A clang/test/Driver/print-supported-extensions-aarch64.c
    A clang/test/Driver/print-supported-extensions-arm.c
    A clang/test/Driver/print-supported-extensions-riscv.c
    M clang/test/Driver/print-supported-extensions.c
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [AArch64][RISCV] Improve the tests for --print-enabled-extensions and --print-supported-extensions (#97829)

For AArch64, we have existing tests for `--print-enabled-extensions` for
each architecture. However:
- These are added to the end of the existing tests which check for
`"-target-feature"`, which complicates them slightly.
- They do not test the descriptions printed next to each feature.
- Part of the output was tested separately in `TargetParserTest`.
- We did not have _any_ tests of this output for CPUs (only for
architectures).

Similarly, the tests for `--print-supported-extensions` do not give
complete coverage of either the full list of features or the
descriptions.

In my opinion we should be testing the full output, as this is what the
user sees. Descriptions and formatting can contain errors and be
accidentally broken.


  Commit: 1e6dfc624867fbfc6cd6e5dd534bd11f0616e7fc
      https://github.com/llvm/llvm-project/commit/1e6dfc624867fbfc6cd6e5dd534bd11f0616e7fc
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp

  Log Message:
  -----------
  [lldb][DataFormatter] Remove support for old std::map layout (#97549)

We currently supported the layout from pre-2016 (before the layout
change in
[14caaddd3f08e798dcd9ac0ddfc](https://github.com/llvm/llvm-project/commit/14caaddd3f08e798dcd9ac0ddfc)).
We have another upcoming layout change in `__tree` and `map` (as part of
https://github.com/llvm/llvm-project/issues/93069) which will likely
require rewriting parts of this formatter. Removing the support for the
pre-2016 layout will make those changes more straightforward to
review/maintain.

Being backward compatible would be great but we have no tests that
actually verify that the old layout still works (and our oldest matrix
bot tests clang-15). If anyone feels strongly about keeping this layout,
we could possibly factor out that logic and keep it around.


  Commit: cb72aecea6e7da49c7a7fbeb1bde4e401324b9ba
      https://github.com/llvm/llvm-project/commit/cb72aecea6e7da49c7a7fbeb1bde4e401324b9ba
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp

  Log Message:
  -----------
  [lldb][DataFormatter] Move std::unordered_map::iterator formatter into LibCxxUnorderedMap.cpp (#97752)

Similar to how we moved the `std::map::iterator` formatter in
https://github.com/llvm/llvm-project/pull/97687, do the same for
`std::unordered_map::iterator`.

Again the `unordered_map` and `unordered_map::iterator` formatters try
to do very similar things: retrieve data out of the map. The iterator
formatter does this in a fragile way (similar to how `std::map` does it,
see https://github.com/llvm/llvm-project/pull/97579). Thus we will be
refactoring the `std::unordered_map::iterator` in upcoming patches.
Having it in `LibCxxUnorderedMap` will allow us to re-use some of the
logic (and we won't have to repeat some of the clarification comments).


  Commit: 69192e0193e60c169c7776f444362dffba31eb7d
      https://github.com/llvm/llvm-project/commit/69192e0193e60c169c7776f444362dffba31eb7d
  Author: Manish Kausik H <46352931+Nirhar at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    A llvm/test/CodeGen/AArch64/ctlz_zero_undef.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz-zero-undef.mir
    M llvm/test/CodeGen/AMDGPU/ctlz_zero_undef.ll
    M llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-bitcounts.mir
    M llvm/test/CodeGen/Hexagon/bitmanip.ll
    M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
    M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64xtheadbb.ll
    M llvm/test/CodeGen/RISCV/rvv/ctlz-vp.ll
    M llvm/test/CodeGen/SystemZ/scalar-ctlz-01.ll
    M llvm/test/CodeGen/VE/Scalar/ctlz.ll
    M llvm/test/CodeGen/X86/ctlo.ll
    M llvm/test/CodeGen/X86/ctlz.ll
    M llvm/test/CodeGen/X86/lzcnt.ll
    M llvm/test/CodeGen/X86/pr38539.ll
    M llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp

  Log Message:
  -----------
  [LegalizeDAG] Optimize CodeGen for `ISD::CTLZ_ZERO_UNDEF` (#83039)

Previously we had the same instructions being generated for `ISD::CTLZ` and `ISD::CTLZ_ZERO_UNDEF` which did not take advantage of the fact that zero is an invalid input for `ISD::CTLZ_ZERO_UNDEF`. This commit separates codegen for the two cases to allow for the optimization for the latter case.

The details of the optimization are outlined in #82075

Fixes #82075

Co-authored-by: Manish Kausik H <hmamishkausik at gmail.com>


  Commit: 2f2b931e1296aebe6c03fd969363683b637973e5
      https://github.com/llvm/llvm-project/commit/2f2b931e1296aebe6c03fd969363683b637973e5
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/lib/Headers/float.h
    M clang/test/Headers/float.c

  Log Message:
  -----------
  [C23] Correct the type for INFINITY and NAN in freestanding

This amends bcb7c38af7de59f3b2201734ee11987839cd7bbe to correct the
type use for the two macros to be float rather than double. Also adds
additional test coverage.

https://github.com/llvm/llvm-project/issues/98018 was filed to track
the duplicate diagnostic issue that was discovered.


  Commit: 854bbc50fc99ddf71c4c65193e06eb79ce1ef69f
      https://github.com/llvm/llvm-project/commit/854bbc50fc99ddf71c4c65193e06eb79ce1ef69f
  Author: Mahesh-Attarde <145317060+mahesh-attarde at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/CMakeLists.txt
    M llvm/lib/Target/X86/X86.h
    M llvm/lib/Target/X86/X86TargetMachine.cpp
    A llvm/lib/Target/X86/X86WinFixupBufferSecurityCheck.cpp
    M llvm/test/CodeGen/X86/opt-pipeline.ll
    M llvm/test/CodeGen/X86/stack-protector-msvc.ll
    M llvm/test/CodeGen/X86/tailcc-ssp.ll

  Log Message:
  -----------
  [X86][CodeGen] security check cookie execute only when needed (#95904)

For windows __security_check_cookie call gets call everytime function is return without fixup. Since this function is defined in runtime library, it incures cost of call in dll which simply does comparison and returns most time. With Fixup, We selective move to call in DLL only if comparison fails.


  Commit: ba1d21c7d8613c90e424fa3e77d52184d531c302
      https://github.com/llvm/llvm-project/commit/ba1d21c7d8613c90e424fa3e77d52184d531c302
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    A clang/test/C/C2y/n3254.c
    M clang/www/c_status.html

  Log Message:
  -----------
  [C2y] Claim conformance to WG14 N3254 (#97581)

The test coverage for this has to lean on LLVM's test coverage for the
actual TBAA behavior, but this demonstrates that Clang emits reasonable
LLVM IR to support this construct. It would be surprising should LLVM
break this pattern given how ubiquitous the pattern is in the wild.

The paper can be found at:
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3254.pdf


  Commit: f06cb3fbd6b6a03a3300fca5912a1176a4a2bf0b
      https://github.com/llvm/llvm-project/commit/f06cb3fbd6b6a03a3300fca5912a1176a4a2bf0b
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 854bbc50fc99


  Commit: 7e01e64714eceedaf88c20f67d431a295950eed0
      https://github.com/llvm/llvm-project/commit/7e01e64714eceedaf88c20f67d431a295950eed0
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/Targets/X86.cpp
    M clang/test/CodeGen/stdcall-fastcall.c
    M clang/test/CodeGen/vectorcall.c

  Log Message:
  -----------
  [X86][vectorcall] Do not consume register for indirect return value (#97939)

This is how MSVC handles it. https://godbolt.org/z/Eav3vx7cd


  Commit: 5a5cd3f0bcdf37a32eadd85d6e57c642cb829402
      https://github.com/llvm/llvm-project/commit/5a5cd3f0bcdf37a32eadd85d6e57c642cb829402
  Author: chuongg3 <chuong.goh at arm.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-udiv.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/regbank-dup.mir
    M llvm/test/CodeGen/AArch64/aarch64-smull.ll
    M llvm/test/CodeGen/AArch64/neon-mov.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Make G_DUP immediate 32-bits or larger (#96780)

G_DUP's immediate operand gets extended in RegBankSelect to allow for
better pattern matching in TableGen for #96782


  Commit: 4c47b41771799cd630ee3e6b42593ac59d7593eb
      https://github.com/llvm/llvm-project/commit/4c47b41771799cd630ee3e6b42593ac59d7593eb
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/extractelement-single-use-many-nodes.ll
    M llvm/test/Transforms/SLPVectorizer/X86/extractlements-gathered-first-node.ll

  Log Message:
  -----------
  [SLP]Allow matching and shuffling of extractelement vector operands with different VF.

Allows better codegen with the free resizing of small VF vector operands
and then regular shuffling of the operands of the same size and
simplifies the code.

Reviewers: RKSimon

Reviewed By: RKSimon

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


  Commit: 83b01aaf51072a07261ee2e5fc14102f71273bc0
      https://github.com/llvm/llvm-project/commit/83b01aaf51072a07261ee2e5fc14102f71273bc0
  Author: Hari Limaye <hari.limaye at arm.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    A llvm/test/Transforms/LoopIdiom/AArch64/ctlz.ll

  Log Message:
  -----------
  [LoopIdiom] Support 'shift until less-than' idiom (#95002)

The current loop idiom code for recognising and inserting a CTLZ
intrinsic does not support loops where the loopback control is based on
an unsigned less-than condition. This patch adds support for recognising
these loops and inserting a CTLZ intrinsic.

Fixes the missed optimization cases in #51064

---------

Co-authored-by: David Sherwood <david.sherwood at arm.com>


  Commit: da827d0896e5e66fe9130f8f4479537d3bbee1da
      https://github.com/llvm/llvm-project/commit/da827d0896e5e66fe9130f8f4479537d3bbee1da
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/main.cpp

  Log Message:
  -----------
  [lldb][DataFormatter] Simplify std::unordered_map::iterator formatter (#97754)

Depends on https://github.com/llvm/llvm-project/pull/97752

This patch changes the way we retrieve the key/value pair in the
`std::unordered_map::iterator` formatter (similar to how we are changing
it for `std::map::iterator` in
https://github.com/llvm/llvm-project/pull/97713, the motivations being
the same).

The old logic was not very easy to follow, and encoded the libc++ layout
in non-obvious ways. But mainly it was also fragile to alignment
miscalculations (https://github.com/llvm/llvm-project/pull/97443); this
would break once the new layout of `std::unordered_map` landed as part
of https://github.com/llvm/llvm-project/issues/93069.

Instead, this patch simply casts the `__hash_iterator` to a
`__node_pointer` (which is what libc++ does too) and uses a
straightforward `GetChildMemberWithName("__value_")` to get to the
key/value we care about.

The `std::unordered_map` already does it this way, so we align the
iterator counterpart to do the same. We can eventually re-use the
core-part of the `std::unordered_map` and `std::unordered_map::iterator`
formatters. But it will be an easier to change to review once both
simplifications landed.


  Commit: f4f5e25467263adf60289ed0725d696368230b71
      https://github.com/llvm/llvm-project/commit/f4f5e25467263adf60289ed0725d696368230b71
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueLattice.h

  Log Message:
  -----------
  [ValueLattice] Add missing const qualifier (NFC)


  Commit: 5c40e561bbc102f47553732fcebc0876b45d68b2
      https://github.com/llvm/llvm-project/commit/5c40e561bbc102f47553732fcebc0876b45d68b2
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/include/llvm-libc-macros/math-macros.h
    M libc/src/math/amdgpu/CMakeLists.txt
    M libc/src/math/nvptx/CMakeLists.txt
    M libc/src/math/nvptx/llrint.cpp
    M libc/src/math/nvptx/llrintf.cpp
    M libc/src/math/nvptx/lrint.cpp

  Log Message:
  -----------
  [libc] Make GPU `libm` use generic implementations (#98014)

Summary:
This patch moves a lot of the old vendor implementations to the new
generic math functions. Previously a lot of these were done through the
vendor functions, but the long term goal is to completely phase these
out. In order to make the tests pass I had to disable exceptions so they
only perform functional tests.


  Commit: 7e054c33d42b0a6bc8f6b168dab688f8e7762ef0
      https://github.com/llvm/llvm-project/commit/7e054c33d42b0a6bc8f6b168dab688f8e7762ef0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/X86/shuffle-of-casts.ll

  Log Message:
  -----------
  [VectorCombine] foldShuffleOfCastops - don't restrict to oneuse but compare total costs instead

Some casts (especially bitcasts but others as well) are incredibly cheap (or free), so don't limit the shuffle(cast(x),cast(y)) -> cast(shuffle(x,y)) to oneuse cases, but instead compare the total before/after costs of possibly repeating some casts.


  Commit: c9ee6b1977e7dc88e3bd89b5e361c703721711fd
      https://github.com/llvm/llvm-project/commit/c9ee6b1977e7dc88e3bd89b5e361c703721711fd
  Author: lntue <35648136+lntue at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    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
    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/spec/stdc.td
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/FEnvImpl.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/cbrtf.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/cbrtf.cpp
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/cbrtf_test.cpp
    M libc/test/src/math/exhaustive/CMakeLists.txt
    A libc/test/src/math/exhaustive/cbrtf_test.cpp
    M libc/test/src/math/exhaustive/exhaustive_test.h
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/cbrtf_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.h

  Log Message:
  -----------
  [libc][math] Implement cbrtf function correctly rounded to all rounding modes. (#97936)

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

Algorithm: Let `x = (-1)^s * 2^e * (1 + m)`.
- Step 1: Range reduction: reduce the exponent with:
```
  y = cbrt(x) = (-1)^s * 2^(floor(e/3)) * 2^((e % 3)/3) * (1 + m)^(1/3)
```
- Step 2: Use the first 4 bit fractional bits of `m` to look up for a
degree-7 polynomial approximation to:
```
  (1 + m)^(1/3) ~ 1 + m * P(m).
```
- Step 3: Perform the multiplication:
```
  2^((e % 3)/3) * (1 + m)^(1/3).
```
- Step 4: Check for exact cases to prevent rounding and clear
`FE_INEXACT` floating point exception.
- Step 5: Combine with the exponent and sign before converting down to
`float` and return.


  Commit: d3a5589684baed14e82e57ca31fd4e988cb1436d
      https://github.com/llvm/llvm-project/commit/d3a5589684baed14e82e57ca31fd4e988cb1436d
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/src/math/generic/tan.cpp

  Log Message:
  -----------
  [libc] Add maybe_unused for functions only used on slow path (#98024)

Summary:
When the fast math options are enabled these functions are uncalled,
which makes it error.


  Commit: 12d6832d86156904aecc10e8612bd77b66aeef51
      https://github.com/llvm/llvm-project/commit/12d6832d86156904aecc10e8612bd77b66aeef51
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [SCCP] Skip bitcasts entirely

The only bitcasts the existing code might be able to handle are
bitcasts between iN and <1 x iN>. Don't bother.


  Commit: 727ecaf7d16d44ecf434284c60ad65b22d814092
      https://github.com/llvm/llvm-project/commit/727ecaf7d16d44ecf434284c60ad65b22d814092
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp

  Log Message:
  -----------
  [flang] allow intrinsic module procedures to be implemented in Fortran (#97743)

Currently, all procedures from intrinsic modules that are not BIND(C)
are expected to be intercepted by the compiler in lowering and to have a
handler in IntrinsicCall.cpp.

As more "intrinsic" modules are being added (OpenMP, OpenACC, CUF, ...),
this requirement is preventing seamless implementation of intrinsic
modules in Fortran. Procedures from intrinsic modules are different from
generic intrinsics defined in section 16 of the standard. They are
declared in Fortran file seating in the intrinsic module directory and
inside the compiler they look like regular user call except for the
INTRINSIC attribute set on their module. So an easy implementation is
just to have the implementation done in Fortran and linked to the
runtime without any need for the compiler to necessarily understand and
handle these calls in special ways.

This patch splits the lookup and generation part of IntrinsicCall.cpp so
that it can be allowed to only intercept calls to procedure from
intrinsic module if they have a handler. Otherwise, the assumption is
that they should be implemented in Fortran.

Add explicit TODOs handler for the IEEE procedure that are known to not
yet been implemented and won't be implemented via Fortran code so that
this patch is an NFC for what is currently supported.

This patch also prevents doing two lookups in the intrinsic table (There
was one to get argument lowering rules, and another one to generate the
code).


  Commit: a5bfe20f6fd8957f870f8ffcf836d7737864e063
      https://github.com/llvm/llvm-project/commit/a5bfe20f6fd8957f870f8ffcf836d7737864e063
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MIMGInstructions.td

  Log Message:
  -----------
  [AMDGPU] Comment MIMGEncGfx12


  Commit: 9dca3ac2efb180398ef8e84bfa9f0ef283d0e6fd
      https://github.com/llvm/llvm-project/commit/9dca3ac2efb180398ef8e84bfa9f0ef283d0e6fd
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py

  Log Message:
  -----------
  [lldb][DataFormatter] Simplify libc++ std::map::iterator formatter (#97713)

Depends on https://github.com/llvm/llvm-project/pull/97687

Similar to https://github.com/llvm/llvm-project/pull/97579, this patch
simplifies the way in which we retrieve the key/value pair of a
`std::map` (in this case of the `std::map::iterator`).

We do this for the same reason: not only was the old logic hard to
follow, and encoded the libc++ layout in non-obvious ways, it was also
fragile to alignment miscalculations
(https://github.com/llvm/llvm-project/pull/97443); this would break once
the new layout of std::map landed as part of
https://github.com/llvm/llvm-project/issues/93069.

Instead, this patch simply casts the `__iter_pointer` to the
`__node_pointer` and uses a straightforward
`GetChildMemberWithName("__value_")` to get to the key/value we care
about.

We can eventually re-use the core-part of the `std::map` and
`std::map::iterator` formatters. But it will be an easier to change to
review once both simplifications landed.


  Commit: 385118644ccabe27a634804c7db60734746c170f
      https://github.com/llvm/llvm-project/commit/385118644ccabe27a634804c7db60734746c170f
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/DebugInfo/Generic/assignment-tracking/slp-vectorizer/merge-scalars.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-di.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-add-ssat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-add-usat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-add.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fix.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshl-rot.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshl.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshr-rot.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fshr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-mul.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-smax.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-smin.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-sub-ssat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-sub-usat.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-sub.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-umax.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-umin.ll
    M llvm/test/Transforms/SLPVectorizer/X86/horizontal-list.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shift-ashr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shift-lshr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shift-shl.ll

  Log Message:
  -----------
  [SLP]Remove operands upon marking instruction for deletion.

If the instruction is marked for deletion, better to drop all its
operands and mark them for deletion too (if allowed). It allows to have
more vectorizable patterns and generate less useless extractelement
instructions.

Reviewers: RKSimon

Reviewed By: RKSimon

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


  Commit: f5b9e11eb8ada0e7cc292f9ecd29a220d1265084
      https://github.com/llvm/llvm-project/commit/f5b9e11eb8ada0e7cc292f9ecd29a220d1265084
  Author: Marco Elver <elver at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/test/CodeGen/sanitize-metadata-ignorelist.c
    M clang/test/CodeGen/sanitize-metadata-nosanitize.c
    M clang/test/CodeGen/sanitize-metadata.c
    M llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp
    M llvm/test/Instrumentation/SanitizerBinaryMetadata/atomics.ll
    M llvm/test/Instrumentation/SanitizerBinaryMetadata/ctor.ll

  Log Message:
  -----------
  [SanitizerBinaryMetadata] Fix multi-version sanitizer metadata (#97848)

It should be valid to combine TUs that have different versions of
sanitizer metadata. However, this had not been possible due to giving
sanitizer metadata sections, constructors, and destructors (that call
callbacks) the same name for different versions.

This would then result in the linker attempting to merge sections that
contain metadata of different versions, as well as picking any one of
the constructors or destructors due to having the same COMDAT key. The
end result is that consumers of this data would end up interpreting the
metadata incorrectly.

Although combining old and new versions is not recommended, more
realistic is combining TUs that have been compiled with different target
code models (which are also encoded in the sanitizer metadata version).

To fix, and properly support multi-version sanitizer metadata, attach
the version to section names and internal constructor and destructor
names. The ABI remains unchanged.


  Commit: 0577cdaa32b26c02e16822343e7039b999f43d58
      https://github.com/llvm/llvm-project/commit/0577cdaa32b26c02e16822343e7039b999f43d58
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-interleave.ll

  Log Message:
  -----------
  [LV] Split checking if tail-folding is possible, collecting masked ops. (#77612)

Introduce new canFoldTail helper which only checks if tail-folding is
possible, but without modifying MaskedOps.

Just because tail-folding is possible doesn't mean the tail will be
folded; that's up to the cost-model to decide. Separating the check if
tail-folding is possible and preparing for tail-folding makes sure that
MaskedOps is only populated when tail-folding is actually selected.

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


  Commit: 12e47aabd4e4c6cec15092183b91ec279a0a7ab4
      https://github.com/llvm/llvm-project/commit/12e47aabd4e4c6cec15092183b91ec279a0a7ab4
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
    M libc/config/config.json
    M libc/config/gpu/config.json
    M libc/docs/configure.rst
    M libc/src/math/generic/tan.cpp

  Log Message:
  -----------
  [libc] Add config option for fast math optimizations (#98029)

Summary:
This patch adds `LIBC_COPT_MATH_OPTIMIZATIONS` that allows users to
configure the
different math optimizations.


  Commit: 2f37a22f10a1128c695bc469871a9101edce853e
      https://github.com/llvm/llvm-project/commit/2f37a22f10a1128c695bc469871a9101edce853e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Object/ELF.h
    M llvm/include/llvm/Object/ELFObjectFile.h
    M llvm/lib/Object/ELF.cpp
    M llvm/lib/Object/ELFObjectFile.cpp
    A llvm/test/tools/llvm-objdump/ELF/crel.test
    M llvm/test/tools/llvm-objdump/X86/elf-disassemble-relocs.test
    M llvm/tools/llvm-objdump/ELFDump.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-objdump] -r: support CREL

Extract the llvm-readelf decoder to `decodeCrel` (#91280) and reuse it
for llvm-objdump.

Because the section representation of LLVMObject (`SectionRef`) is
64-bit, insufficient to hold all decoder states, `section_rel_begin` is
modified to decode CREL eagerly and hold the decoded relocations inside
ELFObjectFile<ELFT>.

The test is adapted from llvm/test/tools/llvm-readobj/ELF/crel.test.

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


  Commit: 3320036370ba3719471ab243f253237e88996495
      https://github.com/llvm/llvm-project/commit/3320036370ba3719471ab243f253237e88996495
  Author: Eleanor Bonnici <eleanor.bonnici at arm.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-objcopy.rst
    M llvm/include/llvm/ObjCopy/CommonConfig.h
    M llvm/lib/ObjCopy/ConfigManager.cpp
    M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
    A llvm/test/tools/llvm-objcopy/ELF/change-section-lma.test
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
    M llvm/tools/llvm-objcopy/ObjcopyOpts.td

  Log Message:
  -----------
  [llvm-objcopy] Add change-section-lma *+/-offset (#95431)

llvm-objcopy did not support change-section-lma argument.

This patch adds support for a use case of change-section-lma, that is
shifting load address of all sections by the same offset. This seems to
be the only practical use case of change-section-lma, found in other
software such as Zephyr RTOS's build system.

This is an option that could possibly be supported in some other than
ELF formats, however this change only implements it for ELF. When used
with other formats an error message is raised.

In comparison, the behavior of GNU objcopy is inconsistent. For some ELF
files it behaves the same as described above. For others, it copies the
file without modifying the p_paddr fields when it would be expected. In
some experiments it modifies arbitrary fields in section or program
headers. It is unclear what exactly determines this.
The executable file generated by yaml2obj in this test is not parsable
by GNU objcopy. With Machine set to EM_AARCH64, the file can be parsed
and the first test in the test file completes with 0 exit code. However,
the result is rather arbitrary. AArch64 GNU objcopy subtracts 0x1000
from p_filesz and p_memsz of the first LOAD section and 0x1000 from
p_offset of the second LOAD section. It does not look meaningful.


  Commit: 7776fba473a216b2d1a765491bdc5db710cdff8f
      https://github.com/llvm/llvm-project/commit/7776fba473a216b2d1a765491bdc5db710cdff8f
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/src/__support/File/file.cpp
    M libc/src/__support/File/file.h
    M libc/src/__support/File/linux/file.cpp
    M libc/src/__support/File/linux/file.h
    M libc/src/stdio/fopencookie.cpp
    M libc/src/stdio/generic/ftell.cpp
    M libc/src/sys/mman/linux/mmap.cpp
    M libc/src/unistd/linux/pread.cpp
    M libc/src/unistd/linux/pwrite.cpp
    M libc/test/src/__support/File/file_test.cpp

  Log Message:
  -----------
  [libc][NFC] Adjust use of off_t internally (#68269)

This patch includes changes related to the use of off_t in libc,
targeted at 32-bit systems: in several places, the offset is used either
as a long or an off_t (64-bit signed int), but in 32-bit systems a long
type is only 32 bits long.

Fix a warning in mmap where a long offset is expected, but we were
passing an off_t. A static_cast and a comment were added to explain
that we know we are ignoring the upper 32-bit of the off_t in 32-bit
systems.
The code in pread and pwrite was slightly improved to remove a
#ifdef LIBC_TARGET_ARCH_IS_RISCV32; we are using an if constexpr now.
The Linux file operations were changed to use off_t instead of a long
where applicable. No changes were made to the standard API, e.g.,
ftell returns the offset as an int so we added a static_cast and a
comment explaining that this will cause a loss of integer precision
in 32-bit systems.


  Commit: fe8933ba211da094dc866b2bde64928c8121131b
      https://github.com/llvm/llvm-project/commit/fe8933ba211da094dc866b2bde64928c8121131b
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp

  Log Message:
  -----------
  [lldb][DataFormatter] Simplify std::map formatter  (#97579)

Depends on:
* https://github.com/llvm/llvm-project/pull/97544
* https://github.com/llvm/llvm-project/pull/97549
* https://github.com/llvm/llvm-project/pull/97551

This patch tries to simplify the way in which the `std::map` formatter
goes from the root `__tree` pointer to a specific key/value pair.

Previously we would:
1. synthesize a structure that mimicked what `__iter_pointer` looked
like in memory
2. call `GetChildCompilerTypeAtIndex` on it to find the byte offset at
which the pair was located in the synthesized structure
3. finally, use that offset through a call to
`GetSyntheticChildAtOffset` to retrieve the key/value pair

Not only was this logic hard to follow, and encoded the libc++ layout in
non-obvious ways, it was also fragile to alignment miscalculations
(https://github.com/llvm/llvm-project/pull/97443); this would break once
the new layout of std::map landed as part of
https://github.com/https://github.com/llvm/llvm-project/issues/93069.

Instead, this patch simply casts the `__iter_pointer` to the
`__node_pointer` and uses a straightforward
`GetChildMemberWithName("__value_")` to get to the key/value we care
about. This allows us to get rid of some support infrastructure/class
state.

Ideally we would fix the underlying alignment issue, but this unblocks
the libc++ refactor in the interim, while also benefitting the formatter
in terms of readability (in my opinion).


  Commit: 840e5075447fd2e7ae1f23c112e959b504d8ff42
      https://github.com/llvm/llvm-project/commit/840e5075447fd2e7ae1f23c112e959b504d8ff42
  Author: Daniel Rodríguez Troitiño <drodriguez at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    A lld/test/MachO/implicit-and-allowable-clients.test

  Log Message:
  -----------
  [lld] Do not implicitly link non "public" libraries (#97639)

The LC_SUB_CLIENT Mach-O command and the `allowable-clients` TBD entry
specify that the given framework (or library?) can only be linked
directly from the specified names, even if it is sitting in `/usr/lib`
or `/System/Library/Frameworks`.

Add a check for those conditions before checking if a library should be
implicitly linked, and link against their umbrella if they have
allowable clients. The code needs to be in both the binary libraries and
the interface libraries.

Add a test that reproduces the scenario in which a framework reexports a
private framework that sits in `/System/Library/Frameworks`, and check
for the symbols of the reexported framework to be associated with the
public framework, and not the private one.


  Commit: 0387a86f9a6d5bb0f178804784296e37fb34ca03
      https://github.com/llvm/llvm-project/commit/0387a86f9a6d5bb0f178804784296e37fb34ca03
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/lib/Serialization/ASTWriter.cpp
    A clang/test/Modules/use-after-free-2.c

  Log Message:
  -----------
  [clang][modules] Fix use-after-free in header serialization (#96356)

With the pruning of unused module map files disabled
(`-fno-modules-prune-non-affecting-module-map-files`), `HeaderFileInfo`
no longer gets deserialized before `ASTWriter::WriteHeaderSearch()`.
This function then interleaves the stores of references to `KnownHeader`
with their lazy deserialization. Lazy deserialization may cause
reallocation of `ModuleMap::Headers` entries (including its
`SmallVector<KnownHeader, 1>` values) thus making previously-stored
`ArrayRef<KnownHeader>` dangling. This patch fixes that situation by
storing a copy instead.


  Commit: 1952dba49abdda848512d11fc68c031a0a21ec50
      https://github.com/llvm/llvm-project/commit/1952dba49abdda848512d11fc68c031a0a21ec50
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/ELF.h
    A llvm/include/llvm/MC/MCELFExtras.h
    M llvm/lib/MC/ELFObjectWriter.cpp

  Log Message:
  -----------
  [MC,ELF] Extract CREL encoder code

The extracted ELFObjectWriter.cpp code will be reused by llvm-objcopy
support (#97521).


  Commit: ed7e46877dc7f09b5d194f87c87bfc2bebfcf27a
      https://github.com/llvm/llvm-project/commit/ed7e46877dc7f09b5d194f87c87bfc2bebfcf27a
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Symbol/ObjectFile.h
    M lldb/source/Symbol/ObjectFile.cpp
    M lldb/source/Target/Platform.cpp
    M lldb/test/Shell/ObjectFile/PECOFF/invalid-export-table.yaml

  Log Message:
  -----------
  [lldb] Improve error message for unrecognized executables (#97490)

Currently, LLDB prints out a rather unhelpful error message when passed
a file that it doesn't recognize as an executable.

> error: '/path/to/file' doesn't contain any 'host' platform
> architectures: arm64, armv7, armv7f, armv7k, armv7s, armv7m, armv7em,
> armv6m, armv6, armv5, armv4, arm, thumbv7, thumbv7k, thumbv7s,
> thumbv7f, thumbv7m, thumbv7em, thumbv6m, thumbv6, thumbv5, thumbv4t,
> thumb, x86_64, x86_64, arm64, arm64e

I did a quick search internally and found at least 24 instances of users
being confused by this. This patch improves the error message when it
doesn't recognize the file as an executable, but keeps the existing
error message otherwise, i.e. when it's an object file we understand,
but the current platform doesn't support.


  Commit: 68a8ae06962137b27afdaf2696074255f6180652
      https://github.com/llvm/llvm-project/commit/68a8ae06962137b27afdaf2696074255f6180652
  Author: Wolfgang Pieb <55721109+wolfy1961 at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    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

  Log Message:
  -----------
  Make some tablegen tests more flexible. (#97651)

Some organizations have added operators downstream, and the 3 tests in
this PR tend to fail with off-by-n errors (with n being the number of
added operators) periodically.
To alleviate this. the proposed change is taking advantage of the fact
that the 2nd and 3rd element in a switch table represent the lower and
upper bounds of the operator id, and that the offset of the first byte
of the encoded operations is a function of these 2 bounds.
Additionally, we the default label offset is encoded in a FileCheck
variable.


  Commit: 9bb4cd5977f8a0d6f1d6cc00cb707ed2db27f1c0
      https://github.com/llvm/llvm-project/commit/9bb4cd5977f8a0d6f1d6cc00cb707ed2db27f1c0
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/ObjCopy/ELF/ELFObject.cpp
    M llvm/lib/ObjCopy/ELF/ELFObject.h
    A llvm/test/tools/llvm-objcopy/ELF/crel.test
    M llvm/test/tools/llvm-objcopy/ELF/reloc-error-remove-symtab.test
    M llvm/test/tools/llvm-objcopy/ELF/strip-reloc-symbol.test

  Log Message:
  -----------
  [llvm-objcopy] Support CREL

llvm-objcopy may modify the symbol table and need to rewrite
relocations. For CREL, while we can reuse the decoder from #91280, we
need an encoder to support CREL.

Since MC/ELFObjectWriter.cpp has an existing encoder, and MC is at a
lower layer than Object, extract the encoder to a new header file
llvm/MC/MCELFExtras.h.

Link: https://discourse.llvm.org/t/rfc-crel-a-compact-relocation-format-for-elf/77600

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


  Commit: 915372a8db7a8d7a1af19cc9ec6ccb5a0d592d1f
      https://github.com/llvm/llvm-project/commit/915372a8db7a8d7a1af19cc9ec6ccb5a0d592d1f
  Author: Kefu Chai <tchaikov at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
    M clang-tools-extra/clang-tidy/utils/ExprSequence.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/use-after-move.cpp

  Log Message:
  -----------
  [clang-tidy] In C++17, callee is guaranteed to be sequenced before arguments. (#93623)

This eliminates false positives in bugprone-use-after-move where a
variable
is used in the callee and moved from in the arguments.

We introduce one special case: If the callee is a MemberExpr with a
DeclRefExpr as its base, we consider it to be sequenced after the
arguments. This is because the variable referenced in the base will only
actually be accessed when the call happens, i.e. once all of the
arguments have been evaluated. This has no basis in the C++ standard,
but it reflects actual behavior that is relevant to a use-after-move
scenario:
```c++
a.bar(consumeA(std::move(a));
```
In this example, we end up accessing a after it has been moved from,
even though nominally the callee a.bar is evaluated before the argument
consumeA(std::move(a)).

Treating this scenario correctly has required rewriting the logic in
bugprone-use-after-move that governs whether the use happens in a later
loop iteration than the move. This was previously based on an unsound
heuristic (does the use come lexically before the move?); we now use a
more rigourous criterion based on reachability in the CFG.

Fixes #57758
Fixes #59612

Co-authored-by: martinboehme <mboehme at google.com>


  Commit: 04fc471f485a9beadd8ccc63f6af29765ec6f45b
      https://github.com/llvm/llvm-project/commit/04fc471f485a9beadd8ccc63f6af29765ec6f45b
  Author: Han-Chung Wang <hanhan0912 at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
    M mlir/test/lib/Dialect/Linalg/TestDataLayoutPropagation.cpp

  Log Message:
  -----------
  [mlir][linalg] Switch to use OpOperand* in ControlPropagationFn. (#96697)

It's not easy to determine whether we want to propagate pack/unpack ops
because we don't know the (producer, consumer) information. The
revisions switch it to `OpOperand*`, so the control function can capture
the (producer, consumer) pair. E.g.,

```
Operation *producer = opOperand->get().getDefiningOp();
Operation *consumer = opOperand->getOwner();
```


  Commit: 402eca265f7162e26b8b74d18297fd76c9f100de
      https://github.com/llvm/llvm-project/commit/402eca265f7162e26b8b74d18297fd76c9f100de
  Author: yabinc <yabinc at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/frame-pointer.c

  Log Message:
  -----------
  Enable frame pointer for non-leaf functions on Android (#97614)

On Android, we always want frame pointers to make debugging in the field
easier. Since frame pointers are already enabled for AArch64, ARM and
RISCV64, effectively this change further enables frame pointers for X86
and X86_64.


  Commit: 09a275e8a4c2cea22bb67c7247fc892d5e73eb42
      https://github.com/llvm/llvm-project/commit/09a275e8a4c2cea22bb67c7247fc892d5e73eb42
  Author: Dmitriy Chestnykh <dm.chestnykh at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/lib/AST/Decl.cpp
    A clang/test/CodeGen/constexpr-c23-internal-linkage.c

  Log Message:
  -----------
  [clang] Use internal linkage for c23 constexpr vars. (#97846)

See C23 std 6.2.2p3.
Fixes #97830


  Commit: 2dadf8d7f57c0aa60cf7c67ec46c9930151447cc
      https://github.com/llvm/llvm-project/commit/2dadf8d7f57c0aa60cf7c67ec46c9930151447cc
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/Status/Cxx2c.rst
    M libcxx/docs/Status/Cxx2cIssues.csv
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/include/version
    M libcxx/modules/std.compat.cppm.in
    M libcxx/modules/std.cppm.in
    M libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/new.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/optional.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/random.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py
    M libcxx/utils/libcxx/header_information.py

  Log Message:
  -----------
  [libc++] Update status after the St. Louis meeting. (#97951)

This updates:
- The status tables
- Feature test macros
- New headers for modules


  Commit: 03d4332625d13014ac94dcd145f538fbfe4c4d0c
      https://github.com/llvm/llvm-project/commit/03d4332625d13014ac94dcd145f538fbfe4c4d0c
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Pack build_vectors into largest available element type (#97351)

Our worst case build_vector lowering is a serial chain of vslide1down.vx
operations which creates a serial dependency chain through a relatively
high latency operation. We can instead pack together elements into ELEN
sized chunks, and move them from integer to scalar in a single
operation.

This reduces the length of the serial chain on the vector side, and
costs at most three scalar instructions per element. This is a win for
all cores when the sum of the latencies of the scalar instructions is
less than the vslide1down.vx being replaced, and is particularly
profitable for out-of-order cores which can overlap the scalar
computation.

This patch is restricted to configurations with zba and zbb. Without
both, the zero extend might require two instructions which would bring
the total scalar instructions per element to 4. zba and zba are both
present in the rva22u64 baseline which is looking to be quite common for
hardware in practice; we could extend this to systems without bitmanip
with a bit of extra effort.


  Commit: c22625cb3eaf052e2377881d64640196ff5da3d1
      https://github.com/llvm/llvm-project/commit/c22625cb3eaf052e2377881d64640196ff5da3d1
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/TokenKinds.def
    M clang/include/clang/Sema/DeclSpec.h
    M clang/lib/CodeGen/CGExprComplex.cpp
    M clang/lib/Sema/DeclSpec.cpp
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/lib/Sema/SemaLookup.cpp
    M clang/lib/Sema/SemaType.cpp
    A clang/test/C/C2y/n3274.c
    M clang/www/c_status.html

  Log Message:
  -----------
  [C2y] Remove support for _Imaginary (#97436)

WG14 N3274 removed _Imaginary from Annex G. Clang has never fully
supported Annex G or _Imaginary, so removal is pretty trivial for us.

Note, we are keeping _Imaginary as a keyword so that we get better
diagnostic behavior. This is still conforming because _I makes it a
reserved identifier, so it's not available for users to use as an
identifier anyway.


  Commit: 5ef4e6db96b2a3eca4c84671ac964dc2134035b5
      https://github.com/llvm/llvm-project/commit/5ef4e6db96b2a3eca4c84671ac964dc2134035b5
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    A clang/test/OpenMP/requires_default_atomic_mem_order.cpp

  Log Message:
  -----------
  [OpenMP] Correctly code-gen default atomic mem order (#97663)

Summary:
The parsing for this was implemented, but we never hooked up the default
value to the result of this clause. This patch adds the support by
making it default to the requires directive.


  Commit: 19cf8deabe1124831164987f1b9bf2f806c0a875
      https://github.com/llvm/llvm-project/commit/19cf8deabe1124831164987f1b9bf2f806c0a875
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model/x86.c
    M llvm/lib/TargetParser/Host.cpp

  Log Message:
  -----------
  [compiler-rt][X86] Use functions in cpuid.h instead of inline assembly (#97877)

This patch makes the host/feature detection in compiler-rt and LLVM use
the functions provided in cpuid.h(__get_cpuid, __get_cpuid_count)
instead of inline assembly. This simplifies the implementation and moves
any inline assembly away to a more common place.

A while ago, some similar cleanup was attempted, but this ended up
resulting in some compilation errors due to toolchain minimum version
issues (https://bugs.llvm.org/show_bug.cgi?id=30384). After the
reversion landed, there have been no attempts since then to clean up the
code, even though the minimum supported compilers now support the
relevant functions (https://godbolt.org/z/o1Mjz8ndv).


  Commit: 2039e130649d8469bc85fa31ba7422d1d3739f90
      https://github.com/llvm/llvm-project/commit/2039e130649d8469bc85fa31ba7422d1d3739f90
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model/x86.c
    M llvm/lib/TargetParser/Host.cpp

  Log Message:
  -----------
  Revert "[compiler-rt][X86] Use functions in cpuid.h instead of inline assembly (#97877)"

This reverts commit 19cf8deabe1124831164987f1b9bf2f806c0a875.

This was causing quite a few buildbot failures (see the PR description).
Reverting for now while I have time to sort it out. Seems like it should
just be conditional preprocessor macros for X86 however.


  Commit: 87e914db85572c4d9fe924616141dcc9a5d66177
      https://github.com/llvm/llvm-project/commit/87e914db85572c4d9fe924616141dcc9a5d66177
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model/x86.c
    M llvm/lib/TargetParser/Host.cpp

  Log Message:
  -----------
  [compiler-rt][X86] Unify getAMDProcessorTypeAndSubType (#97863)

This patch unifies the implementation of getAMDProcessorTypeAndSubtype
between compiler-rt and LLVM.

This patch is intended to be a step towards pulling these functions out
into identical .inc files to better facilitate code sharing between LLVM
and compiler-rt.


  Commit: e0012a0b3b0dbd501293bb13a6f1af1066e6f3f5
      https://github.com/llvm/llvm-project/commit/e0012a0b3b0dbd501293bb13a6f1af1066e6f3f5
  Author: David Green <david.green at arm.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/cmp-to-cmn.ll

  Log Message:
  -----------
  [AArch64] Regenerate cmp-to-cmn.ll. NFC


  Commit: ea3fd020f4879d5b4261eabd9a56c24f30bc47f9
      https://github.com/llvm/llvm-project/commit/ea3fd020f4879d5b4261eabd9a56c24f30bc47f9
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/include/llvm-libc-macros/math-macros.h
    M libc/src/math/amdgpu/CMakeLists.txt
    M libc/src/math/nvptx/CMakeLists.txt
    M libc/src/math/nvptx/llrint.cpp
    M libc/src/math/nvptx/llrintf.cpp
    M libc/src/math/nvptx/lrint.cpp

  Log Message:
  -----------
  Revert "[libc] Make GPU `libm` use generic implementations" (#98061)

Reverts llvm/llvm-project#98014

buildbot is broken.


  Commit: 0dde87c117afee535757d1591f6d952f4d24e915
      https://github.com/llvm/llvm-project/commit/0dde87c117afee535757d1591f6d952f4d24e915
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [libc] Include cbrtf in the baremetal configuration (#98052)

This is available as of #97936.


  Commit: 3f9bff3df2c7ddcf3e3f125d7641a73ce88e2380
      https://github.com/llvm/llvm-project/commit/3f9bff3df2c7ddcf3e3f125d7641a73ce88e2380
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  Remove an extra tokens at end of #undef directive, NFC


  Commit: 1038db6f02289e128c498769091718dd0e6e6fea
      https://github.com/llvm/llvm-project/commit/1038db6f02289e128c498769091718dd0e6e6fea
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/boost/BoostTidyModule.cpp
    M clang-tools-extra/clang-tidy/boost/CMakeLists.txt
    A clang-tools-extra/clang-tidy/boost/UseRangesCheck.cpp
    A clang-tools-extra/clang-tidy/boost/UseRangesCheck.h
    M clang-tools-extra/clang-tidy/modernize/CMakeLists.txt
    M clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
    A clang-tools-extra/clang-tidy/modernize/UseRangesCheck.cpp
    A clang-tools-extra/clang-tidy/modernize/UseRangesCheck.h
    M clang-tools-extra/clang-tidy/utils/CMakeLists.txt
    A clang-tools-extra/clang-tidy/utils/UseRangesCheck.cpp
    A clang-tools-extra/clang-tidy/utils/UseRangesCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/boost/use-ranges.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/docs/clang-tidy/checks/modernize/use-ranges.rst
    A clang-tools-extra/test/clang-tidy/checkers/boost/use-ranges.cpp
    A clang-tools-extra/test/clang-tidy/checkers/modernize/use-ranges.cpp

  Log Message:
  -----------
  [clang-tidy] Add checks to convert std library iterator algorithms into c++20 or boost ranges (#97764)

Added modernize-use-ranges
Added boost-use-ranges


  Commit: f002558883dbc32d939e9ab9f7a2296459bf47cc
      https://github.com/llvm/llvm-project/commit/f002558883dbc32d939e9ab9f7a2296459bf47cc
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/boost/BUILD.gn
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/modernize/BUILD.gn
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/utils/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 1038db6f0228


  Commit: 359c64f314ad568e78ee9a3723260286e3425c2d
      https://github.com/llvm/llvm-project/commit/359c64f314ad568e78ee9a3723260286e3425c2d
  Author: Dmitriy Chestnykh <dm.chestnykh at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/ObjCopy/ELF/ELFObject.cpp
    M llvm/lib/ObjCopy/ELF/ELFObject.h
    M llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test

  Log Message:
  -----------
  [llvm-objcopy] Remove empty SHT_GROUP sections (#97141)

Currently `llvm-objcopy/llvm-strip` in `--strip-debug` mode doesn't
remove such sections. This behavior can lead to incompatibilities with
GNU binutils (for examples ld.bfd before https://sourceware.org/PR20520
cannot process the object file contains empty .group section).
The ELF object that contains group section with `.debug_*` sections
inside can be obtained by `gcc -g3`.
Fix #97139


  Commit: d52853760183a25758659863b1b940e9502eaa88
      https://github.com/llvm/llvm-project/commit/d52853760183a25758659863b1b940e9502eaa88
  Author: Krystian Stasiowski <sdkrystian at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/lib/Index/USRGeneration.cpp
    A clang/test/Index/USR/func-template.cpp

  Log Message:
  -----------
  [Clang][Index] Add support for dependent class scope explicit specializations of function templates to USRGenerator (#98027)

Given the following:
```
template<typename T>
struct A
{
    void f(int); // #1
    
    template<typename U>
    void f(U); // #2
    
    template<>
    void f<int>(int); // #3
};
```
Clang will generate the same USR for `#1` and `#2`. This patch fixes the
issue by including the template arguments of dependent class scope
explicit specializations in their USRs.


  Commit: ea39f977271d1a6bc3f0a4225724ff99d22b2d49
      https://github.com/llvm/llvm-project/commit/ea39f977271d1a6bc3f0a4225724ff99d22b2d49
  Author: Hari Limaye <hari.limaye at arm.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    R llvm/test/Transforms/LoopIdiom/AArch64/ctlz.ll

  Log Message:
  -----------
  Revert "[LoopIdiom] Support 'shift until less-than' idiom (#95002)" (#98065)

Reverts #95002 while I investigate buildbot failure.

This reverts commit 83b01aaf51072a07261ee2e5fc14102f71273bc0.


  Commit: ce863dd5a77723fc21e1e43f5d3dd503e9a73d14
      https://github.com/llvm/llvm-project/commit/ce863dd5a77723fc21e1e43f5d3dd503e9a73d14
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lld/test/MachO/implicit-and-allowable-clients.test

  Log Message:
  -----------
  [lld-macho,test] Fix REQUIRES after #97639


  Commit: 1738cc61c35165b72c36c3b3a2c8e347d4ed740c
      https://github.com/llvm/llvm-project/commit/1738cc61c35165b72c36c3b3a2c8e347d4ed740c
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy/BUILD.bazel

  Log Message:
  -----------
  [bazel] Port for 1038db6f02289e128c498769091718dd0e6e6fea


  Commit: 66a2058e76db120e61c9b34e40bc244d3a6a86fb
      https://github.com/llvm/llvm-project/commit/66a2058e76db120e61c9b34e40bc244d3a6a86fb
  Author: Jacob Yu <pingshiyu at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    A mlir/test/Integration/Dialect/Arith/CPU/addition.mlir

  Log Message:
  -----------
  [mlir][arith] Adding addition regression tests (#96973)

arith addition regression tests, a component of the large
https://github.com/llvm/llvm-project/pull/92272


  Commit: 393eff4e02e7ab3d234d246a8d6912c8e745e6f9
      https://github.com/llvm/llvm-project/commit/393eff4e02e7ab3d234d246a8d6912c8e745e6f9
  Author: Jacob Yu <pingshiyu at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    A mlir/test/Integration/Dialect/Arith/CPU/multiplication.mlir

  Log Message:
  -----------
  [mlir][arith] Adding mul operation regressions (#96975)

Regressions for the mul operation, a part of the original large PR
https://github.com/llvm/llvm-project/pull/92272


  Commit: ae7ab043f2d8077ed00bb2d3239da4b96ad4b387
      https://github.com/llvm/llvm-project/commit/ae7ab043f2d8077ed00bb2d3239da4b96ad4b387
  Author: Amy Huang <akhuang at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAArch64.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/intrin.h
    M clang/lib/Sema/SemaARM.cpp
    M clang/test/CodeGen/arm64-microsoft-intrinsics.c
    M clang/test/Sema/builtins-microsoft-arm64.c
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    A llvm/test/CodeGen/AArch64/arm64-hlt.ll

  Log Message:
  -----------
  Add __hlt intrinsic for Windows ARM. (#96578)

Add __hlt, which is a MSVC ARM64 intrinsic. 

This intrinsic is just the HLT instruction. MSVC's version seems to
return something undefined; in this patch
it will just return zero. 

MSVC intrinsics are defined here
https://learn.microsoft.com/en-us/cpp/intrinsics/arm64-intrinsics.
I used unsigned int as the return type, because that is what the MSVC
intrin.h header uses, even though
it conflicts with the documentation.


  Commit: f5ee07a1b5ca6f337e6b4a46558c315b8ccd29dc
      https://github.com/llvm/llvm-project/commit/f5ee07a1b5ca6f337e6b4a46558c315b8ccd29dc
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/SystemZ/pr34619.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reordering-single-phi.ll

  Log Message:
  -----------
  [SLP]Improve instruction reordering mode detection.

The "instruction" reordering mode should be selected only if there are
compatible instructions in other operands, which can be reordered.
Otherwise, better to select splat reordering mode.

Metric: size..text

Program                                                                                                                                                size..text
                                                                                                                                                       results     results0    diff

test-suite :: External/SPEC/CFP2017rate/526.blender_r/526.blender_r.test 12383340.00 12383324.00 -0.0%

Some 4x operations get replaced by 8x.

Reviewers: RKSimon

Reviewed By: RKSimon

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


  Commit: d358151a4fe94c72186d58f8903f044a116d0fa8
      https://github.com/llvm/llvm-project/commit/d358151a4fe94c72186d58f8903f044a116d0fa8
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/include/llvm-libc-macros/math-macros.h
    M libc/src/math/amdgpu/CMakeLists.txt
    M libc/src/math/nvptx/CMakeLists.txt
    M libc/src/math/nvptx/llrint.cpp
    M libc/src/math/nvptx/llrintf.cpp
    M libc/src/math/nvptx/lrint.cpp

  Log Message:
  -----------
  Reapply "[libc] Make GPU `libm` use generic implementations" (#98061)

This reverts commit ea3fd020f4879d5b4261eabd9a56c24f30bc47f9.


  Commit: 4b53cbb069626cb266c77eb419f2faf780c742d8
      https://github.com/llvm/llvm-project/commit/4b53cbb069626cb266c77eb419f2faf780c742d8
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/config/config.json
    M libc/config/gpu/config.json
    M libc/docs/configure.rst
    M libc/src/stdio/scanf_core/CMakeLists.txt

  Log Message:
  -----------
  [libc] Export configs for `scanf` support (#98066)

Summary:
This patch adds the options for configuring floating point and index
mode for scanf just like `printf`. Not enabling it on the GPU yet, need
to fix something else first.


  Commit: 8ab82a2dc308c27fbdd0a87b5be7dddc623f1b0e
      https://github.com/llvm/llvm-project/commit/8ab82a2dc308c27fbdd0a87b5be7dddc623f1b0e
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    A libcxx/test/std/numerics/complex.number/complex/bit_cast.pass.cpp

  Log Message:
  -----------
  [libc++] Add a test case for std::bit_cast with std::complex (#97751)

This is extracted from #94620. While libc++ doesn't have the problem
described in that issue, a test case is a good idea to ensure that we
don't regress this behavior in the future. This could happen for example
if we decide to use `_Complex` in the implementation of `std::complex`
while Clang doesn't handle bit_cast with _Complex yet.


  Commit: acaa4c8bfd12eac4fa5f2c03e9d394f7bd8f1bd6
      https://github.com/llvm/llvm-project/commit/acaa4c8bfd12eac4fa5f2c03e9d394f7bd8f1bd6
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libcxxabi/src/cxa_exception_storage.cpp

  Log Message:
  -----------
  [libc++abi] Use __has_feature check to enable usage of thread_local for exception storage (#97591)

Previously, we'd use HAS_THREAD_LOCAL which was never defined. Hence,
we'd basically never use the code path where we use thread_local.

Fixes #78207


  Commit: 526dbc1b933d111db1e564631690914580e7e429
      https://github.com/llvm/llvm-project/commit/526dbc1b933d111db1e564631690914580e7e429
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lld/ELF/Arch/RISCV.cpp
    M lld/test/ELF/riscv-attributes.s

  Log Message:
  -----------
  [lld] Support merging RISC-V Atomics ABI attributes (#97347)

This patch adds support for merging the atomic_abi attribute, specified
in
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#tag_riscv_atomic_abi-14-uleb128version,
to LLD.

The atomics_abi tag merging is conducted as follows:

UNKNOWN is safe to merge with all other values.
A6C is compatible with A6S, and results in the A6C ABI.
A6C is incompatible with A7, and results in an error.
A6S and A7 are compatible, and merging results in the A7 ABI.
Note: the A7 is not yet supported in either LLVM or in any current
hardware, and is therefore omitted from attribute generation in
RISCVTargetStreamer.

LLD support was split from
https://github.com/llvm/llvm-project/pull/90266


  Commit: a4fec164bf87018e3a4365be1299ee94b6d0c3d3
      https://github.com/llvm/llvm-project/commit/a4fec164bf87018e3a4365be1299ee94b6d0c3d3
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/atomic-load-store.ll
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/CodeGen/RISCV/forced-atomics.ll

  Log Message:
  -----------
  Reapply "[llvm][RISCV] Enable trailing fences for seq-cst stores by default (#87376)" (#90267)

With the tag merging in place, we can safely change the default for
+seq-cst-trailing-fence to the default, according to the recommendation
in
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-atomic.adoc

This patch changes the default for the feature flag, and moves to more
consistent naming with respect to existing features.

This was reverted with https://github.com/llvm/llvm-project/pull/84597,
because ld.bfd would segfault with unknown riscv attributes. Now that
attributes emission is guarded with a backend flag,
`--riscv-abi-attributes`, this should be safe to reland, since it won't 
introduce abi tags unless the user opts into them.


  Commit: ca2d2a123cef4078d1516796bbd8efd6cbaac3d6
      https://github.com/llvm/llvm-project/commit/ca2d2a123cef4078d1516796bbd8efd6cbaac3d6
  Author: Alexey Karyakin <akaryaki at quicinc.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  Add patterns for Hexagon backend labels (#98068)

Add path filters for labelling of PRs related to the Hexagon backend.


  Commit: 96c61f4304ae323e1abc2dc2cbdd4df0502520ae
      https://github.com/llvm/llvm-project/commit/96c61f4304ae323e1abc2dc2cbdd4df0502520ae
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/utils/mlgo-utils/pyproject.toml

  Log Message:
  -----------
  [MLGO] Drop Python version cap for mlgo-utils

This patch drops the python version cap for mlgo-utils. I have validated
that everything works as expected in Python 3.12, and we have no
dependencies when the library is used, so we should be fairly resiliant
against changes in Python.


  Commit: 5c71f3017aaa28701c735bb5f3b48111e69d0cc1
      https://github.com/llvm/llvm-project/commit/5c71f3017aaa28701c735bb5f3b48111e69d0cc1
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/utils/mlgo-utils/README.md

  Log Message:
  -----------
  [MLGO] Drop outdated comment in mlgo-utils README

The mlgo-utils README contained a comment about a deviation in the
python version requirement for itself and the rest of the project. Now
that the global LLVM minimum python version is 3.8, this comment is no
longer valid so remove it.


  Commit: 837dc3b179da931e0fd72dbd562c99f649434501
      https://github.com/llvm/llvm-project/commit/837dc3b179da931e0fd72dbd562c99f649434501
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/TableGen/Record.cpp
    M llvm/lib/TableGen/TGParser.cpp

  Log Message:
  -----------
  [TableGen] Use range-based for loops (NFC) (#97678)


  Commit: d1f0ba615505660288e0b47fd413924f57933246
      https://github.com/llvm/llvm-project/commit/d1f0ba615505660288e0b47fd413924f57933246
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [AsmPrinter] Use range-based for loops (NFC) (#97977)


  Commit: 7c046ee7e18bc4bb2602e33abb94a11106c6a7a1
      https://github.com/llvm/llvm-project/commit/7c046ee7e18bc4bb2602e33abb94a11106c6a7a1
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [libc] Include _Exit in the baremetal configuration (#98053)

This is implemented using `__llvm_libc_exit` which should be provided by
the vendor and thus available in baremetal configurations.


  Commit: 7f0d9bae9d1cfdd1c275b6c20fa1b4ed7e6e644f
      https://github.com/llvm/llvm-project/commit/7f0d9bae9d1cfdd1c275b6c20fa1b4ed7e6e644f
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/asm-ld1-wrong-constraint.ll

  Log Message:
  -----------
  [llvm][AArch64] Fix a crash with an incorrect asm constraint (#98071)

Fixes: rdar://130887714


  Commit: e97bd0300b57547774c5cfe6fe84ebd0efc421ec
      https://github.com/llvm/llvm-project/commit/e97bd0300b57547774c5cfe6fe84ebd0efc421ec
  Author: alx32 <103613512+alx32 at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lld/MachO/ObjC.cpp
    A lld/test/MachO/objc-category-merging-swift-class-ext.s

  Log Message:
  -----------
  [lld-macho] Category Merging: Detect correct class language for classes with aliased symbols (#97454)

Currently we rely on detecting the source language of a class by the
name of the symbol pointing to it. This generally works, but there are
scenarios where Swift generates both an ObjC name and a Swift name for
the symbol - by aliasing the ObjC name to the Swift name, as follows:

```
.globl	_OBJC_CLASS_$__TtC11MyTestClass11MyTestClass
.private_extern _OBJC_CLASS_$__TtC11MyTestClass11MyTestClass
.set _OBJC_CLASS_$__TtC11MyTestClass11MyTestClass, _$s11MyTestClassAACN
```

So to correctly detect the source language in all cases, we need to
handle scenarios where both an ObjC symbol and a Swift symbol is defined
for a class - in this case the symbol is always a Swift class.


  Commit: b30d6671814cb5ac0b7f36b8b77345176e5132ba
      https://github.com/llvm/llvm-project/commit/b30d6671814cb5ac0b7f36b8b77345176e5132ba
  Author: ChiaHungDuan <chiahungduan at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/allocator_config.def

  Log Message:
  -----------
  [scudo] Change CompactPtrT and CompactPtrScale to optional (#90797)


  Commit: a582dde192d1b9596f3a2609275f04fd450e4aec
      https://github.com/llvm/llvm-project/commit/a582dde192d1b9596f3a2609275f04fd450e4aec
  Author: Brendan Hansknecht <Brendan.Hansknecht at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M mlir/include/mlir-c/IR.h
    M mlir/lib/CAPI/IR/IR.cpp

  Log Message:
  -----------
  [mlir][c-api] expose elideLargeResourceString (#98050)

Expose `elideLargeResourceString` to the c api.
This was done in the same way as `elideLargeElementsAttrs` is exposed.
The docs were grabbed from the `elideLargeResourceString` method and
forwarded here.


  Commit: ceaaa19238ac9ca3e42503eca4d4d2215b27bbc1
      https://github.com/llvm/llvm-project/commit/ceaaa19238ac9ca3e42503eca4d4d2215b27bbc1
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/utils/mlgo-utils/mlgo/__init__.py
    M llvm/utils/mlgo-utils/pyproject.toml

  Log Message:
  -----------
  [MLGO] Adjust mlgo-utils versioning to match Pypi

This patch adjusts the versioning/package name for mlgo-utils to match
what is on Pypi. I did this before because we uploaded a package before
the 18 branch, but apparently never committed the changes.

We will have to special case actual releases in the future, but for now
development versions are fine.


  Commit: 4ad967851e71efe6671ff9ba2f1c31dd26ca8301
      https://github.com/llvm/llvm-project/commit/4ad967851e71efe6671ff9ba2f1c31dd26ca8301
  Author: Quinn Dawkins <quinn.dawkins at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [mlir][Linalg] Allow propagation of pack through multi use pad (#98039)

This allows bubbling `tensor.pack` through `tensor.pad` when the pad has
multiple uses. A new pad is created and a `tensor.unpack` is inserted to
connect the packed pad with the new users.

To keep the previous behavior, the layout propagation control function
can be modified to disallow multi-use propagation.


  Commit: 07bb0444ddb96495905fbc13a04ad39972808dfb
      https://github.com/llvm/llvm-project/commit/07bb0444ddb96495905fbc13a04ad39972808dfb
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll

  Log Message:
  -----------
  [RISCV] Add build_vector coverage when zbkb is available

An uncomping change will make much more complete use of packh, packw, and
pack during element packing inside build_vector lowering.


  Commit: f6616e99c71c15d530060346ec29c3246d7fc235
      https://github.com/llvm/llvm-project/commit/f6616e99c71c15d530060346ec29c3246d7fc235
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model/x86.c
    M llvm/lib/TargetParser/Host.cpp

  Log Message:
  -----------
  Reland "Revert "[compiler-rt][X86] Use functions in cpuid.h instead of inline assembly (#97877)""

This reverts commit 2039e130649d8469bc85fa31ba7422d1d3739f90.

This relands commit 19cf8deabe1124831164987f1b9bf2f806c0a875.

Added some additional preprocessor directives to ensure that Host.cpp
only includes cpuid.h when being built on x86.


  Commit: d3cb277ea35d2cf25cdcc41b894959332477861c
      https://github.com/llvm/llvm-project/commit/d3cb277ea35d2cf25cdcc41b894959332477861c
  Author: David Green <david.green at arm.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [AArch64] Rearrange Opcodes in getMemOpInfo. NFC

This just changes the order of the opcodes and fields in getMemOpInfo, none of
the values are altered.


  Commit: a004e50b9e6880850b54e672bba9f650ed716910
      https://github.com/llvm/llvm-project/commit/a004e50b9e6880850b54e672bba9f650ed716910
  Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/newhdrgen/class_implementation/classes/function.py
    M libc/newhdrgen/tests/test_integration.py
    M libc/newhdrgen/yaml/inttypes.yaml
    M libc/newhdrgen/yaml/pthread.yaml
    M libc/newhdrgen/yaml/sched.yaml
    M libc/newhdrgen/yaml/signal.yaml
    M libc/newhdrgen/yaml/stdio.yaml
    M libc/newhdrgen/yaml/stdlib.yaml
    M libc/newhdrgen/yaml/string.yaml
    M libc/newhdrgen/yaml/sys_mman.yaml
    A libc/newhdrgen/yaml/sys_syscall.yaml
    M libc/newhdrgen/yaml/sys_types.yaml
    M libc/newhdrgen/yaml/termios.yaml
    M libc/newhdrgen/yaml/threads.yaml
    M libc/newhdrgen/yaml/time.yaml
    M libc/newhdrgen/yaml/unistd.yaml

  Log Message:
  -----------
  [libc] corrected yaml files in newhdrgen (#98069)

- fixed little issues in yaml issues through testing
- corrected function class in the case there is no attribute


  Commit: c95935789da9349c470ce75203af93624360b2b6
      https://github.com/llvm/llvm-project/commit/c95935789da9349c470ce75203af93624360b2b6
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Directly use pack* in build_vector lowering (#98084)

In 03d4332, we extended build_vector lowering to pack elements into the
largest size which doesn't exceed either ELEN or XLEN. The zbkb
extension - ratified under scalar crypto, but otherwise not really
connected to crypto per se - adds the packh, packw, and pack
instructions. These instructions are designed for exactly this pairwise
packing.

I ended up choosing to directly lower to machine nodes. A combination of
the slightly non-uniform semantics of these instructions (packw *sign*
extends the result, whereas packh *zero* extends it), and our generic
dag canonicalization (which sinks shl through or nodes), make pattern
matching these tricky and not particularly robust. Another alternative
was to have an ISD node for them, but that didn't seem to add much in
practice.


  Commit: 46a2abb91cb6cfac9b807ae2055cc5f1743405e4
      https://github.com/llvm/llvm-project/commit/46a2abb91cb6cfac9b807ae2055cc5f1743405e4
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [clang-doc][nfc] Avoid constructing SmallString in ToString method (#96921)

This patch updates the return type of HTMLTag::toString from
SmallString<16> to StringRef, since this API only returns string
literals. As a result, there is no need to construct a full heap
allocated or owned string.

Additionally, this patch renames ToString to toString to match the LLVM
style guide.


  Commit: 4f3c9dabecc6074f8455ca23ba70020d5c556e63
      https://github.com/llvm/llvm-project/commit/4f3c9dabecc6074f8455ca23ba70020d5c556e63
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M mlir/test/CAPI/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Exclude CAPI test targets from default build target (#96545)

This helps reduce the build time for users that want to build MLIR, but
don't want to run the tests.


  Commit: 2a7abb04e258542679476fa6527418c34412283c
      https://github.com/llvm/llvm-project/commit/2a7abb04e258542679476fa6527418c34412283c
  Author: Kevin Frei <freik at meta.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Host/Config.h.cmake
    M lldb/packages/Python/lldbsuite/test/decorators.py
    M lldb/packages/Python/lldbsuite/test/make/Makefile.rules
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolLocator/CMakeLists.txt
    M lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
    A lldb/test/API/debuginfod/Normal/Makefile
    A lldb/test/API/debuginfod/Normal/TestDebuginfod.py
    A lldb/test/API/debuginfod/Normal/main.c
    A lldb/test/API/debuginfod/SplitDWARF/Makefile
    A lldb/test/API/debuginfod/SplitDWARF/TestDebuginfodDWP.py
    A lldb/test/API/debuginfod/SplitDWARF/main.c

  Log Message:
  -----------
  [LLDB] DebugInfoD tests: attempt to fix Fuchsia build (#96802)

This is the same diff I've put up at many times before. I've been trying
to add some brand new functionality to the LLDB test infrastucture
(create split-dwarf files!), and we all know that no good deed goes
unpunished. The last attempt was reverted because it didn't work on the
Fuchsia build.

There are no code differences between this and
[the](https://github.com/llvm/llvm-project/pull/90622)
[previous](https://github.com/llvm/llvm-project/pull/87676)
[four](https://github.com/llvm/llvm-project/pull/86812)
[diffs](https://github.com/llvm/llvm-project/pull/85693) landed &
reverted (due to testing infra failures). The only change in this one is
the way `dwp` is being identified in `Makefile.rules`.

Thanks to @petrhosek for helping me figure out how the fuchsia builders
are configured. I now prefer to use llvm-dwp and fall back to gnu's dwp
if the former isn't found. Hopefully this will work everywhere it needs
to.


  Commit: f6eda6fb7a335861d8a8ce32ea805830685f218d
      https://github.com/llvm/llvm-project/commit/f6eda6fb7a335861d8a8ce32ea805830685f218d
  Author: Caslyn Tonelli <6718161+Caslyn at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

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

  Log Message:
  -----------
  [libc] Fix for unused variable warning (#98086)

This fixes the `unused variable 'new_inner_size'` warning that arises
when `new_inner_size` is only used by `LIBC_ASSERT` by performing the
calculation directly in the macro.


  Commit: c1f1aab5d5d4d2a9d86e9e3e1794d609749a15f0
      https://github.com/llvm/llvm-project/commit/c1f1aab5d5d4d2a9d86e9e3e1794d609749a15f0
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/src/sys/statvfs/linux/statfs_utils.h

  Log Message:
  -----------
  [libc] Fix statfs_to_statvfs conversion function on rv32 (#98098)


  Commit: b2fd1ebc3523d225956120052bcc0698adf4579f
      https://github.com/llvm/llvm-project/commit/b2fd1ebc3523d225956120052bcc0698adf4579f
  Author: Kevin Frei <kevinfrei at hotmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Host/Config.h.cmake
    M lldb/packages/Python/lldbsuite/test/decorators.py
    M lldb/packages/Python/lldbsuite/test/make/Makefile.rules
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolLocator/CMakeLists.txt
    M lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
    R lldb/test/API/debuginfod/Normal/Makefile
    R lldb/test/API/debuginfod/Normal/TestDebuginfod.py
    R lldb/test/API/debuginfod/Normal/main.c
    R lldb/test/API/debuginfod/SplitDWARF/Makefile
    R lldb/test/API/debuginfod/SplitDWARF/TestDebuginfodDWP.py
    R lldb/test/API/debuginfod/SplitDWARF/main.c

  Log Message:
  -----------
  Revert "[LLDB] DebugInfoD tests: attempt to fix Fuchsia build" (#98101)

Reverts llvm/llvm-project#96802

Attempt #5 fails. It's been 6 months. I despise Makefile.rules and have
no ability to even *detect* these failures without _landing_ a diff. In
the mean time, we have no testing for DWP files at all (and a regression
that was introduced, that I fix with this diff) so I'm going to just
remove some of the tests and try to land it again, but with less testing
I guess.


  Commit: afa6bed8afe9011c07c682a0a24362260d92cfdd
      https://github.com/llvm/llvm-project/commit/afa6bed8afe9011c07c682a0a24362260d92cfdd
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/src/math/amdgpu/CMakeLists.txt
    M libc/src/math/nvptx/CMakeLists.txt
    M libc/test/src/math/RoundToIntegerTest.h
    M libc/test/src/math/smoke/RoundToIntegerTest.h

  Log Message:
  -----------
  [libc] Fix integer `rint` variants on the GPU (#98095)

Summary:
Currently these are implemented as a static cast on `__builtin_rint()`
to a long. Howver, this is not strictly correct. The standard states
that the output is unspecified, but most implementations, and the LLVM
libc implementation, do some kind of guarantee on this beahvior. This is
not guaranteed by just doing a cast. This patch just uses the generic
versions until we implement `__builitin_lrint` correctly.


  Commit: 79d0de2ac37b6b7d66720611935d1dd7fc4fbd43
      https://github.com/llvm/llvm-project/commit/79d0de2ac37b6b7d66720611935d1dd7fc4fbd43
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineLoopInfo.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/CodeGen.cpp
    M llvm/lib/CodeGen/EarlyIfConversion.cpp
    M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/MIRSampleProfile.cpp
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp
    M llvm/lib/CodeGen/MachineCombiner.cpp
    M llvm/lib/CodeGen/MachineLICM.cpp
    M llvm/lib/CodeGen/MachineLoopInfo.cpp
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/lib/CodeGen/MachineTraceMetrics.cpp
    M llvm/lib/CodeGen/ModuloSchedule.cpp
    M llvm/lib/CodeGen/PHIElimination.cpp
    M llvm/lib/CodeGen/PeepholeOptimizer.cpp
    M llvm/lib/CodeGen/PostRASchedulerList.cpp
    M llvm/lib/CodeGen/PrologEpilogInserter.cpp
    M llvm/lib/CodeGen/RegAllocBasic.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/lib/CodeGen/RegAllocPBQP.cpp
    M llvm/lib/CodeGen/RegisterCoalescer.cpp
    M llvm/lib/CodeGen/ShrinkWrap.cpp
    M llvm/lib/CodeGen/StackSlotColoring.cpp
    M llvm/lib/CodeGen/UnreachableBlockElim.cpp
    M llvm/lib/CodeGen/XRayInstrumentation.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
    M llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
    M llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
    M llvm/lib/Target/AMDGPU/R600MachineCFGStructurizer.cpp
    M llvm/lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
    M llvm/lib/Target/AMDGPU/R600Packetizer.cpp
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
    M llvm/lib/Target/ARM/ARMBlockPlacement.cpp
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
    M llvm/lib/Target/ARM/MVETPAndVPTOptimisationsPass.cpp
    M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
    M llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
    M llvm/lib/Target/Hexagon/HexagonSplitDouble.cpp
    M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
    M llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
    M llvm/lib/Target/X86/X86CmovConversion.cpp
    M llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
    M llvm/lib/Target/X86/X86PreTileConfig.cpp
    A llvm/test/CodeGen/X86/machine-loops.ll

  Log Message:
  -----------
  [CodeGen][NewPM] Port `machine-loops` to new pass manager (#97793)

- Add `MachineLoopAnalysis`.
- Add `MachineLoopPrinterPass`.
- Convert to `MachineLoopInfoWrapperPass` in legacy pass manager.


  Commit: 673b6cd104beddac08cec46e7cbf74d7fcc44abc
      https://github.com/llvm/llvm-project/commit/673b6cd104beddac08cec46e7cbf74d7fcc44abc
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/src/__support/File/file.h

  Log Message:
  -----------
  [libc] Use `stdio.h` for `off_t` instead of `unistd.h` (#98093)

Summary:
The `stdio.h` header should define `off_t` as defined for the platform.
This will use the system's in overlay mode, or what the llvm-libc-types
deems correct. If this `off_t` is incorrect it should be changed in
`llvm-libc-types`. This fixes the GPU build.


  Commit: f1905f064451bf688577976a13000c9c47e58452
      https://github.com/llvm/llvm-project/commit/f1905f064451bf688577976a13000c9c47e58452
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model/x86.c
    M llvm/lib/TargetParser/Host.cpp

  Log Message:
  -----------
  Revert "[compiler-rt][X86] Use functions in cpuid.h instead of inline assembly (#97877)"

This reverts commit f6616e99c71c15d530060346ec29c3246d7fc235.

Was causing buildbot failures on Windows. I also remember seeing a
AMDGPU buildbot failing somewhere on a warning as they have -Werror
enabled.


  Commit: d65f4232026a6c0fcd2431e1d28a7ad49127f6e5
      https://github.com/llvm/llvm-project/commit/d65f4232026a6c0fcd2431e1d28a7ad49127f6e5
  Author: Sudharsan Veeravalli <quic_svs at quicinc.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/CodeGen/Targets/RISCV.cpp
    M clang/test/CodeGen/RISCV/abi-empty-structs.c

  Log Message:
  -----------
  [RISCV] Handle empty structs/unions passing in C++ (#97315)

According to RISC-V integer calling convention empty structs or union
arguments or return values are ignored by C compilers which support them
as a non-standard extension. This is not the case for C++, which
requires them to be sized types.

Fixes #97285


  Commit: 0182f5174f7cab31f8275718ae0aca7e9ac6fcd2
      https://github.com/llvm/llvm-project/commit/0182f5174f7cab31f8275718ae0aca7e9ac6fcd2
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/src/__support/File/file.h

  Log Message:
  -----------
  [libc][fix] Use off_t libc type directly

Summary:
Including stdio here caused some multiple definitions on overlay mode.
Just include `off_t` directly.

Is this correct for 32-bit targets? Will investigate further after
fixing bots.


  Commit: 366eb8f025f03f00ed1188dccfd3d527b8c82892
      https://github.com/llvm/llvm-project/commit/366eb8f025f03f00ed1188dccfd3d527b8c82892
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Object/ELFTypes.h

  Log Message:
  -----------
  [Object] Fix IsRela typo after #91280


  Commit: ac0b2814c34959ebaa8f054db019bd287fdff54d
      https://github.com/llvm/llvm-project/commit/ac0b2814c34959ebaa8f054db019bd287fdff54d
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/LiveVariables.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/LiveIntervals.cpp
    M llvm/lib/CodeGen/LiveVariables.cpp
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/lib/CodeGen/PHIElimination.cpp
    M llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
    M llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
    M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
    A llvm/test/CodeGen/X86/live-vars.ll
    M llvm/unittests/MI/LiveIntervalTest.cpp

  Log Message:
  -----------
  [CodeGen][NewPM] Port `LiveVariables` to new pass manager (#97880)

- Port `LiveVariables` to new pass manager.
- Convert to `LiveVariablesWrapperPass` in legacy pass manager.


  Commit: 28695dd104ef3a27f9410663640aa8f5b99f8c34
      https://github.com/llvm/llvm-project/commit/28695dd104ef3a27f9410663640aa8f5b99f8c34
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/test/src/__support/CMakeLists.txt

  Log Message:
  -----------
  [libc] Disable block test on NVPTX

Summary:
We already disable the freelist, the block test also causes issues. We
don't use this code at all on the GPU so we can disable this test for
now.


  Commit: 50881d03fc46271fc827adcd3d89ba04593b7f08
      https://github.com/llvm/llvm-project/commit/50881d03fc46271fc827adcd3d89ba04593b7f08
  Author: vporpo <vporpodas at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/include/llvm/SandboxIR/SandboxIRValues.def
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  [SandboxIR] Add BasicBlock and adds functionality to Function and Context (#97637)

We can now create SandboxIR from LLVM IR using the Context::create*
functions.


  Commit: 1d5ac72cd282484c16fb0fe8853ac6e2305b82bf
      https://github.com/llvm/llvm-project/commit/1d5ac72cd282484c16fb0fe8853ac6e2305b82bf
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCPseudoProbe.h
    M llvm/lib/MC/MCPseudoProbe.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.h

  Log Message:
  -----------
  [MC][NFC] Fix typo in MCPseudoProbeFrameLocation (#98090)


  Commit: 87d58ab22af0627b2c90138713c19b5263b6c132
      https://github.com/llvm/llvm-project/commit/87d58ab22af0627b2c90138713c19b5263b6c132
  Author: PeterChou1 <peter.chou at mail.utoronto.ca>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/tool/CMakeLists.txt

  Log Message:
  -----------
  [clang-doc] fix paths by hard coding path to share (#98099)


  Commit: 4010f894a1e880f88bda78a49a8bece5affaa848
      https://github.com/llvm/llvm-project/commit/4010f894a1e880f88bda78a49a8bece5affaa848
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SlotIndexes.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/LiveIntervals.cpp
    M llvm/lib/CodeGen/LiveStacks.cpp
    M llvm/lib/CodeGen/MLRegAllocPriorityAdvisor.cpp
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/lib/CodeGen/PHIElimination.cpp
    M llvm/lib/CodeGen/RegAllocBasic.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/lib/CodeGen/RegAllocPBQP.cpp
    M llvm/lib/CodeGen/RegAllocPriorityAdvisor.cpp
    M llvm/lib/CodeGen/RegisterCoalescer.cpp
    M llvm/lib/CodeGen/RenameIndependentSubregs.cpp
    M llvm/lib/CodeGen/SlotIndexes.cpp
    M llvm/lib/CodeGen/StackColoring.cpp
    M llvm/lib/CodeGen/StackSlotColoring.cpp
    M llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
    M llvm/lib/CodeGen/VirtRegMap.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUMarkLastScratchLoad.cpp
    M llvm/lib/Target/AMDGPU/GCNRewritePartialRegUses.cpp
    M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
    M llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
    M llvm/lib/Target/AMDGPU/SILowerWWMCopies.cpp
    M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
    M llvm/lib/Target/Hexagon/HexagonCopyHoisting.cpp
    M llvm/lib/Target/Hexagon/HexagonExpandCondsets.cpp
    M llvm/lib/Target/Hexagon/HexagonTfrCleanup.cpp
    M llvm/lib/Target/LoongArch/LoongArchDeadRegisterDefinitions.cpp
    M llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
    M llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
    M llvm/lib/Target/RISCV/RISCVDeadRegisterDefinitions.cpp
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
    A llvm/test/CodeGen/X86/slot-indexes.ll

  Log Message:
  -----------
  [CodeGen][NewPM] Port `SlotIndexes` to new pass manager (#97941)

- Add `SlotIndexesAnalysis`.
- Add `SlotIndexesPrinterPass`.
- Use `SlotIndexesWrapperPass` in legacy pass.


  Commit: d0f3943a027347685905080f6f5ee423b1c8714a
      https://github.com/llvm/llvm-project/commit/d0f3943a027347685905080f6f5ee423b1c8714a
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Remove -riscv-disable-insert-vsetvl-phi-opt flag (#97991)

This flag was added in https://reviews.llvm.org/D103277 out of
precaution, but it's been enabled by default for 3 years now and I
haven't seen any miscompiles upstream stemming from needVSETVLIPHI. This
would remove it just to simplify the number of configurations.


  Commit: 3f83a69bcb2c6b5fa3efbc41d1822e6fa69a6620
      https://github.com/llvm/llvm-project/commit/3f83a69bcb2c6b5fa3efbc41d1822e6fa69a6620
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-masked-vops.ll
    M llvm/test/CodeGen/RISCV/rvv/vfwmacc-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vpload.ll

  Log Message:
  -----------
  [RISCV] Allow folding vmerge into masked ops when mask is the same (#97989)

We currently only fold a vmerge into a masked true operand if the vmerge
has an all-ones mask, since we end up keeping the mask from the true
operand.

But if the masks are the same then we can still fold, because vmerge and
true have the same passthru. If an element was masked off in the
original vmerge, it will also be masked off in the resulting true, and
will have the same passthru value.

The motivation for this is to lower masked VP loads and stores with
passthrus to masked RVV instructions. Normally you can express a masked
RVV instruction with a mask undisturbed passthru via a combination of a
VP op with an all-ones mask and a vp.merge. But for loads and stores you
need the same mask on the VP op as well as the vp.merge.


  Commit: 84741940f2d9cb858ecb29ce5197714a45e7e67a
      https://github.com/llvm/llvm-project/commit/84741940f2d9cb858ecb29ce5197714a45e7e67a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/include/clang/Support/RISCVVIntrinsicUtils.h
    M clang/lib/Support/RISCVVIntrinsicUtils.cpp
    M clang/utils/TableGen/RISCVVEmitter.cpp

  Log Message:
  -----------
  [RISCV] Remove unused RequiredFeatures argument from RVVIntrinsic constructor. NFC (#98067)

Looks like the usage was removed by
7a5cb15ea6facd82756adafae76d60f36a0b60fd


  Commit: 50fea9943fa59ed1aeb4538e0f715cc01db58a9a
      https://github.com/llvm/llvm-project/commit/50fea9943fa59ed1aeb4538e0f715cc01db58a9a
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Bitcode/BitcodeWriter.h
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/test/ThinLTO/X86/import_callee_declaration.ll
    M llvm/tools/llvm-lto/llvm-lto.cpp

  Log Message:
  -----------
  Reland "[ThinLTO][Bitcode] Generate import type in bitcode" (#97253)

https://github.com/llvm/llvm-project/pull/87600 was reverted in order to
revert
https://github.com/llvm/llvm-project/commit/6262763341fcd71a2b0708cf7485f9abd1d26ba8.
Now https://github.com/llvm/llvm-project/pull/95482 is fix forward for
https://github.com/llvm/llvm-project/commit/6262763341fcd71a2b0708cf7485f9abd1d26ba8.
This patch is a reland for
https://github.com/llvm/llvm-project/pull/87600

**Changes on top of original patch**
In `llvm/include/llvm/IR/ModuleSummaryIndex.h`, make the type of
`GVSummaryPtrSet` an `unordered_set` which is more memory efficient when
the number of elements is smaller than 128 [1]

**Original commit message**

For distributed ThinLTO, the LTO indexing step generates combined
summary for each module, and postlink pipeline reads the combined
summary which stores the information for link-time optimization.

This patch populates the 'import type' of a summary in bitcode, and
updates bitcode reader to parse the bit correctly.

[1]
https://github.com/llvm/llvm-project/blob/393eff4e02e7ab3d234d246a8d6912c8e745e6f9/llvm/lib/Support/SmallPtrSet.cpp#L43


  Commit: 2217933c6d3850948dced70097847f5a684ed069
      https://github.com/llvm/llvm-project/commit/2217933c6d3850948dced70097847f5a684ed069
  Author: Christian Sigg <csigg at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [bazel][libc] Fix BUILD after 0182f5174f7cab31f8275718ae0aca7e9ac6fcd2.


  Commit: 7eb1a320ccc5ce608eb9ea2a0de760fa6c346774
      https://github.com/llvm/llvm-project/commit/7eb1a320ccc5ce608eb9ea2a0de760fa6c346774
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
    A llvm/test/CodeGen/AMDGPU/insert-skips-gfx10.mir
    A llvm/test/CodeGen/AMDGPU/insert-skips-gfx12.mir

  Log Message:
  -----------
  [AMDGPU] Update EXECZ retention in SIPreEmitPeephole for GFX10/12 (#97676)

The check to maintain EXECZ branches only checks S_WAITCNT.
Add handling for new waitcnt instructions in GFX10 and GFX12.


  Commit: bb8998dd3b74a6936452d7ddeb341e79c1d8f001
      https://github.com/llvm/llvm-project/commit/bb8998dd3b74a6936452d7ddeb341e79c1d8f001
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-splat.ll

  Log Message:
  -----------
  [RISCV] Don't custom legalize vXf16 SPLAT_VECTOR with Zvfhmin without Zfhmin.

Marking SPLAT_VECTOR as Custom enables generic DAGCombine to turn
BUILD_VECTOR into SPLAT_VECTOR. We need to custom type legalize BUILD_VECTOR
without Zfhmin since we don't have the scalar f16 type. If we allow
SPLAT_VECTOR to be formed, we'll need to custom type legalize it too.

Easiest fix is to only enable SPLAT_VECTOR with Zvfhmin+Zfhmin. There's
still an issue that we need to properly support BUILD_VECTOR with Zvfhmin+Zfhmin.

Should fix the new case reported in #97849.

I've also changed the predicates to Zfhmin instead of ZfhminOrZhinxmin
since Zhinx isn't compatible with Zvfhmin.


  Commit: 626c7ce33f850831949e4e724016ddbff3a34990
      https://github.com/llvm/llvm-project/commit/626c7ce33f850831949e4e724016ddbff3a34990
  Author: Zhaoxin Yang <yangzhaoxin at loongson.cn>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Driver/Options.td
    M clang/lib/Basic/Targets/LoongArch.cpp
    M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
    A clang/test/Driver/loongarch-msimd.c
    M clang/test/Preprocessor/init-loongarch.c

  Log Message:
  -----------
  [LoongArch][clang] Add support for option `-msimd=` and macro `__loongarch_simd_width`. (#97984)


  Commit: 32597685574e594d745df1bb15dc0e626bd60566
      https://github.com/llvm/llvm-project/commit/32597685574e594d745df1bb15dc0e626bd60566
  Author: Jianjian Guan <jacquesguan at me.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/lib/Sema/SemaRISCV.cpp
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vcreate.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vget.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vle16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vle16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlmul_ext_v.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlmul_trunc_v.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg2e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg3e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg4e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg5e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg6e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg7e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg8e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vreinterpret.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vset.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vundefined.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/sf_vfwmacc_4x4x4.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vfncvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vfwcvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vfwmaccbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vget.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vle16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vle16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlmul_ext_v.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlmul_trunc_v.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg2e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg3e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg4e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg5e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg6e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg7e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg8e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vreinterpret.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vset.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/sf_vfwmacc_4x4x4.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vfncvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vfwcvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vfwmaccbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vle16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vle16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg2e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg3e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg4e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg5e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg6e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg7e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg8e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/sf_vfwmacc_4x4x4.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vfncvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vfwcvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vfwmaccbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vle16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vle16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg2e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg3e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg4e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg5e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg6e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg7e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg8e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/sf_vfwmacc_4x4x4.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vfncvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vfwcvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vfwmaccbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/rvv-intrinsic-datatypes.cpp
    M clang/test/Driver/print-supported-extensions-riscv.c
    M clang/test/Sema/riscv-types.c
    M llvm/docs/RISCVUsage.rst
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vec-args.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vec-ret.ll
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/CodeGen/RISCV/bfloat-arith.ll
    M llvm/test/CodeGen/RISCV/bfloat-br-fcmp.ll
    M llvm/test/CodeGen/RISCV/bfloat-convert.ll
    M llvm/test/CodeGen/RISCV/bfloat-fcmp.ll
    M llvm/test/CodeGen/RISCV/bfloat-frem.ll
    M llvm/test/CodeGen/RISCV/bfloat-imm.ll
    M llvm/test/CodeGen/RISCV/bfloat-isnan.ll
    M llvm/test/CodeGen/RISCV/bfloat-mem.ll
    M llvm/test/CodeGen/RISCV/bfloat-select-fcmp.ll
    M llvm/test/CodeGen/RISCV/bfloat-select-icmp.ll
    M llvm/test/CodeGen/RISCV/rvv/extract-subvector.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fpext-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fptrunc-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-load-store.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-load.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-store.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfpext-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfptrunc-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/insert-subvector.ll
    M llvm/test/CodeGen/RISCV/rvv/select-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/sf_vfwmacc_4x4x4.ll
    M llvm/test/CodeGen/RISCV/rvv/vfncvtbf16-f-f.ll
    M llvm/test/CodeGen/RISCV/rvv/vfpext-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vfpext-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vfpext-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vfptrunc-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vfptrunc-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vfptrunc-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vfwcvtbf16-f-f.ll
    M llvm/test/CodeGen/RISCV/rvv/vfwmaccbf16.ll
    M llvm/test/CodeGen/RISCV/rvv/vle.ll
    M llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/vse.ll
    M llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/vselect-vp-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/vsplats-bf16.ll
    M llvm/test/CodeGen/RISCV/zfbfmin.ll
    M llvm/test/MC/RISCV/attribute-arch-invalid.s
    M llvm/test/MC/RISCV/fp-default-rounding-mode.s
    M llvm/test/MC/RISCV/rv32zfbfmin-invalid.s
    M llvm/test/MC/RISCV/rv32zfbfmin-valid.s
    M llvm/test/MC/RISCV/rvv/zvfbfmin.s
    M llvm/test/MC/RISCV/rvv/zvfbfwma-invalid.s
    M llvm/test/MC/RISCV/rvv/zvfbfwma.s
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Remove experimental for bf16 extensions (#97996)

They are already ratified now.


  Commit: 9acaccbaeef50fda3b73b7760fc48771e623efc9
      https://github.com/llvm/llvm-project/commit/9acaccbaeef50fda3b73b7760fc48771e623efc9
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
    M clang/lib/Driver/ToolChains/Arch/RISCV.h
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/lib/Driver/ToolChains/Gnu.cpp

  Log Message:
  -----------
  [RISCV][Driver] Refactor `riscv::getRISCVArch` to return `std::string`. NFC. (#97965)

See the discussion in
https://github.com/llvm/llvm-project/pull/94352#discussion_r1657074801


  Commit: f3fe14fabc42f890cde58db8f50db4dd5e01f9b7
      https://github.com/llvm/llvm-project/commit/f3fe14fabc42f890cde58db8f50db4dd5e01f9b7
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt
    M libc/src/stdio/baremetal/CMakeLists.txt
    A libc/src/stdio/baremetal/puts.cpp

  Log Message:
  -----------
  [libc] puts implementation for baremetal (#98051)

This is a simple baremetal implementation of puts akin to putchar.


  Commit: 2abe53a17f486a055a3715f19a37e3e91b4415fc
      https://github.com/llvm/llvm-project/commit/2abe53a17f486a055a3715f19a37e3e91b4415fc
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M llvm/lib/ObjCopy/ELF/ELFObject.cpp
    M llvm/lib/ObjCopy/ELF/ELFObject.h
    M llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test

  Log Message:
  -----------
  Revert "[llvm-objcopy] Remove empty SHT_GROUP sections (#97141)"

This reverts commit 359c64f314ad568e78ee9a3723260286e3425c2d.

This caused heap-use-after-free. See #98106.


  Commit: ed51908cec879c9dff435abdc70d8b03afc35c07
      https://github.com/llvm/llvm-project/commit/ed51908cec879c9dff435abdc70d8b03afc35c07
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Emit VP strided load in mgather combine. NFCI (#98112)

This combine is a duplication of the transform in
RISCVGatherScatterLowering but at the SelectionDAG level, so similarly
to #98111 we can replace the use of riscv_masked_strided_load with a VP
strided load.

Unlike #98111 we don't require #97800 or #97798 since it only operates
on fixed vectors with a non-zero stride.


  Commit: be7239e5a60927f5b4932f995dc4b57423ea8534
      https://github.com/llvm/llvm-project/commit/be7239e5a60927f5b4932f995dc4b57423ea8534
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/InlineCost.cpp
    A llvm/test/Transforms/Inline/pr97590.ll

  Log Message:
  -----------
  [Inline] Remove bitcast handling in `CallAnalyzer::stripAndComputeInBoundsConstantOffsets` (#97988)

As we are now using opaque pointers, bitcast handling is no longer
needed.

Closes https://github.com/llvm/llvm-project/issues/97590.


  Commit: cff8d716bdf017a2af8eb8623257fd33ee43f30e
      https://github.com/llvm/llvm-project/commit/cff8d716bdf017a2af8eb8623257fd33ee43f30e
  Author: v01dXYZ <14996868+v01dXYZ at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    A llvm/test/Transforms/LoopUnroll/peel-loop-scev-invalidate-with-overflow-inst.ll
    M llvm/unittests/Analysis/ScalarEvolutionTest.cpp

  Log Message:
  -----------
  [SCEV] forgetValue: support (with-overflow-inst op0, op1) (#98015)

The use-def walk in forgetValue() was skipping instructions with
non-SCEVable types. However, SCEV may look past with.overflow
intrinsics returning aggregates.

Fixes #97586.


  Commit: a1e1f31570adf2805ae9cc3bc690a4eef72ba4f2
      https://github.com/llvm/llvm-project/commit/a1e1f31570adf2805ae9cc3bc690a4eef72ba4f2
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [NFC][clang] Add a release note for `#embed` (#97997)


  Commit: eee9efb09c1a3cbbb1ad5471713f3da218c8b00e
      https://github.com/llvm/llvm-project/commit/eee9efb09c1a3cbbb1ad5471713f3da218c8b00e
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Add empty initializer list to test decl

This was missing in the test.


  Commit: 93869dfd89387844bf8b605ebcd1abc0cc81bde8
      https://github.com/llvm/llvm-project/commit/93869dfd89387844bf8b605ebcd1abc0cc81bde8
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/test/AST/Interp/lifetimes.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Simplify a test case


  Commit: 58e750bfd621ac7ef8647eb1170b254e05ffc10d
      https://github.com/llvm/llvm-project/commit/58e750bfd621ac7ef8647eb1170b254e05ffc10d
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py

  Log Message:
  -----------
  [lldb] Put the new debugger in synchronous mode in TestGlobalModuleCache (#98041)

In async mode, the test terminates sooner than it should
(`run_to_source_breakpoint` does not work in this mode), and then the
test crashes due to #76057. Most of the time, the test does not fail
because its already XFAILed, but the crash still registers as a failure.


  Commit: 3655de73809b0f8f100040c4b9c9ad889dca2225
      https://github.com/llvm/llvm-project/commit/3655de73809b0f8f100040c4b9c9ad889dca2225
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp] Avoid a dangling pointer

We've just moved all the pointers from the Block to the DeadBlock,
so make sure the old Block doesn't point to a linked list of Pointers
that don't even point to it anymore.


  Commit: efc5a6aa82081aaa002f90baa21fc16655af0729
      https://github.com/llvm/llvm-project/commit/efc5a6aa82081aaa002f90baa21fc16655af0729
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Print Block descriptor in ::dump()


  Commit: 1e7d6d345518de0738eb5b2eb71addd499fea0fb
      https://github.com/llvm/llvm-project/commit/1e7d6d345518de0738eb5b2eb71addd499fea0fb
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Target/LLVMIR/llvmir-invalid.mlir

  Log Message:
  -----------
  [mlir][vector] Propagate scalability to gather/scatter ptrs vector (#97584)

In convert-vector-to-llvm the first operand (vector of pointers holding
all memory addresses to read) to the masked.gather (and scatter)
intrinsic has a fixed vector type.

This may result in intrinsics where the scalable flag has been dropped:
```
  %0 = llvm.intr.masked.gather %1, %2, %3 {alignment = 4 : i32}
    : (!llvm.vec<4 x ptr>, vector<[4]xi1>, vector<[4]xi32>) -> vector<[4]xi32>
```
Fortunately the operand is overloaded on the result type so we end up
with the correct IR when lowering to LLVM, but this is still incorrect.
This patch fixes it by propagating scalability.


  Commit: 8011a23948cb18a6771b5acb8c73a7d6bae7e40d
      https://github.com/llvm/llvm-project/commit/8011a23948cb18a6771b5acb8c73a7d6bae7e40d
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/vectorization-scalable.mlir
    M mlir/test/Dialect/Linalg/vectorize-tensor-extract-masked.mlir

  Log Message:
  -----------
  [mlir][linalg] Support scalable vectorization of linalg.index operations (#96778)

The vectorization of linalg.index operations doesn't support scalable
vectors when computing the index vector. This patch fixes this with the
vector.step operation.

Depends on #96776


  Commit: 4f68d20d87b5a4c06c4ec954c93069cebeb6dfee
      https://github.com/llvm/llvm-project/commit/4f68d20d87b5a4c06c4ec954c93069cebeb6dfee
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Simplify Pointer Block accessing code

Try to get PointeeStorage.BS.Pointee only once and reuse that.


  Commit: ad82d1c53f089937c05af11ff45798ceb5ca894e
      https://github.com/llvm/llvm-project/commit/ad82d1c53f089937c05af11ff45798ceb5ca894e
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Move a lambda declaration into its closest scope


  Commit: f1eed011b4b28aecd07170f9b26cc0efb45904ee
      https://github.com/llvm/llvm-project/commit/f1eed011b4b28aecd07170f9b26cc0efb45904ee
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  MathExtras: add overflow query for signed-div (#97901)

5221634 (Do not trigger UB during AffineExpr parsing) noticed that
divideCeilSigned and divideFloorSigned would overflow when Numerator =
INT_MIN, and Denominator = -1. This observation has already been made by
DynamicAPInt, and it has code to check this. To avoid checks in multiple
callers, centralize this query in MathExtras, and change
divideCeilSigned/divideFloorSigned to assert on overflow.


  Commit: cd89d926aed1de3d1255043eba39801b54393040
      https://github.com/llvm/llvm-project/commit/cd89d926aed1de3d1255043eba39801b54393040
  Author: Alex Langford <alangford at apple.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [lldb] Correct invalid format style (#98089)

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


  Commit: e5865ec93cbf77f84c55e55383ce3254186fc065
      https://github.com/llvm/llvm-project/commit/e5865ec93cbf77f84c55e55383ce3254186fc065
  Author: runseny <145632023+runseny at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Dialect/LLVMIR/func.mlir
    M mlir/test/Target/LLVMIR/Import/function-attributes.ll
    M mlir/test/Target/LLVMIR/fp-math-function-attributes.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Add ftz and fuse FP ops related function attribute support (#97812)

Adds `denormal-fp-math-f32`, `denormal-fp-math`, `fp-contract` to
llvmFuncOp attributes.

`denormal-fp-math-f32` and `denormal-fp-math` can enable the ftz, that
is , flushing denormal to zero.

`fp-contract` can enable the fma fusion such as `mul + add -> fma`


  Commit: f0c7505f597998c84023ccd609ecfc9af3d5b4d6
      https://github.com/llvm/llvm-project/commit/f0c7505f597998c84023ccd609ecfc9af3d5b4d6
  Author: Yupei Liu <liuyupei951018 at hotmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [Clang] Fix the order of addInstantiatedParameters in LambdaScopeForCallOperatorInstantiationRAII (#97215)

Currently, `addInstantiatedParameters` is called from the innermost
lambda outward. However, when the function parameters of an inner lambda
depend on the function parameters of an outer lambda, it can lead to a
crash due to the inability to find a mapping for the instantiated decl.

This PR corrects this behavior by calling `addInstantiatedParameters`
from the outside in.

repro code: https://godbolt.org/z/KbsxWesW6

```cpp
namespace dependent_param_concept {
template <typename... Ts> void sink(Ts...) {}
void dependent_param() {
  auto L = [](auto... x) {
    return [](decltype(x)... y) { // `y` depends on `x`
      return [](int z)
        requires requires { sink(y..., z); }
      {};
    };
  };
  L(0, 1)(1, 2)(1);
}
} // namespace dependent_param_concept
```

This PR is a prerequisite for implmenting #61426


  Commit: dd2bf3b840df260d794e37cc96d4498372aa08f6
      https://github.com/llvm/llvm-project/commit/dd2bf3b840df260d794e37cc96d4498372aa08f6
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeEmitter.h
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/lib/AST/Interp/Compiler.h
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/EvalEmitter.h
    M clang/test/C/C23/n3017.c
    M clang/test/CodeGenCXX/no-const-init-cxx2a.cpp
    M clang/test/SemaCXX/warn-unused-variables.cpp

  Log Message:
  -----------
  [clang][Interp] Redo variable (re)visiting

Depending on the circumstances we visit variables in, we need to
be careful about when to destroy their temporaries and whether to
emit a Ret op at all or not.


  Commit: cfa2d7df11f1a930ebae5a7bdbea924bb129f55e
      https://github.com/llvm/llvm-project/commit/cfa2d7df11f1a930ebae5a7bdbea924bb129f55e
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt
    M libc/src/__support/OSUtil/baremetal/io.cpp
    M libc/src/__support/OSUtil/baremetal/io.h
    M libc/src/stdio/baremetal/CMakeLists.txt
    A libc/src/stdio/baremetal/getchar.cpp

  Log Message:
  -----------
  [libc] Provide baremetal implementation of getchar (#98059)

This introduces opaque type `struct __llvm_libc_stdin` and a symbol
`__llvm_libc_stdin_read` that's intended to be provided by the vendor.

`__llvm_libc_stdin_read` intentionally has the same signature as
`cookie_read_function_t` so it can be used with `fopencookie` to
represent `stdin` as `FILE *` in the future.


  Commit: 765e2f9a8de27cc8fd8c75540844e9630d8229ad
      https://github.com/llvm/llvm-project/commit/765e2f9a8de27cc8fd8c75540844e9630d8229ad
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M compiler-rt/test/fuzzer/fuzzer-finalstats.test

  Log Message:
  -----------
  [compiler-rt][fuzzer][test] Disable finalstats test

This test is flaky and has been reporting irrelevant failures to PRs
on Github for example:
https://github.com/llvm/llvm-project/pull/97829#issuecomment-2214030135
https://lab.llvm.org/buildbot/#/builders/66/builds/1159

Adding this to https://github.com/llvm/llvm-project/issues/97712.


  Commit: a77d3ea310c61cf59c1146895b2d51fe014eb0a9
      https://github.com/llvm/llvm-project/commit/a77d3ea310c61cf59c1146895b2d51fe014eb0a9
  Author: Malay Sanghi <malay.sanghi at intel.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
    M llvm/test/CodeGen/X86/GlobalISel/x86_64-fallback.ll
    A llvm/test/CodeGen/X86/isel-x87.ll

  Log Message:
  -----------
  [X86][GlobalISel] Add instruction selection support for x87 ld/st (#97016)

Add x87 G_LOAD/G_STORE selection support to existing C++ lowering.


  Commit: bb90e2ed873e535be937d1fdad36d61a4af3dc0e
      https://github.com/llvm/llvm-project/commit/bb90e2ed873e535be937d1fdad36d61a4af3dc0e
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M compiler-rt/test/fuzzer/fuzzer-finalstats.test

  Log Message:
  -----------
  [libfuzzer] Fix -runs=X flaky test (fuzzer-finalstats.test) (#96914)

Disables LSan in order to remove a 1% flake rate in this test.
There's some logic in LeakSanitizer and its integration into libFuzzer
that will disable LSan and re-run the input. This only happens when more
malloc()s are detected than free()s. Under high system load, this
appears to be possible as the "more mallocs than frees" is dependent on
walltime. In these instances, the number of runs ends up being `n + 1`,
which is undesirable.


  Commit: a8a21bbec218d4385d49acedf6fa9c0710b06e3a
      https://github.com/llvm/llvm-project/commit/a8a21bbec218d4385d49acedf6fa9c0710b06e3a
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/apx/ccmp.ll

  Log Message:
  -----------
  [X86][test] Pre-update test for the encoding bug introduced in #85175


  Commit: 2b56005fd91de3adba1957e70575d5461329178b
      https://github.com/llvm/llvm-project/commit/2b56005fd91de3adba1957e70575d5461329178b
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/test/Lower/OpenMP/parallel-reduction3.f90
    M flang/test/Lower/OpenMP/simd.f90
    M flang/test/Lower/OpenMP/wsloop-chunks.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array-assumed-shape.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array2.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-multiple-clauses.f90

  Log Message:
  -----------
  [Flang][OpenMP] Refactor loop-related lowering for composite support (#97566)

This patch splits the lowering for `omp.loop_nest` into its own function
and updates lowering for all supported loop wrappers to stop creating
this operation themselves.

Lowering functions for loop constructs are split into "wrapper" and
"standalone" variants, where the "wrapper" version only creates the
specific operation with nothing inside of it and the "standalone"
version calls the former and also handles clause processing and creates
the nested `omp.loop_nest`.

"Wrapper" lowering functions can be used by "composite" lowering
functions in follow-up patches, minimizing code duplication.

Tests broken as a result of reordering between the processing of the
loop wrapper's and the nested `omp.loop_nest`'s clauses are also
updated.


  Commit: ad315ebfee626dbd472b9d68a76632f9e68bc8f5
      https://github.com/llvm/llvm-project/commit/ad315ebfee626dbd472b9d68a76632f9e68bc8f5
  Author: Mats Petersson <mats.petersson at arm.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp

  Log Message:
  -----------
  [MLIR][NFC]Fix unusued variable warning. (#97813)

This just changes a dyn_cast to and isa call to check for type, which
avoids getting a warning in clang. The variable `ity` is not used in the
next block.

No functional change.


  Commit: ae5aebd48df8d15f06a7a9aa7a9e193d32cd5c85
      https://github.com/llvm/llvm-project/commit/ae5aebd48df8d15f06a7a9aa7a9e193d32cd5c85
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M lldb/tools/debugserver/source/PThreadMutex.h

  Log Message:
  -----------
  [lldb][NFC] Add maybe_unused to err used in asserts (#98055)


  Commit: 313b6c9a5e8c2b8686ea43a42806822fa5c07ef8
      https://github.com/llvm/llvm-project/commit/313b6c9a5e8c2b8686ea43a42806822fa5c07ef8
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M lld/Common/Version.cpp

  Log Message:
  -----------
  [LLD] Fix preprocessor condition when getting lld version (#98137)


  Commit: 2a36ef580e560698581984d3e309e474c91ed111
      https://github.com/llvm/llvm-project/commit/2a36ef580e560698581984d3e309e474c91ed111
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/IR/Verifier.cpp
    R llvm/test/Assembler/invalid-disubrange-count-missing.ll
    A llvm/test/DebugInfo/subrange-missing-upperBound.ll
    R llvm/test/Verifier/digenericsubrange-missing-upperBound.ll
    R llvm/test/Verifier/disubrange-missing-upperBound.ll

  Log Message:
  -----------
  [DebugInfo] Allow DISubrange/DIGenericSubrange without count/upperBound. (#96474)

Due to the current order of metadata in DISubprgram, `Type` is processed
before `Unit` by the Verifier. This can cause a race and
 use of garbage data. Consider the following code:

```
int test(int a[][5])
{
    return a[0][2];
}
```

when compiled with clang, the control reaches
`Verifier::visitDISubrange` first with `CurrentSourceLang` still equal
to dwarf::DW_LANG_lo_user (32768). The `Verifier::visitDICompileUnit`
which sets the value of `CurrentSourceLang` is reached later. So
`Verifier::visitDISubrange` ends up using a wrong value of
`CurrentSourceLang`.

This behavior does not effect C like language much but is a problem for
Fortran. There is special processing in `Verifier::visitDISubrange` when
`CurrentSourceLang` is Fortran. With this problem, that special handling
is missed and verifier fails for any code that has Fortran's assumed
size array in a global subroutine.

Various solutions were tried to solve this problem before it was decided that
best course of action is to remove these checks from Verifier.


  Commit: a2a0ef567cd92e3df03f10cab8a9ebc62aff3be9
      https://github.com/llvm/llvm-project/commit/a2a0ef567cd92e3df03f10cab8a9ebc62aff3be9
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [VPlan] Retrieve LatchVPBB from region in adjustRecipesForRed (NFC)

The HeaderVPBB is retrieved in a similar fashion already.

This is in preparation for splitting up the very large
tryToBuildVPlanWithVPRecipes into several distinct functions, as
suggested multiple times, including in
https://github.com/llvm/llvm-project/pull/94760


  Commit: 369d3a738082a2fac1a98aae8a8cfded9a010e10
      https://github.com/llvm/llvm-project/commit/369d3a738082a2fac1a98aae8a8cfded9a010e10
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Remove ExprScope

It's been nothing but a LocalScope for a while.


  Commit: f6712d27874004835170e6eb8ff5f348a8866057
      https://github.com/llvm/llvm-project/commit/f6712d27874004835170e6eb8ff5f348a8866057
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Get rid of AutoScope


  Commit: 52d2d8200807357a582e089eaa95692b2c77da2e
      https://github.com/llvm/llvm-project/commit/52d2d8200807357a582e089eaa95692b2c77da2e
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    R flang/test/Lower/OpenMP/Todo/omp-do-simd-aligned.f90
    M flang/test/Lower/OpenMP/Todo/omp-do-simd-linear.f90
    R flang/test/Lower/OpenMP/Todo/omp-do-simd-safelen.f90
    R flang/test/Lower/OpenMP/Todo/omp-do-simd-simdlen.f90
    M flang/test/Lower/OpenMP/if-clause.f90
    M flang/test/Lower/OpenMP/loop-compound.f90
    A flang/test/Lower/OpenMP/wsloop-schedule.f90
    M flang/test/Lower/OpenMP/wsloop-simd.f90
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [Flang][OpenMP] Add lowering support for DO SIMD (#97718)

This patch adds support for lowering 'DO SIMD' constructs to MLIR. SIMD
information is now stored in an `omp.simd` loop wrapper, which is
currently ignored by the OpenMP dialect to LLVM IR translation stage.

The end result is that runtime behavior of compiled 'DO SIMD' constructs
does not change after this patch, so 'DO SIMD' still runs like 'DO'
(i.e. SIMD width = 1). However, all of the required information is now
present in the resulting MLIR representation.

To avoid confusion, the previous wsloop-simd.f90 lit test is renamed to
wsloop-schedule.f90 and a new wsloop-simd.f90 test is created to check
the addition of SIMD clauses to the `omp.simd` operation produced when a
'DO SIMD' construct is lowered to MLIR.


  Commit: 918ac62916d48649f224f8c54837d25baff97a08
      https://github.com/llvm/llvm-project/commit/918ac62916d48649f224f8c54837d25baff97a08
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    A flang/test/Lower/OpenMP/distribute-simd.f90
    M flang/test/Lower/OpenMP/if-clause.f90
    M flang/test/Lower/OpenMP/loop-compound.f90

  Log Message:
  -----------
  [Flang][OpenMP] Add lowering support for DISTRIBUTE SIMD (#97819)

This patch adds support for lowering 'DISTRIBUTE SIMD' constructs to
MLIR. Translation of `omp.distribute` operations to LLVM IR is still not
supported, so its composition with `omp.simd` isn't either.


  Commit: 29896db09c81c79c211e33dc471e23e68ad16e23
      https://github.com/llvm/llvm-project/commit/29896db09c81c79c211e33dc471e23e68ad16e23
  Author: Carlos Galvez <carlosgalvezp at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-var.cpp

  Log Message:
  -----------
  [clang-tidy] Do not warn on const variables in misc-use-internal-linkage (#97969)

Since in C++ they already have implicit internal linkage.

Fixes #97947


  Commit: 96c9913332ce36e575affd6be355ed686ad36996
      https://github.com/llvm/llvm-project/commit/96c9913332ce36e575affd6be355ed686ad36996
  Author: A. Jiang <de34 at live.cn>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx2cIssues.csv
    M libcxx/include/__format/format_args.h
    M libcxx/test/std/utilities/format/format.arguments/format.args/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.args/get.pass.cpp

  Log Message:
  -----------
  [libc++][format] LWG4106: `basic_format_args` should not be default-constructible (#97250)

See [LWG4106](https://cplusplus.github.io/LWG/issue4106) and
[P3341R0](https://wg21.link/p3341r0).

The test coverage for the empty state of `basic_format_args` in
`get.pass.cpp` is to be completely removed, because the
non-default-constructibility is covered in `ctor.pass.cpp`.


  Commit: ca055bbec7ed27cb57b95a8f610aa5267fb7c30d
      https://github.com/llvm/llvm-project/commit/ca055bbec7ed27cb57b95a8f610aa5267fb7c30d
  Author: A. Jiang <de34 at live.cn>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx2cIssues.csv
    M libcxx/include/__format/format_context.h
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.functions/bug_81590.compile.pass.cpp

  Log Message:
  -----------
  [libc++][format] LWG4061: Should `std::basic_format_context` be default-constructible/copyable/movable? (#97251)

See [LWG4061](https://cplusplus.github.io/LWG/issue4061) and
[P3341R0](https://wg21.link/p3341r0). Effectively reverts commit
36ce0c3b1e581ca310ae7d0cbc6af002cc5d0251.


`libcxx/test/std/utilities/format/format.functions/bug_81590.compile.pass.cpp`
has a `format` function that unexpectedly takes the
`basic_format_context` by value, which is made ill-formed by LWG4061.
This PR changes the function to take the context by reference.


  Commit: 6b76c1e64ca7689ac9d9de8a4529c7af51e8b472
      https://github.com/llvm/llvm-project/commit/6b76c1e64ca7689ac9d9de8a4529c7af51e8b472
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/test/CodeGen/isfpclass.c
    M llvm/lib/Transforms/Utils/SCCPSolver.cpp
    M llvm/test/Transforms/SCCP/add-nuw-nsw-flags.ll
    M llvm/test/Transforms/SCCP/overdefined-ext.ll
    M llvm/test/Transforms/SCCP/trunc-nuw-nsw-flags.ll

  Log Message:
  -----------
  [SCCP] Add support for vectors (#98026)

Add preliminary support for vectors of integers by using the
`ValueLatticeElement::asConstantRange()` helper instead of a custom
implementation, and relxing various integer type checks.

This enables just the part that works automatically, e.g. icmps with a
constant vector operand aren't supported yet.

The change in ssa.copy handling is because asConstantRange() returns an
unknown LV for empty range, while SCCP's getConstantRange() returned a
full range. I've made the change to preserve the existing behavior.


  Commit: e74fc39a25a21963e2893f8ae5e078c009bf7ace
      https://github.com/llvm/llvm-project/commit/e74fc39a25a21963e2893f8ae5e078c009bf7ace
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M flang/test/Lower/OpenMP/distribute-simd.f90
    M flang/test/Lower/OpenMP/wsloop-simd.f90

  Log Message:
  -----------
  [Flang][OpenMP] Fix broken simd aligned lowering unit tests


  Commit: 19cc46144d10964a55cc7e7f3abeeba5f8c161ba
      https://github.com/llvm/llvm-project/commit/19cc46144d10964a55cc7e7f3abeeba5f8c161ba
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-load-combine.ll

  Log Message:
  -----------
  [RISCV] Use VP strided load in concat_vectors combine (#98131)


  Commit: 3670e7f86cc69692432e57828a0acf1a5abd3156
      https://github.com/llvm/llvm-project/commit/3670e7f86cc69692432e57828a0acf1a5abd3156
  Author: Finlay <finlay.marno at codeplay.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp
    M mlir/test/Conversion/GPUToLLVMSPV/gpu-to-llvm-spv.mlir

  Log Message:
  -----------
  [MLIR] Add the convergent attribute to the barrier and shuffle ops (#97807)

When lowering from the gpu dialect to the llvm dialect for spirv, the
barrier op and shuffle ops need a convergent attribute for correctness.


  Commit: 72ccdd8192114273501396908a6cac8b1a23dcea
      https://github.com/llvm/llvm-project/commit/72ccdd8192114273501396908a6cac8b1a23dcea
  Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/src/math/generic/cospif.cpp
    M libc/test/src/math/cospif_test.cpp

  Log Message:
  -----------
  [libc][math][C23] Cospif function should only return unsigned zeros (#98037)

Patches the cospif function, which should always return unsigned zeros
as specified in the standard. Also updates unit tests.


  Commit: 72937203dd3beb294b52d5e61d1523acf046456f
      https://github.com/llvm/llvm-project/commit/72937203dd3beb294b52d5e61d1523acf046456f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [VPlan] Create vector header and latch VPBBs in createInitialVPlan (NFC)

The empty header and latch blocks can be created together with the
vector loop region.

This is in preparation for splitting up the very large
tryToBuildVPlanWithVPRecipes into several distinct functions, as
suggested multiple times, including in
https://github.com/llvm/llvm-project/pull/94760


  Commit: 9856af634db8bf550893606ba42c56d4dff3f320
      https://github.com/llvm/llvm-project/commit/9856af634db8bf550893606ba42c56d4dff3f320
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-udiv.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/regbank-dup.mir
    M llvm/test/CodeGen/AArch64/aarch64-smull.ll
    M llvm/test/CodeGen/AArch64/neon-mov.ll

  Log Message:
  -----------
  Revert "[AArch64][GlobalISel] Make G_DUP immediate 32-bits or larger (#96780)"

This reverts commit 5a5cd3f0bcdf37a32eadd85d6e57c642cb829402.

Due to test suite failures on AArch64:
https://lab.llvm.org/buildbot/#/builders/125/builds/541


  Commit: c530dadebb2c4f073daac3f0ec61bd41fa7a367d
      https://github.com/llvm/llvm-project/commit/c530dadebb2c4f073daac3f0ec61bd41fa7a367d
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/src/stdio/baremetal/getchar.cpp
    M libc/src/stdio/puts.h

  Log Message:
  -----------
  [libc] Remove unnecessary `stdio.h` includes (#98132)


  Commit: c16e37867ca838621ff9233f4d1a58207c3e99db
      https://github.com/llvm/llvm-project/commit/c16e37867ca838621ff9233f4d1a58207c3e99db
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [VPlan] Clarify setting Lane in fixPhi (NFCI).

Split off from https://github.com/llvm/llvm-project/pull/94760, clarify
as suggested.


  Commit: ef5b1ec0dd0ed39de5ac5df6f9e3052d359733ae
      https://github.com/llvm/llvm-project/commit/ef5b1ec0dd0ed39de5ac5df6f9e3052d359733ae
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll

  Log Message:
  -----------
  [VectorCombine] foldShuffleToIdentity - ensure casts have the same source type


  Commit: 38bed813505ffed8a7a26ae357a855bb471403a2
      https://github.com/llvm/llvm-project/commit/38bed813505ffed8a7a26ae357a855bb471403a2
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [bazel] Add missing deps for afa6bed8afe9011c07c682a0a24362260d92cfdd


  Commit: a9183b8899f2c02ba3710b27c0cbdde6831a627b
      https://github.com/llvm/llvm-project/commit/a9183b8899f2c02ba3710b27c0cbdde6831a627b
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86EncodingOptimization.cpp
    M llvm/test/CodeGen/X86/apx/ccmp.ll
    A llvm/test/MC/X86/apx/ccmp-encopt.s

  Log Message:
  -----------
  [X86][MC] Fix encoding bug for CCMP introduced in #85175


  Commit: afee09c50c11da1ea6ba0b341a1c10dedeaf5be6
      https://github.com/llvm/llvm-project/commit/afee09c50c11da1ea6ba0b341a1c10dedeaf5be6
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp

  Log Message:
  -----------
  [lldb] Use correct path separator for C++ library files lookup (#98144)

Use POSIX-style path separators when checking for libcpp library path.
This is necessary to run API tests from 'std-module' group compiled on
Windows host for Linux target.


  Commit: 042ef401388aa0fc4e393803300b65436e1638bf
      https://github.com/llvm/llvm-project/commit/042ef401388aa0fc4e393803300b65436e1638bf
  Author: Fabio D'Urso <fdurso at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [scudo][fuchsia] Give dispatched VMOs a (temporary) name (#97578)

Instead of leaving them unnamed. Subsequent remap() calls will
set the actual final name.


  Commit: 2cba218ca573f5da6ff301df59aa686d2e3e40c5
      https://github.com/llvm/llvm-project/commit/2cba218ca573f5da6ff301df59aa686d2e3e40c5
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/phi-node-deletion.ll

  Log Message:
  -----------
  [SLP]Fix PR98133: Inserting PHI after debug-records!

The phi-node-to-be-deleted still should be inserted as the first
instruction in the block to avoid random compiler crashes.

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


  Commit: 221d5c570c2ad0201d808b889280ef71b80c1845
      https://github.com/llvm/llvm-project/commit/221d5c570c2ad0201d808b889280ef71b80c1845
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake

  Log Message:
  -----------
  [libc] Disable `-ffreestanding` and `-fno-builtin` on the GPU build (#97636)

Summary:
This patch removed the `-ffreestanding` and `-fno-builtin` flags from
the publically installed version of the GPU library. The presense of
`-fno-builtin` caused issues that prevented all inlining in the GPU C
library, see
https://discourse.llvm.org/t/rfc-libc-ffreestanding-fno-builtin/75883.
Previously, I attempted to fix this by loosening the restriction that
`"no-builtins"` functions cannot be inlined into functions without that
attribute. However, that opened up a lot of extra issues that stalled
that approach.

This patch instead removes that and instead passes `-fno-builtin-<xyz>`
for the few calls that are known to be problematic. I believe this works
in general as the GPU backends do not emit any libcalls and the
implementations of most of these simply reduce to builtins right now.
This is a very useful patch as we can now actually inline calls.


  Commit: 302937859fce0bb506ef6edf9c3e77c86ab44b86
      https://github.com/llvm/llvm-project/commit/302937859fce0bb506ef6edf9c3e77c86ab44b86
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/test/CoverageMapping/system_macro.cpp

  Log Message:
  -----------
  Update clang/test/system_macro.cpp for both -system-headers-coverage=true/false

Part of #97952


  Commit: 48017579e523085bc3ee99004c36526333a3c8b3
      https://github.com/llvm/llvm-project/commit/48017579e523085bc3ee99004c36526333a3c8b3
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/lib/CodeGen/CoverageMappingGen.h

  Log Message:
  -----------
  Move `SystemHeadersCoverage` into `llvm::coverage` in CoverageMappingGen.h

Part of #97952


  Commit: 6aefa918768c834ec21e0b599fa14d03b9ce3dc0
      https://github.com/llvm/llvm-project/commit/6aefa918768c834ec21e0b599fa14d03b9ce3dc0
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/test/tools/llvm-objcopy/COFF/subsystem.test
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp

  Log Message:
  -----------
  [llvm-objcopy][COFF] Add aliases for some --subsystem options (#98036)

GNU objcopy has some --subsystem options that aren't present in LLVM's.
They are in fact just aliases to some of the existing options.

For the sake of compatibility with the GNU toolchain, this patch adds
these aliases to LLVM objcopy.

The alias list is not exhaustive as this is an incremental change.


  Commit: 722151664ecfd53295392ad875ff9bfdcd1deaaf
      https://github.com/llvm/llvm-project/commit/722151664ecfd53295392ad875ff9bfdcd1deaaf
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [InstCombine] Fix typo in `adjustKnownBitsForSelectArm` (#98155)

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


  Commit: c8ba5562e5d1d6942030e1a47762e6e386ff901d
      https://github.com/llvm/llvm-project/commit/c8ba5562e5d1d6942030e1a47762e6e386ff901d
  Author: Pierre d'Herbemont <pdherbemont at apple.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

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

This fixes #20777. This replaces #94216 which was reverted after being
merged.

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

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

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


  Commit: 0ad9d8f279437772d390c7fc6309c09b97406be3
      https://github.com/llvm/llvm-project/commit/0ad9d8f279437772d390c7fc6309c09b97406be3
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M lldb/test/API/commands/expression/bitfield_enums/TestBitfieldEnums.py

  Log Message:
  -----------
  [lldb][test] Skip bitfield enum tests for DWARF v2 and below

Clang's v2 output appears to be missing a key DW_AT_type attribute,
and this causes the "max" of the unsigned enum to appear as -1 instead
of "max" aka 3.

```
(BitfieldStruct) $0 = {
  signed_min = min
  signed_other = -1
  signed_max = max
  unsigned_min = min
  unsigned_other = 1
  unsigned_max = -1
}
```

Test added by #96202.


  Commit: d1fbdde9d400222b6db0e5509392007208ad1018
      https://github.com/llvm/llvm-project/commit/d1fbdde9d400222b6db0e5509392007208ad1018
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/NaryReassociate.cpp
    M llvm/test/Transforms/NaryReassociate/nary-gep.ll

  Log Message:
  -----------
  [NaryReassociate] Check to avoid introducing poison when reusing SCEVs (#98156)

Drop the poison flags if possible or skip the candidate if it's not.
Otherwise we'd introduce poison in places where it previously wasn't,
leading to miscompiles.


  Commit: 997e5e870337e4a25b82be5b01e8f7675c350070
      https://github.com/llvm/llvm-project/commit/997e5e870337e4a25b82be5b01e8f7675c350070
  Author: Akira Hatanaka <ahatanak at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CGBlocks.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/CodeGen/blocks.c
    M clang/test/CodeGenObjC/blocks.m

  Log Message:
  -----------
  [CodeGen] Add a flag to disable emitting block signature strings (#96944)

Users who don't need the signature string to be emitted can use the flag
to reduce code size.

rdar://121933818


  Commit: 7346e7cc476143486f87fdd013a56ee9ea7a7c81
      https://github.com/llvm/llvm-project/commit/7346e7cc476143486f87fdd013a56ee9ea7a7c81
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/outer_loop_prefer_scalable.ll
    M llvm/test/Transforms/LoopVectorize/dbg-outer-loop-vect.ll
    M llvm/test/Transforms/LoopVectorize/outer-loop-vec-phi-predecessor-order.ll
    M llvm/test/Transforms/LoopVectorize/outer_loop_hcfg_construction.ll
    M llvm/test/Transforms/LoopVectorize/outer_loop_scalable.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing-outer-loop.ll

  Log Message:
  -----------
  [VPlan] Update HCFG builder after 72937203dd3b to fix leak.

Update buildPlainCFG to re-use the vector and latch VPBBs created as
part of the initial skeleton in 72937203dd3b.

This should fix the leak sanitizer failure discovered by
https://lab.llvm.org/buildbot/#/builders/52/builds/619.


  Commit: baf22a527ca6571cdf5cd57c524a1fc261207947
      https://github.com/llvm/llvm-project/commit/baf22a527ca6571cdf5cd57c524a1fc261207947
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [SelectionDAG] Handle vscale range wrapping in isKnownNeverZero

As pointed out by @preames, ConstantRange can wrap so it's possible
for zero to be in a range without zero being the minimum. This fixes
this by checking contains instead.


  Commit: e42f760b6551d3674658d8c6bf5206e52822036b
      https://github.com/llvm/llvm-project/commit/e42f760b6551d3674658d8c6bf5206e52822036b
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [libc++] Define the __cpp_lib_atomic_ref feature test macro (#98081)

We forgot to enable it when we landed std::atomic_ref in 42ba740aff.


  Commit: 5c2bdc53c445b9f951cb13fb445b9145c970ee36
      https://github.com/llvm/llvm-project/commit/5c2bdc53c445b9f951cb13fb445b9145c970ee36
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libcxx/utils/libcxx-lit

  Log Message:
  -----------
  [libc++][NFC] Tabs to space in libcxx-lit script


  Commit: 390f9b11d1089ce832aacf50b60d22181935baa8
      https://github.com/llvm/llvm-project/commit/390f9b11d1089ce832aacf50b60d22181935baa8
  Author: Tarun Prabhu <tarun at lanl.gov>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M flang/docs/GettingInvolved.md

  Log Message:
  -----------
  [flang][docs] Remove passwords for bi-weekly flang calls from documen… (#98161)

…tation

The passwords are moved to the Google Doc containing the agenda and
minutes for the calls. A note has been added mentioning where to find
the meeting ID's and passwords.

Fixes #96121


  Commit: 9f6dd1f761a5121e9a69e5d1f67c2438c065b499
      https://github.com/llvm/llvm-project/commit/9f6dd1f761a5121e9a69e5d1f67c2438c065b499
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test
    M llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
    M llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
    M llvm/utils/lit/lit/TestRunner.py
    A llvm/utils/lit/tests/Inputs/shtest-umask/lit.cfg
    A llvm/utils/lit/tests/Inputs/shtest-umask/umask-bad-arg.txt
    A llvm/utils/lit/tests/Inputs/shtest-umask/umask-ok.txt
    A llvm/utils/lit/tests/Inputs/shtest-umask/umask-too-many-args.txt
    A llvm/utils/lit/tests/shtest-umask.py

  Log Message:
  -----------
  [lit] Implement builtin umask (#94621)

This allows a few more tests to use lit's internal shell.


  Commit: 6c1e3e49c10718e1d45a9031198af0ebd64fecb4
      https://github.com/llvm/llvm-project/commit/6c1e3e49c10718e1d45a9031198af0ebd64fecb4
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [IR] Return 'unsigned' from ScalableVectorType::getMinNumElements(). (#98103)

The underlying ElementQuantity field is 'unsigned'. The similar
FixedVectorType::getNumElements() returns 'unsigned'.


  Commit: 1f238ea62e43fb1436d5f344d23bdeb4b2832724
      https://github.com/llvm/llvm-project/commit/1f238ea62e43fb1436d5f344d23bdeb4b2832724
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/test/DebugInfo/subrange-missing-upperBound.ll

  Log Message:
  -----------
  [DebugInfo] Add 'REQUIRES: object-emission' in the test. (#98141)

The test added in #96474 seems to cause buildbot failure on some system.
I have added `REQUIRES: object-emission` in the test and also used `%t`
instead of `-` for output.


  Commit: faa4e35c622c13c7a565b979a6676d6cf3040cd4
      https://github.com/llvm/llvm-project/commit/faa4e35c622c13c7a565b979a6676d6cf3040cd4
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test
    M llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
    M llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
    M llvm/utils/lit/lit/TestRunner.py
    R llvm/utils/lit/tests/Inputs/shtest-umask/lit.cfg
    R llvm/utils/lit/tests/Inputs/shtest-umask/umask-bad-arg.txt
    R llvm/utils/lit/tests/Inputs/shtest-umask/umask-ok.txt
    R llvm/utils/lit/tests/Inputs/shtest-umask/umask-too-many-args.txt
    R llvm/utils/lit/tests/shtest-umask.py

  Log Message:
  -----------
  Revert "[lit] Implement builtin umask (#94621)"

This reverts commit 9f6dd1f761a5121e9a69e5d1f67c2438c065b499.

Reverting to investigate buildbot failures e.g.:
"new failure on builder ppc64le-mlir-rhel-clang running on ppc64le-mlir-rhel-test"


  Commit: cb4cd3a834415375cace04b8f7260fd6e26e6835
      https://github.com/llvm/llvm-project/commit/cb4cd3a834415375cace04b8f7260fd6e26e6835
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [llvm][AArch64] Fix an assertion message in TargetParserTests. NFC (#98085)

For both overloads, we were printing the bit-pattern for ExpectedFlags
twice. While we're here, also add a convenience line that highlights the
difference between the two sets.


  Commit: a98882112387b6bc585e758a8139fd06ac41f448
      https://github.com/llvm/llvm-project/commit/a98882112387b6bc585e758a8139fd06ac41f448
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/transpose-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/shuffled-gather-casted.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/unsigned-icmp-signed-op.ll
    M llvm/test/Transforms/SLPVectorizer/SystemZ/minbitwidth-trunc.ll
    M llvm/test/Transforms/SLPVectorizer/X86/PR35628_2.ll
    M llvm/test/Transforms/SLPVectorizer/X86/blending-shuffle-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/blending-shuffle.ll
    M llvm/test/Transforms/SLPVectorizer/X86/entries-different-vf.ll
    M llvm/test/Transforms/SLPVectorizer/X86/external-used-across-reductions.ll
    M llvm/test/Transforms/SLPVectorizer/X86/extract-many-users-buildvector.ll
    M llvm/test/Transforms/SLPVectorizer/X86/extract-scalar-from-undef.ll
    M llvm/test/Transforms/SLPVectorizer/X86/extractelement-single-use-many-nodes.ll
    M llvm/test/Transforms/SLPVectorizer/X86/gather-extractelements-different-bbs.ll
    M llvm/test/Transforms/SLPVectorizer/X86/horizontal-list.ll
    M llvm/test/Transforms/SLPVectorizer/X86/icmp-altopcode-after-reordering.ll
    M llvm/test/Transforms/SLPVectorizer/X86/int-bitcast-minbitwidth.ll
    M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-node-with-multi-users.ll
    M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-transformed-operand.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduction-bool-logic-op-inside.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduction_unrolled.ll
    M llvm/test/Transforms/SLPVectorizer/X86/remark_gather-load-redux-cost.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reorder-vf-to-resize.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reorder_repeated_ops.ll
    M llvm/test/Transforms/SLPVectorizer/slp-umax-rdx-matcher-crash.ll

  Log Message:
  -----------
  [SLP]Keep the original order in the reductions.

The patch tries to keep the original order of the instruction in the
reductions. Previously, two first instructions were switched, giving
reverse order.
The first step to support of the ordered reductions.

Reviewers: RKSimon

Reviewed By: RKSimon

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


  Commit: 5e56d74ce4ee43221d3798bad6f90375b031461e
      https://github.com/llvm/llvm-project/commit/5e56d74ce4ee43221d3798bad6f90375b031461e
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [libc] Avoid the atexit and exit_handler dependency for exit (#98121)

These are not required and without these dependencies, we would wound up
with an unresolved reference to __cxa_finalize, which can be provided by
the vendor making this compatible with baremetal.


  Commit: 2a086dce691e3cc34a2fc27f4fb255bb2cbbfac9
      https://github.com/llvm/llvm-project/commit/2a086dce691e3cc34a2fc27f4fb255bb2cbbfac9
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
    M llvm/test/MC/RISCV/insn-invalid.s
    M llvm/test/MC/RISCV/insn.s
    M llvm/test/MC/RISCV/insn_c-invalid.s
    M llvm/test/MC/RISCV/insn_c.s

  Log Message:
  -----------
  [RISCV][MC] Add support for hardcode encoding of .insn directive (#98030)

This patch adds support for the following two hardcode encodings of
.insn directive:
```
.insn <insn-length>, <value>
.insn <value>
```

See also gas's patch
https://github.com/bminor/binutils-gdb/commit/a262b82fdbf4cda3b0648b1adc32245ca3f78b7a
NOTE: This patch doesn't support long instructions. 

Closes https://github.com/llvm/llvm-project/issues/97498.


  Commit: 822a818786ccd726e20e2b12cbcccbf9a8f23d4c
      https://github.com/llvm/llvm-project/commit/822a818786ccd726e20e2b12cbcccbf9a8f23d4c
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [SLP][NFC]Add comments for the code, NFC.


  Commit: 50a19f94341c4d0a1a2b860b521a0d8a9515fb5f
      https://github.com/llvm/llvm-project/commit/50a19f94341c4d0a1a2b860b521a0d8a9515fb5f
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/src/stdio/baremetal/CMakeLists.txt
    M libc/src/stdio/baremetal/getchar.cpp

  Log Message:
  -----------
  [libc] Include stdio.h in baremetal getchar.cpp (#98188)

This is needed for the EOF constant.


  Commit: bd7b16217bbac4b1e1a25c7bf9566db715ca9b10
      https://github.com/llvm/llvm-project/commit/bd7b16217bbac4b1e1a25c7bf9566db715ca9b10
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/test/Lower/CUDA/cuda-data-transfer.cuf
    M flang/test/Lower/CUDA/cuda-kernel-loop-directive.cuf

  Log Message:
  -----------
  [flang][cuda] Add conversion for stream value in cuf kernel directive (#98082)

The stream value is defined as an i32 value in the operation. Add a
conversion so the declared integer can be different and an i32 value.


  Commit: cc945e41a7788327d0e8ba0ea6dc3571d7efa04f
      https://github.com/llvm/llvm-project/commit/cc945e41a7788327d0e8ba0ea6dc3571d7efa04f
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Object/MachOObjectFile.cpp
    R llvm/test/tools/llvm-objdump/MachO/Inputs/macho-inconsistent-export
    M llvm/test/tools/llvm-objdump/MachO/bad-trie.test
    A llvm/test/tools/llvm-objdump/MachO/export-trie-boundary.test

  Log Message:
  -----------
  [MachO] Loosen boundary check for reading export trie nodes (#96705)

The design of the export trie in macho's is that each node has a
variable length payload. When reading nodes, it should be an error if
reading the uleb128 puts you beyond the stated node size but not when
the stated size goes beyond the known part that was read.

resolves: rdar://130310832

This was primarily authored by Nick Kledzik, I added/cleaned up the test
cases.


  Commit: c91b50ed92dc1c498aae9c428ace85edc974a8f3
      https://github.com/llvm/llvm-project/commit/c91b50ed92dc1c498aae9c428ace85edc974a8f3
  Author: Brian Cain <bcain at quicinc.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/lib/Basic/Targets/Hexagon.cpp
    M clang/lib/Basic/Targets/Hexagon.h
    M clang/test/Preprocessor/hexagon-predefines.c

  Log Message:
  -----------
  [hexagon] Add {con,de}structive interference size defn (#94877)

This support was originally added in 72c373bfdc98 ([C++17] Support
__GCC_[CON|DE]STRUCTIVE_SIZE (#89446), 2024-04-26). We're overriding the
values for Hexagon here.

Signed-off-by: Brian Cain <bcain at quicinc.com>


  Commit: d9e4f2cba8171807f6d2a6ddc615ccb902a20a5f
      https://github.com/llvm/llvm-project/commit/d9e4f2cba8171807f6d2a6ddc615ccb902a20a5f
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake

  Log Message:
  -----------
  [CMake][Fuchsia] Revert back to using normalized triples (#98189)

We switched to denormalized triples in #89425 but that introduced a lot
of downstream issues so switch back to normalized triples.


  Commit: dfc8004d0b0b85155dad0e9aca84716425b87676
      https://github.com/llvm/llvm-project/commit/dfc8004d0b0b85155dad0e9aca84716425b87676
  Author: Krystian Stasiowski <sdkrystian at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/lib/Sema/TreeTransform.h
    M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/p4.cpp

  Log Message:
  -----------
  [Clang][Sema] Fix crash when rebuilding MemberExprs with invalid object expressions (#97455)

This patch fixes an assertion failure which occurs when the object expression of a `MemberExpr` is transformed into an expression with a dependent type for which the `DeclContext` cannot be computed (e.g. a `RecoveryExpr`). Fixes #95778.


  Commit: 804b264d02f24ffb1cb2415d5a8141a267f66279
      https://github.com/llvm/llvm-project/commit/804b264d02f24ffb1cb2415d5a8141a267f66279
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    A llvm/test/tools/obj2yaml/ELF/crel-section.yaml
    M llvm/tools/obj2yaml/elf2yaml.cpp

  Log Message:
  -----------
  [obj2yaml] Support CREL

This decoder feature complements the yaml2obj encoder added by #91280.

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


  Commit: 42835666638df45b4a5346435512259d12a8c94c
      https://github.com/llvm/llvm-project/commit/42835666638df45b4a5346435512259d12a8c94c
  Author: Min Hsu <min.hsu at sifive.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    A llvm/test/CodeGen/RISCV/machine-sink-load-immediate.ll

  Log Message:
  -----------
  [test][MachineSink][RISCV] Pre-commit test for #97618


  Commit: 90d79e258ee9c6935ffeac405b3e9b74542068aa
      https://github.com/llvm/llvm-project/commit/90d79e258ee9c6935ffeac405b3e9b74542068aa
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/test/Driver/print-supported-extensions-riscv.c
    M clang/test/Driver/riscv-arch.c
    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/GlobalISel/atomic-fence.ll
    M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
    M llvm/test/CodeGen/RISCV/atomic-fence.ll
    M llvm/test/CodeGen/RISCV/atomic-load-store.ll
    M llvm/test/CodeGen/RISCV/atomic-rmw.ll
    M llvm/test/CodeGen/RISCV/atomicrmw-uinc-udec-wrap.ll
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/CodeGen/RISCV/module-elf-flags.ll
    M llvm/test/MC/RISCV/Ztso.s
    M llvm/test/MC/RISCV/attribute-arch.s
    M llvm/test/MC/RISCV/elf-flags.s
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  Reapply "[RISCV] Remove experimental from Ztso. (#96465)"

This was reverted in f985a8826bfa4ca3d23e654185de35e30ea6dc79.  Since that,
the default WMO lowering has moved to A67 compatible, the ABI attribute
emission has landed (off by default), and the LLD change to merge said
attributes have landed.  Our ztso lowering is believed to also be A67
compatible, and no known issues remain.

Original commit message:

Ztso 1.0 was ratified in January 2023.
Documentation:
https://github.com/riscv/riscv-isa-manual/blob/main/src/ztso-st-ext.adoc


  Commit: 7e2f96194fa56148281c0232b4fa0db5c9cabec3
      https://github.com/llvm/llvm-project/commit/7e2f96194fa56148281c0232b4fa0db5c9cabec3
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/test/CodeGen/AArch64/and-sink.ll
    M llvm/test/CodeGen/AArch64/fast-isel-branch-cond-split.ll
    M llvm/test/CodeGen/RISCV/machine-sink-load-immediate.ll

  Log Message:
  -----------
  [MachineSink] Fix missing sinks along critical edges (#97618)

4e0bd3f improved early MachineLICM's capabilities to hoist COPY from
physical registers out of a loop. However, it accidentally broke one of
MachineSink's preconditions on sinking cheap instructions (in this case,
COPY) which considered those instructions being profitable to sink only
when there are at least two of them in the same def-use chain in the
same basic block. So if early MachineLICM hoisted one of them out,
MachineSink no longer sink rest of the cheap instructions. This results
in redundant load immediate instructions from the motivating example
we've seen on RISC-V.

This patch fixes this by teaching MachineSink that if there is more than
one demand to sink a register into the same block from different
critical edges, it should be considered profitable as it increases the
CSE opportunities.
This change also improves two of the AArch64's cases.


  Commit: 8492ad5964606c0b96e32c697def7e9701bb5d5a
      https://github.com/llvm/llvm-project/commit/8492ad5964606c0b96e32c697def7e9701bb5d5a
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/test/src/stdio/sprintf_test.cpp

  Log Message:
  -----------
  [libc] adjust printf macro test to use all 64 bits (#98195)

The previous printf macro test for 64 bit octal used the number 0123,
which is not large enough to ensure that the macro is actually reading a
64 bit number. This patch enlarges the number, and also makes sure the
return value of sprintf is correct for the macro tests.


  Commit: 1adb55b1c4bfd21752e6b2718c3c4b8abb203d09
      https://github.com/llvm/llvm-project/commit/1adb55b1c4bfd21752e6b2718c3c4b8abb203d09
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M compiler-rt/CODE_OWNERS.TXT
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
    M compiler-rt/cmake/config-ix.cmake
    A compiler-rt/lib/rtsan/CMakeLists.txt
    A compiler-rt/lib/rtsan/rtsan.cpp
    A compiler-rt/lib/rtsan/rtsan.h
    A compiler-rt/lib/rtsan/rtsan_context.cpp
    A compiler-rt/lib/rtsan/rtsan_context.h
    A compiler-rt/lib/rtsan/rtsan_interceptors.cpp
    A compiler-rt/lib/rtsan/rtsan_interceptors.h
    A compiler-rt/lib/rtsan/rtsan_preinit.cpp
    A compiler-rt/lib/rtsan/rtsan_stack.cpp
    A compiler-rt/lib/rtsan/rtsan_stack.h
    A compiler-rt/lib/rtsan/tests/CMakeLists.txt
    A compiler-rt/lib/rtsan/tests/rtsan_test_context.cpp
    A compiler-rt/lib/rtsan/tests/rtsan_test_functional.cpp
    A compiler-rt/lib/rtsan/tests/rtsan_test_interceptors.cpp
    A compiler-rt/lib/rtsan/tests/rtsan_test_main.cpp
    A compiler-rt/lib/rtsan/tests/rtsan_test_utilities.h
    A compiler-rt/test/rtsan/CMakeLists.txt
    A compiler-rt/test/rtsan/Unit/lit.site.cfg.py.in
    A compiler-rt/test/rtsan/lit.cfg.py
    A compiler-rt/test/rtsan/lit.site.cfg.py.in

  Log Message:
  -----------
  [compiler-rt] Realtime Sanitizer: Introduce Realtime Sanitizer (RTSan) backend (#92460)

Introducing the main runtime of realtime sanitizer. For more
information, please see the [discourse
thread](https://discourse.llvm.org/t/rfc-nolock-and-noalloc-attributes/76837).
We have also put together a [reviewer support
document](https://github.com/realtime-sanitizer/radsan/blob/doc/review-support/doc/review.md)
to show what our intention is.

This review introduces the sanitizer backend. This includes:
* CMake build files (largely adapted from asan).
* Main RTSan architecture (the external API, thread local context,
stack).
* Interceptors.
* Many unit tests.

Please see the [reviewer support
document](https://github.com/realtime-sanitizer/radsan/blob/doc/review-support/doc/review.md)
for what our next steps are. We are moving in lockstep with this PR
#84983 for the codegen coming up next.

Note to reviewers: If you see support documentation mention "RADSan",
this was the "old acronym" for the realtime sanitizer, they refer to the
same thing. If you see it let us know and we can correct it (especially
in the llvm codebase)

---------

Co-authored-by: David Trevelyan <david.trevelyan at gmail.com>


  Commit: 746f5726158d31aeeb1fd12b226dc869834a7ad2
      https://github.com/llvm/llvm-project/commit/746f5726158d31aeeb1fd12b226dc869834a7ad2
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/ptrauth-bti-call.ll
    M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-blend.ll
    M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-sign-generic.ll
    M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-sign.ll
    M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-strip.ll

  Log Message:
  -----------
  [test][PAC][AArch64] Add ELF tests for subtarget-neutral codegen (#98020)

Many parts of PAuth-related codegen are not MachO- or ELF-specific. Add
RUN lines against ELF targets to ensure that codegen works for ELF as
well as for MachO.


  Commit: dda41848083988f2e4a3355252604306d5866566
      https://github.com/llvm/llvm-project/commit/dda41848083988f2e4a3355252604306d5866566
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/include/__chrono/zoned_time.h
    M libcxx/include/chrono
    M libcxx/modules/std/chrono.inc
    M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/copy.assign.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/copy.ctor.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/test_offset_time_zone.h
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/default.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/string_view.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/sys_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/time_zone_pointer.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/get_sys_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/get_time_zone.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/types.compile.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/types.verify.cpp

  Log Message:
  -----------
  [libc++][TZDB] Adds basics of zoned_time class. (#94999)

This implements the class, its non-templated constructors and its
getters to verify the construction.

Completes
- LWG3224 zoned_time constructor from TimeZonePtr does not specify
initialization of tp_

Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones


  Commit: a1d73ace13a20ed122a66d3d59f0cbae58d0f669
      https://github.com/llvm/llvm-project/commit/a1d73ace13a20ed122a66d3d59f0cbae58d0f669
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/include/__chrono/zoned_time.h
    M libcxx/test/std/time/time.zone/time.zone.zonedtime/test_offset_time_zone.h
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/string_view_local_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/string_view_local_time_choose.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/string_view_sys_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/string_view_zoned_time_duration2_time_zone_ptr2.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/string_view_zoned_time_duration2_time_zone_ptr2_choose.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/time_zone_pointer_local_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/time_zone_pointer_local_time_choose.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/time_zone_pointer_sys_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/time_zone_ptr_zoned_time_duration2_time_zone_ptr2.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/time_zone_ptr_zoned_time_duration2_time_zone_ptr2_choose.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.ctor/zoned_time_duration2.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Finishes zoned_time constructors. (#95010)

Completes
- LWG3225 zoned_time converting constructor shall not be noexcept
- LWG3226 zoned_time constructor from string_view should accept
zoned_time<Duration2, TimeZonePtr2>

Implements parts of:
- P0355 Extending to chrono Calendars and Time Zones


  Commit: e217f98ac3ee55755ee6ea3b97551cf8283528c9
      https://github.com/llvm/llvm-project/commit/e217f98ac3ee55755ee6ea3b97551cf8283528c9
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake

  Log Message:
  -----------
  [rtsan] Temporarily disable runtime to fix bots after #92460


  Commit: 5b927130b0e15a442a6ed171f43a612e6a40bbcd
      https://github.com/llvm/llvm-project/commit/5b927130b0e15a442a6ed171f43a612e6a40bbcd
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll

  Log Message:
  -----------
  [ConstraintElim] Use cond from header as upper bound on IV in exit BB. (#94610)

For loops, we can use the condition in the loop header as upper bound on
the compared induction in the unique exit block, if it exists. This can
be done even if there are multiple in-loop edges to the unique exit
block, as any other exit may only exit earlier.

More generally, we could add the OR of all exit conditions to the exit,
but that's a possible future extension.

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


  Commit: 01623860c5dfcf922860c63ac7fa3aa07a0a7ac7
      https://github.com/llvm/llvm-project/commit/01623860c5dfcf922860c63ac7fa3aa07a0a7ac7
  Author: Poseydon42 <vvmposeydon at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp

  Log Message:
  -----------
  [NFC] Add CmpIntrinsic class to represent calls to UCMP/SCMP intrinsics (#98177)


  Commit: 8f159096e097dde5a95d14984623c51d58ed8e69
      https://github.com/llvm/llvm-project/commit/8f159096e097dde5a95d14984623c51d58ed8e69
  Author: David Tellenbach <dtellenbach at apple.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    A clang/test/CodeGen/aarch64-inlineasm-ios.c
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp

  Log Message:
  -----------
  [AsmPrinter] Don't check for inlineasm dialect on non-X86 platforms (#98097)

AArch64 uses MCAsmInfo::AssemblerDialect to control the style of emitted
Neon assembly. E.g. Apple platforms use AsmWriterVariantTy::Apple by
default which collides with InlineAsm::AD_Intel (both value 1). Checking
for inlineasm dialects on non-X86 platforms can thus lead to problems.


  Commit: a937d2918ee6f90ea0f6344a5d55781037da4b4a
      https://github.com/llvm/llvm-project/commit/a937d2918ee6f90ea0f6344a5d55781037da4b4a
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
    A llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir

  Log Message:
  -----------
  [AArch64][PAC] Support BLRA* instructions in SLS Hardening pass (#98062)

Make SLS Hardening pass handle BLRA* instructions the same way it
handles BLR. The thunk names have the form

    __llvm_slsblr_thunk_xN            for BLR thunks
    __llvm_slsblr_thunk_(aaz|abz)_xN  for BLRAAZ and BLRABZ thunks
    __llvm_slsblr_thunk_(aa|ab)_xN_xM for BLRAA and BLRAB thunks

Now there are about 1800 possible thunk names, so do not rely on linear
thunk function's name lookup and parse the name instead.

This patch reapplies llvm/llvm-project#97605.


  Commit: 7b604cdf75fd1c741a15138684ea0e98dca5e46f
      https://github.com/llvm/llvm-project/commit/7b604cdf75fd1c741a15138684ea0e98dca5e46f
  Author: Azat Khuzhin <a3at.mail at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libunwind/src/UnwindCursor.hpp

  Log Message:
  -----------
  [libunwind] fix unwinding from signal handler (#92291)

In case of this is frame of signal handler, the IP should be
incremented, because the IP saved in the signal handler points to first
non-executed instruction, while FDE/CIE expects IP to be after the first
non-executed instruction.

Refs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26208


  Commit: 45fc655b9eb038a8daf739b9dafb46fe0aac2d60
      https://github.com/llvm/llvm-project/commit/45fc655b9eb038a8daf739b9dafb46fe0aac2d60
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp

  Log Message:
  -----------
  [ARM] Work around Clang 9 after MCCFIInstruction::OpType uses uint8_t

ARMAsmBackend.cpp:1205:57: error: use of overloaded operator '<<' is ambiguous (with operand types 'llvm::raw_ostream' and
 'llvm::MCCFIInstruction::OpType')
                             "unwind encoding, opcode=" << Inst.getOperation()
                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~


  Commit: 2c42c2263dc62ec7fb86081db5a0f1832c605505
      https://github.com/llvm/llvm-project/commit/2c42c2263dc62ec7fb86081db5a0f1832c605505
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [clang][OpenMP] Make `getOpenMPCaptureRegionForClause` more generic (#98180)

Rewrite `getOpenMPCaptureRegionForClause` with more generic code,
relying on directive composition instead of listing individual
directives.


  Commit: 63a9662f6cc41658f36ccddfb565d3dc5ad0135f
      https://github.com/llvm/llvm-project/commit/63a9662f6cc41658f36ccddfb565d3dc5ad0135f
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/test/src/unistd/CMakeLists.txt
    M libc/test/src/unistd/readlink_test.cpp
    M libc/test/src/unistd/readlinkat_test.cpp

  Log Message:
  -----------
  [libc] Fix readlink tests on 32-bit systems (#98168)

This patch removes the call sizeof(<Cstring>) and makes buf a
fixed-length array.

The test case worked in 64-bit systems because the sizeof(CString) was
big enough (19 bytes) to hold the contents of FILENAME, but in 32-bit
systems sizeof(CString) is only 12 bytes long, causing a truncation of
FILENAME when placing it in buf.


  Commit: 9e0347d7054223f9735819557a16215c3205e216
      https://github.com/llvm/llvm-project/commit/9e0347d7054223f9735819557a16215c3205e216
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/test/src/stdio/sprintf_test.cpp

  Log Message:
  -----------
  [libc] Fix sprintf FixedConv test (#98204)

This patch enlarges the number to ensure that a 64-bit number is being read.


  Commit: e291f31f894eeecc5770e026cc21b71fd12bf810
      https://github.com/llvm/llvm-project/commit/e291f31f894eeecc5770e026cc21b71fd12bf810
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [NFC] Coding style fixes in InstrProf.cpp (#98211)


  Commit: 0b53e7b1cb71e7a021d30efa1620c2e54383b64d
      https://github.com/llvm/llvm-project/commit/0b53e7b1cb71e7a021d30efa1620c2e54383b64d
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/lib/Basic/Targets/Hexagon.h

  Log Message:
  -----------
  Silence a signed/unsigned comparison mismatch in MSVC; NFC


  Commit: ef89e3efa99ddb7d0dd2bd7ab0809a51ac685a4f
      https://github.com/llvm/llvm-project/commit/ef89e3efa99ddb7d0dd2bd7ab0809a51ac685a4f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
    M llvm/lib/Transforms/Vectorize/VPlanAnalysis.h
    M llvm/test/Transforms/LoopVectorize/X86/ephemeral-recipes.ll

  Log Message:
  -----------
  [VPlan] Collect ephemeral values for VPlan.

Port collectEphemeralValues to VPlan as collectEphemeralRecipesForVPlan,
use it in willGenerateVectors. This fixes a regression caused by
29b8b72117 for loops where the only vector values are ephemeral.


  Commit: 10f3f06d865fe5ec434fbaf78009301e95b59ea5
      https://github.com/llvm/llvm-project/commit/10f3f06d865fe5ec434fbaf78009301e95b59ea5
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M lldb/source/Core/FormatEntity.cpp
    A lldb/test/API/functionalities/data-formatter/special-chars/Makefile
    A lldb/test/API/functionalities/data-formatter/special-chars/TestSummaryStringSpecialChars.py
    A lldb/test/API/functionalities/data-formatter/special-chars/main.c

  Log Message:
  -----------
  [lldb] Improve summary string handling of dollar chars (#98190)

This improves the handling of `$` (dollar) characters in summary strings in the 
following ways:

1. When a `$` is not followed by an open paren (`{`), it should be treated as a literal 
character and preserved in the output. Previously, the dollar would be consumed by the 
parser and not shown in the output.
2. When a `$` is the last character of a format string, this change eliminates the 
infinite loop lldb would enter into.

rdar://131392446


  Commit: 9e1f1cfa59c4513798de5c326d77e1e5912b1634
      https://github.com/llvm/llvm-project/commit/9e1f1cfa59c4513798de5c326d77e1e5912b1634
  Author: Krystian Stasiowski <sdkrystian at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/lib/Sema/SemaExprMember.cpp
    A clang/test/CXX/basic/basic.lookup/basic.lookup.qual/basic.lookup.qual.general/p2.cpp

  Log Message:
  -----------
  [Clang][Sema] Handle class member access expressions with valid nested-name-specifiers that become invalid after lookup (#98167)

The following code causes an assert in `SemaExprMember.cpp` on line 981
to fail:
```
struct A { };
struct B;

void f(A *x) {
  x->B::y; // crash here
}
```
This happens because we only return early from
`BuildMemberReferenceExpr` when the `CXXScopeSpecifier` is invalid
_before_ the lookup is performed. Since the lookup may invalidate the
`CXXScopeSpecifier` (e.g. if the _nested-name-specifier_ is incomplete),
this results in the second `BuildMemberReferenceExpr` overload being
called with an invalid `CXXScopeSpecifier`, which causes the assert to
fail. This patch moves the early return for invalid `CXXScopeSpecifiers`
to occur _after_ lookup is performed. This fixes #92972.

I also removed the `if (SS.isSet() && SS.isInvalid())` check in
`ActOnMemberAccessExpr` because the condition can never be true (`isSet`
returns `getScopeRep() != nullptr` and `isInvalid` returns
`Range.isValid() && getScopeRep() == nullptr`).


  Commit: e22ebee5a3bb56cb7f9a9513f01fb7ed24b23f48
      https://github.com/llvm/llvm-project/commit/e22ebee5a3bb56cb7f9a9513f01fb7ed24b23f48
  Author: Henrik G. Olsson <hnrklssn at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/lib/Sema/TreeTransform.h
    A clang/test/AST/attr-counted-by-or-null-late-parsed-struct-ptrs.c
    A clang/test/AST/attr-counted-by-or-null-struct-ptrs.c
    A clang/test/AST/attr-sized-by-late-parsed-struct-ptrs.c
    A clang/test/AST/attr-sized-by-or-null-late-parsed-struct-ptrs.c
    A clang/test/AST/attr-sized-by-or-null-struct-ptrs.c
    A clang/test/AST/attr-sized-by-struct-ptrs.c
    A clang/test/Sema/attr-counted-by-or-null-last-field.c
    A clang/test/Sema/attr-counted-by-or-null-late-parsed-off.c
    A clang/test/Sema/attr-counted-by-or-null-late-parsed-struct-ptrs.c
    A clang/test/Sema/attr-counted-by-or-null-struct-ptrs-sizeless-types.c
    A clang/test/Sema/attr-counted-by-or-null-struct-ptrs.c
    A clang/test/Sema/attr-counted-by-or-null-vla-sizeless-types.c
    M clang/test/Sema/attr-counted-by-vla.c
    A clang/test/Sema/attr-sized-by-last-field.c
    A clang/test/Sema/attr-sized-by-late-parsed-off.c
    A clang/test/Sema/attr-sized-by-late-parsed-struct-ptrs.c
    A clang/test/Sema/attr-sized-by-or-null-last-field.c
    A clang/test/Sema/attr-sized-by-or-null-late-parsed-off.c
    A clang/test/Sema/attr-sized-by-or-null-late-parsed-struct-ptrs.c
    A clang/test/Sema/attr-sized-by-or-null-struct-ptrs-sizeless-types.c
    A clang/test/Sema/attr-sized-by-or-null-struct-ptrs.c
    A clang/test/Sema/attr-sized-by-or-null-vla-sizeless-types.c
    A clang/test/Sema/attr-sized-by-struct-ptrs-sizeless-types.c
    A clang/test/Sema/attr-sized-by-struct-ptrs.c
    A clang/test/Sema/attr-sized-by-vla-sizeless-types.c

  Log Message:
  -----------
  [Bounds-Safety] Add sized_by, counted_by_or_null & sized_by_or_null (#93231)

The attributes `sized_by`, `counted_by_or_null` and `sized_by_or_null`
have been added as variants on `counted_by`, each with slightly
different semantics. `sized_by` takes a byte size parameter instead of
an element count, allowing pointees with unknown size. The
`counted_by_or_null` and `sized_by_or_null` variants are equivalent to
their base variants, except the pointer can be null regardless of
count/size value. If the pointer is null the size is effectively 0.

rdar://125400354


  Commit: 8d5ba7598ace4c195e673aaab2b2ccadff3ad48f
      https://github.com/llvm/llvm-project/commit/8d5ba7598ace4c195e673aaab2b2ccadff3ad48f
  Author: Vijay Kandiah <vkandiah at nvidia.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp

  Log Message:
  -----------
  [mlir][openacc] Added custom builder for acc::ParallelOp (#98191)

This change adds a custom builder for `acc::ParallelOp`. This enables
users to only specify the operands they would need for their
`acc::ParallelOp` while building it. They can specify nothing to create
an empty `acc.parallel`, or all of the 11 operands listed
[here](https://mlir.llvm.org/docs/Dialects/OpenACCDialect/#operands-27),
or anywhere in between following the specified order in this custom
builder. Unspecified operands are left empty. Additionally, users can
later set the optional attributes such as `numGangsDeviceType` using the
available attribute setters for `acc::ParallelOp`.


  Commit: 4a010799317dfe19758477f693968fc594c1895d
      https://github.com/llvm/llvm-project/commit/4a010799317dfe19758477f693968fc594c1895d
  Author: Steffi Stumpos <stumposs12 at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrs.h
    M mlir/include/mlir/Dialect/LLVMIR/LLVMEnums.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/test/Dialect/LLVMIR/roundtrip.mlir
    A mlir/test/Dialect/LLVMIR/tail-call-kinds.mlir
    A mlir/test/Target/LLVMIR/Import/tail-kind.ll

  Log Message:
  -----------
  Expose Tail Kind Call to MLIR (#98080)

I would like to mark a call op in LLVM dialect as Musttail. The calling
convention attribute only exposes Tail, not Musttail. I noticed that the
CallInst of LLVM has an additional field to specify the flavor of tail
call kind. I bubbled this up to the LLVM dialect by adding another
attribute that maps to LLVM::CallInst::TailCallKind.


  Commit: af21bc19172410f29606cac82a96c33d6710fe38
      https://github.com/llvm/llvm-project/commit/af21bc19172410f29606cac82a96c33d6710fe38
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/phi-removed-on-operand-vectorization.ll

  Log Message:
  -----------
  [SLP]Fix a crash on attempt to revectorize vectorized phi.

If the PHI node is vectorized during vectorization of its operands, no
need to try to vectorize its operands once again.


  Commit: f363e30f15ef274f94dba53a13d73998066a0148
      https://github.com/llvm/llvm-project/commit/f363e30f15ef274f94dba53a13d73998066a0148
  Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/lib/Basic/Targets/AMDGPU.cpp
    M clang/test/CodeGenOpenCL/amdgpu-features-illegal.cl
    M clang/test/SemaOpenCL/builtins-amdgcn-error-wave32.cl
    M llvm/include/llvm/TargetParser/TargetParser.h
    M llvm/lib/TargetParser/TargetParser.cpp

  Log Message:
  -----------
  [AMDGPU] Report error in clang if wave32 is requested where unsupported (#97633)


  Commit: ce03155a1bd02fc078f710b5497be4e382bbe5d9
      https://github.com/llvm/llvm-project/commit/ce03155a1bd02fc078f710b5497be4e382bbe5d9
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/SampleProf.h
    M llvm/lib/ProfileData/SampleProf.cpp
    M llvm/lib/ProfileData/SampleProfReader.cpp
    M llvm/lib/Transforms/IPO/SampleContextTracker.cpp
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/tools/llvm-profdata/llvm-profdata.cpp
    M llvm/tools/llvm-profgen/ProfileGenerator.cpp

  Log Message:
  -----------
  [NFC] Coding style fixes: SampleProf (#98208)

Also some control flow simplifications.

Notably, this doesn't address `sampleprof_error`. I *think* the style
there tries to match `std::error_category`.

Also left `hash_value` as-is, because it matches what we do in Hashing.h


  Commit: 8e9d50cdd14b366249bbb61cb3a1d4586289bfee
      https://github.com/llvm/llvm-project/commit/8e9d50cdd14b366249bbb61cb3a1d4586289bfee
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/floating-point-compare.ll
    M llvm/test/Transforms/InstSimplify/known-never-nan.ll

  Log Message:
  -----------
  [InstSimplify] fold uno/ord comparison if fpclass is always NaN (#97763)

In InstSimplify we already fold `fcmp ord/uno` to a constant when both
operands are known to be non-NaN. This change slightly generalizes this
to also handle the case where either of the operands is known to always
be NaN.

Proof: https://alive2.llvm.org/ce/z/AhCmJN


  Commit: e142a5568627d8f90b13aaca3e427cb0bed71464
      https://github.com/llvm/llvm-project/commit/e142a5568627d8f90b13aaca3e427cb0bed71464
  Author: Pranav Kant <prka at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/ObjCopy/ELF/ELFObject.cpp
    M llvm/lib/ObjCopy/ELF/ELFObject.h
    M llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test

  Log Message:
  -----------
  [llvm-objcopy] Remove references for empty section groups (#98106)

Otherwise, llvm-objcopy fails with use-after-free when built under
sanitizers. Simple repro: run the test
`ELF/remove-section-in-group.test` under asan. This is due to symbol
table references to empty section groups that must be removed.


  Commit: 9739df2c8948c265955a2907ce00f4225dced5d1
      https://github.com/llvm/llvm-project/commit/9739df2c8948c265955a2907ce00f4225dced5d1
  Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M flang/lib/Frontend/CompilerInstance.cpp

  Log Message:
  -----------
  [AMDGPU] Fix flang build after #97633 (#98231)


  Commit: f35318e828d166bee04a117c1a87c1c0e32a57da
      https://github.com/llvm/llvm-project/commit/f35318e828d166bee04a117c1a87c1c0e32a57da
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp
    M mlir/test/Conversion/ArithToAMDGPU/8-bit-floats.mlir

  Log Message:
  -----------
  [mlir][amdgpu] Add support for multi-dim arith.truncf/extf fp8 lowering (#98074)

The existing `fp8` lowering from `arith` to `amdgpu` bails out on the
multidimensional case. We can handle this by `vector.shape_cast`
collapsing to the 1-D case on extraction and re-casting back to the
desired output shape.


  Commit: 7021e44b2f0e11717c0d82456bad0fed4a0b48f9
      https://github.com/llvm/llvm-project/commit/7021e44b2f0e11717c0d82456bad0fed4a0b48f9
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
    M lldb/packages/Python/lldbsuite/test/make/Makefile.rules

  Log Message:
  -----------
  [lldb][test] Set target and host OS for API tests in case of remote testing

Makefile.rules uses HOST_OS and OS variables for determining host and target
OSes for API tests compilation.

This commit moves the platform detection logic from Makefile to Python lldb
test suite.

    This is useful for the case of Windows-to-Linux cross-testing.


  Commit: afbd7d1e7c7155b07561e46275a451fec917c34c
      https://github.com/llvm/llvm-project/commit/afbd7d1e7c7155b07561e46275a451fec917c34c
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/GlobalValue.h
    M llvm/lib/IR/Globals.cpp
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [NFC] Coding style: drop `k` in `kGlobalIdentifierDelimiter` (#98230)


  Commit: 7bfb98c34687d9784f36937c3ff3e735698b498a
      https://github.com/llvm/llvm-project/commit/7bfb98c34687d9784f36937c3ff3e735698b498a
  Author: Krystian Stasiowski <sdkrystian at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/ExprCXX.h
    M clang/include/clang/AST/Stmt.h
    M clang/include/clang/AST/UnresolvedSet.h
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/DeclSpec.h
    M clang/include/clang/Sema/Lookup.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/ExprCXX.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Parse/ParseExprCXX.cpp
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaCoroutine.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprMember.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaStmtAsm.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p1-cxx11.cpp
    M clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p1.cpp
    A clang/test/CXX/basic/basic.lookup/basic.lookup.qual/basic.lookup.qual.general/p3-example3.cpp
    A clang/test/CXX/basic/basic.lookup/basic.lookup.qual/basic.lookup.qual.general/p3.cpp
    M clang/test/CXX/class.derived/class.member.lookup/p8.cpp
    M clang/test/CXX/drs/cwg1xx.cpp
    A clang/test/CXX/temp/temp.names/p3-23.cpp
    M clang/test/CXX/temp/temp.res/p3.cpp
    M clang/test/FixIt/fixit.cpp
    M clang/test/Misc/warning-flags.c
    M clang/test/Parser/cxx2a-concepts-requires-expr.cpp
    M clang/test/SemaCXX/cxx0x-noexcept-expression.cpp
    M clang/test/SemaCXX/pseudo-destructors.cpp
    M clang/test/SemaCXX/static-assert-cxx17.cpp
    M clang/test/SemaTemplate/dependent-base-classes.cpp
    M clang/test/SemaTemplate/dependent-template-recover.cpp
    M clang/test/SemaTemplate/temp_arg_nontype_cxx20.cpp
    M clang/test/SemaTemplate/template-id-expr.cpp
    M clang/test/SemaTemplate/typename-specifier-3.cpp
    M libcxx/include/regex

  Log Message:
  -----------
  [Clang] Implement resolution for CWG1835 (#92957)

CWG1835 was one of the many core issues resolved by P1787R6: "Declarations and where to
find them" (http://wg21.link/p1787r6). Its resolution changes how
member-qualified names (as defined by [basic.lookup.qual.general] p2) are looked
up. This patch implementation that resolution.

Previously, an _identifier_ following `.` or `->` would be first looked
up in the type of the object expression (i.e. qualified lookup), and
then in the context of the _postfix-expression_ (i.e. unqualified
lookup) if nothing was found; the result of the second lookup was
required to name a class template. Notably, this second lookup would
occur even when the object expression was dependent, and its result
would be used to determine whether a `<` token is the start of a
_template-argument_list_.

The new wording in [basic.lookup.qual.general] p2 states:
> A member-qualified name is the (unique) component name, if any, of
> - an _unqualified-id_ or
> - a _nested-name-specifier_ of the form _`type-name ::`_ or
_`namespace-name ::`​_
>
> in the id-expression of a class member access expression. A
***qualified name*** is
> - a member-qualified name or
> - the terminal name of
>     - a _qualified-id_,
>     - a _using-declarator_,
>     - a _typename-specifier_,
>     - a _qualified-namespace-specifier_, or
> - a _nested-name-specifier_, _elaborated-type-specifier_, or
_class-or-decltype_ that has a _nested-name-specifier_.
>
> The _lookup context_ of a member-qualified name is the type of its
associated object expression (considered dependent if the object
expression is type-dependent). The lookup context of any other qualified
name is the type, template, or namespace nominated by the preceding
_nested-name-specifier_.

And [basic.lookup.qual.general] p3 now states:
> _Qualified name lookup_ in a class, namespace, or enumeration performs
a search of the scope associated with it except as specified below.
Unless otherwise specified, a qualified name undergoes qualified name
lookup in its lookup context from the point where it appears unless the
lookup context either is dependent and is not the current instantiation
or is not a class or class template. If nothing is found by qualified
lookup for a member-qualified name that is the terminal name of a
_nested-name-specifier_ and is not dependent, it undergoes unqualified
lookup.

In non-standardese terms, these two paragraphs essentially state the
following:
- A name that immediately follows `.` or `->` in a class member access
expression is a member-qualified name
- A member-qualified name will be first looked up in the type of the
object expression `T` unless `T` is a dependent type that is _not_ the
current instantiation, e.g.
```
template<typename T>
struct A
{
    void f(T* t)
    {
        this->x; // type of the object expression is 'A<T>'. although 'A<T>' is dependent, it is the
                 // current instantiation so we look up 'x' in the template definition context.
        
        t->y; // type of the object expression is 'T' ('->' is transformed to '.' per [expr.ref]). 
              // 'T' is dependent and is *not* the current instantiation, so we lookup 'y' in the 
              // template instantiation context.
    }
};
```
- If the first lookup finds nothing and:
- the member-qualified name is the first component of a
_nested-name-specifier_ (which could be an _identifier_ or a
_simple-template-id_), and either:
- the type of the object expression is the current instantiation and it
has no dependent base classes, or
        - the type of the object expression is not dependent

  then we lookup the name again, this time via unqualified lookup.

Although the second (unqualified) lookup is stated not to occur when the
member-qualified name is dependent, a dependent name will _not_ be
dependent once the template is instantiated, so the second lookup must
"occur" during instantiation if qualified lookup does not find anything.
This means that we must perform the second (unqualified) lookup during
parsing even when the type of the object expression is dependent, but
those results are _not_ used to determine whether a `<` token is the
start of a _template-argument_list_; they are stored so we can replicate
the second lookup during instantiation.

In even simpler terms (paraphrasing the meeting minutes from the review of P1787; see https://wiki.edg.com/bin/view/Wg21summer2020/P1787%28Lookup%29Review2020-06-15Through2020-06-18):
- Unqualified lookup always happens for the first name in a
_nested-name-specifier_ that follows `.` or `->`
- The result of that lookup is only used to determine whether `<` is the
start of a _template-argument-list_ if the first (qualified) lookup
found nothing and the lookup context:
    - is not dependent, or 
    - is the current instantiation and has no dependent base classes.

An example:
```
struct A 
{
     void f();
};

template<typename T>
using B = A;

template<typename T>
struct C : A
{
    template<typename U>
    void g();

    void h(T* t)
    {
        this->g<int>(); // ok, '<' is the start of a template-argument-list ('g' was found via qualified lookup in the current instantiation)
        this->B<void>::f(); // ok, '<' is the start of a template-argument-list (current instantiation has no dependent bases, 'B' was found via unqualified lookup)
        t->g<int>(); // error: '<' means less than (unqualified lookup does not occur for a member-qualified name that isn't the first component of a nested-name-specifier)
        t->B<void>::f(); // error: '<' means less than (unqualified lookup does not occur if the name is dependent)
        t->template B<void>::f(); // ok: '<' is the start of a template-argument-list ('template' keyword used)
    }
};
```

Some additional notes:
- Per [basic.lookup.qual.general] p1, lookup for a
member-qualified name only considers namespaces, types, and templates
whose specializations are types if it's an _identifier_ followed by
`::`; lookup for the component name of a _simple-template-id_ followed
by `::` is _not_ subject to this rule.
- The wording which specifies when the second unqualified lookup occurs
appears to be paradoxical. We are supposed to do it only for the first
component name of a _nested-name-specifier_ that follows `.` or `->`
when qualified lookup finds nothing. However, when that name is followed
by `<` (potentially starting a _simple-template-id_) we don't _know_
whether it will be the start of a _nested-name-specifier_ until we do
the lookup -- but we aren't supposed to do the lookup until we know it's
part of a _nested-name-specifier_! ***However***, since we only do the
second lookup when the first lookup finds nothing (and the name isn't
dependent), ***and*** since neither lookup is type-only, the only valid
option is for the name to be the _template-name_ in a
_simple-template-id_ that is followed by `::` (it can't be an
_unqualified-id_ naming a member because we already determined that the
lookup context doesn't have a member with that name). Thus, we can lock
into the _nested-name-specifier_ interpretation and do the second lookup
without having to know whether the _simple-template-id_ will be followed
by `::` yet.


  Commit: 6b8453732b9129299170f7c3ef574ff219790fc5
      https://github.com/llvm/llvm-project/commit/6b8453732b9129299170f7c3ef574ff219790fc5
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
    M compiler-rt/cmake/config-ix.cmake
    M compiler-rt/lib/rtsan/tests/CMakeLists.txt

  Log Message:
  -----------
  [rtsan] Re-enable rtsan tests (#98219)

Follow up to #92460

DEPS llvm_gtest is not used by compiler-rt,
compiler-rt compiles them with COMPILER_RT_GOOGLETEST_SOURCES.

This reverts commit e217f98ac3ee55755ee6ea3b97551cf8283528c9.


  Commit: 240ec5a37517f55a64cd0c69fd4fa1613ab30f97
      https://github.com/llvm/llvm-project/commit/240ec5a37517f55a64cd0c69fd4fa1613ab30f97
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/config/gpu/api.td
    M libc/config/linux/api.td
    M libc/hdr/CMakeLists.txt
    A libc/hdr/stdio_macros.h
    M libc/hdr/types/CMakeLists.txt
    A libc/hdr/types/off_t.h
    M libc/include/llvm-libc-macros/stdio-macros.h
    M libc/newhdrgen/yaml/stdio.yaml
    M libc/src/__support/File/CMakeLists.txt
    M libc/src/__support/File/file.cpp
    M libc/src/__support/File/file.h
    M libc/src/__support/File/linux/CMakeLists.txt
    M libc/src/__support/File/linux/file.cpp
    M libc/src/__support/File/linux/file.h
    M libc/src/__support/File/linux/lseekImpl.h
    M libc/src/__support/OSUtil/linux/CMakeLists.txt
    M libc/src/__support/OSUtil/linux/fcntl.cpp
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/fopencookie.cpp
    M libc/src/stdio/setbuf.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc] Move off_t and stdio macros to proxy hdrs (#98215)

The arm32 build has been failing due to redefinitions of the off_t type.
This patch fixes this by moving off_t to a proper proxy header. To do
this, it also moves stdio macros to a proxy header to hopefully avoid
including this proxy header alongside this public stdio.h.


  Commit: 04f0adcd58baa530b13472a897b422fae46abfa2
      https://github.com/llvm/llvm-project/commit/04f0adcd58baa530b13472a897b422fae46abfa2
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [compiler-rt][memprof] Do not add libdl to MEMPROF_UNITTEST_LINK_LIBRARIES (#98221)

Remove unnecessary dependency.

Test plan: ninja check-all


  Commit: be9b1de1ab71e7d19c197fdfe1c3681f22c31923
      https://github.com/llvm/llvm-project/commit/be9b1de1ab71e7d19c197fdfe1c3681f22c31923
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/src/__support/OSUtil/baremetal/exit.cpp
    M libc/src/__support/OSUtil/baremetal/io.cpp
    M libc/src/stdlib/exit.cpp
    M libc/startup/baremetal/fini.cpp
    M libc/startup/baremetal/init.cpp

  Log Message:
  -----------
  [libc] Move the internal extern "C" symbols inside the namespace (#98232)

This ensures that these symbols inherit the namespace visibility.


  Commit: 3a744283f4c56b57adb2c381c0aeaf7faf5120ec
      https://github.com/llvm/llvm-project/commit/3a744283f4c56b57adb2c381c0aeaf7faf5120ec
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/config/gpu/api.td
    M libc/config/linux/api.td
    M libc/hdr/CMakeLists.txt
    R libc/hdr/stdio_macros.h
    M libc/hdr/types/CMakeLists.txt
    R libc/hdr/types/off_t.h
    M libc/include/llvm-libc-macros/stdio-macros.h
    M libc/newhdrgen/yaml/stdio.yaml
    M libc/src/__support/File/CMakeLists.txt
    M libc/src/__support/File/file.cpp
    M libc/src/__support/File/file.h
    M libc/src/__support/File/linux/CMakeLists.txt
    M libc/src/__support/File/linux/file.cpp
    M libc/src/__support/File/linux/file.h
    M libc/src/__support/File/linux/lseekImpl.h
    M libc/src/__support/OSUtil/linux/CMakeLists.txt
    M libc/src/__support/OSUtil/linux/fcntl.cpp
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/fopencookie.cpp
    M libc/src/stdio/setbuf.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  Revert "[libc] Move off_t and stdio macros to proxy hdrs" (#98242)

Reverts llvm/llvm-project#98215

Breaks linux bots


  Commit: a40daa34efd3cc0fe7ef50f936775287cb14b399
      https://github.com/llvm/llvm-project/commit/a40daa34efd3cc0fe7ef50f936775287cb14b399
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [BOLT][DWARF][NFC] Cleanup version check (#97839)

Cleans up version check to remove redundant else branch.


  Commit: f137be30a4b6f49b86bfde6b5ee59463884916fc
      https://github.com/llvm/llvm-project/commit/f137be30a4b6f49b86bfde6b5ee59463884916fc
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [BOLT][DWARF][NFC] Remove unnecessary SectionOffset (#97841)

Removes unnecessary SectionOffset variable from DebugData.


  Commit: d283627c4a0a4fec6c29d33fcbaf123365eeefae
      https://github.com/llvm/llvm-project/commit/d283627c4a0a4fec6c29d33fcbaf123365eeefae
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [BOLT][DWARF][NFC] Update Die to not use std::optional (#97844)

Updates initialization to remove unnecessary use of std::optional.


  Commit: 2d8b282225f88371b8187f2ec02280ee474e21d6
      https://github.com/llvm/llvm-project/commit/2d8b282225f88371b8187f2ec02280ee474e21d6
  Author: vporpo <vporpodas at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  [SandboxIR] Update visibility of IR constructors. (#98107)

All SandboxIR objects are owned by sandboxir::Context and should be
created using sandboxir::Context's builder functions.
This patch protects the constructors to prohibit their use by the user.


  Commit: 14f745074d05fb42f5c8a625c79bf557bb980ebb
      https://github.com/llvm/llvm-project/commit/14f745074d05fb42f5c8a625c79bf557bb980ebb
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake

  Log Message:
  -----------
  [rtsan] Temporarily disable runtime to fix bots after #98219 (#98250)

New failures after #98219


  Commit: e5aa7999bf1bc9a6c7a03bbc65036325a4ec5503
      https://github.com/llvm/llvm-project/commit/e5aa7999bf1bc9a6c7a03bbc65036325a4ec5503
  Author: Steffi Stumpos <stumposs12 at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td

  Log Message:
  -----------
  [mojo-lang] Use Lower Case in TailCallAttribute Member Names (#98253)

The build is broken with the error message:
```
error: declaration of 'mlir::LLVM::tailcallkind::TailCallKind mlir::LLVM::detail::TailCallKindAttrStorage::TailCallKind' changes meaning of 'TailCallKind'
```
I cannot replicate the error locally because I think it's only reported
by GCC not clang. However, I think the change in this patch may fix it.


  Commit: 1c6bc0458de358d327f1ff6aa07eef522090bebb
      https://github.com/llvm/llvm-project/commit/1c6bc0458de358d327f1ff6aa07eef522090bebb
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [compiler-rt][nsan] cmake cleanup (#98224)

CMake cleanup. NFC.


  Commit: 46c7da63555b133016ed54ad677bdcc05549ddc2
      https://github.com/llvm/llvm-project/commit/46c7da63555b133016ed54ad677bdcc05549ddc2
  Author: lntue <35648136+lntue at users.noreply.github.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/src/__support/FPUtil/dyadic_float.h
    M libc/src/math/generic/expm1.cpp
    M libc/test/src/math/expm1_test.cpp
    M libc/test/src/math/tan_test.cpp

  Log Message:
  -----------
  [libc][math] Fix overflow shifts for dyadic floats and add skip accuracy option for expm1. (#98048)

The following errors were reported by Paul Zimmerman:
```
expm1
Running worst cases check in --rndn mode...
FAIL x=0x1.c3b93d3b25c91p+8 ref=0x1.9fb21849affd1p+651 z=0x1.9f921849affd1p+651
Running worst cases check in --rndz mode...
FAIL x=0x1.d6479eba7c971p+8 ref=0x1.62a88613629b5p+678 z=0x1.62a886135e9b5p+678
Running worst cases check in --rndu mode...
FAIL x=0x1.1f0da93354198p+7 ref=0x1.0bd73b73fc74dp+207 z=0x1.0bd73b73fc74cp+207
Running worst cases check in --rndd mode...
FAIL x=0x1.93b3037166891p+8 ref=0x1.554f3a5c4535cp+582 z=0x1.554f3a5c4535bp+582
```
```
tan
Running worst cases check in --rndn mode...
FAIL x=0x1.00452f0e0134dp-13 ref=0x1.00452f2367da9p-13 z=0x1.00452f2367daap-13
Running worst cases check in --rndz mode...
FAIL x=0x1.89f0f5241255bp-2 ref=0x1.9e997dd861117p-2 z=0x1.9e997dd861118p-2
FAIL x=0x1.045457ae3994p+5 ref=0x1.0c06941768ef3p+1 z=0x1.0c06941768ef4p+1
```


  Commit: b0b96fbff47c74940a62073c579372f3c47df9c8
      https://github.com/llvm/llvm-project/commit/b0b96fbff47c74940a62073c579372f3c47df9c8
  Author: Max Winkler <max.enrico.winkler at gmail.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/Sema/no-warn-missing-prototype.c

  Log Message:
  -----------
  Fix erroneous `-Wmissing-prototypes` for Win32 entry points (#98105)

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


  Commit: c2fb400c45706697e3d6991f59dbc713e1e4668f
      https://github.com/llvm/llvm-project/commit/c2fb400c45706697e3d6991f59dbc713e1e4668f
  Author: Feng Zou <feng.zou at intel.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86.td

  Log Message:
  -----------
  [X86] Fix tuning for emeraldrapids (#98123)

The incorrect tuning is introduced by #97721.


  Commit: 60ff9c2ea526834ca03218fafee3172653eb14d1
      https://github.com/llvm/llvm-project/commit/60ff9c2ea526834ca03218fafee3172653eb14d1
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/config/gpu/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/llvm_libc_ext.td
    M libc/src/math/CMakeLists.txt
    M libc/src/math/amdgpu/CMakeLists.txt
    M libc/src/math/amdgpu/declarations.h
    A libc/src/math/amdgpu/powi.cpp
    A libc/src/math/amdgpu/powif.cpp
    M libc/src/math/nvptx/CMakeLists.txt
    M libc/src/math/nvptx/declarations.h
    A libc/src/math/nvptx/powi.cpp
    A libc/src/math/nvptx/powif.cpp
    A libc/src/math/powi.h
    A libc/src/math/powif.h

  Log Message:
  -----------
  [libc] Add support for `powi` as an LLVM libc extension on the GPU (#98236)

Summary:
This function is used by the CUDA / HIP / OpenMP headers and exists as
an NVIDIA extension basically. This function is implemented in the C23
standard as `pown`, but for now we need to provide `powi` for backwards
compatibility. In the future this entrypoint will just be a redirect to
`pown` once that is implemented.


  Commit: 2080af568b0c4c25b64508803f6c6c33dfc7347c
      https://github.com/llvm/llvm-project/commit/2080af568b0c4c25b64508803f6c6c33dfc7347c
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
    M compiler-rt/lib/rtsan/tests/CMakeLists.txt

  Log Message:
  -----------
  [rtsan] Explicitly link pthread in the tests and dynamic libraries (#98256)

Follow up to #98219

This reverts commit
[14f7450](https://github.com/llvm/llvm-project/commit/14f745074d05fb42f5c8a625c79bf557bb980ebb)

Ensure that -pthread is explicitly linked when running the rtsan tests. 

Issue this fixes:
```
FAILED: compiler-rt/lib/rtsan/tests/Rtsan-powerpc64le-NoInstTest /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/lib/rtsan/tests/Rtsan-powerpc64le-NoInstTest 
cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/lib/rtsan/tests && /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/./bin/clang++ RtsanNoInstTestObjects.rtsan_preinit.cpp.powerpc64le.o RtsanNoInstTestObjects.rtsan_test_context.cpp.powerpc64le.o RtsanNoInstTestObjects.rtsan_test_main.cpp.powerpc64le.o RtsanNoInstTestObjects.gtest-all.cc.powerpc64le.o RtsanNoInstTestObjects.gmock-all.cc.powerpc64le.o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/lib/rtsan/tests/libRTRtsanTest.powerpc64le.a -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/lib/rtsan/tests/./Rtsan-powerpc64le-NoInstTest -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -resource-dir=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/./lib/../lib/clang/19 -Wl,-rpath,/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/./lib/../lib/clang/19/lib/powerpc64le-unknown-linux-gnu -lstdc++ -no-pie -latomic -m64 -fno-function-sections
/usr/bin/ld: RtsanNoInstTestObjects.gtest-all.cc.powerpc64le.o: undefined reference to symbol 'pthread_getspecific@@GLIBC_2.17'
//usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
```


  Commit: 12239d253d555d6cbd65588b72e9da7acf482c2f
      https://github.com/llvm/llvm-project/commit/12239d253d555d6cbd65588b72e9da7acf482c2f
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [lldb] Small cleanup of ProcessEventData::ShouldStop (#98154)

While looking at a TSAN report (patch coming soon) in the ThreadList
class, I noticed that this code would be simpler if it did not use the
ThreadList class.


  Commit: 7b96d13341aa94d11c2d9ffe5a9304e3640ad80b
      https://github.com/llvm/llvm-project/commit/7b96d13341aa94d11c2d9ffe5a9304e3640ad80b
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [rtsan] Add dl, rt, m, and log libraries as unit test dependencies, get rid of atomic (#98264)

Fixing test failures in #98256 

There are two issues being fixed here:

```
ld.lld: error: undefined symbol: dlvsym
ld.lld: error: undefined symbol: dlvsym
```

Fixed by linking dl

```
FAILED: ... -lstdc++ -no-pie -pthread -latomic -m64
/opt/rh/devtoolset-11/root/usr/lib/gcc/ppc64-redhat-linux/11/../../../../bin/ld: cannot find /usr/lib64/libatomic.so.1
```

Fixed by removing atomic from the dependencies, I don't think we were
even using it.

I added in all of the dependencies used by the parent library in the
tests, hopefully getting ahead of any other issues, adding rt and m,
even if we haven't had issues with them yet


  Commit: 66470112d6e00832cae2970fb56f491cd5f7b14a
      https://github.com/llvm/llvm-project/commit/66470112d6e00832cae2970fb56f491cd5f7b14a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M lld/ELF/Arch/RISCV.cpp
    M llvm/include/llvm/TargetParser/RISCVISAInfo.h
    M llvm/lib/TargetParser/RISCVISAInfo.cpp

  Log Message:
  -----------
  [RISCV] Don't expose any constructors of RISCVISAInfo publicly. (#98249)

lld was using RISCVISAInfo(unsigned XLen,
RISCVISAUtils::OrderedExtensionMap &Exts). This required a call to
RISCVISAInfo::postProcessAndChecking to validate the RISCVISAInfo that
was created. This exposes too much about RISCVISAInfo to lld.

Replace with a new RISCVISAInfo::createFromExtMap that is responsible
for creating the object and calling postProcessAndChecking.


  Commit: 9af1f8fbad6c8c38e7e3d6c1cfe7e4b2519db3d8
      https://github.com/llvm/llvm-project/commit/9af1f8fbad6c8c38e7e3d6c1cfe7e4b2519db3d8
  Author: Jianjian Guan <jacquesguan at me.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/test/CodeGen/RISCV/rvv/vfcvt-x-f.ll
    M llvm/test/CodeGen/RISCV/rvv/vfcvt-xu-f.ll
    M llvm/test/CodeGen/RISCV/rvv/vfncvt-x-f.ll
    M llvm/test/CodeGen/RISCV/rvv/vfncvt-xu-f.ll
    M llvm/test/CodeGen/RISCV/rvv/vfwcvt-x-f.ll
    M llvm/test/CodeGen/RISCV/rvv/vfwcvt-xu-f.ll

  Log Message:
  -----------
  [RISCV] Match vector fp-int convert intrinsics with specific RTZ rounding mode to the rtz variants (#98120)


  Commit: 91d40ef6e369a73b0147d9153a95c3bc63e14102
      https://github.com/llvm/llvm-project/commit/91d40ef6e369a73b0147d9153a95c3bc63e14102
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ASTWriter.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/CodeGen/CGVTables.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/test/CodeGenCXX/modules-vtable.cppm
    R clang/test/CodeGenCXX/pr70585.cppm
    R clang/test/Modules/pr97313.cppm

  Log Message:
  -----------
  Revert "[C++20] [Modules] [Itanium ABI] Generate the vtable in the module unit of dynamic classes (#75912)"

This reverts commit 18f3bcbb13ca83d33223b00761d8cddf463e9ffb, 15bb02650e26875c48889053d6a9697444583721 and
99873b35da7ecb905143c8a6b8deca4d4416f1a9.

See the post commit message in
https://github.com/llvm/llvm-project/pull/75912 to see the reasons.


  Commit: c641fc3a4cd5e0d1b06f401ce48b5e189c221d94
      https://github.com/llvm/llvm-project/commit/c641fc3a4cd5e0d1b06f401ce48b5e189c221d94
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M bolt/test/X86/infer_no_exits.test
    M bolt/test/X86/jt-symbol-disambiguation-4.s

  Log Message:
  -----------
  [BOLT][test] Fix tests for aarch64 buildbot (#97620)

Fix broken tests in
[bolt-aarch64-ubuntu-clang-shared](https://lab.llvm.org/buildbot/#/builders/126/builds/138)


  Commit: 62a7562b828ee9df6a41b6ce3dfda7c5511816a6
      https://github.com/llvm/llvm-project/commit/62a7562b828ee9df6a41b6ce3dfda7c5511816a6
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/docs/StandardCPlusPlusModules.rst

  Log Message:
  -----------
  [docs] [C++20] [Modules] Add a workaround document for missing vtables

Due to https://github.com/llvm/llvm-project/pull/75912 is reverted and
https://github.com/llvm/llvm-project/issues/70585 is reopened. It looks
riskful to fix the issue correctly before 19. So we provide a workaround
here to help people in this trouble as much as possible.


  Commit: ac299ed2c752928d34b5db339a926286115f0718
      https://github.com/llvm/llvm-project/commit/ac299ed2c752928d34b5db339a926286115f0718
  Author: Han-Kuan Chen <hankuan.chen at sifive.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [SLP] Provide an universal interface for FixedVectorType::get. NFC. (#96845)

SLP vectorizes scalar type to vector type. In the future, we will try to
make SLP vectorizes vector type to vector type. We add a getWidenedType
as a helper function. For example, SLP will make the following code

%v0 = load i32, ptr %in0, align 4
%v1 = load i32, ptr %in1, align 4
%v2 = load i32, ptr %in2, align 4
%v3 = load i32, ptr %in3, align 4

into a load <4 x i32>. The ScalarTy is i32 and VF is 4. In the future,
SLP will make the following code

%v0 = load <4 x i32>, ptr %in0, align 4
%v1 = load <4 x i32>, ptr %in1, align 4
%v2 = load <4 x i32>, ptr %in2, align 4
%v3 = load <4 x i32>, ptr %in3, align 4

into a load <16 x i32>. The ScalarTy is <4 x i32> and VF is 4.

reference:
https://discourse.llvm.org/t/rfc-make-slp-vectorizer-revectorize-vector-instructions/79436


  Commit: 3e4adef9467734a3ced62a651ae7f35f5bf45901
      https://github.com/llvm/llvm-project/commit/3e4adef9467734a3ced62a651ae7f35f5bf45901
  Author: AdityaK <hiraditya at msn.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

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

  Log Message:
  -----------
  [NFC] Add reference to the clustering algortihm for switch statements (#98239)

Menezes, Evandro, Sebastian Pop, and Aditya Kumar. "Clustering case
statements for indirect branch predictors." arXiv preprint
arXiv:1910.02351 (2019).

https://arxiv.org/pdf/1910.02351v2


  Commit: b6e41c159b221faf1e43e56240cfd5a232697064
      https://github.com/llvm/llvm-project/commit/b6e41c159b221faf1e43e56240cfd5a232697064
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/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/include/CMakeLists.txt
    M libc/include/llvm-libc-macros/CMakeLists.txt
    A libc/include/llvm-libc-macros/math-function-macros.h
    M libc/include/llvm-libc-macros/math-macros.h
    M libc/include/math.h.def
    M libc/spec/bsd_ext.td
    M libc/src/math/CMakeLists.txt
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/isnan.cpp
    A libc/src/math/generic/isnanf.cpp
    A libc/src/math/generic/isnanl.cpp
    A libc/src/math/isnan.h
    A libc/src/math/isnanf.h
    A libc/src/math/isnanl.h

  Log Message:
  -----------
  [libc] Provide isnan, isnanf and isnanl functions (#96008)

While C99 defines type generic isnan macro, BSD provided isnan, isnanf
and isnanl in prior C standards and existing code still relies on these.


  Commit: 5523a473ef3bcb611f2efc6d18f1ca7d9d023591
      https://github.com/llvm/llvm-project/commit/5523a473ef3bcb611f2efc6d18f1ca7d9d023591
  Author: Jeff Niu <jeff at modular.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Object/ArchiveWriter.h
    M llvm/lib/Object/ArchiveWriter.cpp

  Log Message:
  -----------
  [llvm][object] Expose `writeArchiveToStream` (#98254)

This internal helper is a useful API to have, when one wants to write an
archive directly to some other preallocated stream.


  Commit: d3923354a4c96f20c09b3991afb8c30804ed7a21
      https://github.com/llvm/llvm-project/commit/d3923354a4c96f20c09b3991afb8c30804ed7a21
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/ExprCXX.h
    M clang/include/clang/AST/Stmt.h
    M clang/include/clang/AST/UnresolvedSet.h
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/DeclSpec.h
    M clang/include/clang/Sema/Lookup.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/ExprCXX.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Parse/ParseExprCXX.cpp
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaCoroutine.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprMember.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaStmtAsm.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p1-cxx11.cpp
    M clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p1.cpp
    R clang/test/CXX/basic/basic.lookup/basic.lookup.qual/basic.lookup.qual.general/p3-example3.cpp
    R clang/test/CXX/basic/basic.lookup/basic.lookup.qual/basic.lookup.qual.general/p3.cpp
    M clang/test/CXX/class.derived/class.member.lookup/p8.cpp
    M clang/test/CXX/drs/cwg1xx.cpp
    R clang/test/CXX/temp/temp.names/p3-23.cpp
    M clang/test/CXX/temp/temp.res/p3.cpp
    M clang/test/FixIt/fixit.cpp
    M clang/test/Misc/warning-flags.c
    M clang/test/Parser/cxx2a-concepts-requires-expr.cpp
    M clang/test/SemaCXX/cxx0x-noexcept-expression.cpp
    M clang/test/SemaCXX/pseudo-destructors.cpp
    M clang/test/SemaCXX/static-assert-cxx17.cpp
    M clang/test/SemaTemplate/dependent-base-classes.cpp
    M clang/test/SemaTemplate/dependent-template-recover.cpp
    M clang/test/SemaTemplate/temp_arg_nontype_cxx20.cpp
    M clang/test/SemaTemplate/template-id-expr.cpp
    M clang/test/SemaTemplate/typename-specifier-3.cpp
    M libcxx/include/regex

  Log Message:
  -----------
  Revert "[Clang] Implement resolution for CWG1835 (#92957)"

ppc64le-lld-multistage-test has been failing.

This reverts commit 7bfb98c34687d9784f36937c3ff3e735698b498a.


  Commit: 869ac4064861b7e644ae52a72fb80efacfd86462
      https://github.com/llvm/llvm-project/commit/869ac4064861b7e644ae52a72fb80efacfd86462
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/Template.h
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/SemaTemplate/nested-deduction-guides.cpp

  Log Message:
  -----------
  [Clang][Sema] Substitute for the type aliases inside of a CTAD guide (#94740)

Similar to the approach of handling nested class templates when building
a CTAD guide, we substitute the template parameters of a type alias
declaration with the instantiating template arguments in order to ensure
the guide eventually doesn't reference any outer template parameters.

For example,
```cpp
template <class T> struct Outer {
  using Alias = S<T>;
  template <class U> struct Inner {
    Inner(Alias);
  };
};
```
we used to retain the reference to T accidentally because the
TreeTransform does nothing on type alias Decls by default.

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


  Commit: 6f619c98aea164f46b5e086d445d62d697ab3b39
      https://github.com/llvm/llvm-project/commit/6f619c98aea164f46b5e086d445d62d697ab3b39
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/logic-of-fcmps.ll

  Log Message:
  -----------
  [InstSimplify] Only handle canonical forms in `simplifyAndOrOfFCmps`. NFC. (#98136)

This patch avoids calling `isKnownNeverNaN` in `simplifyAndOrOfFCmps`
since `fcmp ord/uno X, NNAN` will be canonicalized into `fcmp ord/uno X,
0.0` in InstCombine.


  Commit: 5347f926cf42f6a2347cb9c74927909540acc8bc
      https://github.com/llvm/llvm-project/commit/5347f926cf42f6a2347cb9c74927909540acc8bc
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [CodeGen] Format `LiveIntervals.h` NFC (#98260)

`clang-format` modifies too much code in #98118. Format it firstly.


  Commit: d99efd53f5103df4db517f499fcdd26cd3b080a3
      https://github.com/llvm/llvm-project/commit/d99efd53f5103df4db517f499fcdd26cd3b080a3
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/hdr/math_macros.h

  Log Message:
  -----------
  [libc] Add a missing math-function-macros.h include (#98271)

This was accidentally omitted in #96008.


  Commit: 015526bf3fc6843ad28f9e0809598453228c4bc2
      https://github.com/llvm/llvm-project/commit/015526bf3fc6843ad28f9e0809598453228c4bc2
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/test/Driver/print-supported-extensions-riscv.c
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/test/MC/RISCV/rv32zcmt-valid.s

  Log Message:
  -----------
  [RISCV] Fix spelling instuctions->instructions.

Taken from #98259 and with the necessary test updates added.


  Commit: 7d246e84a412449f00c0489705336d120983bb5c
      https://github.com/llvm/llvm-project/commit/7d246e84a412449f00c0489705336d120983bb5c
  Author: Hsiangkai Wang <hsiangkai.wang at arm.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp
    M mlir/test/Dialect/Linalg/invalid.mlir
    M mlir/test/Dialect/Linalg/roundtrip.mlir
    A mlir/test/Dialect/Linalg/winograd-conv2d.mlir
    M mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir][linalg] Implement Conv2D using Winograd Conv2D algorithm (#96181)

Define high level winograd operators and convert conv_2d_nhwc_fhwc into
winograd operators. According to Winograd Conv2D algorithm, we need
three transform operators for input, filter, and output transformation.

The formula of Winograd Conv2D algorithm is

Y = A^T x [(G x g x G^T) @ (B^T x d x B)] x A

filter transform: G x g x G^T
input transform: B^T x d x B
output transform: A^T x y x A

The implementation is based on the paper, Fast Algorithm for
Convolutional Neural Networks. (https://arxiv.org/abs/1509.09308)

Reviewers: stellaraccident, ftynse, Max191, GeorgeARM, cxy-1993, nicolasvasilache, MaheshRavishankar, dcaballe, rengolin

Reviewed By: ftynse, Max191, stellaraccident

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


  Commit: a37c35e807f334d13ca92d2d1b88f51917d039d2
      https://github.com/llvm/llvm-project/commit/a37c35e807f334d13ca92d2d1b88f51917d039d2
  Author: h-vetinari <h.vetinari at gmx.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx17.rst
    M libcxx/docs/Status/Cxx17Papers.csv
    M libcxx/docs/Status/Cxx23Papers.csv
    M libcxx/docs/Status/Cxx2cIssues.csv

  Log Message:
  -----------
  [libc++] mark P0154 as implemented; fix column alignment issues (#97865)

AFAIU, P0154 support is complete as of
https://github.com/llvm/llvm-project/pull/89446


  Commit: 1205371a6e4b4f03aa5fee5124efd4234e279ca4
      https://github.com/llvm/llvm-project/commit/1205371a6e4b4f03aa5fee5124efd4234e279ca4
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp

  Log Message:
  -----------
  [clang] CTAD: Generate deduction guides for alias templates from non-template explicit deduction guides (#96686)

This patch addresses an issue where non-template explicit deduction
guides were not considered when synthesized the deduction guides for
alias templates.

Fixes #94927.


  Commit: 4d052a76185875bf8d8343d723a444795b87c8c5
      https://github.com/llvm/llvm-project/commit/4d052a76185875bf8d8343d723a444795b87c8c5
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
    A llvm/test/Transforms/PreISelIntrinsicLowering/X86/memset-inline-non-constant-len.ll
    M llvm/test/Verifier/intrinsic-immarg.ll

  Log Message:
  -----------
  [Intrinsics][PreISelIntrinsicLowering] llvm.memset.inline length no longer needs to be constant (#95397)

As requested in
https://discourse.llvm.org/t/rfc-introducing-an-llvm-memset-pattern-inline-intrinsic/79496
this patch removes the requirement that the length of llvm.memset.inline
is a constant, and adjusts PreISelIntrinsicLowering so it supports
expanding such the intrinsic in the case it has a non-constant length.


  Commit: b2ac7f52fa95ccc478a478910ccd42730e8ea845
      https://github.com/llvm/llvm-project/commit/b2ac7f52fa95ccc478a478910ccd42730e8ea845
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [clang-format][NFC] Annotate function/ctor/dtor declaration l_paren (#97938)


  Commit: ef9aba2a2f01fce463622397f7c43860897ab796
      https://github.com/llvm/llvm-project/commit/ef9aba2a2f01fce463622397f7c43860897ab796
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/InterferenceCache.cpp
    M llvm/lib/CodeGen/LiveIntervals.cpp
    M llvm/lib/CodeGen/MachineConvergenceVerifier.cpp
    M llvm/lib/CodeGen/MachineInstr.cpp

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


  Commit: f11c0a1a0d9306456a99e609833d7b188fa904fb
      https://github.com/llvm/llvm-project/commit/f11c0a1a0d9306456a99e609833d7b188fa904fb
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/ExecutionEngine/ExecutionEngine.cpp
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp

  Log Message:
  -----------
  [ExecutionEngine] Use range-based for loops (NFC) (#98110)


  Commit: 24d5c54cf52d38e63d365275f913285908aa9c9a
      https://github.com/llvm/llvm-project/commit/24d5c54cf52d38e63d365275f913285908aa9c9a
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  Revert "[compiler-rt][memprof] Do not add libdl to MEMPROF_UNITTEST_LINK_LIBRARIES (#98221)"

This reverts commit 04f0adcd58baa530b13472a897b422fae46abfa2.


  Commit: 9ae24c9ac94017e15eb827e25c5693418e6cdb4b
      https://github.com/llvm/llvm-project/commit/9ae24c9ac94017e15eb827e25c5693418e6cdb4b
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake

  Log Message:
  -----------
  Re-disable rtsan.

Some builders are still failing. (ex. clang-aarch64-sve-vla-2stage)


  Commit: e15d67cfc2e5775cc79281aa860f3ad3be628f39
      https://github.com/llvm/llvm-project/commit/e15d67cfc2e5775cc79281aa860f3ad3be628f39
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h
    M clang/lib/CodeGen/Targets/AArch64.cpp
    M clang/lib/CodeGen/Targets/ARM.cpp
    M clang/test/CodeGen/aarch64-branch-protection-attr.c
    M clang/test/CodeGen/aarch64-sign-return-address.c
    M clang/test/CodeGen/arm-branch-protection-attr-1.c
    M clang/test/CodeGen/arm-branch-protection-attr-2.c
    A clang/test/Frontend/arm-branch-protection-lto.c
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
    M llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
    M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
    M llvm/test/CodeGen/AArch64/branch-target-enforcement-indirect-calls.ll
    M llvm/test/CodeGen/AArch64/bti-branch-relaxation.ll
    M llvm/test/CodeGen/AArch64/kcfi-bti.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-2fixup-blr-terminator.mir
    M llvm/test/CodeGen/AArch64/machine-outliner-bti.mir
    M llvm/test/CodeGen/AArch64/machine-outliner-outline-bti.ll
    M llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-0.ll
    M llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-4.ll
    M llvm/test/CodeGen/AArch64/pacbti-llvm-generated-funcs-1.ll
    M llvm/test/CodeGen/AArch64/pacbti-llvm-generated-funcs-2.ll
    M llvm/test/CodeGen/AArch64/pacbti-module-attrs.ll
    M llvm/test/CodeGen/AArch64/patchable-function-entry-bti.ll
    M llvm/test/CodeGen/AArch64/setjmp-bti-outliner.ll
    M llvm/test/CodeGen/AArch64/setjmp-bti.ll
    M llvm/test/CodeGen/AArch64/sign-return-address-pauth-lr.ll
    M llvm/test/CodeGen/AArch64/sign-return-address.ll
    M llvm/test/CodeGen/AArch64/wineh-bti.ll
    M llvm/test/CodeGen/AArch64/wineh-pac.ll
    M llvm/test/CodeGen/ARM/setjmp-bti-basic.ll
    M llvm/test/CodeGen/ARM/setjmp-bti-outliner.ll
    M llvm/test/CodeGen/Thumb2/bti-entry-blocks.ll
    M llvm/test/CodeGen/Thumb2/bti-indirect-branches.ll
    M llvm/test/CodeGen/Thumb2/bti-outliner-1.ll
    M llvm/test/CodeGen/Thumb2/bti-outliner-2.ll
    M llvm/test/CodeGen/Thumb2/bti-outliner-cost-2.ll
    M llvm/test/CodeGen/Thumb2/bti-pac-replace-1.mir
    M llvm/test/CodeGen/Thumb2/bti-pac-replace-2.ll
    M llvm/test/CodeGen/Thumb2/jump-table-bti.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-basic.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-indirect-tail-call.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-1.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-3.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-4.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-5.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-overalign.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-stack-arg.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-unsupported-arch.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-varargs-1.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-varargs-2.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-vla.ll
    M llvm/test/LTO/AArch64/link-branch-target-enforcement.ll
    M llvm/test/Transforms/Inline/inline-sign-return-address.ll
    M llvm/test/Transforms/LowerTypeTests/function-arm-thumb.ll
    M llvm/test/Transforms/LowerTypeTests/function-thumb-bti.ll
    M llvm/test/Transforms/LowerTypeTests/function.ll
    M llvm/test/Verifier/branch-prot-attrs.ll

  Log Message:
  -----------
  [Clang][ARM][AArch64] Alway emit protection attributes for functions. (#82819)

So far branch protection, sign return address, guarded control stack
attributes are
only emitted as module flags to indicate the functions need to be
generated with
those features.
The problem is in case of an LTO build the module flags are merged with
the `min`
rule which means if one of the module is not build with sign return
address then the features
will be turned off for all functions. Due to the functions take the
branch-protection and
sign-return-address features from the module flags. The
sign-return-address is
function level option therefore it is expected functions from files that
is
compiled with -mbranch-protection=pac-ret to be protected.
The inliner might inline functions with different set of flags as it
doesn't consider
the module flags.
 
This patch adds the attributes to all functions and drops the checking
of the module flags
for the code generation.
Module flag is still used for generating the ELF markers.
Also drops the "true"/"false" values from the
branch-protection-enforcement,
branch-protection-pauth-lr, guarded-control-stack attributes as presence
of the
attribute means it is on absence means off and no other option.


  Commit: 4c7fd7eec04da86f5453969b19ad55122b281211
      https://github.com/llvm/llvm-project/commit/4c7fd7eec04da86f5453969b19ad55122b281211
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/IR/Function.cpp
    A llvm/test/Instrumentation/AddressSanitizer/module-flags-aarch64.ll
    A llvm/test/Instrumentation/MemorySanitizer/AArch64/module-flags-aarch64.ll

  Log Message:
  -----------
  [llvm][ARM][AArch64] Add attributes to synthetic functions. (#83153)

Module flags represent the original intention.

Depends on #82819


  Commit: c188cb77ab99f9a455059efe4bd8b6b6665e15d0
      https://github.com/llvm/llvm-project/commit/c188cb77ab99f9a455059efe4bd8b6b6665e15d0
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [bazel] Port for 7d246e84a412449f00c0489705336d120983bb5c


  Commit: da31b684a57cdc77ad4274fd7d8b47ee27dea6c6
      https://github.com/llvm/llvm-project/commit/da31b684a57cdc77ad4274fd7d8b47ee27dea6c6
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/test/CoverageMapping/system_macro.cpp

  Log Message:
  -----------
  [Coverage] Suppress covmap and profdata for system headers. (#97952)

With `system-headers-coverage=false`, functions defined in system
headers were not instrumented but corresponding covmaps were emitted. It
caused wasting covmap and profraw.

This change improves:

- Reduce object size (due to reduced covmap)
- Reduce size of profraw (uninstrumented system headers occupied
counters)
- Smarter view of coverage report. Stubs of uninstrumented system
headers will be no longer seen.


  Commit: ac285595829dde4cf435bcf5fc7a2a502d346fd4
      https://github.com/llvm/llvm-project/commit/ac285595829dde4cf435bcf5fc7a2a502d346fd4
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/IR/Function.cpp
    R llvm/test/Instrumentation/AddressSanitizer/module-flags-aarch64.ll
    R llvm/test/Instrumentation/MemorySanitizer/AArch64/module-flags-aarch64.ll

  Log Message:
  -----------
  Revert "[llvm][ARM][AArch64] Add attributes to synthetic functions." (#98283)

Reverts llvm/llvm-project#83153


  Commit: 4b2daeccc765915d50144d03e6354c362436c3b8
      https://github.com/llvm/llvm-project/commit/4b2daeccc765915d50144d03e6354c362436c3b8
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h
    M clang/lib/CodeGen/Targets/AArch64.cpp
    M clang/lib/CodeGen/Targets/ARM.cpp
    M clang/test/CodeGen/aarch64-branch-protection-attr.c
    M clang/test/CodeGen/aarch64-sign-return-address.c
    M clang/test/CodeGen/arm-branch-protection-attr-1.c
    M clang/test/CodeGen/arm-branch-protection-attr-2.c
    R clang/test/Frontend/arm-branch-protection-lto.c
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
    M llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
    M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
    M llvm/test/CodeGen/AArch64/branch-target-enforcement-indirect-calls.ll
    M llvm/test/CodeGen/AArch64/bti-branch-relaxation.ll
    M llvm/test/CodeGen/AArch64/kcfi-bti.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-2fixup-blr-terminator.mir
    M llvm/test/CodeGen/AArch64/machine-outliner-bti.mir
    M llvm/test/CodeGen/AArch64/machine-outliner-outline-bti.ll
    M llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-0.ll
    M llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-4.ll
    M llvm/test/CodeGen/AArch64/pacbti-llvm-generated-funcs-1.ll
    M llvm/test/CodeGen/AArch64/pacbti-llvm-generated-funcs-2.ll
    M llvm/test/CodeGen/AArch64/pacbti-module-attrs.ll
    M llvm/test/CodeGen/AArch64/patchable-function-entry-bti.ll
    M llvm/test/CodeGen/AArch64/setjmp-bti-outliner.ll
    M llvm/test/CodeGen/AArch64/setjmp-bti.ll
    M llvm/test/CodeGen/AArch64/sign-return-address-pauth-lr.ll
    M llvm/test/CodeGen/AArch64/sign-return-address.ll
    M llvm/test/CodeGen/AArch64/wineh-bti.ll
    M llvm/test/CodeGen/AArch64/wineh-pac.ll
    M llvm/test/CodeGen/ARM/setjmp-bti-basic.ll
    M llvm/test/CodeGen/ARM/setjmp-bti-outliner.ll
    M llvm/test/CodeGen/Thumb2/bti-entry-blocks.ll
    M llvm/test/CodeGen/Thumb2/bti-indirect-branches.ll
    M llvm/test/CodeGen/Thumb2/bti-outliner-1.ll
    M llvm/test/CodeGen/Thumb2/bti-outliner-2.ll
    M llvm/test/CodeGen/Thumb2/bti-outliner-cost-2.ll
    M llvm/test/CodeGen/Thumb2/bti-pac-replace-1.mir
    M llvm/test/CodeGen/Thumb2/bti-pac-replace-2.ll
    M llvm/test/CodeGen/Thumb2/jump-table-bti.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-basic.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-indirect-tail-call.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-1.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-3.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-4.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-5.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-overalign.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-stack-arg.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-unsupported-arch.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-varargs-1.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-varargs-2.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-vla.ll
    M llvm/test/LTO/AArch64/link-branch-target-enforcement.ll
    M llvm/test/Transforms/Inline/inline-sign-return-address.ll
    M llvm/test/Transforms/LowerTypeTests/function-arm-thumb.ll
    M llvm/test/Transforms/LowerTypeTests/function-thumb-bti.ll
    M llvm/test/Transforms/LowerTypeTests/function.ll
    M llvm/test/Verifier/branch-prot-attrs.ll

  Log Message:
  -----------
  Revert "[Clang][ARM][AArch64] Alway emit protection attributes for functions." (#98284)

Reverts llvm/llvm-project#82819


  Commit: 8d17824890f668cca654a6b821d642bd3192dc81
      https://github.com/llvm/llvm-project/commit/8d17824890f668cca654a6b821d642bd3192dc81
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Gnu.cpp

  Log Message:
  -----------
  [clang][Driver] Fix Linux/sparc64 -m32 (#98124)

`clang` currently fails to find a GCC installation on Linux/sparc64 with
`-m32`. `strace` reveals that `clang` tries to access
`/usr/lib/gcc/sparcv9-linux-gnu` (which doesn't exist) instead of
`/usr/lib/gcc/sparc64-linux-gnu`.

It turns out that 20d497c26fc95c80a1bacb38820d92e5f52bec58 was overeager
in removing some of the necessary directories.

Fixed by reverting the Linux/sparc* part of the patch.

Tested on `sparc64-unknown-linux-gnu`.


  Commit: 8ab19d2e7094c6816ea4f545eb24c503c79a9673
      https://github.com/llvm/llvm-project/commit/8ab19d2e7094c6816ea4f545eb24c503c79a9673
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Add -verify-machineinstrs to RISCVInsertVSETVLI MIR tests. NFC

Now that we're working with LiveIntervals, make sure that they're correct.


  Commit: 7911fb1a257b3a7014b44b4e7d04ee5c3b73a3e3
      https://github.com/llvm/llvm-project/commit/7911fb1a257b3a7014b44b4e7d04ee5c3b73a3e3
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lldb/test/Shell/SymbolFile/DWARF/x86/dwp-foreign-type-units.cpp

  Log Message:
  -----------
  [lldb][test] Fix the flaky test dwp-foreign-type-units.cpp. (#98237)

Use `--match-full-lines` with FileCheck. Otherwise, the checks for `int`
and `unsigned int` will match to the fields inside two `CustomType`s and
FileCheck will start scanning from there, causing string not found
error.


  Commit: b7a457e5e6adfab40964c8d3d5dd7077a545ff90
      https://github.com/llvm/llvm-project/commit/b7a457e5e6adfab40964c8d3d5dd7077a545ff90
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/PreISelIntrinsicLowering/X86/memset-inline-non-constant-len.ll

  Log Message:
  -----------
  [PreISelIntrinsicLowering][test] Demonstrate volatile flag for memset.inline is preserved

Equivalent change ot the one requested in the review for #98281.


  Commit: 145a69294788edf5fd19d7c2162e98558e97e400
      https://github.com/llvm/llvm-project/commit/145a69294788edf5fd19d7c2162e98558e97e400
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [CodeGen] Format `PHIElimination.cpp` NFC (#98289)

clang-format will format entire class when `class PHIElimination :
public MachineFunctionPass {` is changed. Format it firstly to reduce
unnecessary changes when porting it to new pass manager.


  Commit: 7df39ac394c57768abbb254d80fabe7e385c8500
      https://github.com/llvm/llvm-project/commit/7df39ac394c57768abbb254d80fabe7e385c8500
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
    A flang/test/Integration/debug-assumed-size-array-2.f90
    A flang/test/Integration/debug-assumed-size-array.f90
    A flang/test/Transforms/debug-assumed-size-array.fir

  Log Message:
  -----------
  [flang][debug] Support assumed size arrays. (#96316)

Here we don't know the size of last dimension and use a null subrange
for that. User will have to provide the dimension when evaluating
variable of this type. The debugging looks like as follows:

subroutine fn(a1, a2)
 integer  a1(5, *), a2(*)
...
end

(gdb) p a1(1,2)
$2 = 2
(gdb) p a2(3)
$3 = 3
(gdb) ptype a1
type = integer (5,*)
(gdb) ptype a2
type = integer (*)


  Commit: 42672199ec2e2a1d38c3f52305e3846b0ec681ed
      https://github.com/llvm/llvm-project/commit/42672199ec2e2a1d38c3f52305e3846b0ec681ed
  Author: Madhur Amilkanthwar <madhura at nvidia.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/fpext.ll

  Log Message:
  -----------
  [GISel][AArch64] Libcall support for G_FPEXT 128-bit types (#97735)

This patch adds support for generating libcall
for 128-bit types of G_FPEXT.

This fixes ~10 fallbacks in RajaPerf benchmark.


  Commit: 6c84bba218f7b64f2257405ac30a3c6948df8373
      https://github.com/llvm/llvm-project/commit/6c84bba218f7b64f2257405ac30a3c6948df8373
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
    M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll

  Log Message:
  -----------
  [LowerMemIntrinsics] Use correct alignment in residual loop for variable llvm.memcpy (#97998)

Memcpy intrinsics with statically unknown loop sizes are lowered with
two load/store loops: one with access widths specified by the target,
and a residual loop that copies remaining bytes individually.

As the residual loop operates byte-wise, its accesses are only
1-aligned. However, we currently use the alignment that is optimal for
the first loop in both, which is unsound. With this patch, we use the
correct alignment in the residual loop.

The lowering of memcpy with a static size already handles alignments for
the residual correctly.


  Commit: 5c09dda5070f1114480d450fdfb528f0b08e6df6
      https://github.com/llvm/llvm-project/commit/5c09dda5070f1114480d450fdfb528f0b08e6df6
  Author: Corentin Ferry <corentin.ferry at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
    M mlir/lib/Conversion/ArithToEmitC/CMakeLists.txt
    M mlir/test/Conversion/ArithToEmitC/arith-to-emitc-unsupported.mlir
    M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir

  Log Message:
  -----------
  [mlir][emitc] Lower arith.index_cast, arith.index_castui, arith.shli, arith.shrui, arith.shrsi (#95795)

This PR makes use of the newly introduced EmitC types, and lowers:
* ops dealing with index types (index_cast, index_castui),
* ops where `size_t` is used as part of the lowering (shli, shrui,
shrsi, to check for overflow and avoid UB in this case).


  Commit: 1782810b8440144a0141c24192acbaeb55a1545d
      https://github.com/llvm/llvm-project/commit/1782810b8440144a0141c24192acbaeb55a1545d
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h
    M clang/lib/CodeGen/Targets/AArch64.cpp
    M clang/lib/CodeGen/Targets/ARM.cpp
    M clang/test/CodeGen/aarch64-branch-protection-attr.c
    M clang/test/CodeGen/aarch64-sign-return-address.c
    M clang/test/CodeGen/aarch64-targetattr.c
    M clang/test/CodeGen/arm-branch-protection-attr-1.c
    M clang/test/CodeGen/arm-branch-protection-attr-2.c
    A clang/test/Frontend/arm-branch-protection-lto.c
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
    M llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
    M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
    M llvm/test/CodeGen/AArch64/branch-target-enforcement-indirect-calls.ll
    M llvm/test/CodeGen/AArch64/bti-branch-relaxation.ll
    M llvm/test/CodeGen/AArch64/kcfi-bti.ll
    M llvm/test/CodeGen/AArch64/machine-outliner-2fixup-blr-terminator.mir
    M llvm/test/CodeGen/AArch64/machine-outliner-bti.mir
    M llvm/test/CodeGen/AArch64/machine-outliner-outline-bti.ll
    M llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-0.ll
    M llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-4.ll
    M llvm/test/CodeGen/AArch64/pacbti-llvm-generated-funcs-1.ll
    M llvm/test/CodeGen/AArch64/pacbti-llvm-generated-funcs-2.ll
    M llvm/test/CodeGen/AArch64/pacbti-module-attrs.ll
    M llvm/test/CodeGen/AArch64/patchable-function-entry-bti.ll
    M llvm/test/CodeGen/AArch64/setjmp-bti-outliner.ll
    M llvm/test/CodeGen/AArch64/setjmp-bti.ll
    M llvm/test/CodeGen/AArch64/sign-return-address-pauth-lr.ll
    M llvm/test/CodeGen/AArch64/sign-return-address.ll
    M llvm/test/CodeGen/AArch64/wineh-bti.ll
    M llvm/test/CodeGen/AArch64/wineh-pac.ll
    M llvm/test/CodeGen/ARM/setjmp-bti-basic.ll
    M llvm/test/CodeGen/ARM/setjmp-bti-outliner.ll
    M llvm/test/CodeGen/Thumb2/bti-entry-blocks.ll
    M llvm/test/CodeGen/Thumb2/bti-indirect-branches.ll
    M llvm/test/CodeGen/Thumb2/bti-outliner-1.ll
    M llvm/test/CodeGen/Thumb2/bti-outliner-2.ll
    M llvm/test/CodeGen/Thumb2/bti-outliner-cost-2.ll
    M llvm/test/CodeGen/Thumb2/bti-pac-replace-1.mir
    M llvm/test/CodeGen/Thumb2/bti-pac-replace-2.ll
    M llvm/test/CodeGen/Thumb2/jump-table-bti.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-basic.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-indirect-tail-call.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-1.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-3.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-4.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-5.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-overalign.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-stack-arg.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-unsupported-arch.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-varargs-1.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-varargs-2.ll
    M llvm/test/CodeGen/Thumb2/pacbti-m-vla.ll
    M llvm/test/LTO/AArch64/link-branch-target-enforcement.ll
    M llvm/test/Transforms/Inline/inline-sign-return-address.ll
    M llvm/test/Transforms/LowerTypeTests/function-arm-thumb.ll
    M llvm/test/Transforms/LowerTypeTests/function-thumb-bti.ll
    M llvm/test/Transforms/LowerTypeTests/function.ll
    M llvm/test/Verifier/branch-prot-attrs.ll

  Log Message:
  -----------
  [Clang][ARM][AArch64] Alway emit protection attributes for functions. (#82819)

So far branch protection, sign return address, guarded control stack
attributes are
only emitted as module flags to indicate the functions need to be
generated with
those features.
The problem is in case of an LTO build the module flags are merged with
the `min`
rule which means if one of the module is not build with sign return
address then the features
will be turned off for all functions. Due to the functions take the
branch-protection and
sign-return-address features from the module flags. The
sign-return-address is
function level option therefore it is expected functions from files that
is
compiled with -mbranch-protection=pac-ret to be protected.
The inliner might inline functions with different set of flags as it
doesn't consider
the module flags.

This patch adds the attributes to all functions and drops the checking
of the module flags
for the code generation.
Module flag is still used for generating the ELF markers.
Also drops the "true"/"false" values from the
branch-protection-enforcement,
branch-protection-pauth-lr, guarded-control-stack attributes as presence
of the
attribute means it is on absence means off and no other option.

Releand with test fixes.


  Commit: 5ab755c972327b4d2c118db9b694d199a981579f
      https://github.com/llvm/llvm-project/commit/5ab755c972327b4d2c118db9b694d199a981579f
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Add LiveInterval assertions in insertVSETVLI. NFC

If we're inserting a vsetvli that uses a register AVL, then the AVL
register should either:

a) Be already live at the vsetvli with the expected value
b) Not be live at the vsetvli, but have exactly one value that can be
   extended safely: see #97264


  Commit: 14ba847d273a0defe0f4617bcfe9e1b2163e2bbc
      https://github.com/llvm/llvm-project/commit/14ba847d273a0defe0f4617bcfe9e1b2163e2bbc
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py

  Log Message:
  -----------
  [lldb] Bump timeouts in TestCallWithTimeout

this test is occasionally (~3%) failing on an emulator target. The value
used by the test (one second) is quite aggressive given that we set the timeout
for a single gdb packet to 60 seconds.

Bumping it to five to resolve flakyness.


  Commit: 0a95f2f7fe3a01fb94720dbb43679ef197b65f6a
      https://github.com/llvm/llvm-project/commit/0a95f2f7fe3a01fb94720dbb43679ef197b65f6a
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libcxx/include/__chrono/zoned_time.h
    M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/assign.local_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/assign.sys_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/get_info.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/get_local_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/operator_local_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/operator_sys_time.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Finishes zoned_time member functions. (#95026)

Note the implementation of
  zoned_time& operator=(const local_time<Duration>& lt);
is not correct; however the wording cannot be easily implemented. It
could be if the object caches the local_time assigned. However this does
not seem to intended. The current implementation matches MSVC STL and
libstdc++.

Implements parts of:
- P0355 Extending to chrono Calendars and Time Zones


  Commit: d5e4e702aa6ba7553ea9f28e4c62ec976876c989
      https://github.com/llvm/llvm-project/commit/d5e4e702aa6ba7553ea9f28e4c62ec976876c989
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/CMakeLists.txt
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOpBase.td
    M mlir/test/lit.cfg.py
    M mlir/test/lit.site.cfg.py.in
    A mlir/test/mlir-tblgen/openmp-ops-verify.td
    M mlir/test/mlir-tblgen/openmp-ops.td
    M mlir/tools/mlir-tblgen/CMakeLists.txt
    A mlir/tools/mlir-tblgen/OmpOpGen.cpp

  Log Message:
  -----------
  [MLIR][OpenMP] Add TableGen pseudo-generator for OpenMP-specific verification (#95552)

The introduction of the clause-based approach to defining OpenMP
operations can make it more difficult to detect and address certain
programming errors derived from this change. Specifically, it's possible
for an operation to inadvertently override otherwise
automatically-populated properties and result in unexpected and
difficult to debug errors or incomplete operation definitions.

This patch introduces a TableGen backend that doesn't produce any
output, but rather only checks for these potential oversights in the
definition of OpenMP dialect operations and flags them as warnings or
errors. This provides descriptive and early feedback before any code is
attempted to be generated for these problematic definitions.


  Commit: 397daea909a63f5265c3654acf84b6818c486c75
      https://github.com/llvm/llvm-project/commit/397daea909a63f5265c3654acf84b6818c486c75
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [bazel] Port for 5c09dda


  Commit: e46468407a7bb7f8b2fe13675a5a1c32b85f8cad
      https://github.com/llvm/llvm-project/commit/e46468407a7bb7f8b2fe13675a5a1c32b85f8cad
  Author: Sirraide <aeternalmail at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Basic/LangStandard.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/Basic/LangOptions.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Lex/DependencyDirectivesScanner.cpp
    M clang/lib/Lex/Lexer.cpp
    A clang/test/Driver/fraw-string-literals-cxx.cpp
    A clang/test/Lexer/raw-string-ext.c
    M clang/unittests/Lex/DependencyDirectivesScannerTest.cpp

  Log Message:
  -----------
  [Clang] Allow raw string literals in C as an extension (#88265)

This enables raw R"" string literals in C in some language modes
and adds an option to disable or enable them explicitly as an
extension.

Background: GCC supports raw string literals in C in `-gnuXY` modes
starting with gnu99. This pr both enables raw string literals in gnu99 
mode and later in C and adds an `-f[no-]raw-string-literals` flag to override 
this behaviour. The decision not to enable raw string literals in gnu89
mode, according to the GCC devs, is intentional as that mode is supposed
to be used for ‘old code’ that they don’t want to break; we’ve decided to
match GCC’s behaviour here as well.

The `-fraw-string-literals`  flag can additionally be used to enable raw string 
literals in modes where they aren’t enabled by default (such as c99—as 
opposed to gnu99—or even e.g. C++03); conversely, the negated flag can 
be used to disable them in any gnuXY modes that *do* provide them by 
default, or to override a previous flag. However, we do *not*  support 
disabling raw string literals (or indeed either of these two options) in 
C++11 mode and later, because we don’t want to just start supporting 
disabling features that are actually part of the language in the general case.

This fixes #85703.


  Commit: 4dcd9d2d80e12a22fdbbce3e3868275c2cbe3956
      https://github.com/llvm/llvm-project/commit/4dcd9d2d80e12a22fdbbce3e3868275c2cbe3956
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/IR/Function.cpp
    A llvm/test/Instrumentation/AddressSanitizer/module-flags-aarch64.ll
    A llvm/test/Instrumentation/MemorySanitizer/AArch64/module-flags-aarch64.ll

  Log Message:
  -----------
  [llvm][ARM][AArch64] Add attributes to synthetic functions. (#83153)

Module flags represent the original intention.

Depends on #82819

Reland as it was but reland needed as dependent patch relanded.


  Commit: 17316a59895daabfa23e7534f686c08a0949fe09
      https://github.com/llvm/llvm-project/commit/17316a59895daabfa23e7534f686c08a0949fe09
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
    M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll

  Log Message:
  -----------
  Revert "[LowerMemIntrinsics] Use correct alignment in residual loop for variable llvm.memcpy" (#98295)

Reverts llvm/llvm-project#97998
This seems to cause a buildbot failure on clang-hip-vega20, in the HIP
test-suite, need to investigate.


  Commit: a7b65836c423c56f56e0c240afd33dabd2aaeaf1
      https://github.com/llvm/llvm-project/commit/a7b65836c423c56f56e0c240afd33dabd2aaeaf1
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  Fix MSVC "not all control paths return a value" warning. NFC.


  Commit: 08ce14732d528ab70309f334446d39782f2f07c0
      https://github.com/llvm/llvm-project/commit/08ce14732d528ab70309f334446d39782f2f07c0
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lldb/tools/lldb-test/lldb-test.cpp

  Log Message:
  -----------
  [lldb][test] Fix lldb-test compile error

https://github.com/llvm/llvm-project/pull/82819 made the lookup here
ambiguous.


  Commit: 3742c2a83cd644c47db969b6dd421665695f94da
      https://github.com/llvm/llvm-project/commit/3742c2a83cd644c47db969b6dd421665695f94da
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/const-reduced-vals-resized.ll

  Log Message:
  -----------
  [SLP]Use stored signedness after minbitwidth analysis.

Need to used stored signedness info for the root node instead of
recalculating it after the vectorization, which may lead to a compiler
crash.


  Commit: 85d6e3cac7150f32cdbe69194ee86747684b3cfa
      https://github.com/llvm/llvm-project/commit/85d6e3cac7150f32cdbe69194ee86747684b3cfa
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td

  Log Message:
  -----------
  [MLIR][OpenMP][NFC] Document omp.section(s) block arguments (#98175)

Following discussion here:
https://github.com/llvm/llvm-project/pull/97858#discussion_r1670173102


  Commit: 3e06392c7db0eacfca94a176d430d9988b3ffbd6
      https://github.com/llvm/llvm-project/commit/3e06392c7db0eacfca94a176d430d9988b3ffbd6
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lldb/test/API/python_api/thread/TestThreadAPI.py

  Log Message:
  -----------
  [lldb][test] Fix instruction test step on Windows

On Windows the function name is the full prototype including
the calling convention, all we care about is that the last part
is correct.

This also reverts the xfail added by 07b3e2c0c68b93a3d4d89426dc7fd14cc31ca6be.


  Commit: abde52aa667118d18e9551ab87a15b95c267b3b6
      https://github.com/llvm/llvm-project/commit/abde52aa667118d18e9551ab87a15b95c267b3b6
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/LiveIntervals.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/InlineSpiller.cpp
    M llvm/lib/CodeGen/LiveDebugVariables.cpp
    M llvm/lib/CodeGen/LiveIntervals.cpp
    M llvm/lib/CodeGen/LiveRegMatrix.cpp
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/lib/CodeGen/ModuloSchedule.cpp
    M llvm/lib/CodeGen/PHIElimination.cpp
    M llvm/lib/CodeGen/RegAllocBasic.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/lib/CodeGen/RegAllocPBQP.cpp
    M llvm/lib/CodeGen/RegisterCoalescer.cpp
    M llvm/lib/CodeGen/RenameIndependentSubregs.cpp
    M llvm/lib/CodeGen/StackSlotColoring.cpp
    M llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
    M llvm/lib/CodeGen/VirtRegMap.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Target/AArch64/AArch64PostCoalescerPass.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUMarkLastScratchLoad.cpp
    M llvm/lib/Target/AMDGPU/GCNNSAReassign.cpp
    M llvm/lib/Target/AMDGPU/GCNPreRAOptimizations.cpp
    M llvm/lib/Target/AMDGPU/GCNRegPressure.cpp
    M llvm/lib/Target/AMDGPU/GCNRegPressure.h
    M llvm/lib/Target/AMDGPU/GCNRewritePartialRegUses.cpp
    M llvm/lib/Target/AMDGPU/SIFormMemoryClauses.cpp
    M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
    M llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
    M llvm/lib/Target/AMDGPU/SILowerWWMCopies.cpp
    M llvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
    M llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
    M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
    M llvm/lib/Target/Hexagon/HexagonCopyHoisting.cpp
    M llvm/lib/Target/Hexagon/HexagonExpandCondsets.cpp
    M llvm/lib/Target/LoongArch/LoongArchDeadRegisterDefinitions.cpp
    M llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
    M llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
    M llvm/lib/Target/RISCV/RISCVDeadRegisterDefinitions.cpp
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRegColoring.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
    M llvm/lib/Target/X86/X86TileConfig.cpp
    M llvm/test/CodeGen/AArch64/live-interval-analysis.mir
    M llvm/test/CodeGen/AMDGPU/liveness.mir
    M llvm/test/CodeGen/AMDGPU/phys-partial-liveness.mir
    M llvm/test/CodeGen/AMDGPU/return-with-successors.mir
    M llvm/test/CodeGen/AMDGPU/subreg-intervals.mir
    M llvm/test/CodeGen/X86/invalid-liveness.mir
    M llvm/unittests/MI/LiveIntervalTest.cpp

  Log Message:
  -----------
  [CodeGen][NewPM] Port `LiveIntervals` to new pass manager (#98118)

- Add `LiveIntervalsAnalysis`.
- Add `LiveIntervalsPrinterPass`.
- Use `LiveIntervalsWrapperPass` in legacy pass manager.
- Use `std::unique_ptr` instead of raw pointer for `LICalc`, so
destructor and default move constructor can handle it correctly.

This would be the last analysis required by `PHIElimination`.


  Commit: e77b295ada25e061c29db049d2a7a7bdb281c41b
      https://github.com/llvm/llvm-project/commit/e77b295ada25e061c29db049d2a7a7bdb281c41b
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/include/__chrono/zoned_time.h
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/deduction.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Adds zoned_time deduction guides. (#95139)

Completes
- LWG3232 Inconsistency in zoned_time  deduction guides
- LWG3294 zoned_time  deduction guides misinterprets stringchar*

Implements parts of:
- P0355 Extending to chrono Calendars and Time Zones


  Commit: 748a6ad68ba31d242e3f86eddd5b0fd7b2a02ff9
      https://github.com/llvm/llvm-project/commit/748a6ad68ba31d242e3f86eddd5b0fd7b2a02ff9
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Remove extra insertVSETVLI method. NFC

There's only one user of it, and to remove it we just need to pass
along the DebugLoc.


  Commit: 27d4877ca4c20277fde47708fcd9cbb7571cc17c
      https://github.com/llvm/llvm-project/commit/27d4877ca4c20277fde47708fcd9cbb7571cc17c
  Author: Sudharsan Veeravalli <quic_svs at quicinc.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    A llvm/test/Transforms/IndVarSimplify/preserving-debugloc-sat-overflow.ll

  Log Message:
  -----------
  [DebugInfo][SimplifyIndVar] Missing debug location updates for overflow/saturation instructions (#97987)

Fixes #97986


  Commit: 7333c099aee756e69c2172c52815d1c811691af5
      https://github.com/llvm/llvm-project/commit/7333c099aee756e69c2172c52815d1c811691af5
  Author: Christian Sigg <chsigg at users.noreply.github.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M mlir/test/mlir-tblgen/openmp-ops-verify.td
    M mlir/test/mlir-tblgen/openmp-ops.td

  Log Message:
  -----------
  [bazel][mlir][OpenMP] Roll back path improvements from d5e4e70 (#98304)

The bazel setup is not ready to handle `%llvm/mlir_src_root`.
Roll back these improvements for now.
I will look into fixing the bazel setup and roll forward.


  Commit: 87c51e2af006b96d928d55b077c8bb510c4b6e33
      https://github.com/llvm/llvm-project/commit/87c51e2af006b96d928d55b077c8bb510c4b6e33
  Author: T-Gruber <100079402+T-Gruber at users.noreply.github.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/unittests/StaticAnalyzer/CMakeLists.txt
    A clang/unittests/StaticAnalyzer/ExprEngineVisitTest.cpp

  Log Message:
  -----------
  Run PreStmt/PostStmt checker for GCCAsmStmt (#95409)

Fixes #94940

Run PreStmt and PostStmt checker for GCCAsmStmt.
Unittest to validate that corresponding callback functions are triggered.


  Commit: 1afd4b7d1e6b4931941b1cdb666718c3dcb06e53
      https://github.com/llvm/llvm-project/commit/1afd4b7d1e6b4931941b1cdb666718c3dcb06e53
  Author: David Truby <david.truby at arm.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M flang/docs/Intrinsics.md
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Lower/Intrinsics/get_environment_variable.f90

  Log Message:
  -----------
  [flang] Allow getenv as alternate spelling for get_environment_variable (#95777)

This patch adds getenv as an alternate spelling for
get_environment_variable.
This spelling is allowed by multiple other compilers and is used in
OpenRadioss.


  Commit: af47a4ec503fe3efc6ade8cad4882881a202ed41
      https://github.com/llvm/llvm-project/commit/af47a4ec503fe3efc6ade8cad4882881a202ed41
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    M llvm/test/CodeGen/RISCV/rvv/dont-sink-splat-operands.ll
    M llvm/test/CodeGen/RISCV/rvv/pr95865.ll
    M llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
    M llvm/test/Transforms/LoopStrengthReduce/RISCV/icmp-zero.ll
    M llvm/test/Transforms/LoopStrengthReduce/RISCV/lsr-cost-compare.ll
    M llvm/test/Transforms/LoopStrengthReduce/RISCV/lsr-drop-solution-dbg-msg.ll
    M llvm/test/Transforms/LoopStrengthReduce/RISCV/many-geps.ll

  Log Message:
  -----------
  [RISCV] Enable TTI::shouldDropLSRSolutionIfLessProfitable by default (#89927)

This avoids some cases where LSR produces results that lead to very poor
codegen. There's a chance we'll see minor degradations for some inputs
in the case that our metrics say the found solution is worse, but in
reality it's better than the starting point.

Per the review thread, at least one vendor has been enabling this by
defualt for some time and found overall it's an improvement. As such,
we'll enable by default and aim to fix any as-yet-unknown regressions
in-tree.


  Commit: e6c75d003150093a1b8ba22a69c56a1f47c5b9b1
      https://github.com/llvm/llvm-project/commit/e6c75d003150093a1b8ba22a69c56a1f47c5b9b1
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [gn build] Port 87c51e2af006


  Commit: 3ef2805dcfb277faeea33e5bc62dc84a0a5f72b4
      https://github.com/llvm/llvm-project/commit/3ef2805dcfb277faeea33e5bc62dc84a0a5f72b4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [PhaseOrdering][X86] Fix cut+paste typo in blendv test


  Commit: 78dcd0270eb2814c1750e24001ec8a33a59d6d65
      https://github.com/llvm/llvm-project/commit/78dcd0270eb2814c1750e24001ec8a33a59d6d65
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/GCNSubtarget.h

  Log Message:
  -----------
  AMDGPU: Add a subtarget feature for fine-grained remote memory support (#96442)

Atomic access to fine-grained remote memory does not work on all
subtargets. Add a feature for targets where this is expected to work.


  Commit: 409815d1083776dc049484f830365b52f15621c3
      https://github.com/llvm/llvm-project/commit/409815d1083776dc049484f830365b52f15621c3
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/GCNSubtarget.h

  Log Message:
  -----------
  AMDGPU: Add subtarget feature for global atomic fadd denormal support (#96443)

Not sure what the behavior for gfx90a is. The SPG says it always flushes.
The instruction documentation says it does not.


  Commit: 2ef4f863f32c3c95433de5d459657273374f51cc
      https://github.com/llvm/llvm-project/commit/2ef4f863f32c3c95433de5d459657273374f51cc
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/GCNSubtarget.h
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp

  Log Message:
  -----------
  AMDGPU: Add subtarget feature for memory atomic fadd f64 (#96444)


  Commit: 9b95d08ef68e9a1999c201a559e5c18f54ea6bbe
      https://github.com/llvm/llvm-project/commit/9b95d08ef68e9a1999c201a559e5c18f54ea6bbe
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64.h
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/lib/Target/Mips/Mips.h
    M llvm/lib/Target/Mips/MipsInstructionSelector.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    M llvm/lib/Target/RISCV/RISCV.h
    M llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
    M llvm/lib/Target/X86/X86.h

  Log Message:
  -----------
  [GISel] Make create.*InstructionSelector arguments const (#98243)

The InstructionSelector objects all take these arguments in as `const`.
This function does not modify the object. Therefore we can mark them as
`const` here.


  Commit: 4f0ebe01a415f293e36f8135c7bb84c0592c8be2
      https://github.com/llvm/llvm-project/commit/4f0ebe01a415f293e36f8135c7bb84c0592c8be2
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/PreISelIntrinsicLowering/X86/memset-inline-non-constant-len.ll

  Log Message:
  -----------
  [PreISelIntrinsicLowering][test] Test that the expanded memset.inline doesn't drop volatile flag

As suggested in the discussion for #98281.


  Commit: 62b3e68d33035f14e83320b7921c80b36dcbea8c
      https://github.com/llvm/llvm-project/commit/62b3e68d33035f14e83320b7921c80b36dcbea8c
  Author: DianQK <dianqk at dianqk.net>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/MemCpyOpt/memcpy.ll

  Log Message:
  -----------
  [MemCpyOpt] Fixes `test6_memcpy` test (NFC)

We should forward `src` to `dest`.


  Commit: b841e2eca3b5c8b408214a46593f6a025e0fe48b
      https://github.com/llvm/llvm-project/commit/b841e2eca3b5c8b408214a46593f6a025e0fe48b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
    M llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/x86-loopvectorize-costmodel.ll.expected

  Log Message:
  -----------
  Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)"

This reverts commit 6f538f6a2d3224efda985e9eb09012fa4275ea92.

A number of crashes have been fixed by separate fixes, including
ttps://github.com/llvm/llvm-project/pull/96622. This version of the
PR also pre-computes the costs for branches (except the latch) instead
of computing their costs as part of costing of replicate regions, as
there may not be a direct correspondence between original branches and
number of replicate regions.

Original message:
This adds a new interface to compute the cost of recipes, VPBasicBlocks,
VPRegionBlocks and VPlan, initially falling back to the legacy cost model
for all recipes. Follow-up patches will gradually migrate recipes to
compute their own costs step-by-step.

It also adds getBestPlan function to LVP which computes the cost of all
VPlans and picks the most profitable one together with the most
profitable VF.

The VPlan selected by the VPlan cost model is executed and there is an
assert to catch cases where the VPlan cost model and the legacy cost
model disagree. Even though I checked a number of different build
configurations on AArch64 and X86, there may be some differences
that have been missed.

Additional discussions and context can be found in @arcbbb's
https://github.com/llvm/llvm-project/pull/67647 and
https://github.com/llvm/llvm-project/pull/67934 which is an earlier
version of the current PR.

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


  Commit: d521324e9fa89f2db8229fb1327c7d45df0ff3cc
      https://github.com/llvm/llvm-project/commit/d521324e9fa89f2db8229fb1327c7d45df0ff3cc
  Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
    M mlir/lib/Target/Cpp/TranslateToCpp.cpp
    M mlir/test/Dialect/EmitC/invalid_ops.mlir
    M mlir/test/Dialect/EmitC/ops.mlir
    M mlir/test/Target/Cpp/global.mlir

  Log Message:
  -----------
  [mlir][EmitC] Unify handling of operations which are emitted in a deferred way (#97804)

Several operations from the EmitC dialect don't produce output directly
during emission, but rather when being used as an operand. These changes
unify the handling of such operations and fix a bug in the emission of
global ops.

Co-authored-by: Marius Brehler <marius.brehler at iml.fraunhofer.de>


  Commit: 8b511e14770781bd31b0c03bad790bdd82793dac
      https://github.com/llvm/llvm-project/commit/8b511e14770781bd31b0c03bad790bdd82793dac
  Author: R <rqou00 at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
    M llvm/test/MC/RISCV/rv32fc-aliases-valid.s
    M llvm/test/MC/RISCV/rv64c-aliases-valid.s
    M llvm/test/MC/RISCV/rvc-aliases-valid.s
    M llvm/test/MC/RISCV/rvdc-aliases-valid.s

  Log Message:
  -----------
  [RISCV] Fix 0-offset aliases for compressed sp-based opcodes (#98034)

The "26.3.1. Stack-Pointer-Based Loads and Stores" compressed opcodes
have access to all registers (except x0). Fix the opcode aliases with 0
offset so that the aliases also work for all registers, not only the RVC
registers.

Previously, LLVM would accept e.g. `c.lwsp x8, (sp)` but not e.g.
`c.lwsp x18, (sp)`, even though e.g. `c.lwsp x18, 0(sp)` would be
accepted.

This was noticed while implementing
https://github.com/llvm/llvm-project/pull/97925 . The implementation in
that other PR is indeed correct (i.e `qk.c.lhusp` et al are restricted
to the RVC registers).


  Commit: 51fac7747f8fb5bfa5e32f5d05e9d807c544a650
      https://github.com/llvm/llvm-project/commit/51fac7747f8fb5bfa5e32f5d05e9d807c544a650
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
    M flang/test/Integration/debug-assumed-shape-array.f90
    M flang/test/Transforms/debug-assumed-shape-array.fir
    M flang/test/Transforms/debug-ptr-type.fir

  Log Message:
  -----------
  [flang][debug] Don't confuse count with upperBound. (#98174)

The code that handled allocatable array had swapped `count` with
`upperBound`. This did not get caught earlier as all the example were
using 1 as `lowerBound`.

Fixes #98166.

With the fix in place, the GDB now correctly handles the case pointed in
the bug ticket.
(gdb) p min::alloc2d
$2 = ((0, 0, 0) (0, 0, 0) (0, 0, 0) (0, 0, 0) (0, 0, 0))
(gdb) ptype min::alloc2d
type = integer, allocatable (-1:1,-2:2)


  Commit: 62d949766b877dc379f2bf883128b7136bae3a52
      https://github.com/llvm/llvm-project/commit/62d949766b877dc379f2bf883128b7136bae3a52
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/docs/ReleaseNotes.rst

  Log Message:
  -----------
  AMDGPU: Add description for new atomicrmw metadata (#85052)

Add a spec for yet-to-be-implemented metadata to allow the backend to
fully handle atomicrmw lowering. This is the base of an alternative
to #69229, which inverts the direction to be correct by default, and
extends to cover the peer device case.


  Commit: 4c0320728e1b0cd590c00e06130a2af7160715b6
      https://github.com/llvm/llvm-project/commit/4c0320728e1b0cd590c00e06130a2af7160715b6
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp

  Log Message:
  -----------
  [DWARF] Hide state in an anonymous namespace. NFC.


  Commit: 0e7590a25cd2e49c5849cc7d2facd5810f8900ce
      https://github.com/llvm/llvm-project/commit/0e7590a25cd2e49c5849cc7d2facd5810f8900ce
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Headers/float.h
    M clang/test/Headers/float.c
    M clang/test/Preprocessor/init-aarch64.c
    M clang/test/Preprocessor/init.c

  Log Message:
  -----------
  [C23] Add *_NORM_MAX macros to <float.h> (#96643)

This adds the *_NORM_MAX macros to <float.h> for freestanding mode in
Clang; the values were chosen based on the behavior seen coming from GCC
and the values already produced for the *_MAX macros by Clang.


  Commit: d1006315b5076e89c3a698e47761370d61b071e3
      https://github.com/llvm/llvm-project/commit/d1006315b5076e89c3a698e47761370d61b071e3
  Author: Allen <zhongyunde at huawei.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sdivpow2.ll

  Log Message:
  -----------
  [AArch64] Lower for power of 2 signed divides with scalar type (#97879)

Expected same assemble for code which doesn't use sve registers when we
compile it with/without -msve-vector-bits=256.

Fix https://github.com/llvm/llvm-project/issues/97821


  Commit: ad016352ec61af1df87e5e46fcfcbd1bef9ba4dd
      https://github.com/llvm/llvm-project/commit/ad016352ec61af1df87e5e46fcfcbd1bef9ba4dd
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp

  Log Message:
  -----------
  [libc++] Fix sized deallocation comments in tests (#98173)

Clang 19 turned on sized deallocation *by default*, but older versions
of Clang did support sized deallocation nonetheless. This updates a few
comments and removes UNSUPPORTED annotations that shouldn't be needed in
a test that passes -fsized-deallocation directly.


  Commit: 2b1b4e3025bedb43906b3d04151ce5cfc4af17e3
      https://github.com/llvm/llvm-project/commit/2b1b4e3025bedb43906b3d04151ce5cfc4af17e3
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libcxx/docs/Status/SpaceshipProjects.csv
    M libcxx/include/__chrono/zoned_time.h
    M libcxx/include/chrono
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.nonmembers/eq.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Implements zoned_time's operator==. (#95140)

Implements parts of:
- P0355 Extending to chrono Calendars and Time Zones
- P1614R2 The Mothership has Landed


  Commit: 82ee7ae3c9273dabd9095fd3e84657fd28322d33
      https://github.com/llvm/llvm-project/commit/82ee7ae3c9273dabd9095fd3e84657fd28322d33
  Author: Egor Zhdan <e_zhdan at apple.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/include/clang/APINotes/APINotesReader.h
    M clang/include/clang/APINotes/APINotesWriter.h
    M clang/include/clang/APINotes/Types.h
    M clang/lib/APINotes/APINotesFormat.h
    M clang/lib/APINotes/APINotesReader.cpp
    M clang/lib/APINotes/APINotesTypes.cpp
    M clang/lib/APINotes/APINotesWriter.cpp
    M clang/lib/APINotes/APINotesYAMLCompiler.cpp
    M clang/lib/Sema/SemaAPINotes.cpp

  Log Message:
  -----------
  [APINotes] Refactor: remove references to `ObjCContext...`

API Notes now support in C++. In preparation for supporting C++ methods
in API Notes, this change renames the remaining usages of
`ObjCContextABC` into `ContextABC` to make it clear that those contexts
might actually be C++, not Objective-C.

This is NFC-ish.


  Commit: f8dbe1d09d4fff30a1fd4f03261b74c44ef64888
      https://github.com/llvm/llvm-project/commit/f8dbe1d09d4fff30a1fd4f03261b74c44ef64888
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    M llvm/test/CodeGen/RISCV/rvv/dont-sink-splat-operands.ll
    M llvm/test/CodeGen/RISCV/rvv/pr95865.ll
    M llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
    M llvm/test/Transforms/LoopStrengthReduce/RISCV/icmp-zero.ll
    M llvm/test/Transforms/LoopStrengthReduce/RISCV/lsr-cost-compare.ll
    M llvm/test/Transforms/LoopStrengthReduce/RISCV/lsr-drop-solution-dbg-msg.ll
    M llvm/test/Transforms/LoopStrengthReduce/RISCV/many-geps.ll

  Log Message:
  -----------
  Revert "[RISCV] Enable TTI::shouldDropLSRSolutionIfLessProfitable by default" (#98328)

Reverts llvm/llvm-project#89927 while we investigate performance
regressions reported by @dtcxzyw


  Commit: b5657d6dc7066156e33bc83e297e534d41731560
      https://github.com/llvm/llvm-project/commit/b5657d6dc7066156e33bc83e297e534d41731560
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVProcessors.td
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-shuffles.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-vrgather.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-vrgather.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-buildvec.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-scatter.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-load-store-asm.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwadd.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwaddu.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwmulsu.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwsub.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwsubu.ll
    M llvm/test/CodeGen/RISCV/rvv/vfma-vp-combine.ll
    M llvm/test/CodeGen/RISCV/rvv/vreductions-fp-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
    M llvm/test/CodeGen/RISCV/rvv/vsplats-fp.ll

  Log Message:
  -----------
  [RISCV] Reverse default assumption about performance of vlseN.v vd, (rs1), x0 (#98205)

Some cores implement an optimization for a strided load with an x0
stride, which results in fewer memory operations being performed then
implied by VL since all address are the same. It seems to be the case
that this is the case only for a minority of available implementations.
We know that sifive-x280 does, but sifive-p670 and spacemit-x60 both do
not.

(To be more precise, measurements on the x60 appear to indicate that a
 stride of x0 has similar latency to a non-zero stride, and that both
 are about twice a vleN.v.  I'm taking this to mean the x0
 case is not optimized.)

We had an existing flag by which a processor could opt out of this
assumption but no upstream users. Instead of adding this flag to the
p670 and x60, this patch reverses the default and adds the opt-in flag
only to the x280.


  Commit: 884a07fee0ba36649561003e36d197323380f3d2
      https://github.com/llvm/llvm-project/commit/884a07fee0ba36649561003e36d197323380f3d2
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/docs/RISCVUsage.rst

  Log Message:
  -----------
  [RISCV][doc] Document profiles in RISCVUsage (#98326)

Just like we do for extensions, list those which are supported and those
that can be enabled with additional flags.


  Commit: a4a8d36b8591801696aad30fa116669c7bb2348c
      https://github.com/llvm/llvm-project/commit/a4a8d36b8591801696aad30fa116669c7bb2348c
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/lib/InstallAPI/DylibVerifier.cpp
    A clang/test/InstallAPI/reexport-with-linker-symbols.test

  Log Message:
  -----------
  [InstallAPI] Don't look for linker directive symbols in reexports (#98171)

`$ld$previous` symbols need to be exported for them to be seen by
clients. TAPI cannot omit them in tbd files, so account for this in
installapi verification when handling reexport verification.

Reviewed internally by Zixu Wang
resolves: rdar://131317591


  Commit: 6556ba66b278c97b8461a24088e7924bdea52e02
      https://github.com/llvm/llvm-project/commit/6556ba66b278c97b8461a24088e7924bdea52e02
  Author: Jinsong Ji <jinsong.ji at intel.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M offload/test/mapping/prelock.cpp
    M offload/test/offloading/memory_manager.cpp

  Log Message:
  -----------
  [Offload][test]Fix typo of requires (#98327)

Typos in 8823448807f3b1a1362d1417e062d763734e02f5.


  Commit: 4753f8e8f678411c72759e682a03d1a0218c0b88
      https://github.com/llvm/llvm-project/commit/4753f8e8f678411c72759e682a03d1a0218c0b88
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [analyzer][docs] Add clang-19 release notes for CSA (#97418)

The day is coming for creating the release branch for clang-19,
[scheduled](https://discourse.llvm.org/t/llvm-19-release-schedule-and-planning/79828)
for the 23rd of July.
Let's start syncing the ReleaseNotes, and be proud of what we achieved
since clang-18.

After this is merged, let's try to keep the ReleaseNotes in sync with
the changes.


  Commit: 0162df03cd51e5207310424f2a83b7670c3c2ade
      https://github.com/llvm/llvm-project/commit/0162df03cd51e5207310424f2a83b7670c3c2ade
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [Clang] Fix null pointer dereference in VisitUsingEnumDecl (#97910)

This patch addresses static analyzer concern where TSI could be
dereferenced after being assigned a null value from SubstType in
clang::TemplateDeclInstantiator::VisitUsingEnumDecl(clang::UsingEnumDecl
*).

The fix now checks null value of TSI after the call to SubstType and
return nullptr to prevent potential null pointer dereferences when
calling UsingEnumDecl::Create() and ensures safe execution.


  Commit: e03f66516dd75750d6792e2a93e0bb705b591a7a
      https://github.com/llvm/llvm-project/commit/e03f66516dd75750d6792e2a93e0bb705b591a7a
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h
    M clang/lib/CodeGen/Targets/ARM.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp

  Log Message:
  -----------
  [Clang][ARM] Call constructor on BranchTargetInfo. (#98307)

Otherwise members will be uninitialised.


  Commit: 8210087beebe173e1ace7a0311adf942294c62c9
      https://github.com/llvm/llvm-project/commit/8210087beebe173e1ace7a0311adf942294c62c9
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py

  Log Message:
  -----------
  [lldb][test] Disable flakey TestMultipleDebuggers on Linux

This has been flakey lately on Linux on the buildbots and in CI
on PRs.

For example:
https://lab.llvm.org/buildbot/#/builders/59/builds/1324
https://github.com/llvm/llvm-project/pull/98237

I will try to track down the cause tomorrow.


  Commit: 588a6d7de612bd19dc262563978711233b74e783
      https://github.com/llvm/llvm-project/commit/588a6d7de612bd19dc262563978711233b74e783
  Author: Chris Copeland <chris at chrisnc.net>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaARM.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/Sema/arm-interrupt-attr.c

  Log Message:
  -----------
  [clang][ARM] Fix warning for using VFP from interrupts. (#91870)

[clang][ARM] Fix warning for using VFP from interrupts.

This warning has three issues:
- The interrupt attribute causes the function to return using an
exception
   return instruction. This warning allows calls from one function with
   the interrupt attribute to another, and the diagnostic text suggests
   that not having the attribute on the callee is a problem. Actually
   making such a call will lead to a double exception return, which is
   unpredictable according to the ARM architecture manual section
   B9.1.1, "Restrictions on exception return instructions". Even on
   machines where an exception return from user/system mode is
   tolerated, if the callee's interrupt type is anything other than a
   supervisor call or secure monitor call, it will also return to a
   different address than a normal function would. For example,
   returning from an "IRQ" handler will return to lr - 4, which will
   generally result in calling the same function again.
 - The interrupt attribute currently does not cause caller-saved VFP
   registers to be saved and restored if they are used, so putting
   __attribute__((interrupt)) on a called function doesn't prevent it
   from clobbering VFP state.
 - It is part of the -Wextra diagnostic group and can't be individually
   disabled when using -Wextra, which also means the diagnostic text of
   this specific warning appears in the documentation of -Wextra.

This change addresses all three issues by instead generating a warning
for any interrupt handler where the vfp feature is enabled. The warning
is
also given its own diagnostic group.

Closes #34876.

[clang][ARM] Emit an error when an interrupt handler is called.

Closes #95359.


  Commit: deeb936863f26e124cc870319148b0576266f11c
      https://github.com/llvm/llvm-project/commit/deeb936863f26e124cc870319148b0576266f11c
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [libc++][format] define __cpp_lib_format. (#98275)

In order to define the format __cpp_lib_format to its initial value
(201907) these papers need to be completed:
- P0645R10 Text Formatting
- P1652R1 Printf corner cases in std::format
- 1361R2 Integration of chrono with text formatting The first two have
been implemented for a while the latter is almost done.

The next value (202106) requires:
- P2216R3 std::format improvements which has been implemented

The next value (202110) requires:
- P2418R2 Add support for std::generator-like types to std::format
- P2372R3 Fixing locale handling in chrono formatters The first one has
been implemented for a while the latter is almost done. The latter paper
is a DR against 1361R2 and both are implemented at the same time.

We've had user feedback that the missing of the __cpp_lib_format makes
their lives harder (https://github.com/llvm/llvm-project/issues/77773).
The missing papers 1361R2 and P2372R3 are very close to completion and
might completed before LLVM-19, but it will be a close call. This has
been discussed in the monthly libc++ meeting and we decided to set the
__cpp_lib_format so it will be set in LLVM-19.

Based on the discussion and the implementation status the
__cpp_lib_format is set to 202110.

Fixes #77773


  Commit: 6002e2fd49537e942e819e5d1e6f07481fd1229e
      https://github.com/llvm/llvm-project/commit/6002e2fd49537e942e819e5d1e6f07481fd1229e
  Author: Daniel Krupp <daniel.krupp at ericsson.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/docs/analyzer/checkers.rst
    M clang/docs/analyzer/user-docs/TaintAnalysisConfiguration.rst
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp

  Log Message:
  -----------
  [analyzer] Split TaintPropagation checker into reporting and modeling checkers (#98157)

Taint propagation is a a generic modeling feature of the Clang Static
Analyzer which many other checkers depend on. Therefore
GenericTaintChecker is split into a TaintPropagation modeling checker
and a GenericTaint reporting checker.


  Commit: 0fa20c55b58deb94090985a5c5ffda4d5ceb3cd1
      https://github.com/llvm/llvm-project/commit/0fa20c55b58deb94090985a5c5ffda4d5ceb3cd1
  Author: Trass3r <trass3r at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/test/Driver/ftime-trace-sections.py
    M llvm/lib/IR/LegacyPassManager.cpp
    M llvm/lib/Passes/CMakeLists.txt
    M llvm/lib/Passes/StandardInstrumentations.cpp

  Log Message:
  -----------
  demangle function names in trace files (#87626)

This improves consistency in the trace files as other entries are
demangled too.
Submitted by jamieschmeiser on behalf of trass3r
@jamieschmeiser @An-DJ


  Commit: 77ec20c2fcfe1578bd62258cc5e185236d2abf81
      https://github.com/llvm/llvm-project/commit/77ec20c2fcfe1578bd62258cc5e185236d2abf81
  Author: Kefu Chai <kefu.chai at scylladb.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp

  Log Message:
  -----------
  [clang-tidy] let UseAfterMoveFinder::find() return an optional<UseAfterMove> (#98100)

before this change, we use an output parameter so
`UseAfterMoveFinder::find()` can return the found `UseAfterMove`, and
addition to it, `UseAfterMoveFinder::find()` return a bool, so we can
tell if a use-after-free is identified. this arrangement could be
confusing when one needs to understand when the each member variable of
the returned `UseAfterMove` instance is initialized.

in this change, we return an `std::optional<UseAfterMove>` instead of a
bool, so that it's more obvious on when/where the returned
`UseAfterMove` is initialized.

this change is a cleanup. so it does not change the behavior of this
check.

Signed-off-by: Kefu Chai <kefu.chai at scylladb.com>


  Commit: b9496a74eb4029629ca2e440c5441614e766f773
      https://github.com/llvm/llvm-project/commit/b9496a74eb4029629ca2e440c5441614e766f773
  Author: Kevin Frei <freik at meta.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lldb/include/lldb/Host/Config.h.cmake
    M lldb/packages/Python/lldbsuite/test/decorators.py
    M lldb/packages/Python/lldbsuite/test/make/Makefile.rules
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolLocator/CMakeLists.txt
    M lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
    A lldb/test/API/debuginfod/Normal/Makefile
    A lldb/test/API/debuginfod/Normal/TestDebuginfod.py
    A lldb/test/API/debuginfod/Normal/main.c
    A lldb/test/API/debuginfod/SplitDWARF/Makefile
    A lldb/test/API/debuginfod/SplitDWARF/TestDebuginfodDWP.py
    A lldb/test/API/debuginfod/SplitDWARF/main.c

  Log Message:
  -----------
  [lldb] DebugInfoD tests & fixes (but with dwp testing disabled) (#98344)

This is all the tests and fixes I've had percolating since my first
attempt at this in January. After 6 months of trying, I've given up on
adding the ability to test DWP files in LLDB API tests. I've left both
the tests (disabled) and the changes to Makefile.rules in place, in the
hopes that someone who can configure the build bots will be able to
enable the tests once a non-borked dwp tool is widely available.

Other than disabling the DWP tests, this continues to be the same diff
that I've tried to land and
[not](https://github.com/llvm/llvm-project/pull/90622)
[revert](https://github.com/llvm/llvm-project/pull/87676)
[five](https://github.com/llvm/llvm-project/pull/86812)
[times](https://github.com/llvm/llvm-project/pull/85693)
[before](https://github.com/llvm/llvm-project/pull/96802). There are a
couple of fixes that the testing exposed, and I've abandoned the DWP
tests because I want to get those fixes finally upstreamed, as without
them DebugInfoD is less useful.


  Commit: eae174c724de5d3174e3232f40b006a0e0641ed3
      https://github.com/llvm/llvm-project/commit/eae174c724de5d3174e3232f40b006a0e0641ed3
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libcxx/include/__chrono/zoned_time.h
    M libcxx/include/chrono
    M libcxx/modules/std/chrono.inc
    M libcxx/test/std/time/time.zone/time.zone.zonedtime/types.compile.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Implements zoned_seconds typedef. (#95141)

Implements parts of:
- P0355 Extending to chrono Calendars and Time Zones


  Commit: e3fe8eee3cf2de6acb3ee30f10ad57da2774631e
      https://github.com/llvm/llvm-project/commit/e3fe8eee3cf2de6acb3ee30f10ad57da2774631e
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [bazel] Port #87626 (#98348)


  Commit: 3c8b18bc512ad87b379b4b7c06d52ca2d13860b2
      https://github.com/llvm/llvm-project/commit/3c8b18bc512ad87b379b4b7c06d52ca2d13860b2
  Author: Daniel Bertalan <dani at danielbertalan.dev>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lld/MachO/SyntheticSections.cpp

  Log Message:
  -----------
  [lld-macho] Use larger ordinal encoding if import count requires it (#98305)

The default `dyld_chained_import` entry format only allocates 8 bits to
the library ordinal, of which values 0xF1 - 0xFF are reserved for
special ordinals (`BIND_SPECIAL_DYLIB_*` values). If there are more than
240 imported dylibs (as in the case of component builds of Chromium), we
need to switch to `dyld_chained_import_addend64`, which stores 16-bit
ordinals.


  Commit: 8c1bd67dee964f286ad78a76a7e87f0284b47ebb
      https://github.com/llvm/llvm-project/commit/8c1bd67dee964f286ad78a76a7e87f0284b47ebb
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryProfileInfo.h
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
    M llvm/test/Transforms/PGOProfile/memprof.ll
    M llvm/test/Verifier/memprof-metadata-bad.ll

  Log Message:
  -----------
  [MemProf] Optionally print or record the profiled sizes of allocations (#98248)

This is the first step in being able to track the total profiled sizes
of allocations successfully marked as cold.

Under a new option -memprof-report-hinted-sizes:
- For unambiguous (non-context-sensitive) allocations, print the
  profiled size and the allocation coldness, along with a hash of the
  allocation's location (to allow for deduplication across modules or
  inline instances).
- For context sensitive allocations, add the size as a 3rd operand on
  the MIB metadata. A follow on patch will propagate this through to the
  thin link where the sizes will be reported for each context after
  cloning.


  Commit: 4f8b2fff6df74df4a2736630148e7c29a566bb06
      https://github.com/llvm/llvm-project/commit/4f8b2fff6df74df4a2736630148e7c29a566bb06
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [DAG] Use break instead of continue to leave do while (false) loop (NFC) (#97966)


  Commit: 953c669b6e0948292455cd65c7e2d6748255039f
      https://github.com/llvm/llvm-project/commit/953c669b6e0948292455cd65c7e2d6748255039f
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [bazel] Port #98344 (#98349)


  Commit: 8d800e6c9014e55ff729f0237efeba246750b12c
      https://github.com/llvm/llvm-project/commit/8d800e6c9014e55ff729f0237efeba246750b12c
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/CGSCCPassManager.h
    M llvm/lib/Analysis/CGSCCPassManager.cpp
    M llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
    M llvm/unittests/Analysis/CGSCCPassManagerTest.cpp

  Log Message:
  -----------
  [CGSCC] Remove CGSCCUpdateResult::InvalidatedRefSCCs (#98213)

The RefSCC that a function marked dead is in may still contain valid
SCCs that we want to visit. We rely on InvalidatedSCCs to skip SCCs
containing dead functions.

The addition of RefSCCs in CallGraphUpdater to InvalidatedRefSCCs was
causing asserts as reported in #94815. Fix some more CallGraphUpdater
function deletion methods as well.


  Commit: dcf70e16684420ae211dad58dbfacc0430409ab4
      https://github.com/llvm/llvm-project/commit/dcf70e16684420ae211dad58dbfacc0430409ab4
  Author: Evgenii Stepanov <eugeni.stepanov at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/sanitizer-ld.c

  Log Message:
  -----------
  Add -static-libasan alias for -static-libsan. (#98194)

This helps compatibility with gcc, which has (static|shared)-libasan,
but not *-libsan.

Clang currently has
  -shared-libasan
  -shared-libsan
  -static-libsan

This change improves consistency by adding
  -static-libasan


  Commit: 0df714364a731822590b3da54f33ed0d6ddee873
      https://github.com/llvm/llvm-project/commit/0df714364a731822590b3da54f33ed0d6ddee873
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMSubtarget.cpp
    M llvm/lib/Target/Mips/MipsSubtarget.cpp
    M llvm/lib/Target/PowerPC/PPCSubtarget.cpp

  Log Message:
  -----------
  [ARM][Mips][PowerPC] Remove unnecessary static_cast creating GISel InstructionSelector. NFC

Some targets only pass a TargetMachine & to their subtarget constructor
and require a static_cast to their target-specific TargetMachine subclass
to create *InstructionSelector.

These 3 targets already have the correct TargetMachine subclass
reference so no cast is needed.


  Commit: 88e9c56990c8f892b5f14b844d1934bb8fcf092a
      https://github.com/llvm/llvm-project/commit/88e9c56990c8f892b5f14b844d1934bb8fcf092a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [LV] Don't adjust name of recurrence phi in scalar loop (NFC).

Adjusting the name of the recurrence phi in the scalar loop is a bit
inconsistent, as we do not adjust any other names in the scalar loops
(including other phis).

Remove this adjustment in preparation for
https://github.com/llvm/llvm-project/pull/94760/ and as discussed there.


  Commit: a38d5e06326fffca5a67d1865046e6992171019a
      https://github.com/llvm/llvm-project/commit/a38d5e06326fffca5a67d1865046e6992171019a
  Author: Dmitry Borisenkov <dmitriy.borisenkov89 at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [SelectionDAG] Use LAST_INTEGER_VALUETYPE instead of i64 (#98299)

When looking for a largest legal integer type for a target
`TargetLowering::findOptimalMemOpLowering` assumes that `MVT::i64` is
the largets possible integer type. The patch removes this assumption and
uses `MVT::LAST_INTEGER_VALUETYPE` instead.


  Commit: 6299681665ae59181c9a082c0b94e6b529a21fbd
      https://github.com/llvm/llvm-project/commit/6299681665ae59181c9a082c0b94e6b529a21fbd
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [RISCV] Remove unnecessary cast to RISCVTargetMachine in getInstSizeInBytes. NFC

getMCAsmInfo is a method on the base class so we don't need a cast here.


  Commit: a972b2e9a4cf1864a57b76b226907f8f1dfe7bba
      https://github.com/llvm/llvm-project/commit/a972b2e9a4cf1864a57b76b226907f8f1dfe7bba
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [BOLT][DWARF][NFC] Cleanup RangesBase check (#97840)

Moves check for RangesBase under check for UnitDie. This makes the flow
clearer because we add RangesBase when it is a UnitDie.


  Commit: 196ee230fdc9ab90dacfeb846c794f5d0c9d1e0c
      https://github.com/llvm/llvm-project/commit/196ee230fdc9ab90dacfeb846c794f5d0c9d1e0c
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/lib/Basic/Targets/NVPTX.h
    R clang/test/CodeGen/builtins-nvptx-native-half-type-err.c
    A clang/test/CodeGen/builtins-nvptx-native-half-type-native.c

  Log Message:
  -----------
  [Clang] Correctly enable the f16 type for offloading (#98331)

Summary:
There's an extra argument that's required to *actually* enable f16
usage. For whatever reason there's a difference between fp16 and f16,
where fp16 is some weird version that converts between the two. Long
story short, without this the math builtins are blatantly broken.


  Commit: 2fa1220a37a3f55b76a29803d8333b3a3937d53a
      https://github.com/llvm/llvm-project/commit/2fa1220a37a3f55b76a29803d8333b3a3937d53a
  Author: Kevin Frei <freik at meta.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lldb/test/API/debuginfod/SplitDWARF/TestDebuginfodDWP.py

  Log Message:
  -----------
  Missed disabling the baseline test for DWP stuff (#98351)

This should disable the failing test on the ubuntu build bots
@JDevlieghere (I forgot to disable the 'baseline' test, as it tests the
debugger's basic handling of DWP files, but again, the API
infrastructure doesn't quite support DWP generation)

https://github.com/llvm/llvm-project/pull/98344#issuecomment-2221000566


  Commit: b3c450d4dc8f21f70a4fa35bdcbd4bfaf852ccd7
      https://github.com/llvm/llvm-project/commit/b3c450d4dc8f21f70a4fa35bdcbd4bfaf852ccd7
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/utils/git/code-format-helper.py

  Log Message:
  -----------
  [CI][format] Explicitly pass extensions to git-clang-format (take 2) (#98227)

This patch ensures that the CI script controls which file extensions are
considered instead of letting git-clang-format apply its own filtering
rules. In particular, this properly handles libc++ extension-less
headers which were passed to git-clang-format, but then dropped by 
the tool as having an unrecognized extension.

This is a second attempt to land 7620fe0d2d1e, which was reverted in
9572388 because it caused formatting not to be enforced for several patches.
The problem was that we'd incorrectly pass the extensions with additional
quoting to git-clang-format. The incorrect quoting has been removed in this
version of the patch.


  Commit: 33af4bd7a4c42f55646fa7d2826cd41384ecdece
      https://github.com/llvm/llvm-project/commit/33af4bd7a4c42f55646fa7d2826cd41384ecdece
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libcxx/docs/ReleaseNotes.rst
    A libcxx/docs/ReleaseNotes/20.rst

  Log Message:
  -----------
  [libc++] Add empty release notes file for LLVM 20 (#98355)

While we haven't branched yet, this will make it easier for folks to add
release notes for PRs that won't be merged before the LLVM 19 branch
point.


  Commit: 45bc85603a3b96bd8bf39073c2b865aac094ba4b
      https://github.com/llvm/llvm-project/commit/45bc85603a3b96bd8bf39073c2b865aac094ba4b
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/docs/ReleaseNotes/20.rst

  Log Message:
  -----------
  [libc++][NFC] Add missing upcoming removal to 19 release notes

This upcoming removal was recorded in the release notes for LLVM 19
as part of the deprecation of the C++20 synchronization library in
pre-C++20 modes, but wasn't included in "Upcoming Deprecations and Removals".


  Commit: 2642f2dbd1991ea8fc3888d10a9655e889027c9c
      https://github.com/llvm/llvm-project/commit/2642f2dbd1991ea8fc3888d10a9655e889027c9c
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [llvm][AArch64] Drop an ignored field on AArch64CPUTestParams. NFC (#98338)

AFAICT, the only use of the field was for the ARM side of this shared
struct.


  Commit: 6c97ad4e6838a1172d957df83ec60af646ccacc0
      https://github.com/llvm/llvm-project/commit/6c97ad4e6838a1172d957df83ec60af646ccacc0
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libcxx/include/__chrono/formatter.h
    M libcxx/test/std/time/time.duration/time.duration.nonmember/ostream.pass.cpp
    M libcxx/test/std/time/time.syn/formatter.duration.pass.cpp

  Log Message:
  -----------
  [libc++][chrono] Fix streaming for unsigned durations. (#97889)

This fixes formatting for durations using the unsigned types unsigned
short, unsigned, unsigned long, and unsigned long long. It does not
allow the unsigned char type. Since the formatting function uses
ostream::operator<< this type probably does not do what it should do.

Note that based on the standard all arithmetic types are allowed,
including bool, char, wchar_t. These types are not implemented either.
Allowing them seems like a defect in the Standard.

No effort is done to support user-defined types; the wording in the
Standard is unclear regarding the constrains for these types.

[LWG 4118](https://cplusplus.github.io/LWG/issue4118) discusses this
issue further.

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


  Commit: 06cecdc60ec9ebfdd4d8cdb2586d201272bdf6bd
      https://github.com/llvm/llvm-project/commit/06cecdc60ec9ebfdd4d8cdb2586d201272bdf6bd
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    R llvm/test/MC/AArch64/elf_osabi_flags.s
    R llvm/test/MC/ELF/osabi-solaris.s
    A llvm/test/MC/ELF/osabi.s

  Log Message:
  -----------
  [MC,test] Reorganize OSABI tests


  Commit: 1f819f0a79d15ac2ea845186e7396499dd474f57
      https://github.com/llvm/llvm-project/commit/1f819f0a79d15ac2ea845186e7396499dd474f57
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCSection.h

  Log Message:
  -----------
  [MC] Remove unused/incorrect postfix MCSection::iterator::operator++


  Commit: 6f13c71d31f7aa08bd59c72f7ba4c5c8b1023e40
      https://github.com/llvm/llvm-project/commit/6f13c71d31f7aa08bd59c72f7ba4c5c8b1023e40
  Author: Yuxuan Chen <ych at fb.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaInit.cpp
    A clang/test/SemaCXX/pr98102.cpp

  Log Message:
  -----------
  [clang] fix sema init crashing on initialization sequences (#98102)

We ran into a FE crash and root caused to `ER.get()` on line 5584 here
being nullptr. I think this is a result of not checking if ER here is
invalid.

Example of crash-on-valid C++
https://gist.github.com/yuxuanchen1997/576dce964666f0f8713fccacf5847138

Note that this crash happens only with `-std=c++20`.


  Commit: b81fcd01bde51eb8976b81a2c0c19fc0645cd2ff
      https://github.com/llvm/llvm-project/commit/b81fcd01bde51eb8976b81a2c0c19fc0645cd2ff
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  -----------
  [rtsan] Restrict arches and disable android (#98268)

Follow on to #92460 (reporting old android builds failing) and #98264
(powerpc failing to discover gtests).

Getting back to stability by getting back down to a very basic set of
supported arches and OS's. In the future if there is demand we can build
it back up. Especially when I understand how to test these systems, or
have people who want to do the work on them.

---------

Co-authored-by: David Trevelyan <david.trevelyan at gmail.com>


  Commit: dc8ea046a516c3bdd0ece306f406c9ea833d4dac
      https://github.com/llvm/llvm-project/commit/dc8ea046a516c3bdd0ece306f406c9ea833d4dac
  Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
    M llvm/test/CodeGen/AMDGPU/vni8-across-blocks.ll

  Log Message:
  -----------
  [AMDGPU] Do not use original PHIs in coercion chains (#98063)

It's possible that we are unable to coerce all the incoming values of a
PHINode (A). Thus, we are unable to coerce the PHINode. In this
situation, we previously would add the PHINode back to the ValMap. This
would cause a problem is PhiNode (B) was a user of A. In this scenario,
if B has been coerced, we would hit an assert regarding the incompatible
type between the PHINode and its incoming value.

Deleting non-coerced PHINodes from the map, and propagating the removal
to users, resolves the issue.


  Commit: 7e10ad99adb7d586f3ba3c8a9459d0e4fcaa0e33
      https://github.com/llvm/llvm-project/commit/7e10ad99adb7d586f3ba3c8a9459d0e4fcaa0e33
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M bolt/include/bolt/Core/DebugData.h
    M bolt/lib/Core/DebugData.cpp
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M bolt/test/X86/debug-fission-single-convert.s
    M bolt/test/X86/dwarf4-df-dualcu.test
    M bolt/test/X86/dwarf4-df-input-lowpc-ranges-cus.test
    M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test

  Log Message:
  -----------
  [BOLT][DWARF] Cleanup buffer initialization for DWO range writer (#97843)

Cleanup buffer initialization for DWO range writer instances to remove
empty buffer at the beginning.


  Commit: 6e86e11148474e4ecd49dbf0ca5dd9caddcdbd11
      https://github.com/llvm/llvm-project/commit/6e86e11148474e4ecd49dbf0ca5dd9caddcdbd11
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libc/src/__support/FPUtil/nearest_integer.h

  Log Message:
  -----------
  [libc] Use `rint` builtin for rounding on the GPU (#98345)

Summary:
Previously this went through the generic bit-twiddling implementation
instead of using the dedicated GPU instruction. This patch adds this in
to the utility, mirroring the special-casing of the x64 and aarch
targets. This results in much nicer code. The following example shows
the opencl device libs implementation on the left and the LLVM libc on
the right, https://godbolt.org/z/3ch48ccf5. The libc version is
"branchier", but the results seem similar.


  Commit: 24619f6aaf1df4ef07c9b495681fb73f58a767c4
      https://github.com/llvm/llvm-project/commit/24619f6aaf1df4ef07c9b495681fb73f58a767c4
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVSubtarget.cpp
    M llvm/lib/Target/RISCV/RISCVSubtarget.h

  Log Message:
  -----------
  [RISCV][GISEL] Do not initialize GlobalISel objects unless needed (#98233)

Prior to this commit, we created the GlobalISel objects in the
RISCVSubtarget constructor, even if we are not running GlobalISel. This
patch moves creation of the GlobalISel objects into their getters, which
ensures that we only create these objects if they are actually needed.
This helps since some of the constructors of the GlobalISel objects have
a significant amount of code.

We make the `unique_ptr`s `mutable` since GlobalISel passes only have
access to `const TargetSubtargetInfo` through `MF.getSubtarget()`.

This patch is tested by the fact that all existing RISC-V GlobalISel
tests remain passing.


  Commit: a8cabb6fc8eba78c2c4a8a69f4a256da4c1b01c6
      https://github.com/llvm/llvm-project/commit/a8cabb6fc8eba78c2c4a8a69f4a256da4c1b01c6
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [llvm][misexpect] Update MisExpect to use provenance tracking metadata (#86610)

With the IR extension added to MD_prof branch weights, we can now easily
distinguish between weights added by `llvm.expect*` intrinsics and
weights from other sources. This patch re-enables the assert checking
for malformed metadata, which should never happen using the
`llvm.expect*` family of intrinsics.


  Commit: 9f5756abefc622de543833584e4a25ffa3e9ff02
      https://github.com/llvm/llvm-project/commit/9f5756abefc622de543833584e4a25ffa3e9ff02
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/include/llvm/AsmParser/LLParser.h
    M llvm/include/llvm/AsmParser/Parser.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/AsmParser/Parser.cpp
    M llvm/lib/CodeGen/MIRParser/MIParser.cpp
    A llvm/test/CodeGen/MIR/Generic/diexpression.mir
    M llvm/unittests/AsmParser/AsmParserTest.cpp

  Log Message:
  -----------
  [MIR] Replace bespoke DIExpression parser

Resolve FIXME by using the LLParser implementation of parseDIExpression
from the MIParser.


  Commit: eee5d2d37c761e71d7a406acc112be0c71f4c3af
      https://github.com/llvm/llvm-project/commit/eee5d2d37c761e71d7a406acc112be0c71f4c3af
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/docs/CommandGuide/clang.rst
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/Driver.cpp
    M clang/tools/driver/cc1_main.cpp
    M llvm/include/llvm/TargetParser/RISCVISAInfo.h
    M llvm/lib/TargetParser/RISCVISAInfo.cpp
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Add ability to list extensions enabled for a target (#98207)

bb83a3d introduced `--print-enabled-extensions` command line option for
AArch64. This patch introduces RISC-V support for this option. This patch
adds documentation for this option.

`riscvExtensionsHelp` is renamed to `printSupportedExtensions` to by
synonymous with AArch64 and so it is clear what that function does.


  Commit: 8c664a9f507fb36aaec995a895178d88566ad58f
      https://github.com/llvm/llvm-project/commit/8c664a9f507fb36aaec995a895178d88566ad58f
  Author: Poseydon42 <vvmposeydon at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
    M llvm/test/Transforms/InstCombine/scmp.ll
    M llvm/test/Transforms/InstCombine/ucmp.ll

  Log Message:
  -----------
  [InstCombine] Fold negation of calls to `ucmp/scmp` by swapping its operands (#98360)

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


  Commit: c97a8e4bcf6f11d87c7137a4c31c468299687420
      https://github.com/llvm/llvm-project/commit/c97a8e4bcf6f11d87c7137a4c31c468299687420
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [AMDGPU] Remove unneed static_cast from GCNSubtarget constructor. NFC

RegBankInfo is a std::unique_ptr<AMDGPURegisterBankInfo> so we don't
need the cast.


  Commit: ed17431bf7489c87ea81a6a67af5c7c206da0080
      https://github.com/llvm/llvm-project/commit/ed17431bf7489c87ea81a6a67af5c7c206da0080
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake

  Log Message:
  -----------
  [rtsan] Disable ${ARM32} 

Still fails after #98268


  Commit: d18ca43edc6fed920db86a99ed9f7e3bcafc99d2
      https://github.com/llvm/llvm-project/commit/d18ca43edc6fed920db86a99ed9f7e3bcafc99d2
  Author: Poseydon42 <vvmposeydon at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    A llvm/test/Transforms/ConstraintElimination/uscmp.ll

  Log Message:
  -----------
  [ConstraintElimination] Add support for UCMP/SCMP intrinsics (#97974)

This adds checks to fold calls to `ucmp`/`scmp` where a comparative
relationship between the arguments can be established.


  Commit: 34c544e1cc852d9a1039ff57773db0481c1a79e1
      https://github.com/llvm/llvm-project/commit/34c544e1cc852d9a1039ff57773db0481c1a79e1
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][linalg] Remove unused #includes. NFC.


  Commit: ed8565cf0b64ea5e88cc94f321b1870bb105d09d
      https://github.com/llvm/llvm-project/commit/ed8565cf0b64ea5e88cc94f321b1870bb105d09d
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

  Log Message:
  -----------
  [sanitizer_common] Block asynchronous signals only (#98200)

This changes the behavior of `BlockSignals` and `ScopedBlockSignals` to
block only asynchronous signals.

This extension is intended to be used in a future fix for MSan (block
async signals during `MsanThread::Destroy`).


  Commit: e4b1813bb85d2efe76c2d69781a8dab0698c823b
      https://github.com/llvm/llvm-project/commit/e4b1813bb85d2efe76c2d69781a8dab0698c823b
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/runtimes/CMakeLists.txt

  Log Message:
  -----------
  Fix deps for clean "ninja check-compiler-rt" (#98266)

Without the patch even FileCheck is missing.


  Commit: e6352604cda75270b24f55c02eddbd4bc648d537
      https://github.com/llvm/llvm-project/commit/e6352604cda75270b24f55c02eddbd4bc648d537
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M compiler-rt/lib/CMakeLists.txt
    M compiler-rt/lib/gwp_asan/CMakeLists.txt
    M compiler-rt/lib/lsan/CMakeLists.txt
    M compiler-rt/lib/nsan/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
    M compiler-rt/lib/ubsan/CMakeLists.txt
    M compiler-rt/lib/ubsan_minimal/CMakeLists.txt
    M compiler-rt/test/cfi/CMakeLists.txt
    M compiler-rt/test/gwp_asan/CMakeLists.txt
    M compiler-rt/test/orc/CMakeLists.txt
    M compiler-rt/test/rtsan/CMakeLists.txt
    M compiler-rt/test/scudo/standalone/CMakeLists.txt
    M compiler-rt/test/xray/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt] Remove redundant COMPILER_RT_HAS_*SAN checks (#98240)

They are checked in the parent CMakeLists in
`compiler_rt_build_runtime` and `compiler_rt_test_runtime`.

There are non-redundant checks when a sanitizer checks
for the presense of another one. They should not be removed.


  Commit: dad7442aff5c85ff9141b0d0f231bcd731cbadc6
      https://github.com/llvm/llvm-project/commit/dad7442aff5c85ff9141b0d0f231bcd731cbadc6
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake
    M compiler-rt/cmake/Modules/BuiltinTests.cmake
    M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
    M compiler-rt/cmake/base-config-ix.cmake
    M compiler-rt/cmake/builtin-config-ix.cmake
    A compiler-rt/cmake/caches/GPU.cmake
    M compiler-rt/lib/builtins/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt] Initial support for builtins on GPU targets (#95304)

Summary:
This patch adds initial support to build the `builtins` library for GPU
targets. Primarily this requires adding a few new architectures for
`amdgcn` and `nvptx64`. I built this using the following invocations.

```console
$ cmake ../compiler-rt -DCMAKE_C_COMPILER=clang
  -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release -GNinja
  -DCMAKE_C_COMPILER_TARGET=<nvptx64-nvidia-cuda|amdgcn-amd-amdhsa>
  -DCMAKE_CXX_COMPILER_TARGET=<nvptx64-nvidia-cuda|amdgcn-amd-amdhsa>
  -DCMAKE_C_COMPILER_WORKS=1 -DCMAKE_CXX_COMPILER_WORKS=1
  -DLLVM_CMAKE_DIR=../cmake/Modules -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
  -C ../compiler-rt/cmake/caches/GPU.cmake
```

Some pointers would be appreciated for how to test this using a standard
(non-default target only) build.

GPU builds are somewhat finnicky. We only expect this to be built with a
sufficiently new clang, as it's the only compiler that supports the
target and output we distribute. Distribution is done as LLVM-IR blobs
for now.
GPUs have little backward compatibility, so linking object files is
left to a future patch.

More work is necessary to build correctly for all targets and ship into
the correct clang resource directory. Additionally we need to use the
`libc` project's support for running unit tests.


  Commit: 145ae81fa4ee55ccb31928109d72166b7c71b831
      https://github.com/llvm/llvm-project/commit/145ae81fa4ee55ccb31928109d72166b7c71b831
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M compiler-rt/lib/CMakeLists.txt
    M compiler-rt/lib/gwp_asan/CMakeLists.txt
    M compiler-rt/lib/lsan/CMakeLists.txt
    M compiler-rt/lib/nsan/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
    M compiler-rt/lib/ubsan/CMakeLists.txt
    M compiler-rt/lib/ubsan_minimal/CMakeLists.txt
    M compiler-rt/test/cfi/CMakeLists.txt
    M compiler-rt/test/gwp_asan/CMakeLists.txt
    M compiler-rt/test/orc/CMakeLists.txt
    M compiler-rt/test/rtsan/CMakeLists.txt
    M compiler-rt/test/scudo/standalone/CMakeLists.txt
    M compiler-rt/test/xray/CMakeLists.txt

  Log Message:
  -----------
  Revert "[compiler-rt] Remove redundant COMPILER_RT_HAS_*SAN checks" (#98380)

Reverts llvm/llvm-project#98240

https://lab.llvm.org/buildbot/#/builders/109/builds/816


  Commit: 694b132177a96a61dac62b3e3d2989a063feafa7
      https://github.com/llvm/llvm-project/commit/694b132177a96a61dac62b3e3d2989a063feafa7
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp

  Log Message:
  -----------
  [sanitizer_common] Fix edge case for stack mapping parsing (#98381)

On some systems (e.g., at least two AArch64 Linux instances), the
process map can have:
```
    fffffffdf000-1000000000000 ... [stack]
```
instead of:
```
    fffffffdf000- ffffffffffff
```
The stack top value is larger than `GetMaxUserVirtualAddress()`, which
violates the precondition that shadow memory calculations expect. This
patch fixes the issue by saturating off-by-one values (and also adds
checks for more flagrant violations).

This fixes an issue that was observed with DFSan on AArch64 Linux (with
high-entropy ASLR, resulting in ASLR being disabled on some runs):
```
==11057==ERROR: DataflowSanitizer failed to allocate 0x1600000800000 (387028101365760) bytes at address 4fffff800000 (errno: 12)
```

(https://lab.llvm.org/staging/#/builders/90/builds/552/steps/9/logs/stdio)
This was trying to allocate a shadow at `[0x4fffff800000, 0x4fffff800000
+ 0x1600000800000] = [0x4fffff800000, 0x1b00000000000]`. Notice that the
end of the shadow region - an invalid value - is equal to
`MEM_TO_SHADOW(0x1000000000000)`, where `MEM_TO_SHADOW` is defined as
`(mem ^ 0xB00000000000ULL)`.


  Commit: dd3aa5eb706eb18a9039e01f9434d432ac468340
      https://github.com/llvm/llvm-project/commit/dd3aa5eb706eb18a9039e01f9434d432ac468340
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/test/CodeGen/NVPTX/inline-asm-b128-test1.ll
    M llvm/test/CodeGen/NVPTX/inline-asm-b128-test2.ll
    M llvm/test/CodeGen/NVPTX/inline-asm-b128-test3.ll

  Log Message:
  -----------
  [NVPTX] Update 32-bit NVPTX tests to use 64-bit

Summary:
These used the now-removed `nvptx` target. Because they used
`ptxas-verify` they would then fail since it's been removed. Update
these to 64-bit.


  Commit: eb66e31bc2e2b45c5ccc95300b89c48394084e30
      https://github.com/llvm/llvm-project/commit/eb66e31bc2e2b45c5ccc95300b89c48394084e30
  Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    A libc/benchmarks/gpu/timing/amdgpu/CMakeLists.txt
    A libc/benchmarks/gpu/timing/amdgpu/timing.h
    M libc/benchmarks/gpu/timing/timing.h

  Log Message:
  -----------
  [libc] Add Timing Utils for AMDGPU (#96828)

PR for adding AMDGPU timing utils for benchmarking.

I was not able to test this code since I do not have an AMD GPU, but I
was able to successfully compile this code using
-DRUNTIMES_amdgcn-amd-amdhsa_LIBC_GPU_TEST_ARCHITECTURE=gfx90a
-DRUNTIMES_amdgcn-amd-amdhsa_LIBC_GPU_LOADER_EXECUTABLE=echo
-DRUNTIMES_amdgcn_amd-amdhsa_LIBC_GPU_TARGET_ARCHITECTURE=gfx90a to
force the code to compile without having an AMD gpu on my machine.

@jhuber6


  Commit: 31c9c41873d06f3029ad200c04819e2e9d33c7e7
      https://github.com/llvm/llvm-project/commit/31c9c41873d06f3029ad200c04819e2e9d33c7e7
  Author: Hristo Hristov <hghristov.rmm at gmail.com>
  Date:   2024-07-11 (Thu, 11 Jul 2024)

  Changed paths:
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__tuple/ignore.h
    M libcxx/include/module.modulemap
    M libcxx/include/tuple
    M libcxx/include/utility
    A libcxx/test/std/utilities/tuple/tuple.general/ignore.include.compile.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.general/ignore.pass.cpp
    A libcxx/test/std/utilities/utility/ignore/ignore.include.compile.pass.cpp

  Log Message:
  -----------
  [libc++][tuple][utility] P2968R2: Make `std::ignore` a first-class object (#97401)

Implements:  https://wg21.link/P2968R2

References:
- https://eel.is/c++draft/tuple.general
- https://eel.is/c++draft/tuple.syn
- https://eel.is/c++draft/tuple.creation
- https://github.com/cplusplus/draft/milestone/31
- https://github.com/cplusplus/draft/pull/7109
- https://github.com/cplusplus/papers/issues/1640
- https://cplusplus.github.io/LWG/issue2933
- https://cplusplus.github.io/LWG/issue3978

---------

Co-authored-by: Hristo Hristov <zingam at outlook.com>


  Commit: 919caa89ee3323228ccb1dd065d86805b34b9b6a
      https://github.com/llvm/llvm-project/commit/919caa89ee3323228ccb1dd065d86805b34b9b6a
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ObjectContainerMachOFileset.cpp

  Log Message:
  -----------
  [lldb] Don't crash on malformed filesets (#98388)

The memory read can fail for a malformed fileset. Handle it gracefully
instead of passing a nullptr to the std::string constructor.

rdar://131477833


  Commit: 1819323781a7bdb3bbd60fad67da915ae0e59df6
      https://github.com/llvm/llvm-project/commit/1819323781a7bdb3bbd60fad67da915ae0e59df6
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVSubtarget.cpp
    M llvm/lib/Target/RISCV/RISCVSubtarget.h

  Log Message:
  -----------
  [RISCV] Store a std::unique_ptr<RISCVRegisterBankInfo> in RISCVSubtarget. NFC (#98375)

Instead of std::unique_ptr<RegisterBankInfo>. This allows us to return a
RISCVRegisterBankInfo* from getRegBankInfo so we can avoid a
static_cast.

This does require an additional header file to be included in
RISCVSubtarget.h, but I don't think it's a big deal.


  Commit: 6789e1bb77c030c25ba5686c784bf4966770c324
      https://github.com/llvm/llvm-project/commit/6789e1bb77c030c25ba5686c784bf4966770c324
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

  Log Message:
  -----------
  [sanitizer_common] Fix forward: limit #98200 to Linux only

My patch broke Solaris: https://github.com/llvm/llvm-project/pull/98200#issuecomment-2221463400
Fixing forward by limiting the change to Linux only.


  Commit: b96eb76d21dde43c6a92027ac083ad1a95f9dd0b
      https://github.com/llvm/llvm-project/commit/b96eb76d21dde43c6a92027ac083ad1a95f9dd0b
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M compiler-rt/lib/CMakeLists.txt
    M compiler-rt/lib/gwp_asan/CMakeLists.txt
    M compiler-rt/lib/lsan/CMakeLists.txt
    M compiler-rt/lib/nsan/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
    M compiler-rt/lib/ubsan/CMakeLists.txt
    M compiler-rt/lib/ubsan_minimal/CMakeLists.txt
    M compiler-rt/test/cfi/CMakeLists.txt
    M compiler-rt/test/gwp_asan/CMakeLists.txt
    M compiler-rt/test/orc/CMakeLists.txt
    M compiler-rt/test/rtsan/CMakeLists.txt
    M compiler-rt/test/scudo/standalone/CMakeLists.txt
    M compiler-rt/test/xray/CMakeLists.txt

  Log Message:
  -----------
  Revert "Revert "[compiler-rt] Remove redundant COMPILER_RT_HAS_*SAN checks"" (#98395)

Reverts llvm/llvm-project#98380

Probably some incremental build issue, the build before revert was
green:
https://lab.llvm.org/buildbot/#/builders/109/builds/817


  Commit: 5cb7e49e737fefb245c7988502e5033d0eb15201
      https://github.com/llvm/llvm-project/commit/5cb7e49e737fefb245c7988502e5033d0eb15201
  Author: alx32 <103613512+alx32 at users.noreply.github.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/test/MachO/objc-category-merging-complete-test.s

  Log Message:
  -----------
  [lld-macho] Fix -no_objc_category_merging flag (#98238)

`-no_objc_category_merging` flag was behaving like
`-objc_category_merging` - i.e. acting to enable category merging.
This is because we were using `hasArg` instead of `hasFlag` to test for
it. Fix this and add test to ensure it behaves as expected.


  Commit: 41de50b773c1c146ddafd4d363dab3b492e4485a
      https://github.com/llvm/llvm-project/commit/41de50b773c1c146ddafd4d363dab3b492e4485a
  Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tests/timing_test.cpp
    M compiler-rt/lib/scudo/standalone/timing.h

  Log Message:
  -----------
  [scudo] Add a maximum value into the timer. (#96989)

Modify the timer code to keep track of the maximum time that any call
takes.

Add a method to get a ScopedString representing the timer data. Allows
the testing of the timer on all platforms.

Add new unit tests for the maximum, and a lot of new tests.


  Commit: 5f1bb62c6bb83b9a46e3c6a45999d4468edb11e0
      https://github.com/llvm/llvm-project/commit/5f1bb62c6bb83b9a46e3c6a45999d4468edb11e0
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineModuleInfo.h
    M llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h
    M llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
    M llvm/lib/MC/MCMachOStreamer.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
    M llvm/lib/Target/AArch64/AArch64TargetObjectFile.h
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/ptrauth-constant-in-code.ll
    M llvm/test/CodeGen/AArch64/ptrauth-constant-in-code.ll

  Log Message:
  -----------
  [AArch64][PAC] Lower ptrauth constants in code for MachO. (#97665)

This also adds support for auth stubs on MachO using __DATA,__auth_ptr.

Some of the machinery for auth stubs is already implemented;  this
generalizes that a bit to support MachO, and moves some of the shared
logic into MMIImpls.

In particular, this originally had an AuthStubInfo struct, but we no
longer need it beyond a single MCExpr.  So this provides variants of
the symbol stub helper type declarations and functions for "expr
stubs", where a stub points at an arbitrary MCExpr, rather than
a simple MCSymbol (and a bit).


  Commit: eb97761b4db4877e8c2507054d94a35154e2ba54
      https://github.com/llvm/llvm-project/commit/eb97761b4db4877e8c2507054d94a35154e2ba54
  Author: vporpo <vporpodas at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  [SandboxIR] sandboxir::Use operands (part 1) and uses (part 2) (#98251)

This PR adds the Use class and several operands-related functions to the
User class (part 1) and several uses-related functions to the Value
class (part 2).


  Commit: a105113feff58bf568a25d7b45e20b6dde4ccd8f
      https://github.com/llvm/llvm-project/commit/a105113feff58bf568a25d7b45e20b6dde4ccd8f
  Author: RoseZhang03 <rosezhang at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M libc/newhdrgen/class_implementation/classes/function.py
    M libc/newhdrgen/header.py
    A libc/newhdrgen/yaml/dlfcn.yaml
    M libc/newhdrgen/yaml/math.yaml
    M libc/newhdrgen/yaml/sys_prctl.yaml
    M libc/newhdrgen/yaml/unistd.yaml
    M libc/newhdrgen/yaml_to_classes.py

  Log Message:
  -----------
  [libc] newhdrgen: updated sorting of guarded functions in fuction generation (#98241)

In yaml_to_classes.py, changed order of adding functions so that guarded
functions appear after regular functions. Guarded functions will still
be alphabetically sorted within each guard. Each group of guarded
functions will appear in alphabetical order of the guard name.

Fixed issus in math.yaml such as missing guards.

Fixed Function class for spacing issues and the order in which
attributes are listed in the function header.

Deleted extra whitespace in the last line of unistd.yaml.


  Commit: 9392b45ef4720f470ffc11fb052f397c92758a16
      https://github.com/llvm/llvm-project/commit/9392b45ef4720f470ffc11fb052f397c92758a16
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  Revert "[SandboxIR] sandboxir::Use operands (part 1) and uses (part 2) (#98251)"

This reverts commit eb97761b4db4877e8c2507054d94a35154e2ba54.


  Commit: 9865171e24961d9ae85d7183d5f52c44b82a9c58
      https://github.com/llvm/llvm-project/commit/9865171e24961d9ae85d7183d5f52c44b82a9c58
  Author: Amara Emerson <amara at apple.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    A clang/include/clang/Driver/aarch64-mlr-for-calls-only.c
    M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
    M llvm/lib/Target/AArch64/AArch64Features.td
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.h
    M llvm/test/CodeGen/AArch64/arm64-platform-reg.ll
    M llvm/test/CodeGen/AArch64/framelayout-sve.mir
    A llvm/test/CodeGen/AArch64/lr-reserved-for-ra-live-in.ll

  Log Message:
  -----------
  [AArch64] Add -mlr-for-calls-only to replace the now removed -ffixed-x30 flag. (#98073)

This re-introduces the effective behaviour that was reverted in
7ad481e76c9bee5b9895ebfa0fdb52f31cb7de77.

This time we're not using the same mechanism, exposing another
reservation feature
that prevents only regalloc from using the register, but not for other
required uses
like ABIs.

This also fixes a consequent issue with reserving LR, which is that
frame lowering
was only adding live-in flags for non-reserved regs. This would cause
issues later
since the outliner needs accurate flags to determine when LR needs to be
preserved.

rdar://131313095


  Commit: 388c55a3e676a75ac242ff4f2db3fa39e5f0b0a3
      https://github.com/llvm/llvm-project/commit/388c55a3e676a75ac242ff4f2db3fa39e5f0b0a3
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

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

  Log Message:
  -----------
  [lsan][ubsan] Use compiler_rt_build_runtime

Missed by #98240


  Commit: 797a2ec6bba2147301205e1acf3a219d7cf93d8e
      https://github.com/llvm/llvm-project/commit/797a2ec6bba2147301205e1acf3a219d7cf93d8e
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  Reapply "[SandboxIR] sandboxir::Use operands (part 1) and uses (part 2) (#98251)"

This reverts commit 9392b45ef4720f470ffc11fb052f397c92758a16.


  Commit: 32c56f91bb057014fe32db4d5a49c9b6c8894b89
      https://github.com/llvm/llvm-project/commit/32c56f91bb057014fe32db4d5a49c9b6c8894b89
  Author: Nathan Lanza <nathanlanza at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M .ci/generate-buildkite-pipeline-premerge
    M .ci/monolithic-linux.sh
    M .ci/monolithic-windows.sh
    M .git-blame-ignore-revs
    M .github/CODEOWNERS
    M .github/new-prs-labeler.yml
    A .github/workflows/ci-post-commit-analyzer-run.py
    A .github/workflows/ci-post-commit-analyzer.yml
    M .github/workflows/containers/github-action-ci/stage1.Dockerfile
    M .github/workflows/docs.yml
    M .github/workflows/issue-release-workflow.yml
    M .github/workflows/issue-subscriber.yml
    M .github/workflows/issue-write.yml
    M .github/workflows/libclang-abi-tests.yml
    M .github/workflows/libclang-python-tests.yml
    M .github/workflows/libcxx-build-and-test.yaml
    A .github/workflows/libcxx-restart-preempted-jobs.yaml
    M .github/workflows/llvm-bugs.yml
    M .github/workflows/llvm-project-tests.yml
    M .github/workflows/merged-prs.yml
    M .github/workflows/new-prs.yml
    M .github/workflows/pr-code-format.yml
    A .github/workflows/pr-request-release-note.yml
    M .github/workflows/pr-subscriber.yml
    M .github/workflows/release-binaries.yml
    M .github/workflows/release-documentation.yml
    M .github/workflows/release-doxygen.yml
    A .github/workflows/release-sources.yml
    M .github/workflows/release-tasks.yml
    M .github/workflows/set-release-binary-outputs.sh
    M .github/workflows/version-check.yml
    M bolt/CMakeLists.txt
    M bolt/cmake/modules/AddBOLT.cmake
    M bolt/docs/BAT.md
    M bolt/docs/CMakeLists.txt
    A bolt/docs/CommandLineArgumentReference.md
    A bolt/docs/OptimizingLinux.md
    A bolt/docs/generate_doc.py
    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
    M bolt/include/bolt/Core/BinarySection.h
    A bolt/include/bolt/Core/CallGraph.h
    A bolt/include/bolt/Core/CallGraphWalker.h
    M bolt/include/bolt/Core/DIEBuilder.h
    M bolt/include/bolt/Core/DebugData.h
    M bolt/include/bolt/Core/DebugNames.h
    M bolt/include/bolt/Core/FunctionLayout.h
    A bolt/include/bolt/Core/GDBIndex.h
    M bolt/include/bolt/Core/MCPlusBuilder.h
    R bolt/include/bolt/Passes/BinaryFunctionCallGraph.h
    M bolt/include/bolt/Passes/BinaryPasses.h
    R bolt/include/bolt/Passes/CallGraph.h
    R bolt/include/bolt/Passes/CallGraphWalker.h
    M bolt/include/bolt/Passes/FrameAnalysis.h
    M bolt/include/bolt/Passes/HFSort.h
    M bolt/include/bolt/Passes/IndirectCallPromotion.h
    M bolt/include/bolt/Passes/MCF.h
    M bolt/include/bolt/Passes/RegReAssign.h
    M bolt/include/bolt/Passes/ReorderFunctions.h
    M bolt/include/bolt/Passes/StokeInfo.h
    M bolt/include/bolt/Profile/BoltAddressTranslation.h
    M bolt/include/bolt/Profile/DataAggregator.h
    M bolt/include/bolt/Profile/YAMLProfileReader.h
    M bolt/include/bolt/Rewrite/DWARFRewriter.h
    M bolt/include/bolt/Rewrite/MetadataManager.h
    M bolt/include/bolt/Rewrite/MetadataRewriter.h
    M bolt/include/bolt/Rewrite/MetadataRewriters.h
    M bolt/include/bolt/Rewrite/RewriteInstance.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
    M bolt/lib/Core/DIEBuilder.cpp
    M bolt/lib/Core/DebugData.cpp
    M bolt/lib/Core/DebugNames.cpp
    M bolt/lib/Core/DynoStats.cpp
    M bolt/lib/Core/FunctionLayout.cpp
    A bolt/lib/Core/GDBIndex.cpp
    M bolt/lib/Core/ParallelUtilities.cpp
    R bolt/lib/Passes/BinaryFunctionCallGraph.cpp
    M bolt/lib/Passes/BinaryPasses.cpp
    M bolt/lib/Passes/CMakeLists.txt
    M bolt/lib/Passes/CacheMetrics.cpp
    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/IdenticalCodeFolding.cpp
    M bolt/lib/Passes/IndirectCallPromotion.cpp
    M bolt/lib/Passes/Inliner.cpp
    M bolt/lib/Passes/Instrumentation.cpp
    M bolt/lib/Passes/JTFootprintReduction.cpp
    M bolt/lib/Passes/MCF.cpp
    M bolt/lib/Passes/PLTCall.cpp
    M bolt/lib/Passes/RegAnalysis.cpp
    M bolt/lib/Passes/RegReAssign.cpp
    M bolt/lib/Passes/StokeInfo.cpp
    M bolt/lib/Passes/ValidateMemRefs.cpp
    M bolt/lib/Passes/VeneerElimination.cpp
    M bolt/lib/Profile/BoltAddressTranslation.cpp
    M bolt/lib/Profile/CMakeLists.txt
    M bolt/lib/Profile/DataAggregator.cpp
    M bolt/lib/Profile/DataReader.cpp
    M bolt/lib/Profile/StaleProfileMatching.cpp
    M bolt/lib/Profile/YAMLProfileReader.cpp
    M bolt/lib/Profile/YAMLProfileWriter.cpp
    M bolt/lib/Rewrite/BinaryPassManager.cpp
    A bolt/lib/Rewrite/BuildIDRewriter.cpp
    M bolt/lib/Rewrite/CMakeLists.txt
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
    M bolt/lib/Rewrite/MetadataManager.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/lib/Rewrite/SDTRewriter.cpp
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
    M bolt/lib/Utils/CommandLineOpts.cpp
    M bolt/runtime/instr.cpp
    M bolt/test/AArch64/Inputs/array_end.lld_script
    M bolt/test/AArch64/lit.local.cfg
    A bolt/test/AArch64/plt-call.test
    A bolt/test/AArch64/test-indirect-branch.s
    M bolt/test/CMakeLists.txt
    R bolt/test/Inputs/lsda.ldscript
    A bolt/test/Inputs/plt-tailcall.c
    A bolt/test/X86/Inputs/blarge_new_bat_branchentry.preagg.txt
    A bolt/test/X86/Inputs/blarge_new_bat_order.preagg.txt
    A bolt/test/X86/Inputs/blarge_profile_stale_low_matched_blocks.yaml
    A bolt/test/X86/Inputs/dwarf4-df-input-lowpc-ranges-other.s
    A bolt/test/X86/Inputs/dwarf4-subprogram-multiple-ranges-other.s
    A bolt/test/X86/Inputs/dwarf5-df-input-lowpc-ranges-other.s
    M bolt/test/X86/Inputs/dwarf5-df-types-debug-names-main.s
    A bolt/test/X86/Inputs/dwarf5-subprogram-multiple-ranges-other.s
    A bolt/test/X86/Inputs/infer_no_exits.s
    A bolt/test/X86/Inputs/jump-table-fixed-ref-pic.s
    M bolt/test/X86/addr32.s
    M bolt/test/X86/asm-func-debug.test
    M bolt/test/X86/avx512-trap.test
    M bolt/test/X86/bb-with-two-tail-calls.s
    M bolt/test/X86/block-reordering.test
    M bolt/test/X86/bolt-address-translation-internal-call.test
    M bolt/test/X86/bolt-address-translation-yaml.test
    M bolt/test/X86/bolt-address-translation.test
    M bolt/test/X86/branch-data.test
    M bolt/test/X86/broken_dynsym.test
    M bolt/test/X86/bug-function-layout-execount.s
    M bolt/test/X86/bug-reorder-bb-jrcxz.s
    M bolt/test/X86/calculate-emitted-block-size.s
    M bolt/test/X86/call-zero.s
    M bolt/test/X86/cdsplit-call-scale.s
    M bolt/test/X86/cdsplit-symbol-names.s
    M bolt/test/X86/cfi-expr-rewrite.s
    M bolt/test/X86/cfi-instrs-count.s
    M bolt/test/X86/cfi-instrs-reordered.s
    M bolt/test/X86/checkvma-large-section.test
    M bolt/test/X86/ctc-and-unreachable.test
    M bolt/test/X86/debug-fission-single-convert.s
    M bolt/test/X86/debug-fission-single.s
    M bolt/test/X86/double-jump.test
    M bolt/test/X86/dwarf-handle-visit-loclist-error.s
    M bolt/test/X86/dwarf-test-df-logging.test
    M bolt/test/X86/dwarf3-lowpc-highpc-convert.s
    M bolt/test/X86/dwarf4-cross-cu-backward-different-abbrev.test
    M bolt/test/X86/dwarf4-cross-cu-forward-different-abbrev.test
    M bolt/test/X86/dwarf4-cross-cu-loclist-dwarf4-loclist--dwarf5-loclist.test
    M bolt/test/X86/dwarf4-df-basic.test
    M bolt/test/X86/dwarf4-df-call-site-change-low-pc.test
    M bolt/test/X86/dwarf4-df-change-in-dw-op-gnu-addr-index-main.test
    M bolt/test/X86/dwarf4-df-do-no-convert-low-pc-high-pc-to-ranges.test
    M bolt/test/X86/dwarf4-df-dualcu-loclist.test
    M bolt/test/X86/dwarf4-df-dualcu.test
    M bolt/test/X86/dwarf4-df-inlined-subroutine-lowpc-0.test
    A bolt/test/X86/dwarf4-df-input-lowpc-ranges-cus.test
    M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test
    M bolt/test/X86/dwarf4-df-no-base.test
    M bolt/test/X86/dwarf4-do-no-convert-low-pc-high-pc-to-ranges.test
    M bolt/test/X86/dwarf4-duplicate-types.test
    M bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
    M bolt/test/X86/dwarf4-ftypes-dwo-mono-input-dwp-output.test
    M bolt/test/X86/dwarf4-ftypes-dwp-input-dwo-output.test
    M bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test
    M bolt/test/X86/dwarf4-gdb-index-types-gdb-generated.test
    M bolt/test/X86/dwarf4-gdb-index-types-lld-generated.test
    M bolt/test/X86/dwarf4-invalid-reference-die-offset-no-internal-dwarf-error.s
    M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-cant-parse-die.s
    M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-invalid-die.s
    M bolt/test/X86/dwarf4-sibling.s
    M bolt/test/X86/dwarf4-size-0-inlined_subroutine.s
    M bolt/test/X86/dwarf4-split-dwarf-no-address.test
    M bolt/test/X86/dwarf4-split-gdb-index-types-gdb-generated.test
    A bolt/test/X86/dwarf4-subprogram-multiple-ranges-cus.test
    M bolt/test/X86/dwarf4-subprogram-multiple-ranges.test
    M bolt/test/X86/dwarf4-subprogram-single-gc-ranges.test
    M bolt/test/X86/dwarf4-subprogram-single-ranges.test
    M bolt/test/X86/dwarf4-types-dwarf5-types.test
    M bolt/test/X86/dwarf4-types-dwarf5.test
    M bolt/test/X86/dwarf4-types-forward-backward-cross-reference.s
    M bolt/test/X86/dwarf4-types.test
    M bolt/test/X86/dwarf5-addr-section-reuse.s
    M bolt/test/X86/dwarf5-call-pc-function-null-check.test
    M bolt/test/X86/dwarf5-call-pc.test
    M bolt/test/X86/dwarf5-cu-no-debug-addr.test
    M bolt/test/X86/dwarf5-debug-info-dwarf4-debug-line.s
    M bolt/test/X86/dwarf5-debug-line-not-modified.test
    M bolt/test/X86/dwarf5-debug-line.s
    M bolt/test/X86/dwarf5-debug-loclists.s
    A bolt/test/X86/dwarf5-debug-names-class-type-decl.s
    A bolt/test/X86/dwarf5-debug-names-enumeration-type-decl.s
    A bolt/test/X86/dwarf5-debug-names-skip-forward-decl.s
    A bolt/test/X86/dwarf5-debug-names-structure-type-decl.s
    M bolt/test/X86/dwarf5-df-call-site-change-low-pc.test
    M bolt/test/X86/dwarf5-df-change-in-dw-op-gnu-addr-index-main.test
    M bolt/test/X86/dwarf5-df-cu-function-gc.test
    M bolt/test/X86/dwarf5-df-dualcu-loclist.test
    M bolt/test/X86/dwarf5-df-dualcu.test
    M bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test
    M bolt/test/X86/dwarf5-df-inlined-subroutine-range-0.test
    A bolt/test/X86/dwarf5-df-input-lowpc-ranges-cus.test
    M bolt/test/X86/dwarf5-df-input-lowpc-ranges.test
    M bolt/test/X86/dwarf5-df-mono-dualcu.test
    M bolt/test/X86/dwarf5-df-output-dir-same-name.test
    M bolt/test/X86/dwarf5-df-types-debug-names.test
    M bolt/test/X86/dwarf5-df-types-dup-dwp-input.test
    A bolt/test/X86/dwarf5-df-types-modify-dwo-name-mixed.test
    A bolt/test/X86/dwarf5-df-types-modify-dwo-name.test
    M bolt/test/X86/dwarf5-do-no-convert-low-pc-high-pc-to-ranges.test
    M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb11.test
    M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb9.test
    M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-lld-generated.test
    M bolt/test/X86/dwarf5-dwarf4-monolithic.test
    M bolt/test/X86/dwarf5-dwarf4-types-backward-forward-cross-reference.test
    M bolt/test/X86/dwarf5-ftypes-dwo-mono-input-dwp-output.test
    M bolt/test/X86/dwarf5-ftypes-dwp-input-dwo-output.test
    M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb11.test
    M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb9.test
    M bolt/test/X86/dwarf5-gdb-index-types-lld-generated.test
    M bolt/test/X86/dwarf5-locaddrx.test
    M bolt/test/X86/dwarf5-locexpr-addrx.s
    M bolt/test/X86/dwarf5-locexpr-referrence.test
    M bolt/test/X86/dwarf5-loclist-offset-form.test
    M bolt/test/X86/dwarf5-lowpc-highpc-convert.s
    M bolt/test/X86/dwarf5-multiple-dw-op-addrx-locexpr.s
    M bolt/test/X86/dwarf5-one-loclists-two-bases.test
    M bolt/test/X86/dwarf5-rangeoffset-to-rangeindex.s
    M bolt/test/X86/dwarf5-return-pc-form-addr.test
    M bolt/test/X86/dwarf5-return-pc.test
    M bolt/test/X86/dwarf5-shared-str-offset-base.s
    M bolt/test/X86/dwarf5-split-dwarf4-monolithic.test
    M bolt/test/X86/dwarf5-split-gdb-index-types-gdb-generated.test
    A bolt/test/X86/dwarf5-subprogram-multiple-ranges-cus.test
    M bolt/test/X86/dwarf5-subprogram-multiple-ranges.test
    M bolt/test/X86/dwarf5-subprogram-single-gc-ranges.test
    M bolt/test/X86/dwarf5-subprogram-single-ranges.test
    M bolt/test/X86/dwarf5-two-loclists.test
    M bolt/test/X86/dwarf5-two-rnglists.test
    M bolt/test/X86/dwarf5-types-backward-cross-reference.s
    M bolt/test/X86/dwarf5-types-forward-cross-reference.s
    M bolt/test/X86/dynrelocs.s
    M bolt/test/X86/exceptions-args.test
    M bolt/test/X86/fallthrough-to-noop.test
    M bolt/test/X86/false-jump-table.s
    M bolt/test/X86/fatal-error.s
    M bolt/test/X86/fragment-lite-reverse.s
    M bolt/test/X86/fragment-lite.s
    M bolt/test/X86/fragmented-symbols.s
    M bolt/test/X86/frame-opt-lea.s
    M bolt/test/X86/function-order-lite.s
    M bolt/test/X86/gdbindex.test
    A bolt/test/X86/hashing-based-function-matching.test
    M bolt/test/X86/high_pc_udata.s
    M bolt/test/X86/icp-inline.s
    A bolt/test/X86/ignored-interprocedural-reference.s
    M bolt/test/X86/indirect-goto-pie.test
    M bolt/test/X86/indirect-goto.test
    A bolt/test/X86/infer_no_exits.test
    M bolt/test/X86/inlined-function-mixed.test
    M bolt/test/X86/insert-addr-rnglists_base.s
    M bolt/test/X86/insert-debug-info-entry.test
    M bolt/test/X86/internal-call-instrument-so.s
    M bolt/test/X86/internal-call-instrument.s
    M bolt/test/X86/interprocedural-ref-entry-point.s
    M bolt/test/X86/is-strip.s
    M bolt/test/X86/issue20.s
    M bolt/test/X86/issue20.test
    M bolt/test/X86/issue26.s
    M bolt/test/X86/issue26.test
    M bolt/test/X86/jmp-optimization.test
    M bolt/test/X86/jmpjmp.test
    M bolt/test/X86/jt-symbol-disambiguation-3.s
    A bolt/test/X86/jt-symbol-disambiguation-4.s
    A bolt/test/X86/jump-table-fixed-ref-pic.test
    M bolt/test/X86/jump-table-footprint-reduction.test
    M bolt/test/X86/jump-table-icp.test
    M bolt/test/X86/jump-table-pic-conflict.s
    M bolt/test/X86/jump-table-pic-order.test
    M bolt/test/X86/jump-table-reference.test
    M bolt/test/X86/layout-heuristic.test
    M bolt/test/X86/line-number.test
    M bolt/test/X86/linux-alt-instruction.s
    M bolt/test/X86/lit.local.cfg
    M bolt/test/X86/log.test
    M bolt/test/X86/loop-inversion-pass.s
    M bolt/test/X86/loop-nest.test
    M bolt/test/X86/merge-fdata-bat-mode.test
    M bolt/test/X86/merge-fdata-nobat-mode.test
    M bolt/test/X86/merge-fdata-output.test
    A bolt/test/X86/name-similarity-function-matching.test
    M bolt/test/X86/no-entry-reordering.test
    M bolt/test/X86/no-output.test
    M bolt/test/X86/nolbr.s
    M bolt/test/X86/patch-entries.test
    A bolt/test/X86/plt-call.test
    M bolt/test/X86/pre-aggregated-perf.test
    A bolt/test/X86/profile-passthrough-block.test
    M bolt/test/X86/pt_gnu_relro.s
    M bolt/test/X86/reader-stale-yaml-std.test
    M bolt/test/X86/reader-stale-yaml.test
    M bolt/test/X86/reader.test
    M bolt/test/X86/register-fragments-bolt-symbols.s
    M bolt/test/X86/relaxed-tailcall.test
    M bolt/test/X86/remove-unused.test
    M bolt/test/X86/rodata-simpl-loads.test
    M bolt/test/X86/sctc-bug.test
    M bolt/test/X86/sctc-bug2.test
    M bolt/test/X86/sctc-bug3.test
    M bolt/test/X86/sctc-bug4.test
    M bolt/test/X86/shared_object_entry.s
    M bolt/test/X86/shorten-mov.test
    M bolt/test/X86/shrinkwrapping-and-rsp.s
    M bolt/test/X86/shrinkwrapping-critedge.s
    M bolt/test/X86/shrinkwrapping-do-not-pessimize.s
    M bolt/test/X86/shrinkwrapping-insertcfi.s
    M bolt/test/X86/shrinkwrapping-lea.s
    M bolt/test/X86/shrinkwrapping-mov.s
    M bolt/test/X86/shrinkwrapping-pop-order.s
    M bolt/test/X86/shrinkwrapping-popf.s
    M bolt/test/X86/shrinkwrapping-restore-position.s
    M bolt/test/X86/shrinkwrapping.test
    M bolt/test/X86/split-all-lptrampoline.s
    M bolt/test/X86/split-all.s
    M bolt/test/X86/split-func-icf.s
    M bolt/test/X86/split-func-jump-table-fragment-bidirection.s
    M bolt/test/X86/split-func-jump-table-fragment-noparent.s
    M bolt/test/X86/split-func-jump-table-fragment-reverse.s
    M bolt/test/X86/split-func-jump-table-fragment.s
    M bolt/test/X86/split-func-jump-table-unknown.s
    M bolt/test/X86/split-landing-pad.s
    M bolt/test/X86/split-random.s
    A bolt/test/X86/stale-matching-min-matched-block.test
    M bolt/test/X86/static-exe.test
    M bolt/test/X86/symtab-secondary-entries.test
    M bolt/test/X86/tail-duplication-cache.s
    M bolt/test/X86/tail-duplication-cacheline.s
    M bolt/test/X86/tail-duplication-complex.s
    M bolt/test/X86/tail-duplication-jt.s
    M bolt/test/X86/tail-duplication-pass.s
    M bolt/test/X86/tail-duplication-prop-bug.s
    M bolt/test/X86/tailcall-traps.test
    M bolt/test/X86/tailcall.test
    M bolt/test/X86/unclaimed-jt-entries.s
    M bolt/test/X86/unreachable-jmp.s
    M bolt/test/X86/unreachable.test
    M bolt/test/X86/vararg.test
    M bolt/test/X86/yaml-multiple-profiles.test
    A bolt/test/X86/yaml-non-simple.test
    M bolt/test/X86/zero-sized-object.s
    M bolt/test/bad-exe.test
    M bolt/test/bolt-icf.test
    M bolt/test/bolt-info.test
    M bolt/test/heatmap.test
    M bolt/test/invalid-profile.test
    M bolt/test/keep-aranges.test
    M bolt/test/link_fdata.py
    M bolt/test/lit.local.cfg
    M bolt/test/lsda-section-name.cpp
    M bolt/test/no-relocs.test
    M bolt/test/non-empty-debug-line.test
    M bolt/test/pie.test
    M bolt/test/re-optimize.test
    M bolt/test/runtime/X86/asm-dump.c
    M bolt/test/runtime/X86/hot-end-symbol.s
    A bolt/test/runtime/bolt-reserved.cpp
    M bolt/test/shared-object.test
    M bolt/unittests/CMakeLists.txt
    M clang-tools-extra/CMakeLists.txt
    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/CMakeLists.txt
    M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
    M clang-tools-extra/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp
    M clang-tools-extra/clang-query/CMakeLists.txt
    M clang-tools-extra/clang-query/Query.cpp
    M clang-tools-extra/clang-query/Query.h
    M clang-tools-extra/clang-query/QueryParser.cpp
    M clang-tools-extra/clang-query/QuerySession.h
    M clang-tools-extra/clang-query/tool/ClangQuery.cpp
    M clang-tools-extra/clang-tidy/CMakeLists.txt
    M clang-tools-extra/clang-tidy/ClangTidy.cpp
    M clang-tools-extra/clang-tidy/ClangTidyCheck.cpp
    M clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
    M clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h
    M clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
    M clang-tools-extra/clang-tidy/ClangTidyOptions.h
    M clang-tools-extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp
    M clang-tools-extra/clang-tidy/boost/BoostTidyModule.cpp
    M clang-tools-extra/clang-tidy/boost/CMakeLists.txt
    A clang-tools-extra/clang-tidy/boost/UseRangesCheck.cpp
    A clang-tools-extra/clang-tidy/boost/UseRangesCheck.h
    M clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
    M clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
    M clang-tools-extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/IncorrectEnableIfCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/MultiLevelImplicitPointerConversionCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/OptionalValueConversionCheck.cpp
    A clang-tools-extra/clang-tidy/bugprone/PointerArithmeticOnPolymorphicObjectCheck.cpp
    A clang-tools-extra/clang-tidy/bugprone/PointerArithmeticOnPolymorphicObjectCheck.h
    M clang-tools-extra/clang-tidy/bugprone/ReservedIdentifierCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/ReturnConstRefFromParameterCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.h
    M clang-tools-extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
    M clang-tools-extra/clang-tidy/cert/CERTTidyModule.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/cppcoreguidelines/MacroUsageCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h
    M clang-tools-extra/clang-tidy/hicpp/SignedBitwiseCheck.cpp
    M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
    M clang-tools-extra/clang-tidy/misc/HeaderIncludeCycleCheck.cpp
    M clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
    M clang-tools-extra/clang-tidy/misc/UnusedParametersCheck.cpp
    A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
    A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.h
    M clang-tools-extra/clang-tidy/modernize/CMakeLists.txt
    M clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/MinMaxUseInitializerListCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
    M clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.h
    A clang-tools-extra/clang-tidy/modernize/UseRangesCheck.cpp
    A clang-tools-extra/clang-tidy/modernize/UseRangesCheck.h
    A clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.cpp
    A clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.h
    M clang-tools-extra/clang-tidy/modernize/UseStdPrintCheck.cpp
    M clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
    M clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp
    M clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
    M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
    M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
    M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
    M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
    M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
    M clang-tools-extra/clang-tidy/readability/MathMissingParenthesesCheck.cpp
    M clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
    M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
    M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
    M clang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp
    M clang-tools-extra/clang-tidy/readability/StringCompareCheck.cpp
    M clang-tools-extra/clang-tidy/readability/StringCompareCheck.h
    M clang-tools-extra/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp
    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/clang-tidy/utils/CMakeLists.txt
    M clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
    M clang-tools-extra/clang-tidy/utils/ExprSequence.cpp
    M clang-tools-extra/clang-tidy/utils/FormatStringConverter.cpp
    M clang-tools-extra/clang-tidy/utils/FormatStringConverter.h
    M clang-tools-extra/clang-tidy/utils/IncludeSorter.cpp
    M clang-tools-extra/clang-tidy/utils/Matchers.h
    M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
    M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.h
    A clang-tools-extra/clang-tidy/utils/UseRangesCheck.cpp
    A clang-tools-extra/clang-tidy/utils/UseRangesCheck.h
    M clang-tools-extra/clangd/AST.cpp
    M clang-tools-extra/clangd/Config.h
    M clang-tools-extra/clangd/ConfigCompile.cpp
    M clang-tools-extra/clangd/ConfigFragment.h
    M clang-tools-extra/clangd/ConfigYAML.cpp
    M clang-tools-extra/clangd/FindSymbols.cpp
    M clang-tools-extra/clangd/Format.cpp
    M clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
    M clang-tools-extra/clangd/Hover.cpp
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/clangd/IncludeCleaner.h
    M clang-tools-extra/clangd/ParsedAST.cpp
    M clang-tools-extra/clangd/Preamble.cpp
    M clang-tools-extra/clangd/Selection.h
    M clang-tools-extra/clangd/SemanticHighlighting.cpp
    M clang-tools-extra/clangd/TidyProvider.cpp
    M clang-tools-extra/clangd/XRefs.cpp
    M clang-tools-extra/clangd/index/CanonicalIncludes.cpp
    M clang-tools-extra/clangd/index/remote/CMakeLists.txt
    M clang-tools-extra/clangd/index/remote/Client.h
    M clang-tools-extra/clangd/index/remote/server/Server.cpp
    M clang-tools-extra/clangd/refactor/Rename.cpp
    M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
    M clang-tools-extra/clangd/support/ThreadsafeFS.cpp
    M clang-tools-extra/clangd/support/Trace.cpp
    M clang-tools-extra/clangd/test/infinite-instantiation.test
    M clang-tools-extra/clangd/test/trace.test
    M clang-tools-extra/clangd/tool/ClangdMain.cpp
    M clang-tools-extra/clangd/unittests/ASTTests.cpp
    M clang-tools-extra/clangd/unittests/CMakeLists.txt
    M clang-tools-extra/clangd/unittests/ClangdTests.cpp
    M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
    M clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
    M clang-tools-extra/clangd/unittests/FindTargetTests.cpp
    M clang-tools-extra/clangd/unittests/HoverTests.cpp
    M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
    M clang-tools-extra/clangd/unittests/InlayHintTests.cpp
    M clang-tools-extra/clangd/unittests/PreambleTests.cpp
    M clang-tools-extra/clangd/unittests/ReplayPeambleTests.cpp
    M clang-tools-extra/clangd/unittests/SelectionTests.cpp
    M clang-tools-extra/clangd/unittests/XRefsTests.cpp
    M clang-tools-extra/clangd/unittests/tweaks/DefineOutlineTests.cpp
    M clang-tools-extra/docs/CMakeLists.txt
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/boost/use-ranges.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/bad-signal-to-kill-thread.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/macro-parentheses.rst
    A clang-tools-extra/docs/clang-tidy/checks/bugprone/pointer-arithmetic-on-polymorphic-object.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-expression.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-memory-comparison.rst
    A clang-tools-extra/docs/clang-tidy/checks/cert/ctr56-cpp.rst
    A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.ArrayDelete.rst
    A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/security.SetgidSetuidOrder.rst
    A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/unix.Stream.rst
    M clang-tools-extra/docs/clang-tidy/checks/concurrency/thread-canceltype-asynchronous.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/macro-usage.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/pro-type-member-init.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/special-member-functions.rst
    M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    M clang-tools-extra/docs/clang-tidy/checks/misc/throw-by-value-catch-by-reference.rst
    A clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
    M clang-tools-extra/docs/clang-tidy/checks/modernize/use-constraints.rst
    M clang-tools-extra/docs/clang-tidy/checks/modernize/use-designated-initializers.rst
    A clang-tools-extra/docs/clang-tidy/checks/modernize/use-ranges.rst
    A clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-format.rst
    M clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability/identifier-length.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-conversion.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability/static-accessed-through-instance.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability/string-compare.rst
    M clang-tools-extra/docs/clang-tidy/index.rst
    M clang-tools-extra/include-cleaner/lib/IncludeSpeller.cpp
    M clang-tools-extra/include-cleaner/lib/Record.cpp
    M clang-tools-extra/include-cleaner/lib/WalkAST.cpp
    M clang-tools-extra/include-cleaner/unittests/CMakeLists.txt
    M clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp
    M clang-tools-extra/include-cleaner/unittests/IncludeSpellerTest.cpp
    M clang-tools-extra/include-cleaner/unittests/RecordTest.cpp
    M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
    M clang-tools-extra/modularize/ModularizeUtilities.cpp
    M clang-tools-extra/pseudo/include/CMakeLists.txt
    M clang-tools-extra/pseudo/lib/CMakeLists.txt
    M clang-tools-extra/pseudo/lib/cxx/CMakeLists.txt
    M clang-tools-extra/pseudo/tool/CMakeLists.txt
    M clang-tools-extra/pseudo/unittests/CMakeLists.txt
    M clang-tools-extra/test/CMakeLists.txt
    A clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
    A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Calculator.h
    A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Circle.h
    A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Rectangle.h
    A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Shape.h
    A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
    A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
    A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.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
    A clang-tools-extra/test/clang-doc/basic-project.test
    A clang-tools-extra/test/clang-query/Inputs/empty.script
    A clang-tools-extra/test/clang-query/Inputs/file.script
    A clang-tools-extra/test/clang-query/Inputs/runtime_file.script
    M clang-tools-extra/test/clang-query/errors.c
    A clang-tools-extra/test/clang-query/file-empty.c
    A clang-tools-extra/test/clang-query/file-query.c
    M clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
    M clang-tools-extra/test/clang-tidy/check_clang_tidy.py
    M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
    A clang-tools-extra/test/clang-tidy/checkers/boost/use-ranges.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/multi-level-implicit-pointer-conversion.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/optional-value-conversion.cpp
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/pointer-arithmetic-on-polymorphic-object-all.cpp
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/pointer-arithmetic-on-polymorphic-object-decl-only.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/return-const-ref-from-parameter.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-2.c
    A 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/bugprone/use-after-move.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/macro-usage.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-member-init-no-crash.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-member-init.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/special-member-functions-relaxed.cpp
    M clang-tools-extra/test/clang-tidy/checkers/hicpp/signed-bitwise-integer-literals.cpp
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func.h
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_cpp.inc
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_h.inc
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/var.h
    A clang-tools-extra/test/clang-tidy/checkers/misc/header-include-cycle.self.cpp
    M clang-tools-extra/test/clang-tidy/checkers/misc/new-delete-overloads.cpp
    A clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.hpp
    R clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.hxx
    A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-fix-mode-none.cpp
    A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
    A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-var.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize/make-unique.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize/min-max-use-initializer-list.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-constraints.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-designated-initializers.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace-ignore-implicit-constructors.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace.cpp
    A clang-tools-extra/test/clang-tidy/checkers/modernize/use-ranges.cpp
    A clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-custom.cpp
    A clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-fmt.cpp
    A clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-print-custom.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance/inefficient-vector-operation.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-copy-initialization.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
    A clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp
    A clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-outofline.cpp
    A clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion-cxx20.cpp
    A clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion.c
    M clang-tools-extra/test/clang-tidy/checkers/readability/isolate-declaration-cxx17.cpp
    R clang-tools-extra/test/clang-tidy/checkers/readability/magic-numbers-todo.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/math-missing-parentheses.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/redundant-member-init.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/simplify-boolean-expr-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/simplify-boolean-expr.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/static-accessed-through-instance.cpp
    A clang-tools-extra/test/clang-tidy/checkers/readability/string-compare-custom-string-classes.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/string-compare.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/.clang-tidy
    M clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/1/.clang-tidy
    M clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/3/.clang-tidy
    A clang-tools-extra/test/clang-tidy/infrastructure/allow-no-checks.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/config-files.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/file-filter.cpp
    M clang-tools-extra/test/pp-trace/pp-trace-macro.cpp
    M clang-tools-extra/unittests/CMakeLists.txt
    M clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
    M clang-tools-extra/unittests/clang-query/QueryParserTest.cpp
    M clang-tools-extra/unittests/clang-tidy/DeclRefExprUtilsTest.cpp
    M clang/CMakeLists.txt
    M clang/README.txt
    M clang/bindings/python/clang/cindex.py
    M clang/bindings/python/tests/CMakeLists.txt
    A clang/bindings/python/tests/cindex/test_enums.py
    M clang/cmake/caches/CrossWinToARMLinux.cmake
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M clang/cmake/caches/Fuchsia.cmake
    M clang/cmake/caches/HLSL.cmake
    M clang/cmake/caches/Release.cmake
    M clang/cmake/caches/VectorEngine.cmake
    M clang/cmake/modules/AddClang.cmake
    M clang/docs/APINotes.rst
    M clang/docs/Block-ABI-Apple.rst
    M clang/docs/BoundsSafety.rst
    M clang/docs/BoundsSafetyImplPlans.rst
    M clang/docs/CMakeLists.txt
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ClangLinkerWrapper.rst
    M clang/docs/ClangOffloadBundler.rst
    M clang/docs/CommandGuide/clang.rst
    M clang/docs/HIPSupport.rst
    A clang/docs/HLSL/AvailabilityDiagnostics.rst
    M clang/docs/HLSL/HLSLDocs.rst
    M clang/docs/InternalsManual.rst
    M clang/docs/LanguageExtensions.rst
    M clang/docs/LibASTMatchersReference.html
    M clang/docs/PointerAuthentication.rst
    M clang/docs/ReleaseNotes.rst
    M clang/docs/SourceBasedCodeCoverage.rst
    M clang/docs/StandardCPlusPlusModules.rst
    M clang/docs/ThreadSafetyAnalysis.rst
    M clang/docs/UsersManual.rst
    M clang/docs/analyzer/checkers.rst
    A clang/docs/analyzer/images/analyzer_html.png
    A clang/docs/analyzer/images/analyzer_xcode.png
    A clang/docs/analyzer/images/scan_build_cmd.png
    M clang/docs/analyzer/user-docs.rst
    A clang/docs/analyzer/user-docs/CommandLineUsage.rst
    A clang/docs/analyzer/user-docs/FilingBugs.rst
    A clang/docs/analyzer/user-docs/Installation.rst
    M clang/docs/analyzer/user-docs/TaintAnalysisConfiguration.rst
    A clang/docs/analyzer/user-docs/UsingWithXCode.rst
    M clang/docs/tools/clang-formatted-files.txt
    M clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp
    M clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
    M clang/include/clang-c/Index.h
    M clang/include/clang/APINotes/APINotesManager.h
    M clang/include/clang/APINotes/APINotesReader.h
    M clang/include/clang/APINotes/APINotesWriter.h
    M clang/include/clang/APINotes/Types.h
    M clang/include/clang/AST/ASTConsumer.h
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/ASTNodeTraverser.h
    M clang/include/clang/AST/ASTUnresolvedSet.h
    M clang/include/clang/AST/AbstractBasicReader.h
    M clang/include/clang/AST/AbstractBasicWriter.h
    M clang/include/clang/AST/BuiltinTypes.def
    M clang/include/clang/AST/CommentCommandTraits.h
    M clang/include/clang/AST/CommentCommands.td
    M clang/include/clang/AST/CommentParser.h
    M clang/include/clang/AST/Decl.h
    M clang/include/clang/AST/DeclAccessPair.h
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/AST/DeclID.h
    M clang/include/clang/AST/DeclTemplate.h
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/AST/ExprCXX.h
    M clang/include/clang/AST/GlobalDecl.h
    M clang/include/clang/AST/Mangle.h
    M clang/include/clang/AST/OpenACCClause.h
    M clang/include/clang/AST/PrettyPrinter.h
    M clang/include/clang/AST/PropertiesBase.td
    M clang/include/clang/AST/RecursiveASTVisitor.h
    M clang/include/clang/AST/Redeclarable.h
    M clang/include/clang/AST/StmtOpenACC.h
    M clang/include/clang/AST/TemplateBase.h
    M clang/include/clang/AST/TemplateName.h
    M clang/include/clang/AST/TextNodeDumper.h
    M clang/include/clang/AST/Type.h
    M clang/include/clang/AST/TypeProperties.td
    M clang/include/clang/AST/UnresolvedSet.h
    M clang/include/clang/AST/VTTBuilder.h
    M clang/include/clang/AST/VTableBuilder.h
    M clang/include/clang/ASTMatchers/ASTMatchers.h
    M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
    M clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
    M clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
    M clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
    M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
    A clang/include/clang/Analysis/FlowSensitive/CNFFormula.h
    M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
    M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
    M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
    M clang/include/clang/Analysis/FlowSensitive/Solver.h
    M clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
    M clang/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h
    A clang/include/clang/Basic/AMDGPUTypes.def
    A clang/include/clang/Basic/ASTSourceDescriptor.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/Builtins.def
    M clang/include/clang/Basic/Builtins.td
    M clang/include/clang/Basic/BuiltinsAArch64.def
    M clang/include/clang/Basic/BuiltinsAMDGPU.def
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/include/clang/Basic/BuiltinsWebAssembly.def
    M clang/include/clang/Basic/BuiltinsX86.def
    M clang/include/clang/Basic/CharInfo.h
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Basic/Cuda.h
    M clang/include/clang/Basic/CustomizableOptional.h
    M clang/include/clang/Basic/DebugOptions.def
    M clang/include/clang/Basic/DiagnosticCommonKinds.td
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Basic/DiagnosticFrontendKinds.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/include/clang/Basic/DiagnosticOptions.h
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/Features.def
    M clang/include/clang/Basic/FileManager.h
    M clang/include/clang/Basic/IdentifierTable.h
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Basic/LangOptions.h
    M clang/include/clang/Basic/LangStandard.h
    M clang/include/clang/Basic/LangStandards.def
    M clang/include/clang/Basic/MSP430Target.def
    M clang/include/clang/Basic/Module.h
    M clang/include/clang/Basic/OpenACCClauses.def
    M clang/include/clang/Basic/OpenACCKinds.h
    M clang/include/clang/Basic/OpenMPKinds.h
    M clang/include/clang/Basic/PointerAuthOptions.h
    M clang/include/clang/Basic/Sanitizers.def
    M clang/include/clang/Basic/SourceLocation.h
    M clang/include/clang/Basic/SourceManager.h
    M clang/include/clang/Basic/StmtNodes.td
    A clang/include/clang/Basic/Target/MSP430/gen-msp430-def.py
    M clang/include/clang/Basic/TargetCXXABI.h
    M clang/include/clang/Basic/TargetInfo.h
    M clang/include/clang/Basic/Thunk.h
    M clang/include/clang/Basic/TokenKinds.def
    M clang/include/clang/Basic/arm_sme.td
    M clang/include/clang/Basic/arm_sve.td
    M clang/include/clang/Basic/arm_sve_sme_incl.td
    M clang/include/clang/Basic/riscv_vector.td
    A clang/include/clang/CIR/.clang-tidy
    M clang/include/clang/CIR/CIRGenerator.h
    A clang/include/clang/CIR/FrontendAction/CIRGenAction.h
    R clang/include/clang/CIRFrontendAction/CIRGenAction.h
    M clang/include/clang/CodeGen/CodeGenABITypes.h
    M clang/include/clang/CodeGen/ConstantInitBuilder.h
    M clang/include/clang/CodeGen/ModuleBuilder.h
    M clang/include/clang/Driver/Driver.h
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Driver/SanitizerArgs.h
    M clang/include/clang/Driver/ToolChain.h
    A clang/include/clang/Driver/aarch64-mlr-for-calls-only.c
    M clang/include/clang/ExtractAPI/API.h
    M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
    M clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
    M clang/include/clang/Format/Format.h
    M clang/include/clang/Frontend/CompilerInvocation.h
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/include/clang/Frontend/MultiplexConsumer.h
    M clang/include/clang/Frontend/PrecompiledPreamble.h
    M clang/include/clang/Frontend/PreprocessorOutputOptions.h
    M clang/include/clang/Frontend/SerializedDiagnosticReader.h
    A clang/include/clang/InstallAPI/DirectoryScanner.h
    M clang/include/clang/InstallAPI/DylibVerifier.h
    M clang/include/clang/InstallAPI/HeaderFile.h
    A clang/include/clang/InstallAPI/Library.h
    M clang/include/clang/InstallAPI/MachO.h
    M clang/include/clang/InstallAPI/Visitor.h
    M clang/include/clang/Interpreter/Interpreter.h
    M clang/include/clang/Lex/ExternalPreprocessorSource.h
    M clang/include/clang/Lex/HeaderSearch.h
    M clang/include/clang/Lex/HeaderSearchOptions.h
    M clang/include/clang/Lex/LiteralSupport.h
    M clang/include/clang/Lex/PPCallbacks.h
    A clang/include/clang/Lex/PPDirectiveParameter.h
    A clang/include/clang/Lex/PPEmbedParameters.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Lex/PreprocessorOptions.h
    M clang/include/clang/Parse/Parser.h
    A clang/include/clang/Sema/Attr.h
    M clang/include/clang/Sema/DeclSpec.h
    M clang/include/clang/Sema/Initialization.h
    M clang/include/clang/Sema/Overload.h
    M clang/include/clang/Sema/ParsedAttr.h
    M clang/include/clang/Sema/Scope.h
    M clang/include/clang/Sema/Sema.h
    A clang/include/clang/Sema/SemaAMDGPU.h
    A clang/include/clang/Sema/SemaARM.h
    A clang/include/clang/Sema/SemaAVR.h
    A clang/include/clang/Sema/SemaBPF.h
    M clang/include/clang/Sema/SemaBase.h
    A clang/include/clang/Sema/SemaCodeCompletion.h
    M clang/include/clang/Sema/SemaHLSL.h
    A clang/include/clang/Sema/SemaHexagon.h
    M clang/include/clang/Sema/SemaInternal.h
    A clang/include/clang/Sema/SemaLoongArch.h
    A clang/include/clang/Sema/SemaM68k.h
    A clang/include/clang/Sema/SemaMIPS.h
    A clang/include/clang/Sema/SemaMSP430.h
    A clang/include/clang/Sema/SemaNVPTX.h
    A clang/include/clang/Sema/SemaObjC.h
    M clang/include/clang/Sema/SemaOpenACC.h
    A clang/include/clang/Sema/SemaOpenCL.h
    M clang/include/clang/Sema/SemaOpenMP.h
    A clang/include/clang/Sema/SemaPPC.h
    A clang/include/clang/Sema/SemaPseudoObject.h
    A clang/include/clang/Sema/SemaRISCV.h
    M clang/include/clang/Sema/SemaSYCL.h
    A clang/include/clang/Sema/SemaSwift.h
    A clang/include/clang/Sema/SemaSystemZ.h
    A clang/include/clang/Sema/SemaWasm.h
    A clang/include/clang/Sema/SemaX86.h
    M clang/include/clang/Sema/Template.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTDeserializationListener.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ASTRecordReader.h
    M clang/include/clang/Serialization/ASTRecordWriter.h
    M clang/include/clang/Serialization/ASTWriter.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/include/clang/Serialization/ModuleManager.h
    M clang/include/clang/Serialization/SourceLocationEncoding.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/CallDescription.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
    M clang/include/clang/Support/RISCVVIntrinsicUtils.h
    M clang/include/clang/Testing/TestAST.h
    M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
    R clang/include/clang/Tooling/NodeIntrospection.h
    M clang/include/clang/Tooling/Syntax/Tokens.h
    M clang/include/clang/Tooling/Transformer/RangeSelector.h
    M clang/include/module.modulemap
    M clang/lib/APINotes/APINotesFormat.h
    M clang/lib/APINotes/APINotesManager.cpp
    M clang/lib/APINotes/APINotesReader.cpp
    M clang/lib/APINotes/APINotesTypes.cpp
    M clang/lib/APINotes/APINotesWriter.cpp
    M clang/lib/APINotes/APINotesYAMLCompiler.cpp
    M clang/lib/ARCMigrate/ARCMT.cpp
    M clang/lib/ARCMigrate/ObjCMT.cpp
    M clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
    M clang/lib/ARCMigrate/Transforms.cpp
    M clang/lib/AST/APValue.cpp
    M clang/lib/AST/ASTConcept.cpp
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTDiagnostic.cpp
    M clang/lib/AST/ASTDumper.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/ASTStructuralEquivalence.cpp
    M clang/lib/AST/CMakeLists.txt
    M clang/lib/AST/CommentParser.cpp
    M clang/lib/AST/ComputeDependence.cpp
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/AST/DeclCXX.cpp
    M clang/lib/AST/DeclPrinter.cpp
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/AST/Expr.cpp
    M clang/lib/AST/ExprCXX.cpp
    M clang/lib/AST/ExprClassification.cpp
    M clang/lib/AST/ExprConstShared.h
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/ExternalASTSource.cpp
    M clang/lib/AST/Interp/ByteCodeEmitter.cpp
    M clang/lib/AST/Interp/ByteCodeEmitter.h
    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/Descriptor.h
    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/EvaluationResult.cpp
    M clang/lib/AST/Interp/EvaluationResult.h
    M clang/lib/AST/Interp/Function.cpp
    M clang/lib/AST/Interp/Function.h
    M clang/lib/AST/Interp/IntegralAP.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/InterpBuiltin.cpp
    M clang/lib/AST/Interp/InterpFrame.cpp
    M clang/lib/AST/Interp/InterpStack.cpp
    M clang/lib/AST/Interp/InterpStack.h
    M clang/lib/AST/Interp/InterpState.cpp
    M clang/lib/AST/Interp/InterpState.h
    A clang/lib/AST/Interp/MemberPointer.cpp
    A clang/lib/AST/Interp/MemberPointer.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/PrimType.cpp
    M clang/lib/AST/Interp/PrimType.h
    M clang/lib/AST/Interp/Program.cpp
    M clang/lib/AST/Interp/Program.h
    M clang/lib/AST/Interp/Record.cpp
    M clang/lib/AST/Interp/Record.h
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/JSONNodeDumper.cpp
    M clang/lib/AST/Mangle.cpp
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/AST/NSAPI.cpp
    M clang/lib/AST/ODRDiagsEmitter.cpp
    M clang/lib/AST/ODRHash.cpp
    M clang/lib/AST/OpenACCClause.cpp
    M clang/lib/AST/ParentMap.cpp
    M clang/lib/AST/PrintfFormatString.cpp
    M clang/lib/AST/QualTypeNames.cpp
    M clang/lib/AST/StmtOpenACC.cpp
    M clang/lib/AST/StmtOpenMP.cpp
    M clang/lib/AST/StmtPrinter.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/AST/TemplateBase.cpp
    M clang/lib/AST/TemplateName.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/AST/TypeLoc.cpp
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/AST/VTTBuilder.cpp
    M clang/lib/AST/VTableBuilder.cpp
    M clang/lib/ASTMatchers/Dynamic/Marshallers.cpp
    M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
    M clang/lib/Analysis/FlowSensitive/CMakeLists.txt
    A clang/lib/Analysis/FlowSensitive/CNFFormula.cpp
    M clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
    M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
    M clang/lib/Analysis/FlowSensitive/Transfer.cpp
    M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
    M clang/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp
    M clang/lib/Analysis/MacroExpansionContext.cpp
    M clang/lib/Analysis/ThreadSafetyCommon.cpp
    M clang/lib/Analysis/UnsafeBufferUsage.cpp
    A clang/lib/Basic/ASTSourceDescriptor.cpp
    M clang/lib/Basic/Builtins.cpp
    M clang/lib/Basic/CMakeLists.txt
    M clang/lib/Basic/CharInfo.cpp
    M clang/lib/Basic/Cuda.cpp
    M clang/lib/Basic/Diagnostic.cpp
    M clang/lib/Basic/FileManager.cpp
    M clang/lib/Basic/IdentifierTable.cpp
    M clang/lib/Basic/LangOptions.cpp
    M clang/lib/Basic/Module.cpp
    M clang/lib/Basic/OpenMPKinds.cpp
    M clang/lib/Basic/SourceManager.cpp
    M clang/lib/Basic/Targets.cpp
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/AArch64.h
    M clang/lib/Basic/Targets/AMDGPU.cpp
    M clang/lib/Basic/Targets/ARM.cpp
    M clang/lib/Basic/Targets/Hexagon.cpp
    M clang/lib/Basic/Targets/Hexagon.h
    M clang/lib/Basic/Targets/LoongArch.cpp
    M clang/lib/Basic/Targets/LoongArch.h
    M clang/lib/Basic/Targets/Mips.cpp
    M clang/lib/Basic/Targets/Mips.h
    M clang/lib/Basic/Targets/NVPTX.cpp
    M clang/lib/Basic/Targets/NVPTX.h
    M clang/lib/Basic/Targets/OSTargets.h
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/lib/Basic/Targets/PPC.h
    M clang/lib/Basic/Targets/RISCV.cpp
    M clang/lib/Basic/Targets/SPIR.cpp
    M clang/lib/Basic/Targets/SPIR.h
    M clang/lib/Basic/Targets/SystemZ.h
    M clang/lib/Basic/Targets/WebAssembly.cpp
    M clang/lib/Basic/Targets/WebAssembly.h
    M clang/lib/Basic/Targets/X86.cpp
    M clang/lib/Basic/Targets/X86.h
    M clang/lib/Basic/TypeTraits.cpp
    A clang/lib/CIR/.clang-tidy
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    M clang/lib/CIR/CodeGen/CIRGenTypeCache.h
    M clang/lib/CIR/CodeGen/CIRGenerator.cpp
    A clang/lib/CIR/FrontendAction/.clang-tidy
    M clang/lib/CIR/FrontendAction/CIRGenAction.cpp
    M clang/lib/CodeGen/ABIInfo.cpp
    M clang/lib/CodeGen/ABIInfo.h
    M clang/lib/CodeGen/ABIInfoImpl.cpp
    M clang/lib/CodeGen/ABIInfoImpl.h
    M clang/lib/CodeGen/BackendConsumer.h
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/lib/CodeGen/CGBlocks.cpp
    M clang/lib/CodeGen/CGBuilder.h
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGCUDANV.cpp
    M clang/lib/CodeGen/CGCXX.cpp
    M clang/lib/CodeGen/CGCXXABI.h
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGCall.h
    M clang/lib/CodeGen/CGClass.cpp
    M clang/lib/CodeGen/CGCleanup.cpp
    M clang/lib/CodeGen/CGCoroutine.cpp
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CGDecl.cpp
    M clang/lib/CodeGen/CGDeclCXX.cpp
    M clang/lib/CodeGen/CGException.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGExprCXX.cpp
    M clang/lib/CodeGen/CGExprComplex.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/lib/CodeGen/CGGPUBuiltin.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/CodeGen/CGNonTrivialStruct.cpp
    M clang/lib/CodeGen/CGObjC.cpp
    M clang/lib/CodeGen/CGObjCGNU.cpp
    M clang/lib/CodeGen/CGObjCMac.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.h
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
    A clang/lib/CodeGen/CGPointerAuth.cpp
    A clang/lib/CodeGen/CGPointerAuthInfo.h
    M clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
    M clang/lib/CodeGen/CGStmt.cpp
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/CodeGen/CGVTT.cpp
    M clang/lib/CodeGen/CGVTables.cpp
    M clang/lib/CodeGen/CGVTables.h
    M clang/lib/CodeGen/CGValue.h
    M clang/lib/CodeGen/CMakeLists.txt
    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/CodeGenPGO.cpp
    M clang/lib/CodeGen/CodeGenTypeCache.h
    M clang/lib/CodeGen/CodeGenTypes.cpp
    M clang/lib/CodeGen/ConstantEmitter.h
    M clang/lib/CodeGen/ConstantInitBuilder.cpp
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/lib/CodeGen/CoverageMappingGen.h
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/CodeGen/LinkInModulesPass.cpp
    M clang/lib/CodeGen/LinkInModulesPass.h
    M clang/lib/CodeGen/MCDCState.h
    M clang/lib/CodeGen/MicrosoftCXXABI.cpp
    M clang/lib/CodeGen/ModuleBuilder.cpp
    M clang/lib/CodeGen/TargetInfo.h
    M clang/lib/CodeGen/Targets/AArch64.cpp
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/lib/CodeGen/Targets/ARC.cpp
    M clang/lib/CodeGen/Targets/ARM.cpp
    M clang/lib/CodeGen/Targets/CSKY.cpp
    M clang/lib/CodeGen/Targets/Hexagon.cpp
    M clang/lib/CodeGen/Targets/LoongArch.cpp
    M clang/lib/CodeGen/Targets/MSP430.cpp
    M clang/lib/CodeGen/Targets/Mips.cpp
    M clang/lib/CodeGen/Targets/NVPTX.cpp
    M clang/lib/CodeGen/Targets/PNaCl.cpp
    M clang/lib/CodeGen/Targets/PPC.cpp
    M clang/lib/CodeGen/Targets/RISCV.cpp
    M clang/lib/CodeGen/Targets/Sparc.cpp
    M clang/lib/CodeGen/Targets/SystemZ.cpp
    M clang/lib/CodeGen/Targets/WebAssembly.cpp
    M clang/lib/CodeGen/Targets/X86.cpp
    M clang/lib/CodeGen/Targets/XCore.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/OffloadBundler.cpp
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/AIX.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.h
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
    M clang/lib/Driver/ToolChains/Arch/ARM.cpp
    M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
    M clang/lib/Driver/ToolChains/Arch/Mips.cpp
    M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
    M clang/lib/Driver/ToolChains/Arch/RISCV.h
    M clang/lib/Driver/ToolChains/Arch/X86.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/Darwin.cpp
    M clang/lib/Driver/ToolChains/Darwin.h
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/lib/Driver/ToolChains/Fuchsia.cpp
    M clang/lib/Driver/ToolChains/Gnu.cpp
    M clang/lib/Driver/ToolChains/HIPAMD.cpp
    M clang/lib/Driver/ToolChains/HIPAMD.h
    M clang/lib/Driver/ToolChains/HIPSPV.cpp
    M clang/lib/Driver/ToolChains/HIPUtility.cpp
    M clang/lib/Driver/ToolChains/HLSL.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/lib/Driver/ToolChains/MSVC.h
    M clang/lib/Driver/ToolChains/MinGW.cpp
    M clang/lib/Driver/ToolChains/OpenBSD.cpp
    M clang/lib/Driver/ToolChains/PS4CPU.cpp
    M clang/lib/Driver/ToolChains/SPIRV.cpp
    M clang/lib/Driver/ToolChains/Solaris.cpp
    M clang/lib/Driver/ToolChains/WebAssembly.cpp
    M clang/lib/Driver/ToolChains/ZOS.cpp
    M clang/lib/ExtractAPI/API.cpp
    M clang/lib/ExtractAPI/DeclarationFragments.cpp
    M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
    M clang/lib/Format/CMakeLists.txt
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/FormatToken.cpp
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/FormatTokenSource.h
    M clang/lib/Format/MacroExpander.cpp
    M clang/lib/Format/Macros.h
    M clang/lib/Format/QualifierAlignmentFixer.cpp
    M clang/lib/Format/QualifierAlignmentFixer.h
    M clang/lib/Format/SortJavaScriptImports.cpp
    M clang/lib/Format/TokenAnalyzer.cpp
    M clang/lib/Format/TokenAnalyzer.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/TokenAnnotator.h
    M clang/lib/Format/UnwrappedLineFormatter.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Format/UnwrappedLineParser.h
    M clang/lib/Format/WhitespaceManager.cpp
    M clang/lib/Format/WhitespaceManager.h
    M clang/lib/Frontend/ASTUnit.cpp
    M clang/lib/Frontend/CompilerInstance.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/DependencyFile.cpp
    M clang/lib/Frontend/DependencyGraph.cpp
    M clang/lib/Frontend/FrontendAction.cpp
    M clang/lib/Frontend/FrontendActions.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
    M clang/lib/Frontend/ModuleDependencyCollector.cpp
    M clang/lib/Frontend/MultiplexConsumer.cpp
    M clang/lib/Frontend/PrecompiledPreamble.cpp
    M clang/lib/Frontend/PrintPreprocessedOutput.cpp
    M clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
    M clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
    M clang/lib/Frontend/TextDiagnostic.cpp
    M clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
    M clang/lib/Headers/CMakeLists.txt
    A clang/lib/Headers/__stdarg_header_macro.h
    A clang/lib/Headers/__stddef_header_macro.h
    M clang/lib/Headers/arm_acle.h
    R clang/lib/Headers/avx512erintrin.h
    R clang/lib/Headers/avx512pfintrin.h
    M clang/lib/Headers/cuda_wrappers/algorithm
    M clang/lib/Headers/float.h
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/lib/Headers/immintrin.h
    M clang/lib/Headers/intrin.h
    M clang/lib/Headers/module.modulemap
    M clang/lib/Headers/opencl-c-base.h
    M clang/lib/Headers/opencl-c.h
    M clang/lib/Headers/ptrauth.h
    M clang/lib/Headers/stdarg.h
    M clang/lib/Headers/stddef.h
    M clang/lib/Index/CommentToXML.cpp
    M clang/lib/Index/IndexBody.cpp
    M clang/lib/Index/IndexDecl.cpp
    M clang/lib/Index/USRGeneration.cpp
    M clang/lib/InstallAPI/CMakeLists.txt
    M clang/lib/InstallAPI/DiagnosticBuilderWrappers.cpp
    A clang/lib/InstallAPI/DirectoryScanner.cpp
    M clang/lib/InstallAPI/DylibVerifier.cpp
    A clang/lib/InstallAPI/Library.cpp
    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/IncrementalParser.cpp
    M clang/lib/Interpreter/Interpreter.cpp
    A clang/lib/Interpreter/Wasm.cpp
    A clang/lib/Interpreter/Wasm.h
    M clang/lib/Lex/DependencyDirectivesScanner.cpp
    M clang/lib/Lex/HeaderSearch.cpp
    M clang/lib/Lex/Lexer.cpp
    M clang/lib/Lex/LiteralSupport.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Lex/PPExpressions.cpp
    M clang/lib/Lex/PPLexerChange.cpp
    M clang/lib/Lex/PPMacroExpansion.cpp
    M clang/lib/Lex/Preprocessor.cpp
    M clang/lib/Lex/TokenConcatenation.cpp
    M clang/lib/Parse/ParseCXXInlineMethods.cpp
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Parse/ParseExprCXX.cpp
    M clang/lib/Parse/ParseHLSL.cpp
    M clang/lib/Parse/ParseInit.cpp
    M clang/lib/Parse/ParseObjc.cpp
    M clang/lib/Parse/ParseOpenACC.cpp
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/lib/Parse/ParsePragma.cpp
    M clang/lib/Parse/ParseStmt.cpp
    M clang/lib/Parse/ParseTemplate.cpp
    M clang/lib/Parse/Parser.cpp
    M clang/lib/Sema/AnalysisBasedWarnings.cpp
    M clang/lib/Sema/CMakeLists.txt
    A clang/lib/Sema/CheckExprLifetime.cpp
    A clang/lib/Sema/CheckExprLifetime.h
    M clang/lib/Sema/DeclSpec.cpp
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    M clang/lib/Sema/OpenCLBuiltins.td
    M clang/lib/Sema/Scope.cpp
    M clang/lib/Sema/ScopeInfo.cpp
    M clang/lib/Sema/Sema.cpp
    A clang/lib/Sema/SemaAMDGPU.cpp
    M clang/lib/Sema/SemaAPINotes.cpp
    A clang/lib/Sema/SemaARM.cpp
    A clang/lib/Sema/SemaAVR.cpp
    M clang/lib/Sema/SemaAccess.cpp
    M clang/lib/Sema/SemaAttr.cpp
    M clang/lib/Sema/SemaAvailability.cpp
    A clang/lib/Sema/SemaBPF.cpp
    M clang/lib/Sema/SemaBase.cpp
    M clang/lib/Sema/SemaCUDA.cpp
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaCast.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/lib/Sema/SemaConcept.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaDeclObjC.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
    A clang/lib/Sema/SemaHexagon.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaLambda.cpp
    M clang/lib/Sema/SemaLookup.cpp
    A clang/lib/Sema/SemaLoongArch.cpp
    A clang/lib/Sema/SemaM68k.cpp
    A clang/lib/Sema/SemaMIPS.cpp
    A clang/lib/Sema/SemaMSP430.cpp
    M clang/lib/Sema/SemaModule.cpp
    A clang/lib/Sema/SemaNVPTX.cpp
    A clang/lib/Sema/SemaObjC.cpp
    M clang/lib/Sema/SemaObjCProperty.cpp
    M clang/lib/Sema/SemaOpenACC.cpp
    A clang/lib/Sema/SemaOpenCL.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/lib/Sema/SemaOverload.cpp
    A clang/lib/Sema/SemaPPC.cpp
    M clang/lib/Sema/SemaPseudoObject.cpp
    A clang/lib/Sema/SemaRISCV.cpp
    R clang/lib/Sema/SemaRISCVVectorLookup.cpp
    M clang/lib/Sema/SemaSYCL.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M clang/lib/Sema/SemaStmtAsm.cpp
    M clang/lib/Sema/SemaStmtAttr.cpp
    A clang/lib/Sema/SemaSwift.cpp
    A clang/lib/Sema/SemaSystemZ.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
    A clang/lib/Sema/SemaWasm.cpp
    A clang/lib/Sema/SemaX86.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTCommon.cpp
    M clang/lib/Serialization/ASTCommon.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTReaderInternals.h
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/lib/Serialization/GlobalModuleIndex.cpp
    M clang/lib/Serialization/ModuleFile.cpp
    M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
    M clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
    R clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
    M clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/ErrnoChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp
    M clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.h
    M clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
    A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
    A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.h
    M clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
    A clang/lib/StaticAnalyzer/Checkers/PutenvStackArrayChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
    M clang/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp
    A clang/lib/StaticAnalyzer/Checkers/SetgidSetuidOrderChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
    M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.h
    M clang/lib/StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp
    R clang/lib/StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.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/CallDescription.cpp
    M clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/lib/StaticAnalyzer/Core/MemRegion.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/Support/CMakeLists.txt
    M clang/lib/Support/RISCVVIntrinsicUtils.cpp
    M clang/lib/Testing/TestAST.cpp
    M clang/lib/Tooling/CMakeLists.txt
    M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    R clang/lib/Tooling/DumpTool/APIData.h
    R clang/lib/Tooling/DumpTool/ASTSrcLocProcessor.cpp
    R clang/lib/Tooling/DumpTool/ASTSrcLocProcessor.h
    R clang/lib/Tooling/DumpTool/CMakeLists.txt
    R clang/lib/Tooling/DumpTool/ClangSrcLocDump.cpp
    R clang/lib/Tooling/DumpTool/generate_cxx_src_locs.py
    R clang/lib/Tooling/EmptyNodeIntrospection.inc.in
    M clang/lib/Tooling/Inclusions/Stdlib/CMakeLists.txt
    M clang/lib/Tooling/JSONCompilationDatabase.cpp
    R clang/lib/Tooling/NodeIntrospection.cpp
    M clang/lib/Tooling/Syntax/BuildTree.cpp
    M clang/lib/Tooling/Syntax/Tokens.cpp
    M clang/lib/Tooling/Tooling.cpp
    M clang/lib/Tooling/Transformer/RangeSelector.cpp
    M clang/lib/Tooling/Transformer/Stencil.cpp
    M clang/test/APINotes/export-as.c
    M clang/test/APINotes/extern-context.cpp
    M clang/test/APINotes/namespaces.cpp
    M clang/test/APINotes/properties.m
    M clang/test/APINotes/swift-import-as.cpp
    M clang/test/APINotes/templates.cpp
    M clang/test/APINotes/versioned.m
    M clang/test/AST/HLSL/RWBuffer-AST.hlsl
    M clang/test/AST/HLSL/ResourceStruct.hlsl
    A clang/test/AST/HLSL/export.hlsl
    A clang/test/AST/HLSL/packoffset.hlsl
    M clang/test/AST/HLSL/pch.hlsl
    M clang/test/AST/HLSL/pch_hlsl_buffer.hlsl
    M clang/test/AST/HLSL/pch_with_buf.hlsl
    M clang/test/AST/HLSL/vector-alias.hlsl
    M clang/test/AST/HLSL/vector-constructors.hlsl
    M clang/test/AST/Interp/arrays.cpp
    M clang/test/AST/Interp/bitfields.cpp
    M clang/test/AST/Interp/builtin-align-cxx.cpp
    M clang/test/AST/Interp/builtin-functions.cpp
    M clang/test/AST/Interp/builtins.cpp
    M clang/test/AST/Interp/c.c
    M clang/test/AST/Interp/complex.cpp
    M clang/test/AST/Interp/const-eval.c
    M clang/test/AST/Interp/const-fpfeatures.cpp
    A clang/test/AST/Interp/const-temporaries.cpp
    M clang/test/AST/Interp/cxx03.cpp
    M clang/test/AST/Interp/cxx11.cpp
    M clang/test/AST/Interp/cxx20.cpp
    M clang/test/AST/Interp/cxx23.cpp
    A clang/test/AST/Interp/cxx26.cpp
    M clang/test/AST/Interp/cxx98.cpp
    A clang/test/AST/Interp/eval-order.cpp
    M clang/test/AST/Interp/functions.cpp
    A clang/test/AST/Interp/hlsl.hlsl
    M clang/test/AST/Interp/lambda.cpp
    M clang/test/AST/Interp/lifetimes.cpp
    M clang/test/AST/Interp/literals.cpp
    A clang/test/AST/Interp/memberpointers.cpp
    A clang/test/AST/Interp/mutable.cpp
    A clang/test/AST/Interp/objc.mm
    M clang/test/AST/Interp/opencl.cl
    M clang/test/AST/Interp/records.cpp
    M clang/test/AST/Interp/references.cpp
    A clang/test/AST/Interp/sycl.cpp
    A clang/test/AST/Interp/unions.cpp
    M clang/test/AST/Interp/vectors.cpp
    M clang/test/AST/alignas_maybe_odr_cleanup.cpp
    M clang/test/AST/arithmetic-fence-builtin.c
    M clang/test/AST/ast-crash-doc-function-template.cpp
    M clang/test/AST/ast-dump-APValue-anon-union.cpp
    A clang/test/AST/ast-dump-amdgpu-types.c
    A clang/test/AST/ast-dump-anonymous-class.cpp
    M clang/test/AST/ast-dump-attr-type.cpp
    M clang/test/AST/ast-dump-concepts.cpp
    M clang/test/AST/ast-dump-coroutine.cpp
    A clang/test/AST/ast-dump-ctad-alias.cpp
    M clang/test/AST/ast-dump-decl.cpp
    M clang/test/AST/ast-dump-default-arg-dep.cpp
    M clang/test/AST/ast-dump-default-arg-recovery.cpp
    M clang/test/AST/ast-dump-default-init.cpp
    M clang/test/AST/ast-dump-expr-json.cpp
    M clang/test/AST/ast-dump-expr.cpp
    M clang/test/AST/ast-dump-fpfeatures.cpp
    M clang/test/AST/ast-dump-fpfeatures.m
    M clang/test/AST/ast-dump-lambda.cpp
    M clang/test/AST/ast-dump-late-parsing.cpp
    M clang/test/AST/ast-dump-openmp-begin-declare-variant_template_2.cpp
    M clang/test/AST/ast-dump-recovery.cpp
    M clang/test/AST/ast-dump-stmt-json.cpp
    M clang/test/AST/ast-dump-template-decls.cpp
    A clang/test/AST/ast-dump-template-name.cpp
    M clang/test/AST/ast-dump-types-errors.cpp
    M clang/test/AST/ast-dump-using-template.cpp
    M clang/test/AST/ast-print-fp-pragmas.c
    M clang/test/AST/ast-print-openacc-compute-construct.cpp
    A clang/test/AST/ast-print-openacc-loop-construct.cpp
    M clang/test/AST/ast-print-pragmas.cpp
    A clang/test/AST/attr-counted-by-late-parsed-struct-ptrs.c
    A clang/test/AST/attr-counted-by-or-null-late-parsed-struct-ptrs.c
    A clang/test/AST/attr-counted-by-or-null-struct-ptrs.c
    A clang/test/AST/attr-counted-by-struct-ptrs.c
    A clang/test/AST/attr-sized-by-late-parsed-struct-ptrs.c
    A clang/test/AST/attr-sized-by-or-null-late-parsed-struct-ptrs.c
    A clang/test/AST/attr-sized-by-or-null-struct-ptrs.c
    A clang/test/AST/attr-sized-by-struct-ptrs.c
    M clang/test/AST/attr-swift_attr.m
    M clang/test/AST/attr-swift_bridge.m
    M clang/test/AST/attr-swift_bridged_typedef.m
    M clang/test/AST/attr-swift_bridged_typedef.mm
    M clang/test/AST/auto-pragma.cpp
    M clang/test/AST/category-attribute.m
    M clang/test/AST/const-fpfeatures.c
    M clang/test/AST/const-fpfeatures.cpp
    M clang/test/AST/constraints-explicit-instantiation.cpp
    M clang/test/AST/coroutine-co_yield-source-range.cpp
    M clang/test/AST/coroutine-locals-cleanup.cpp
    M clang/test/AST/coroutine-source-location-crash.cpp
    M clang/test/AST/deduction-guides.cpp
    M clang/test/AST/foreachtemplatized.mm
    M clang/test/AST/loop-recovery.cpp
    M clang/test/AST/multistep-explicit-cast.c
    M clang/test/AST/multistep-explicit-cast.cpp
    M clang/test/AST/pr43983.cpp
    M clang/test/AST/pr47636.cpp
    M clang/test/AST/pragma-attribute-cxx-subject-match-rules.cpp
    M clang/test/AST/pragma-attribute-objc-subject-match-rules.m
    M clang/test/AST/pragma-multiple-attributes-declspec.cpp
    M clang/test/AST/pragma-multiple-attributes.cpp
    M clang/test/AST/spurious-regparm.c
    M clang/test/AST/template-implicit-vars.cpp
    M clang/test/ASTMerge/codegen-exprs/test.c
    M clang/test/Analysis/Checkers/WebKit/call-args.cpp
    A clang/test/Analysis/Checkers/WebKit/mock-system-header.h
    M clang/test/Analysis/Checkers/WebKit/ref-cntbl-base-virtual-dtor-ref-deref-on-diff-classes.cpp
    M clang/test/Analysis/Checkers/WebKit/ref-cntbl-base-virtual-dtor-templates.cpp
    M clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
    M clang/test/Analysis/Checkers/WebKit/uncounted-members.cpp
    M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
    M clang/test/Analysis/Inputs/system-header-simulator-cxx.h
    M clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
    M clang/test/Analysis/NewDelete-atomics.cpp
    M clang/test/Analysis/addrspace-null.c
    M clang/test/Analysis/analyzer-checker-option-help.c
    M clang/test/Analysis/analyzer-config.c
    M clang/test/Analysis/analyzer-enabled-checkers.c
    A clang/test/Analysis/block-in-critical-section.c
    M clang/test/Analysis/block-in-critical-section.cpp
    M clang/test/Analysis/block-in-critical-section.m
    M clang/test/Analysis/bstring_UninitRead.c
    M clang/test/Analysis/builtin_signbit.cpp
    M clang/test/Analysis/casts.c
    R clang/test/Analysis/cert/pos34-c-fp-suppression.cpp
    R clang/test/Analysis/cert/pos34-c.cpp
    M clang/test/Analysis/cfg-openmp.cpp
    M clang/test/Analysis/ctu-cxxdefaultinitexpr.cpp
    M clang/test/Analysis/ctu-lookup-name-with-space.cpp
    M clang/test/Analysis/ctu-main.c
    M clang/test/Analysis/ctu-on-demand-parsing.c
    M clang/test/Analysis/cxxnewexpr-callback.cpp
    M clang/test/Analysis/equality_tracking.c
    M clang/test/Analysis/errno-stdlibraryfunctions.c
    A clang/test/Analysis/fread.c
    M clang/test/Analysis/gh-issue-89185.c
    M clang/test/Analysis/handle_constructors_for_default_arguments.cpp
    M clang/test/Analysis/handle_constructors_with_new_array.cpp
    M clang/test/Analysis/html_diagnostics/relevant_lines/goto.c
    M clang/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c
    M clang/test/Analysis/html_diagnostics/relevant_lines/multifile.c
    M clang/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c
    M clang/test/Analysis/html_diagnostics/relevant_lines/notexecutedlines.c
    M clang/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m
    M clang/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c
    M clang/test/Analysis/html_diagnostics/relevant_lines/switch.c
    M clang/test/Analysis/html_diagnostics/relevant_lines/switch_default.c
    M clang/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp
    M clang/test/Analysis/html_diagnostics/relevant_lines/unused_header.c
    M clang/test/Analysis/inlining/temp-dtors-path-notes.cpp
    M clang/test/Analysis/malloc.c
    M clang/test/Analysis/malloc.cpp
    M clang/test/Analysis/memory-model.cpp
    M clang/test/Analysis/new-aligned.cpp
    M clang/test/Analysis/osobject-retain-release.cpp
    A clang/test/Analysis/pointer-sub-notes.c
    A clang/test/Analysis/pointer-sub.c
    M clang/test/Analysis/ptr-arith.c
    M clang/test/Analysis/ptr-cmp-const-trunc.cl
    A clang/test/Analysis/putenv-stack-array.c
    M clang/test/Analysis/region_store_overflow.c
    M clang/test/Analysis/return-value-guaranteed.cpp
    M clang/test/Analysis/scan-build/deduplication.test
    M clang/test/Analysis/scan-build/exclude_directories.test
    M clang/test/Analysis/scan-build/help.test
    M clang/test/Analysis/scan-build/html_output.test
    M clang/test/Analysis/scan-build/lit.local.cfg
    M clang/test/Analysis/scan-build/plist_html_output.test
    M clang/test/Analysis/scan-build/plist_output.test
    M clang/test/Analysis/scan-build/rebuild_index/rebuild_index.test
    M clang/test/Analysis/scan-build/silence-core-checkers.test
    A clang/test/Analysis/setgid-setuid-order-notes.c
    A clang/test/Analysis/setgid-setuid-order.c
    R clang/test/Analysis/sizeofpointer.c
    M clang/test/Analysis/solver-sym-simplification-bool.cpp
    M clang/test/Analysis/solver-sym-simplification-ptr-bool.cl
    M clang/test/Analysis/std-c-library-functions-arg-enabled-checkers.c
    A clang/test/Analysis/stream-notes-missing-close.cpp
    M clang/test/Analysis/stream.c
    M clang/test/Analysis/taint-diagnostic-visitor.c
    M clang/test/Analysis/transparent_union_bug.c
    M clang/test/Analysis/trustnonnullchecker_test.m
    M clang/test/Analysis/trustnonnullchecker_test.mm
    M clang/test/Analysis/undef-call.c
    A clang/test/Analysis/unreachable-code-exceptions.cpp
    A clang/test/Analysis/z3/crosscheck-statistics.c
    A clang/test/C/C11/n1285.c
    A clang/test/C/C11/n1464.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/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/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/n3018.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/n3254.c
    A clang/test/C/C2y/n3259.c
    A clang/test/C/C2y/n3260.c
    A clang/test/C/C2y/n3273.c
    A clang/test/C/C2y/n3274.c
    M clang/test/C/C99/block-scopes.c
    A clang/test/C/C99/n448.c
    M clang/test/C/C99/n809.c
    M clang/test/C/drs/dr290.c
    M clang/test/CIR/hello.c
    M clang/test/CMakeLists.txt
    M clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp
    A clang/test/CXX/basic/basic.lookup/basic.lookup.qual/basic.lookup.qual.general/p2.cpp
    M clang/test/CXX/basic/basic.lookup/basic.lookup.qual/class.qual/p2.cpp
    M clang/test/CXX/basic/basic.start/basic.start.init/p3.cpp
    M clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/p2.cpp
    A clang/test/CXX/class.derived/class.derived.general/p2.cpp
    M clang/test/CXX/class/class.compare/class.compare.default/p4.cpp
    M clang/test/CXX/class/class.friend/p7-cxx20.cpp
    M clang/test/CXX/class/class.mfct/class.mfct.non-static/p3.cpp
    M clang/test/CXX/class/class.mfct/p1-cxx20.cpp
    M clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p6-cxx11.cpp
    M clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p2.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p1.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p1.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p4.cpp
    A clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5-cxx14.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7-cxx14.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p2-0x.cpp
    A clang/test/CXX/dcl/dcl.init/aggr.cpp
    A clang/test/CXX/drs/cwg0xx.cpp
    A clang/test/CXX/drs/cwg10xx.cpp
    A clang/test/CXX/drs/cwg11xx.cpp
    A clang/test/CXX/drs/cwg12xx.cpp
    A clang/test/CXX/drs/cwg13xx.cpp
    A clang/test/CXX/drs/cwg14xx.cpp
    A clang/test/CXX/drs/cwg15xx.cpp
    A clang/test/CXX/drs/cwg16xx.cpp
    A clang/test/CXX/drs/cwg17xx.cpp
    A clang/test/CXX/drs/cwg18xx.cpp
    A clang/test/CXX/drs/cwg19xx.cpp
    A clang/test/CXX/drs/cwg1xx.cpp
    A clang/test/CXX/drs/cwg20xx.cpp
    A clang/test/CXX/drs/cwg21xx.cpp
    A clang/test/CXX/drs/cwg22xx.cpp
    R clang/test/CXX/drs/cwg2390.cpp
    A clang/test/CXX/drs/cwg23xx.cpp
    A clang/test/CXX/drs/cwg24xx.cpp
    A clang/test/CXX/drs/cwg25xx.cpp
    A clang/test/CXX/drs/cwg2630.cpp
    A clang/test/CXX/drs/cwg26xx.cpp
    A clang/test/CXX/drs/cwg2771.cpp
    A clang/test/CXX/drs/cwg27xx.cpp
    A clang/test/CXX/drs/cwg28xx.cpp
    M clang/test/CXX/drs/cwg292.cpp
    A clang/test/CXX/drs/cwg2xx.cpp
    A clang/test/CXX/drs/cwg3xx.cpp
    A clang/test/CXX/drs/cwg4xx.cpp
    A clang/test/CXX/drs/cwg5xx.cpp
    A clang/test/CXX/drs/cwg6xx.cpp
    A clang/test/CXX/drs/cwg7xx.cpp
    A clang/test/CXX/drs/cwg8xx.cpp
    A clang/test/CXX/drs/cwg9xx.cpp
    R clang/test/CXX/drs/dr0xx.cpp
    R clang/test/CXX/drs/dr10xx.cpp
    R clang/test/CXX/drs/dr11xx.cpp
    R clang/test/CXX/drs/dr12xx.cpp
    R clang/test/CXX/drs/dr13xx.cpp
    R clang/test/CXX/drs/dr14xx.cpp
    R clang/test/CXX/drs/dr15xx.cpp
    R clang/test/CXX/drs/dr16xx.cpp
    R clang/test/CXX/drs/dr17xx.cpp
    R clang/test/CXX/drs/dr18xx.cpp
    R clang/test/CXX/drs/dr19xx.cpp
    R clang/test/CXX/drs/dr1xx.cpp
    R clang/test/CXX/drs/dr20xx.cpp
    R clang/test/CXX/drs/dr21xx.cpp
    R clang/test/CXX/drs/dr22xx.cpp
    R clang/test/CXX/drs/dr23xx.cpp
    R clang/test/CXX/drs/dr24xx.cpp
    R clang/test/CXX/drs/dr25xx.cpp
    R clang/test/CXX/drs/dr26xx.cpp
    R clang/test/CXX/drs/dr27xx.cpp
    R clang/test/CXX/drs/dr28xx.cpp
    R clang/test/CXX/drs/dr2xx.cpp
    R clang/test/CXX/drs/dr3xx.cpp
    R clang/test/CXX/drs/dr4xx.cpp
    R clang/test/CXX/drs/dr5xx.cpp
    R clang/test/CXX/drs/dr6xx.cpp
    R clang/test/CXX/drs/dr7xx.cpp
    R clang/test/CXX/drs/dr8xx.cpp
    R clang/test/CXX/drs/dr9xx.cpp
    M clang/test/CXX/except/except.spec/p13.cpp
    M clang/test/CXX/expr/expr.post/expr.type.conv/p1.cpp
    A clang/test/CXX/expr/expr.prim/expr.prim.id/expr.prim.id.general/p4.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
    M clang/test/CXX/expr/expr.unary/expr.new/p14.cpp
    M clang/test/CXX/expr/expr.unary/expr.sizeof/p5-0x.cpp
    A clang/test/CXX/expr/expr.unary/expr.unary.general/p1.cpp
    M clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp
    M clang/test/CXX/module/module.private.frag/p1.cpp
    M clang/test/CXX/over/over.built/ast.cpp
    M clang/test/CXX/over/over.built/p10.cpp
    M clang/test/CXX/over/over.built/p11.cpp
    M clang/test/CXX/over/over.match/over.match.funcs/over.match.class.deduct/p2.cpp
    M clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
    A clang/test/CXX/over/over.oper/over.oper.general/p1.cpp
    A clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p2.cpp
    M clang/test/CXX/temp/temp.decls/temp.friend/p1.cpp
    M clang/test/CXX/temp/temp.decls/temp.mem/p2.cpp
    M clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
    A clang/test/CXX/temp/temp.deduct/p7.cpp
    M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3-0x.cpp
    A clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p3.cpp
    M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp
    M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2-0x.cpp
    M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/p4.cpp
    M clang/test/CXX/temp/temp.spec/no-body.cpp
    A clang/test/CXX/temp/temp.spec/temp.expl.spec/p12.cpp
    A clang/test/CXX/temp/temp.spec/temp.expl.spec/p14-23.cpp
    M clang/test/CXX/temp/temp.spec/temp.expl.spec/p17.cpp
    M clang/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp
    A clang/test/CXX/temp/temp.spec/temp.expl.spec/p2-20.cpp
    A clang/test/CXX/temp/temp.spec/temp.expl.spec/p8.cpp
    M clang/test/ClangScanDeps/diagnostics.c
    M clang/test/ClangScanDeps/header-search-pruning-transitive.c
    M clang/test/ClangScanDeps/header-search-pruning.cpp
    A clang/test/ClangScanDeps/link-libraries.c
    M clang/test/ClangScanDeps/modules-canononical-module-map-case.c
    M clang/test/ClangScanDeps/modules-context-hash.c
    M clang/test/ClangScanDeps/modules-dep-args.c
    M clang/test/ClangScanDeps/modules-excluded-header.m
    M clang/test/ClangScanDeps/modules-extern-submodule.c
    M clang/test/ClangScanDeps/modules-extern-unrelated.m
    M clang/test/ClangScanDeps/modules-file-path-isolation.c
    M clang/test/ClangScanDeps/modules-fmodule-name-no-module-built.m
    M clang/test/ClangScanDeps/modules-full-by-mod-name.c
    M clang/test/ClangScanDeps/modules-full.cpp
    M clang/test/ClangScanDeps/modules-implementation-private.m
    M clang/test/ClangScanDeps/modules-implicit-dot-private.m
    M clang/test/ClangScanDeps/modules-incomplete-umbrella.c
    M clang/test/ClangScanDeps/modules-inferred.m
    M clang/test/ClangScanDeps/modules-no-undeclared-includes.c
    M clang/test/ClangScanDeps/modules-pch-common-submodule.c
    M clang/test/ClangScanDeps/modules-pch-common-via-submodule.c
    M clang/test/ClangScanDeps/modules-pch.c
    M clang/test/ClangScanDeps/modules-priv-fw-from-pub.m
    M clang/test/ClangScanDeps/modules-redefinition.m
    M clang/test/ClangScanDeps/modules-symlink-dir-vfs.c
    M clang/test/ClangScanDeps/modules-transitive.c
    M clang/test/ClangScanDeps/optimize-canonicalize-macros.m
    M clang/test/ClangScanDeps/optimize-fmodulemap.m
    M clang/test/ClangScanDeps/optimize-system-warnings.m
    M clang/test/ClangScanDeps/optimize-vfs-leak.m
    M clang/test/ClangScanDeps/optimize-vfs.m
    M clang/test/ClangScanDeps/removed-args.c
    A clang/test/ClangScanDeps/response-file-clang-cl.c
    M clang/test/ClangScanDeps/working-dir.m
    M clang/test/CodeCompletion/ctor-signature.cpp
    M clang/test/CodeCompletion/member-access.cpp
    M clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c
    M clang/test/CodeGen/2010-08-10-DbgConstant.c
    M clang/test/CodeGen/LoongArch/intrinsic-la32-error.c
    M clang/test/CodeGen/LoongArch/intrinsic-la64-error.c
    M clang/test/CodeGen/PR32874.c
    M clang/test/CodeGen/PR44896.ll
    M clang/test/CodeGen/PowerPC/aix_alloca_align.c
    M clang/test/CodeGen/PowerPC/builtins-ppc-fpconstrained.c
    M clang/test/CodeGen/PowerPC/builtins-ppc-vec-ins-error.c
    M clang/test/CodeGen/PowerPC/ibm128-cast.c
    A clang/test/CodeGen/PowerPC/inline-asm-constraints-error.c
    A clang/test/CodeGen/PowerPC/musttail-forward-declaration-inline.c
    A clang/test/CodeGen/PowerPC/musttail-forward-declaration-weak.c
    A clang/test/CodeGen/PowerPC/musttail-forward-declaration.c
    A clang/test/CodeGen/PowerPC/musttail-indirect.cpp
    A clang/test/CodeGen/PowerPC/musttail-inline.c
    A clang/test/CodeGen/PowerPC/musttail-undefined.c
    A clang/test/CodeGen/PowerPC/musttail-weak.c
    A clang/test/CodeGen/PowerPC/musttail.c
    M clang/test/CodeGen/PowerPC/toc-data-attribute.c
    M clang/test/CodeGen/PowerPC/toc-data-attribute.cpp
    M clang/test/CodeGen/PowerPC/toc-data-diagnostics.c
    M clang/test/CodeGen/PowerPC/toc-data-structs-arrays.cpp
    M clang/test/CodeGen/PowerPC/vector-bool-pixel-altivec-init-no-parentheses.c
    M clang/test/CodeGen/PowerPC/vector-bool-pixel-altivec-init.c
    M clang/test/CodeGen/PowerPC/vector-compat-pixel-bool-ternary.c
    M clang/test/CodeGen/PowerPC/vector-compat-pixel-bool.c
    M clang/test/CodeGen/PowerPC/vector-compat-ternary.c
    M clang/test/CodeGen/PowerPC/vector-compat.c
    M clang/test/CodeGen/RISCV/abi-empty-structs.c
    A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-bitcast.c
    A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-call.c
    A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-cast.c
    A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-codegen.c
    A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-globals.c
    A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-types.c
    M clang/test/CodeGen/RISCV/riscv-func-attr-target.c
    M clang/test/CodeGen/RISCV/riscv-inline-asm.c
    A clang/test/CodeGen/RISCV/riscv32-ilp32d-abi.cpp
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vcreate.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vget.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vle16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vle16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlmul_ext_v.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlmul_trunc_v.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vloxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg2e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg3e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg4e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg5e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg6e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg7e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlseg8e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vlsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vluxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vreinterpret.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vset.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsoxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vssseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vsuxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/bfloat16/vundefined.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/sf_vfwmacc_4x4x4.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vcpopv.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vfncvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vfwcvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vfwmaccbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vget.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vle16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vle16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlmul_ext_v.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlmul_trunc_v.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vloxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg2e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg3e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg4e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg5e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg6e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg7e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlseg8e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vlsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vluxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vreinterpret.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vset.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsoxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vssseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/bfloat16/vsuxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/sf_vfwmacc_4x4x4.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vcpopv.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vfncvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vfwcvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vfwmaccbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vle16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vle16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vloxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg2e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg3e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg4e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg5e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg6e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg7e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlseg8e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vlsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/bfloat16/vluxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/sf_vfwmacc_4x4x4.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vcpopv.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vfncvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vfwcvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vfwmaccbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vle16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vle16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vloxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlse16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg2e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg3e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg4e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg5e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg6e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg7e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlseg8e16ff.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg2e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg3e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg4e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg5e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg6e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg7e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vlsseg8e16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg2ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg3ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg4ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg5ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg6ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg7ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/bfloat16/vluxseg8ei16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/sf_vfwmacc_4x4x4.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vcpopv.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vfncvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vfwcvtbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vfwmaccbf16.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/rvv-intrinsic-datatypes.cpp
    A clang/test/CodeGen/RISCV/rvv-vls-arith-ops.c
    A clang/test/CodeGen/RISCV/rvv-vls-bitwise-ops.c
    A clang/test/CodeGen/RISCV/rvv-vls-compare-ops.c
    A clang/test/CodeGen/RISCV/rvv-vls-shift-ops.c
    A clang/test/CodeGen/RISCV/rvv-vls-subscript-ops.c
    A clang/test/CodeGen/RISCV/vector-bits-vscale-range.c
    M clang/test/CodeGen/SystemZ/align-systemz-02.c
    M clang/test/CodeGen/SystemZ/builtins-systemz-error2.c
    M clang/test/CodeGen/SystemZ/sync-builtins-i128-8Al.c
    M clang/test/CodeGen/VE/ve-velintrin.c
    M clang/test/CodeGen/X86/amx_errors.c
    M clang/test/CodeGen/X86/amxcomplex-errors.c
    R clang/test/CodeGen/X86/avx512er-builtins.c
    R clang/test/CodeGen/X86/avx512pf-builtins.c
    M clang/test/CodeGen/X86/bfloat16.cpp
    M clang/test/CodeGen/X86/cmp-avx-builtins-error.c
    M clang/test/CodeGen/X86/cmpccxadd-builtins-error-32.c
    M clang/test/CodeGen/X86/cmpccxadd-builtins-error.c
    A clang/test/CodeGen/X86/inline-asm-gcc-regs.c
    M clang/test/CodeGen/X86/math-builtins.c
    M clang/test/CodeGen/X86/ms-inline-asm-prefix.c
    M clang/test/CodeGen/X86/ms-x86-intrinsics.c
    M clang/test/CodeGen/X86/sm3-error.c
    M clang/test/CodeGen/X86/usermsr-builtins-error-32.c
    A clang/test/CodeGen/X86/x86-atomic-double.c
    M clang/test/CodeGen/X86/x86-atomic-float.c
    M clang/test/CodeGen/X86/x86-atomic-long_double.c
    M clang/test/CodeGen/X86/x86-vec-i128.c
    M clang/test/CodeGen/X86/x86_64-atomic-128.c
    M clang/test/CodeGen/X86/x86_64-instrument-functions.c
    M clang/test/CodeGen/X86/x86_64-vaarg.c
    M clang/test/CodeGen/X86/x86_inlineasm_curly_bracket_escape.c
    M clang/test/CodeGen/aapcs-bitfield.c
    M clang/test/CodeGen/aapcs64-align.cpp
    M clang/test/CodeGen/aarch64-ABI-align-packed-assembly.c
    M clang/test/CodeGen/aarch64-ABI-align-packed.c
    M clang/test/CodeGen/aarch64-bf16-reinterpret-intrinsics.c
    M clang/test/CodeGen/aarch64-branch-protection-attr.c
    M clang/test/CodeGen/aarch64-byval-temp.c
    M clang/test/CodeGen/aarch64-cpu-supports-target.c
    A clang/test/CodeGen/aarch64-elf-pauthabi.c
    A clang/test/CodeGen/aarch64-fmv-dependencies.c
    A clang/test/CodeGen/aarch64-inlineasm-ios.c
    M clang/test/CodeGen/aarch64-ls64-inline-asm.c
    M clang/test/CodeGen/aarch64-ls64.c
    M clang/test/CodeGen/aarch64-matmul.cpp
    M clang/test/CodeGen/aarch64-mixed-target-attributes.c
    M clang/test/CodeGen/aarch64-mops.c
    M clang/test/CodeGen/aarch64-neon-3v.c
    M clang/test/CodeGen/aarch64-neon-fma.c
    M clang/test/CodeGen/aarch64-neon-intrinsics-constrained.c
    M clang/test/CodeGen/aarch64-neon-intrinsics.c
    M clang/test/CodeGen/aarch64-neon-sha3.c
    M clang/test/CodeGen/aarch64-neon-shifts.c
    M clang/test/CodeGen/aarch64-neon-sm4-sm3.c
    M clang/test/CodeGen/aarch64-neon-vcadd.c
    M clang/test/CodeGen/aarch64-neon-vsqadd-float-conversion.c
    M clang/test/CodeGen/aarch64-neon-vuqadd-float-conversion-warning.c
    M clang/test/CodeGen/aarch64-sign-return-address.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i32.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i64.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_cnt.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_ld1.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_ld1_vnum.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_ldr.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za32.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za64.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za32.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za64.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_read.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_st1.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_st1_vnum.c
    A clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_state_builtin.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_state_funs.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_str.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_write.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_zero.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/aarch64-sme2-attrs.cpp
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add.c
    A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_bmop.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
    A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtl.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtn.c
    A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fp_dots.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_frint.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_int_dots.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_ldr_str_zt.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_max.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_maxnm.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_min.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_minnm.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mla.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlal.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlall.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mls.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlsl.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mop.c
    A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_read.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_reinterpret_svcount_svbool.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sqdmulh.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sub.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vdot.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_add.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_qrshr.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_rshl.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx2.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx4.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_write.c
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_zero_zt.c
    A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
    A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_zero.c
    M clang/test/CodeGen/aarch64-soft-float-abi-errors.c
    M clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c
    M clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.cpp
    M clang/test/CodeGen/aarch64-sve-inline-asm-datatypes.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abs.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acge.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acgt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acle.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_aclt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_add.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adda.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_addv.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_and.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_andv.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asr.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asrd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfdot.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmmla.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bic.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brka.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkn.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpa.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cadd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cls.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clz.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmla.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpeq.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpge.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpgt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmple.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmplt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpne.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpuo.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnot.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnth.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntp.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_compact.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvtnt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_div.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_divr.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dot.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eor.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eorv.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_expa.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_exth.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_index.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ro-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ro.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ub.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1ub.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1uh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1uw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1ub.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1uh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1uw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsl.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsr.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mad.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_matmul_fp32.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_matmul_fp64.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_max.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnm.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnmv.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxv.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_min.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnm.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnmv.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minv.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mls.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mmla.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mov.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_msb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mul.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulx.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nand.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_neg.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmad.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmla.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmls.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmsb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nor.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_not.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orn.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orr.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orv.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfalse.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfirst.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pnext.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptest.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptrue.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qadd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdech.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecp.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincd.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qinch.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincp.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qsub.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rbit.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rdffr.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpe.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recps.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpx.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
    R clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret_from_streaming_mode.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revb.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revh.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revw.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinta.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinti.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintm.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintn.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintp.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintx.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintz.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrte.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrts.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_scale.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_setffr.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sqrt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1b.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1h.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1w.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sub.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_subr.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sudot.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tmad.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-fp64-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-fp64.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-fp64-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-fp64.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tsmul.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tssel.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_unpkhi.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_unpklo.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_usdot.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-fp64-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-fp64.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-fp64-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-fp64.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilele.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilelt.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_wrffr.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-fp64-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-fp64.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-fp64-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-fp64.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2.c
    M clang/test/CodeGen/aarch64-sve-vector-subscript-ops.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_revd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c
    M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfadd.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmax.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmaxnm.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmin.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfminnm.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla_lane.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls_lane.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul_lane.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfsub.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create2_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dupq.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_extq.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fp_reduce.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get4_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_int_reduce.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1_single.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_loads.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_pred.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_vector.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qrshr.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1_single.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_store.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tblq.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tbxq.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_undef_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq2.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq2.c
    M clang/test/CodeGen/aarch64-sysregs-target.c
    M clang/test/CodeGen/aarch64-targetattr-arch.c
    M clang/test/CodeGen/aarch64-targetattr.c
    M clang/test/CodeGen/aarch64-tme.cpp
    M clang/test/CodeGen/aarch64-type-sizes.c
    M clang/test/CodeGen/aarch64-v8.1a-neon-intrinsics.c
    M clang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics-constrained.c
    M clang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics.c
    M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-constrained.c
    M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-generic.c
    M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
    M clang/test/CodeGen/aarch64-v8.5a-neon-frint3264-intrinsic.c
    M clang/test/CodeGen/aarch64-v8.5a-scalar-frint3264-intrinsic.c
    M clang/test/CodeGen/aarch64-v8.6a-neon-intrinsics.c
    M clang/test/CodeGen/aarch64-varargs.c
    M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_dup_neonq.c
    M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_get_neonq.c
    M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_set_neonq.c
    M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/target.c
    M clang/test/CodeGen/aggregate-assign-call.c
    M clang/test/CodeGen/align-global-large.c
    M clang/test/CodeGen/aligned-sret.c
    A clang/test/CodeGen/amdgpu-buffer-rsrc-type-debug-info.c
    A clang/test/CodeGen/amdgpu-variadic-call.c
    M clang/test/CodeGen/arm-abi-vector.c
    M clang/test/CodeGen/arm-bf16-dotprod-intrinsics.c
    M clang/test/CodeGen/arm-bf16-reinterpret-intrinsics.c
    M clang/test/CodeGen/arm-branch-protection-attr-1.c
    M clang/test/CodeGen/arm-branch-protection-attr-2.c
    M clang/test/CodeGen/arm-byval-align.c
    M clang/test/CodeGen/arm-cde-gpr.c
    M clang/test/CodeGen/arm-cde-reinterpret.c
    M clang/test/CodeGen/arm-cde-vec.c
    M clang/test/CodeGen/arm-cde-vfp.c
    M clang/test/CodeGen/arm-mve-intrinsics/absneg.c
    M clang/test/CodeGen/arm-mve-intrinsics/admin.c
    M clang/test/CodeGen/arm-mve-intrinsics/bitwise-imm.c
    M clang/test/CodeGen/arm-mve-intrinsics/compare.c
    M clang/test/CodeGen/arm-mve-intrinsics/cplusplus.cpp
    M clang/test/CodeGen/arm-mve-intrinsics/dup.c
    M clang/test/CodeGen/arm-mve-intrinsics/get-set-lane.c
    M clang/test/CodeGen/arm-mve-intrinsics/idup.c
    M clang/test/CodeGen/arm-mve-intrinsics/load-store.c
    M clang/test/CodeGen/arm-mve-intrinsics/predicates.c
    M clang/test/CodeGen/arm-mve-intrinsics/reinterpret.c
    M clang/test/CodeGen/arm-mve-intrinsics/scalar-shifts.c
    M clang/test/CodeGen/arm-mve-intrinsics/scatter-gather.c
    M clang/test/CodeGen/arm-mve-intrinsics/ternary.c
    M clang/test/CodeGen/arm-mve-intrinsics/vabavq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vabdq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vadc.c
    M clang/test/CodeGen/arm-mve-intrinsics/vaddq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vaddv.c
    M clang/test/CodeGen/arm-mve-intrinsics/vandq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vbicq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vbrsrq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vcaddq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vclz.c
    M clang/test/CodeGen/arm-mve-intrinsics/vcmlaq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vcmulq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vcvt.c
    M clang/test/CodeGen/arm-mve-intrinsics/vcvt_anpm.c
    M clang/test/CodeGen/arm-mve-intrinsics/vector-shift-imm-dyadic.c
    M clang/test/CodeGen/arm-mve-intrinsics/vector-shift-imm.c
    M clang/test/CodeGen/arm-mve-intrinsics/vector-shift-var.c
    M clang/test/CodeGen/arm-mve-intrinsics/veorq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vhaddq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vhcaddq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vhsubq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vld24.c
    M clang/test/CodeGen/arm-mve-intrinsics/vldr.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmaxaq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmaxnmaq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmaxnmq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmaxq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vminaq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vminnmaq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vminnmq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vminq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vminvq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmldav.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmlldav.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmovl.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmovn.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmulhq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmullbq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmulltq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vmulq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vornq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vorrq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vqaddq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vqdmlad.c
    M clang/test/CodeGen/arm-mve-intrinsics/vqdmulhq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vqdmullbq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vqdmulltq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vqmovn.c
    M clang/test/CodeGen/arm-mve-intrinsics/vqrdmulhq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vqsubq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vrev.c
    M clang/test/CodeGen/arm-mve-intrinsics/vrhaddq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vrmulhq.c
    M clang/test/CodeGen/arm-mve-intrinsics/vrnd.c
    M clang/test/CodeGen/arm-mve-intrinsics/vshlc.c
    M clang/test/CodeGen/arm-mve-intrinsics/vsubq.c
    M clang/test/CodeGen/arm-neon-vcadd.c
    M clang/test/CodeGen/arm-neon-vld.c
    M clang/test/CodeGen/arm-neon-vst.c
    M clang/test/CodeGen/arm-sve-vector-bits-vscale-range.c
    M clang/test/CodeGen/arm-v8.1a-neon-intrinsics.c
    M clang/test/CodeGen/arm-v8.2a-neon-intrinsics-generic.c
    M clang/test/CodeGen/arm-v8.2a-neon-intrinsics.c
    M clang/test/CodeGen/arm-v8.6a-neon-intrinsics.c
    M clang/test/CodeGen/arm-vaarg.c
    M clang/test/CodeGen/arm-vector_type-params-returns.c
    M clang/test/CodeGen/arm64-crc32.c
    M clang/test/CodeGen/arm64-microsoft-intrinsics.c
    M clang/test/CodeGen/arm64-microsoft-status-reg.cpp
    M clang/test/CodeGen/arm64-mte.c
    M clang/test/CodeGen/arm64_vcopy.c
    M clang/test/CodeGen/arm64_vcreate.c
    M clang/test/CodeGen/arm64_vdup.c
    M clang/test/CodeGen/arm64_vdupq_n_f64.c
    M clang/test/CodeGen/arm_acle.c
    M clang/test/CodeGen/array-init.c
    M clang/test/CodeGen/asan-frame-pointer.cpp
    M clang/test/CodeGen/asan-globals.cpp
    M clang/test/CodeGen/asan-new-pm.ll
    M clang/test/CodeGen/asm-label-inline-builtins.c
    M clang/test/CodeGen/assignment-tracking/assignment-tracking.cpp
    M clang/test/CodeGen/assignment-tracking/memcpy-fragment.cpp
    M clang/test/CodeGen/assignment-tracking/nested-scope.cpp
    R clang/test/CodeGen/assume_attr.c
    M clang/test/CodeGen/attr-alwaysinline.cpp
    M clang/test/CodeGen/attr-arm-sve-vector-bits-bitcast.c
    M clang/test/CodeGen/attr-arm-sve-vector-bits-call.c
    M clang/test/CodeGen/attr-arm-sve-vector-bits-cast.c
    M clang/test/CodeGen/attr-arm-sve-vector-bits-codegen.c
    M clang/test/CodeGen/attr-arm-sve-vector-bits-globals.c
    M clang/test/CodeGen/attr-arm-sve-vector-bits-types.c
    M clang/test/CodeGen/attr-btf_tag-typedef.c
    M clang/test/CodeGen/attr-btf_type_tag-func-ptr.c
    M clang/test/CodeGen/attr-btf_type_tag-func.c
    M clang/test/CodeGen/attr-btf_type_tag-similar-type.c
    M clang/test/CodeGen/attr-btf_type_tag-typedef-field.c
    M clang/test/CodeGen/attr-btf_type_tag-var.c
    M clang/test/CodeGen/attr-counted-by.c
    M clang/test/CodeGen/attr-cpuspecific.c
    M clang/test/CodeGen/attr-error.c
    M clang/test/CodeGen/attr-ifunc.c
    M clang/test/CodeGen/attr-ifunc.cpp
    M clang/test/CodeGen/attr-mustprogress.c
    M clang/test/CodeGen/attr-nodebug.c
    M clang/test/CodeGen/attr-noinline.cpp
    M clang/test/CodeGen/attr-nomerge.cpp
    M clang/test/CodeGen/attr-noundef.cpp
    M clang/test/CodeGen/attr-nouwtable.c
    R clang/test/CodeGen/attr-riscv-rvv-vector-bits-bitcast.c
    R clang/test/CodeGen/attr-riscv-rvv-vector-bits-call.c
    R clang/test/CodeGen/attr-riscv-rvv-vector-bits-cast.c
    R clang/test/CodeGen/attr-riscv-rvv-vector-bits-codegen.c
    R clang/test/CodeGen/attr-riscv-rvv-vector-bits-globals.c
    R clang/test/CodeGen/attr-riscv-rvv-vector-bits-types.c
    M clang/test/CodeGen/attr-target-clones-aarch64.c
    M clang/test/CodeGen/attr-target-version.c
    M clang/test/CodeGen/attr-target-x86.c
    M clang/test/CodeGen/attr-warning.c
    M clang/test/CodeGen/blocks-windows.c
    M clang/test/CodeGen/blocks.c
    A clang/test/CodeGen/bpf-debug-info-extern-func.c
    A clang/test/CodeGen/bpf-debug-info-unref.c
    M clang/test/CodeGen/bpf-preserve-static-offset-arr.c
    M clang/test/CodeGen/bpf-preserve-static-offset-bitfield.c
    M clang/test/CodeGen/bpf-preserve-static-offset-lvalue.c
    M clang/test/CodeGen/bpf-preserve-static-offset-non-bpf.c
    M clang/test/CodeGen/bpf-preserve-static-offset-pai.c
    M clang/test/CodeGen/builtin-complex.c
    M clang/test/CodeGen/builtins-arm64.c
    M clang/test/CodeGen/builtins-elementwise-math.c
    M clang/test/CodeGen/builtins-nvptx-mma.cu
    R clang/test/CodeGen/builtins-nvptx-native-half-type-err.c
    A clang/test/CodeGen/builtins-nvptx-native-half-type-native.c
    M clang/test/CodeGen/builtins-nvptx-native-half-type.c
    M clang/test/CodeGen/builtins-nvptx-ptx50.cu
    M clang/test/CodeGen/builtins-nvptx-ptx60.cu
    M clang/test/CodeGen/builtins-nvptx-sm_70.cu
    M clang/test/CodeGen/builtins-nvptx.c
    M clang/test/CodeGen/builtins-wasm.c
    M clang/test/CodeGen/callback_pthread_create.c
    M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
    M clang/test/CodeGen/cf-runtime-abi.c
    M clang/test/CodeGen/cfstring-elf-cfbuild-x86_64.c
    M clang/test/CodeGen/cfstring-windows.c
    M clang/test/CodeGen/cfstring.c
    M clang/test/CodeGen/cfstring3.c
    A clang/test/CodeGen/clspv_libclc_builtin.c
    M clang/test/CodeGen/cmse-clear-arg.c
    M clang/test/CodeGen/cmse-clear-return.c
    M clang/test/CodeGen/code_align.c
    M clang/test/CodeGen/coff-aarch64-type-sizes.c
    M clang/test/CodeGen/complex-builtins-2.c
    M clang/test/CodeGen/complex-builtins.c
    M clang/test/CodeGen/complex-libcalls-2.c
    M clang/test/CodeGen/complex-libcalls.c
    M clang/test/CodeGen/complex-math-mixed.c
    M clang/test/CodeGen/constantexpr-fneg.c
    A clang/test/CodeGen/constexpr-c23-internal-linkage.c
    M clang/test/CodeGen/constrained-math-builtins.c
    A clang/test/CodeGen/coverage-target-attr.c
    M clang/test/CodeGen/darwin-target-variant.c
    M clang/test/CodeGen/dbg-const-int128.c
    M clang/test/CodeGen/debug-info-block-decl.c
    M clang/test/CodeGen/debug-info-block-expr.c
    M clang/test/CodeGen/debug-info-block-vars.c
    M clang/test/CodeGen/debug-info-codeview-heapallocsite.c
    M clang/test/CodeGen/debug-info-codeview-unnamed.c
    M clang/test/CodeGen/debug-info-gline-tables-only.c
    M clang/test/CodeGen/debug-info-gline-tables-only2.c
    M clang/test/CodeGen/debug-info-line.c
    M clang/test/CodeGen/debug-info-line3.c
    M clang/test/CodeGen/debug-info-macro.c
    M clang/test/CodeGen/debug-info-matrix-types.c
    M clang/test/CodeGen/debug-info-packed-struct.c
    M clang/test/CodeGen/debug-info-pseudo-probe.cpp
    M clang/test/CodeGen/debug-info-variables.c
    M clang/test/CodeGen/debug-info-vla.c
    M clang/test/CodeGen/debug-label-inline.c
    M clang/test/CodeGen/debug-label.c
    M clang/test/CodeGen/debug-nvptx.c
    M clang/test/CodeGen/debug-prefix-map.cpp
    M clang/test/CodeGen/denormalfpmode-f32.c
    M clang/test/CodeGen/denormalfpmode.c
    M clang/test/CodeGen/dominating-store-infinite-cycle.c
    M clang/test/CodeGen/enum-bool.cpp
    M clang/test/CodeGen/ext-int-cc.c
    M clang/test/CodeGen/fat-lto-objects.c
    M clang/test/CodeGen/ffp-contract-option.c
    M clang/test/CodeGen/ffp-model.c
    M clang/test/CodeGen/fp-matrix-pragma.c
    M clang/test/CodeGen/fread-inline-builtin-late-redecl.c
    A clang/test/CodeGen/fseparate-named-sections.c
    M clang/test/CodeGen/function-target-features.c
    M clang/test/CodeGen/functions.c
    M clang/test/CodeGen/gh64876.cpp
    M clang/test/CodeGen/hwasan-new-pm.c
    M clang/test/CodeGen/inline-asm-mixed-style.c
    M clang/test/CodeGen/inline-builtin-comdat.c
    M clang/test/CodeGen/instrument-functions.c
    M clang/test/CodeGen/instrument-objc-method.m
    M clang/test/CodeGen/isfpclass.c
    M clang/test/CodeGen/kmsan-param-retval.c
    M clang/test/CodeGen/libcall-declarations.c
    M clang/test/CodeGen/libcalls-fno-builtin.c
    M clang/test/CodeGen/lifetime2.c
    M clang/test/CodeGen/lifetime3.cpp
    M clang/test/CodeGen/lineno-dbginfo.c
    A clang/test/CodeGen/linking-bitcode-postopt.cpp
    M clang/test/CodeGen/loop-unroll.c
    M clang/test/CodeGen/loop-vectorize.c
    M clang/test/CodeGen/lto-newpm-pipeline.c
    M clang/test/CodeGen/math-builtins-long.c
    M clang/test/CodeGen/math-errno.c
    M clang/test/CodeGen/math-libcalls.c
    M clang/test/CodeGen/mcount-aix.c
    M clang/test/CodeGen/mcount.c
    M clang/test/CodeGen/mdefault-visibility-export-mapping.c
    M clang/test/CodeGen/memcmp-inline-builtin-to-asm.c
    M clang/test/CodeGen/memcpy-inline-builtin-mutliple-decl.c
    M clang/test/CodeGen/memcpy-inline-builtin-no-extern.c
    M clang/test/CodeGen/memcpy-inline-builtin.c
    M clang/test/CodeGen/memcpy-no-nobuiltin-if-not-emitted.cpp
    M clang/test/CodeGen/memcpy-nobuiltin.c
    R clang/test/CodeGen/riscv-rvv-vls-arith-ops.c
    R clang/test/CodeGen/riscv-rvv-vls-bitwise-ops.c
    R clang/test/CodeGen/riscv-rvv-vls-compare-ops.c
    R clang/test/CodeGen/riscv-rvv-vls-shift-ops.c
    R clang/test/CodeGen/riscv-rvv-vls-subscript-ops.c
    R clang/test/CodeGen/riscv32-ilp32d-abi.cpp

  Log Message:
  -----------
  adapt style

Created using spr 1.3.5


Compare: https://github.com/llvm/llvm-project/compare/17c81f79ede4...32c56f91bb05

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