[all-commits] [llvm/llvm-project] 59d7d4: [MLIR][NVVM] Remove irrelevant guards (#97345)

Paul Kirth via All-commits all-commits at lists.llvm.org
Tue Jul 2 08:24:30 PDT 2024


  Branch: refs/heads/users/ilovepi/spr/main.reapply-llvmriscv-enable-trailing-fences-for-seq-cst-stores-by-default-87376
  Home:   https://github.com/llvm/llvm-project
  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: ac7b1d0cf1ff30183bb9487fbfef3c4e48bbbf53
      https://github.com/llvm/llvm-project/commit/ac7b1d0cf1ff30183bb9487fbfef3c4e48bbbf53
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M bolt/include/bolt/Rewrite/DWARFRewriter.h
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    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
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/docs/tools/clang-formatted-files.txt
    M clang/include/clang/AST/Redeclarable.h
    M clang/include/clang/AST/TemplateName.h
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Basic/LangStandard.h
    M clang/include/clang/Basic/LangStandards.def
    M clang/include/clang/Driver/ToolChain.h
    M clang/include/clang/Format/Format.h
    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/lib/Basic/LangOptions.cpp
    M clang/lib/Basic/OpenMPKinds.cpp
    M clang/lib/Basic/Targets/NVPTX.h
    M clang/lib/CodeGen/CGDeclCXX.cpp
    M clang/lib/CodeGen/CGVTables.cpp
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
    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
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Sema/CheckExprLifetime.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/AST/Interp/c.c
    M clang/test/AST/Interp/literals.cpp
    A clang/test/C/C2y/n3192.c
    A clang/test/C/C2y/n3259.c
    A clang/test/C/C2y/n3260.c
    A clang/test/C/C2y/n3273.c
    M clang/test/C/C99/n809.c
    M clang/test/CXX/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
    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
    M clang/test/Driver/unknown-std.c
    M clang/test/Misc/warning-flags.c
    A clang/test/Modules/pr97244.cppm
    A clang/test/Modules/pr97313.cppm
    M clang/test/Modules/template_name_lookup.cpp
    M clang/test/PCH/cxx-explicit-specifier.cpp
    M clang/test/Parser/generic-selection-type-extension-pedantic.c
    A clang/test/Preprocessor/c2y.c
    M clang/test/Sema/complex-inc-dec.c
    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/SemaCXX/warn-dangling-local.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
    M clang/unittests/Format/ConfigParseTest.cpp
    M clang/unittests/Format/FormatTest.cpp
    M clang/www/c_status.html
    M compiler-rt/lib/asan/asan_suppressions.cpp
    M compiler-rt/lib/sanitizer_common/sancov_flags.cpp
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
    M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/include/flang/Optimizer/Dialect/FirAliasTagOpInterface.h
    M flang/include/flang/Optimizer/Dialect/FortranVariableInterface.td
    M flang/include/flang/Optimizer/Dialect/Support/KindMapping.h
    M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
    M flang/include/flang/Optimizer/Support/InternalNames.h
    M flang/include/flang/Optimizer/Support/Utils.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/ConvertProcedureDesignator.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/CodeGenOpenMP.cpp
    M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
    M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
    M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
    M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/lib/Optimizer/Dialect/FirAliasTagOpInterface.cpp
    M flang/lib/Optimizer/Dialect/FortranVariableInterface.cpp
    M flang/lib/Optimizer/Dialect/Support/KindMapping.cpp
    M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/SimplifyHLFIRIntrinsics.cpp
    M flang/lib/Optimizer/Support/CMakeLists.txt
    M flang/lib/Optimizer/Support/InternalNames.cpp
    A flang/lib/Optimizer/Support/Utils.cpp
    M flang/lib/Optimizer/Transforms/AbstractResult.cpp
    M flang/lib/Optimizer/Transforms/AffineDemotion.cpp
    M flang/lib/Optimizer/Transforms/AffinePromotion.cpp
    M flang/lib/Optimizer/Transforms/ArrayValueCopy.cpp
    M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
    M flang/lib/Optimizer/Transforms/CharacterConversion.cpp
    M flang/lib/Optimizer/Transforms/ConstantArgumentGlobalisation.cpp
    M flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
    M flang/lib/Optimizer/Transforms/MemoryAllocation.cpp
    M flang/lib/Optimizer/Transforms/PolymorphicOpConversion.cpp
    M flang/lib/Optimizer/Transforms/StackArrays.cpp
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Fir/fir-ops.fir
    M flang/test/Lower/HLFIR/procedure-pointer.f90
    A flang/test/Lower/HLFIR/type-info-components.f90
    M flang/test/Lower/dummy-procedure-character.f90
    A flang/test/Semantics/OpenMP/doconcurrent01.f90
    M flang/tools/bbc/bbc.cpp
    M flang/tools/tco/tco.cpp
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/newhdrgen/yaml_to_classes.py
    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/FMulTest.h
    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/fmul_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
    A libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/pair.incomplete.compile.pass.cpp
    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/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    M lldb/source/Utility/Listener.cpp
    M lldb/test/API/commands/settings/use_source_cache/TestUseSourceCache.py
    M lldb/test/API/functionalities/abbreviation/TestAbbreviations.py
    M lldb/test/Shell/SymbolFile/DWARF/x86/dwp-foreign-type-units.cpp
    M llvm/CMakeLists.txt
    M llvm/docs/CommandGuide/FileCheck.rst
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/include/llvm/IR/PassManagerImpl.h
    M llvm/include/llvm/MC/MCAsmBackend.h
    R llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCCodeView.h
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/include/llvm/MC/MCLinkerOptimizationHint.h
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/include/llvm/MC/MCObjectWriter.h
    A llvm/include/llvm/Support/LogicalResult.h
    M llvm/include/llvm/TargetParser/RISCVISAInfo.h
    M llvm/lib/Analysis/InlineSizeEstimatorAnalysis.cpp
    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/MachineSSAUpdater.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
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/MC/GOFFObjectWriter.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCCodeView.cpp
    M llvm/lib/MC/MCDXContainerWriter.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/MC/MCLinkerOptimizationHint.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMCExpr.h
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.h
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.h
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.h
    M llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.cpp
    M llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.h
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    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/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/NVPTXMCExpr.h
    M llvm/lib/Target/NVPTX/NVPTXRegisterInfo.cpp
    M llvm/lib/Target/NVPTX/NVPTXRegisterInfo.td
    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/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    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/WebAssembly/WebAssembly.td
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCExpr.h
    M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCExpr.cpp
    M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCExpr.h
    M llvm/lib/TargetParser/RISCVISAInfo.cpp
    M llvm/lib/Transforms/IPO/AlwaysInliner.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    M llvm/lib/Transforms/Utils/SplitModule.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    R llvm/llvm.spec.in
    M llvm/test/Analysis/ValueTracking/phi-known-bits.ll
    M llvm/test/CodeGen/AArch64/popcount.ll
    M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll
    M llvm/test/CodeGen/AMDGPU/trunc-store.ll
    A llvm/test/CodeGen/NVPTX/inline-asm-b128-test1.ll
    A llvm/test/CodeGen/NVPTX/inline-asm-b128-test2.ll
    A llvm/test/CodeGen/NVPTX/inline-asm-b128-test3.ll
    M llvm/test/CodeGen/RISCV/O3-pipeline.ll
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
    M llvm/test/CodeGen/WebAssembly/call-indirect.ll
    M llvm/test/CodeGen/WebAssembly/function-pointer64.ll
    M llvm/test/CodeGen/WebAssembly/reg-stackify.ll
    M llvm/test/CodeGen/WebAssembly/swiftcc.ll
    M llvm/test/CodeGen/WebAssembly/target-features-cpus.ll
    M llvm/test/MC/WebAssembly/function-alias.ll
    M llvm/test/MC/WebAssembly/no-dead-strip.ll
    A llvm/test/Transforms/Attributor/phi_bug_pointer_info.ll
    A llvm/test/Transforms/CorrelatedValuePropagation/uscmp.ll
    A llvm/test/Transforms/IndVarSimplify/preserving-debugloc-rem-div.ll
    M llvm/test/Transforms/Inline/always-inline-phase-ordering.ll
    A llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-comb-no-active-lanes-stores.ll
    M llvm/test/Transforms/InstCombine/known-bits.ll
    M llvm/test/Transforms/InstCombine/ldexp.ll
    A llvm/test/Transforms/PhaseOrdering/generate-fabs.ll
    A llvm/test/Transforms/SLPVectorizer/AArch64/uselistorder.ll
    A llvm/test/Transforms/SROA/propagate-fast-math-flags-on-phi.ll
    M llvm/tools/dsymutil/MachOUtils.cpp
    M llvm/utils/gn/secondary/lldb/source/Commands/BUILD.gn
    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
    M mlir/cmake/modules/AddMLIRPython.cmake
    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/InitAllPasses.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/Pipelines/GPUToNVVMPipeline.cpp
    M mlir/lib/Dialect/GPU/Transforms/ModuleToBinary.cpp
    M mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp
    M mlir/lib/Dialect/IRDL/IR/IRDL.cpp
    M mlir/lib/Dialect/IRDL/IRDLLoading.cpp
    M mlir/lib/Dialect/IRDL/IRDLVerifiers.cpp
    M mlir/lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp
    M mlir/lib/Dialect/LLVMIR/IR/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/LLVM/NVVM/Target.cpp
    M mlir/lib/Target/LLVMIR/Dialect/GPU/SelectObjectAttr.cpp
    M mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
    M mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp
    M mlir/lib/Target/SPIRV/Serialization/Serializer.cpp
    M mlir/lib/Tools/PDLL/CodeGen/CPPGen.cpp
    M mlir/lib/Tools/PDLL/Parser/Lexer.cpp
    M mlir/lib/Tools/PDLL/Parser/Lexer.h
    M mlir/lib/Tools/PDLL/Parser/Parser.cpp
    M mlir/lib/Tools/lsp-server-support/Protocol.cpp
    M mlir/lib/Tools/mlir-lsp-server/LSPServer.h
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
    M mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.h
    M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.h
    M mlir/lib/Tools/mlir-query/MlirQueryMain.cpp
    M mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
    M mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
    M mlir/lib/Tools/tblgen-lsp-server/LSPServer.h
    M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.cpp
    M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.h
    M mlir/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/Analysis/Presburger/ParserTest.cpp
    M mlir/unittests/Rewrite/PatternBenefit.cpp
    M openmp/runtime/src/dllexports
    M utils/bazel/llvm-project-overlay/clang/BUILD.bazel

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

Created using spr 1.3.4

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/16a4d26ff1dc...ac7b1d0cf1ff

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