[all-commits] [llvm/llvm-project] 5e0fc9: [clang-format] Fix a bug in `AlignAfterOpenBracket...

Pengcheng Wang via All-commits all-commits at lists.llvm.org
Tue Jun 18 01:33:49 PDT 2024


  Branch: refs/heads/users/wangpc-pp/spr/riscv-add-riscv_atomicsh-and-zawrszalrsc-builtins
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e0fc93d01c216544c12b60c30fe8ac6c9931eb9
      https://github.com/llvm/llvm-project/commit/5e0fc93d01c216544c12b60c30fe8ac6c9931eb9
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Fix a bug in `AlignAfterOpenBracket: DontAlign` (#94561)

Fixes #94555.


  Commit: 79cd6c3d01c6c69ca870418a3c602dbd1bef29e4
      https://github.com/llvm/llvm-project/commit/79cd6c3d01c6c69ca870418a3c602dbd1bef29e4
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    A compiler-rt/test/dfsan/sscanf.c

  Log Message:
  -----------
  [dfsan] Add test case for sscanf (#94700)

This test case shows a limitation of DFSan's sscanf implementation
(introduced in https://reviews.llvm.org/D153775): it simply ignores
ordinary characters in the format string, instead of actually comparing
them against the input. This may change the semantics of instrumented
programs.

Importantly, this also means that DFSan's release_shadow_space.c test,
which relies on sscanf to scrape the RSS from /proc/maps output, will
incorrectly match lines that don't contain RSS information. As a result,
it adding together numbers from irrelevant output (e.g., base
addresses), resulting in test flakiness
(https://github.com/llvm/llvm-project/issues/91287).


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

  Changed paths:
    M lld/ELF/Writer.cpp

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

Make it easier to add CREL support.


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

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp

  Log Message:
  -----------
  [SPIRV] Fix -Wunused-but-set-variable. NFC


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

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

  Log Message:
  -----------
  [InstCombine] Add tests for expanding `foldSelectValueEquivalence`; NFC


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/abs-1.ll
    M llvm/test/Transforms/InstCombine/select.ll

  Log Message:
  -----------
  [InstCombine] Improve coverage of `foldSelectValueEquivalence` for constants

We don't need the `noundef` check if the new simplification is a
constant.

This cleans up regressions from folding multiuse:
    `(icmp eq/ne (sub/xor x, y), 0)` -> `(icmp eq/ne x, y)`.

Closes #88298


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

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/RISCV.cpp

  Log Message:
  -----------
  [RISCV] Unify all the code that adds unaligned-scalar/vector-mem to Features vector. (#94660)

Instead of having multiple places insert into the Features vector
independently, check all the conditions in one place.

This avoids a subtle ordering requirement that -mstrict-align processing
had to be done after the others.


  Commit: c967c7e0223845b54a5220e2d4211fee50c5fb30
      https://github.com/llvm/llvm-project/commit/c967c7e0223845b54a5220e2d4211fee50c5fb30
  Author: Nour <nourr313 at proton.me>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M clang/tools/clang-format/ClangFormat.cpp

  Log Message:
  -----------
  [clang-format][NFC] Remove an else after a return statement (#94548)


  Commit: a10135f4922624f92c3a108d23ab64adc09dd285
      https://github.com/llvm/llvm-project/commit/a10135f4922624f92c3a108d23ab64adc09dd285
  Author: Gedare Bloom <gedare at rtems.org>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

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

  Log Message:
  -----------
  [clang-format]: Annotate colons found in inline assembly (#92617)

Short-circuit the parsing of tok::colon to label colons found within
lines starting with asm as InlineASMColon.

Fixes #92616.

---------

Co-authored-by: Owen Pan <owenpiano at gmail.com>


  Commit: f2441b0297501610b59527f93e3174c814d63941
      https://github.com/llvm/llvm-project/commit/f2441b0297501610b59527f93e3174c814d63941
  Author: Weining Lu <luweining at loongson.cn>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    R clang/test/Driver/loongarch-default-features.c
    A clang/test/Driver/loongarch-features.c

  Log Message:
  -----------
  [Driver][test] Rename loongarch-{default-,}features.c


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

  Changed paths:
    M clang/include/clang/AST/ASTUnresolvedSet.h
    M clang/include/clang/AST/DeclAccessPair.h
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/AST/DeclID.h
    M clang/include/clang/AST/UnresolvedSet.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/include/clang/Serialization/ModuleManager.h
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/AST/DeclCXX.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ModuleFile.cpp
    A clang/test/Modules/no-transitive-decls-change.cppm

  Log Message:
  -----------
  [serialization] no transitive decl change (#92083)

Following of https://github.com/llvm/llvm-project/pull/86912

The motivation of the patch series is that, for a module interface unit
`X`, when the dependent modules of `X` changes, if the changes is not
relevant with `X`, we hope the BMI of `X` won't change. For the specific
patch, we hope if the changes was about irrelevant declaration changes,
we hope the BMI of `X` won't change. **However**, I found the patch
itself is not very useful in practice, since the adding or removing
declarations, will change the state of identifiers and types in most
cases.

That said, for the most simple example,

```
// partA.cppm
export module m:partA;

// partA.v1.cppm
export module m:partA;
export void a() {}

// partB.cppm
export module m:partB;
export void b() {}

// m.cppm
export module m;
export import :partA;
export import :partB;

// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
    b();
}
```

the BMI of `onlyUseB` will change after we change the implementation of
`partA.cppm` to `partA.v1.cppm`. Since `partA.v1.cppm` introduces new
identifiers and types (the function prototype).

So in this patch, we have to write the tests as:

```
// partA.cppm
export module m:partA;
export int getA() { ... }
export int getA2(int) { ... }

// partA.v1.cppm
export module m:partA;
export int getA() { ... }
export int getA(int) { ... }
export int getA2(int) { ... }

// partB.cppm
export module m:partB;
export void b() {}

// m.cppm
export module m;
export import :partA;
export import :partB;

// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
    b();
}
```

so that the new introduced declaration `int getA(int)` doesn't introduce
new identifiers and types, then the BMI of `onlyUseB` can keep
unchanged.

While it looks not so great, the patch should be the base of the patch
to erase the transitive change for identifiers and types since I don't
know how can we introduce new types and identifiers without introducing
new declarations. Given how tightly the relationship between
declarations, types and identifiers, I think we can only reach the ideal
state after we made the series for all of the three entties.

The design of the patch is similar to
https://github.com/llvm/llvm-project/pull/86912, which extends the
32-bit DeclID to 64-bit and use the higher bits to store the module file
index and the lower bits to store the Local Decl ID.

A slight difference is that we only use 48 bits to store the new DeclID
since we try to use the higher 16 bits to store the module ID in the
prefix of Decl class. Previously, we use 32 bits to store the module ID
and 32 bits to store the DeclID. I don't want to allocate additional
space so I tried to make the additional space the same as 64 bits. An
potential interesting thing here is about the relationship between the
module ID and the module file index. I feel we can get the module file
index by the module ID. But I didn't prove it or implement it. Since I
want to make the patch itself as small as possible. We can make it in
the future if we want.

Another change in the patch is the new concept Decl Index, which means
the index of the very big array `DeclsLoaded` in ASTReader. Previously,
the index of a loaded declaration is simply the Decl ID minus
PREDEFINED_DECL_NUMs. So there are some places they got used
ambiguously. But this patch tried to split these two concepts.

As https://github.com/llvm/llvm-project/pull/86912 did, the change will
increase the on-disk PCM file sizes. As the declaration ID may be the
most IDs in the PCM file, this can have the biggest impact on the size.
In my experiments, this change will bring 6.6% increase of the on-disk
PCM size. No compile-time performance regression observed. Given the
benefits in the motivation example, I think the cost is worthwhile.


  Commit: 222e0a042c1c7c3b1aec7557bcb60d1543c1737a
      https://github.com/llvm/llvm-project/commit/222e0a042c1c7c3b1aec7557bcb60d1543c1737a
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

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

  Log Message:
  -----------
  [llvm][ScheduleDAG] Re-arrange SUnit's members to make it smaller (#94547)

before:
```
*** Dumping AST Record Layout
         0 | class llvm::SUnit
         0 |   SDNode * Node
         8 |   MachineInstr * Instr
        16 |   SUnit * OrigNode
        24 |   const MCSchedClassDesc * SchedClass
        32 |   class llvm::SmallVector<class llvm::SDep, 4> Preds
        32 |     class llvm::SmallVectorImpl<class llvm::SDep> (base)
        32 |       class llvm::SmallVectorTemplateBase<class llvm::SDep> (base)
        32 |         class llvm::SmallVectorTemplateCommon<class llvm::SDep> (base)
        32 |           class llvm::SmallVectorBase<uint32_t> (base)
        32 |             void * BeginX
        40 |             unsigned int Size
        44 |             unsigned int Capacity
        48 |     struct llvm::SmallVectorStorage<class llvm::SDep, 4> (base)
        48 |       char[64] InlineElts
       112 |   class llvm::SmallVector<class llvm::SDep, 4> Succs
       112 |     class llvm::SmallVectorImpl<class llvm::SDep> (base)
       112 |       class llvm::SmallVectorTemplateBase<class llvm::SDep> (base)
       112 |         class llvm::SmallVectorTemplateCommon<class llvm::SDep> (base)
       112 |           class llvm::SmallVectorBase<uint32_t> (base)
       112 |             void * BeginX
       120 |             unsigned int Size
       124 |             unsigned int Capacity
       128 |     struct llvm::SmallVectorStorage<class llvm::SDep, 4> (base)
       128 |       char[64] InlineElts
       192 |   unsigned int NodeNum
       196 |   unsigned int NodeQueueId
       200 |   unsigned int NumPreds
       204 |   unsigned int NumSuccs
       208 |   unsigned int NumPredsLeft
       212 |   unsigned int NumSuccsLeft
       216 |   unsigned int WeakPredsLeft
       220 |   unsigned int WeakSuccsLeft
       224 |   unsigned short NumRegDefsLeft
       226 |   unsigned short Latency
   228:0-0 |   _Bool isVRegCycle
   228:1-1 |   _Bool isCall
   228:2-2 |   _Bool isCallOp
   228:3-3 |   _Bool isTwoAddress
   228:4-4 |   _Bool isCommutable
   228:5-5 |   _Bool hasPhysRegUses
   228:6-6 |   _Bool hasPhysRegDefs
   228:7-7 |   _Bool hasPhysRegClobbers
   229:0-0 |   _Bool isPending
   229:1-1 |   _Bool isAvailable
   229:2-2 |   _Bool isScheduled
   229:3-3 |   _Bool isScheduleHigh
   229:4-4 |   _Bool isScheduleLow
   229:5-5 |   _Bool isCloned
   229:6-6 |   _Bool isUnbuffered
   229:7-7 |   _Bool hasReservedResource
       232 |   Sched::Preference SchedulingPref
   236:0-0 |   _Bool isDepthCurrent
   236:1-1 |   _Bool isHeightCurrent
       240 |   unsigned int Depth
       244 |   unsigned int Height
       248 |   unsigned int TopReadyCycle
       252 |   unsigned int BotReadyCycle
       256 |   const TargetRegisterClass * CopyDstRC
       264 |   const TargetRegisterClass * CopySrcRC
           | [sizeof=272, dsize=272, align=8,
           |  nvsize=272, nvalign=8]
```

after:
```
*** Dumping AST Record Layout
         0 | class llvm::SUnit
         0 |   union llvm::SUnit::(anonymous at /Users/jonathan_roelofs/llvm-upstream/llvm/include/llvm/CodeGen/ScheduleDAG.h:246:5)
         0 |     SDNode * Node
         0 |     MachineInstr * Instr
         8 |   SUnit * OrigNode
        16 |   const MCSchedClassDesc * SchedClass
        24 |   const TargetRegisterClass * CopyDstRC
        32 |   const TargetRegisterClass * CopySrcRC
        40 |   class llvm::SmallVector<class llvm::SDep, 4> Preds
        40 |     class llvm::SmallVectorImpl<class llvm::SDep> (base)
        40 |       class llvm::SmallVectorTemplateBase<class llvm::SDep> (base)
        40 |         class llvm::SmallVectorTemplateCommon<class llvm::SDep> (base)
        40 |           class llvm::SmallVectorBase<uint32_t> (base)
        40 |             void * BeginX
        48 |             unsigned int Size
        52 |             unsigned int Capacity
        56 |     struct llvm::SmallVectorStorage<class llvm::SDep, 4> (base)
        56 |       char[64] InlineElts
       120 |   class llvm::SmallVector<class llvm::SDep, 4> Succs
       120 |     class llvm::SmallVectorImpl<class llvm::SDep> (base)
       120 |       class llvm::SmallVectorTemplateBase<class llvm::SDep> (base)
       120 |         class llvm::SmallVectorTemplateCommon<class llvm::SDep> (base)
       120 |           class llvm::SmallVectorBase<uint32_t> (base)
       120 |             void * BeginX
       128 |             unsigned int Size
       132 |             unsigned int Capacity
       136 |     struct llvm::SmallVectorStorage<class llvm::SDep, 4> (base)
       136 |       char[64] InlineElts
       200 |   unsigned int NodeNum
       204 |   unsigned int NodeQueueId
       208 |   unsigned int NumPreds
       212 |   unsigned int NumSuccs
       216 |   unsigned int NumPredsLeft
       220 |   unsigned int NumSuccsLeft
       224 |   unsigned int WeakPredsLeft
       228 |   unsigned int WeakSuccsLeft
       232 |   unsigned int TopReadyCycle
       236 |   unsigned int BotReadyCycle
       240 |   unsigned int Depth
       244 |   unsigned int Height
   248:0-0 |   _Bool isVRegCycle
   248:1-1 |   _Bool isCall
   248:2-2 |   _Bool isCallOp
   248:3-3 |   _Bool isTwoAddress
   248:4-4 |   _Bool isCommutable
   248:5-5 |   _Bool hasPhysRegUses
   248:6-6 |   _Bool hasPhysRegDefs
   248:7-7 |   _Bool hasPhysRegClobbers
   249:0-0 |   _Bool isPending
   249:1-1 |   _Bool isAvailable
   249:2-2 |   _Bool isScheduled
   249:3-3 |   _Bool isScheduleHigh
   249:4-4 |   _Bool isScheduleLow
   249:5-5 |   _Bool isCloned
   249:6-6 |   _Bool isUnbuffered
   249:7-7 |   _Bool hasReservedResource
       250 |   unsigned short NumRegDefsLeft
       252 |   unsigned short Latency
   254:0-0 |   _Bool isDepthCurrent
   254:1-1 |   _Bool isHeightCurrent
   254:2-2 |   _Bool isNode
   254:3-3 |   _Bool isInst
   254:4-7 |   Sched::Preference SchedulingPref
           | [sizeof=256, dsize=255, align=8,
           |  nvsize=255, nvalign=8]
```


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

  Changed paths:
    M clang/include/clang/AST/ASTUnresolvedSet.h
    M clang/include/clang/AST/DeclAccessPair.h
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/AST/DeclID.h
    M clang/include/clang/AST/UnresolvedSet.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/include/clang/Serialization/ModuleManager.h
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/AST/DeclCXX.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ModuleFile.cpp
    R clang/test/Modules/no-transitive-decls-change.cppm

  Log Message:
  -----------
  Revert "[serialization] no transitive decl change (#92083)"

This reverts commit 5c104879c1a98eeb845c03e7c45206bd48e88f0c.

The ArmV7 bot is complaining the change breaks the alignment.


  Commit: 0e1d6e2fc48accbfdbb349dc460a4e91edf1d884
      https://github.com/llvm/llvm-project/commit/0e1d6e2fc48accbfdbb349dc460a4e91edf1d884
  Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/build_vector-r600.ll
    M llvm/test/CodeGen/AMDGPU/build_vector.ll

  Log Message:
  -----------
  [AMDGPU] Auto-generating lit test patterns (NFC) (#93837)

Test CodeGen/AMDGPU/build_vector.ll has the lit patterns partially
hand-written and the rest auto-generated. It doesn't look good when
changes are required with future patches. Auto-generating the entire
pattern. Moved out the R600 test into build_vector-r600.ll.


  Commit: e96e7f1f33637ba5080c82e874622948c0a0c25b
      https://github.com/llvm/llvm-project/commit/e96e7f1f33637ba5080c82e874622948c0a0c25b
  Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/fabs-r600.ll
    M llvm/test/CodeGen/AMDGPU/fabs.ll
    A llvm/test/CodeGen/AMDGPU/fneg-fabs-r600.ll
    M llvm/test/CodeGen/AMDGPU/fneg-fabs.f64.ll
    M llvm/test/CodeGen/AMDGPU/fneg-fabs.ll
    M llvm/test/CodeGen/AMDGPU/fneg.ll
    M llvm/test/CodeGen/AMDGPU/llvm.r600.read.local.size.ll
    M llvm/test/CodeGen/AMDGPU/packed-op-sel.ll
    A llvm/test/CodeGen/AMDGPU/xor-r600.ll
    M llvm/test/CodeGen/AMDGPU/xor.ll

  Log Message:
  -----------
  [AMDGPU] Auto-generated some lit test patterns (NFC). (#94310)

Also, converted the R600 RUN lines from some tests into standalone tests.


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

  Changed paths:
    M llvm/include/llvm/CodeGen/MachinePassManager.h
    A llvm/include/llvm/CodeGen/RegAllocFast.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/include/llvm/Passes/PassBuilder.h
    M llvm/lib/CodeGen/RegAllocFast.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/test/CodeGen/AArch64/fast-regalloc-empty-bb-with-liveins.mir
    M llvm/test/CodeGen/AMDGPU/fast-ra-kills-vcc.mir
    M llvm/test/CodeGen/AMDGPU/fast-regalloc-bundles.mir
    M llvm/test/CodeGen/AMDGPU/fastregalloc-illegal-subreg-physreg.mir
    M llvm/test/CodeGen/AMDGPU/fastregalloc-self-loop-heuristic.mir
    M llvm/test/CodeGen/AMDGPU/spill-agpr.mir
    M llvm/test/CodeGen/AMDGPU/spill192.mir
    M llvm/test/CodeGen/AMDGPU/spill224.mir
    M llvm/test/CodeGen/AMDGPU/spill288.mir
    M llvm/test/CodeGen/AMDGPU/spill320.mir
    M llvm/test/CodeGen/AMDGPU/spill352.mir
    M llvm/test/CodeGen/AMDGPU/spill384.mir
    M llvm/test/CodeGen/AMDGPU/unexpected-reg-unit-state.mir
    M llvm/test/CodeGen/ARM/regalloc-fast-rewrite-implicits.mir
    M llvm/test/CodeGen/MIR/Generic/runPass.mir
    M llvm/test/CodeGen/PowerPC/spill-nor0.mir
    M llvm/test/CodeGen/SystemZ/regalloc-fast-invalid-kill-flag.mir
    M llvm/test/CodeGen/Thumb/high-reg-clobber.mir
    M llvm/test/CodeGen/Thumb2/high-reg-spill.mir
    M llvm/test/CodeGen/X86/bug47278-eflags-error.mir
    M llvm/test/CodeGen/X86/bug47278.mir
    M llvm/test/CodeGen/X86/callbr-asm-outputs-regallocfast.mir
    M llvm/test/CodeGen/X86/fastregalloc-selfloop.mir
    M llvm/test/CodeGen/X86/fastregalloc-tied-undef.mir
    M llvm/test/CodeGen/X86/regalloc-fast-missing-live-out-spill.mir
    M llvm/test/CodeGen/X86/statepoint-fastregalloc.mir
    M llvm/test/CodeGen/X86/virtreg-physreg-def-regallocfast.mir
    A llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir

  Log Message:
  -----------
  [NewPM][CodeGen] Port `regallocfast` to new pass manager (#94426)

This pull request port `regallocfast` to new pass manager. It exposes
the parameter `filter` to handle different register classes for AMDGPU.
IIUC AMDGPU need to allocate different register classes separately so it
need implement its own `--<reg-class>-regalloc`. Now users can use e.g.
`-passe=regallocfast<filter=sgpr>` to allocate specific register class.
The command line option `--regalloc-npm` is still in work progress, plan
to reuse the syntax of passes, e.g. use
`--regalloc-npm=regallocfast<filter=sgpr>,greedy<filter=vgpr>` to
replace `--sgpr-regalloc` and `--vgpr-regalloc`.


  Commit: 566befca28f5df9490ad4fcce31042d92526ba1e
      https://github.com/llvm/llvm-project/commit/566befca28f5df9490ad4fcce31042d92526ba1e
  Author: WANG Rui <wangrui at loongson.cn>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/LoongArch/machinelicm-address-pseudos.ll

  Log Message:
  -----------
  [NFC][LoongArch] Pre-commit tests for hoisting of PseudoLA*


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

  Changed paths:
    M llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir

  Log Message:
  -----------
  [test] Don't generate `regalloc-amdgpu.s` in #94426 (#94722)

The test will generate an empty `regalloc-amdgpu.s` file in test, which
causes an unresolved test.


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

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/HeaderIncludeCycleCheck.cpp

  Log Message:
  -----------
  [clang-tidy] refactor misc-header-include-cycle (#94697)

1. merge valid check
2. use range base loop


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

  Changed paths:
    M libcxx/.clang-tidy
    M libcxx/include/__functional/bind.h
    M libcxx/include/__mdspan/extents.h

  Log Message:
  -----------
  [libc++] Fix naming of value template parameters (#76888)


  Commit: 670fa2bd7a4d50c33bc24d4e3e1fa4079592b730
      https://github.com/llvm/llvm-project/commit/670fa2bd7a4d50c33bc24d4e3e1fa4079592b730
  Author: Gábor Horváth <xazax.hun at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/include/clang/Sema/Initialization.h
    M clang/lib/Sema/SemaAvailability.cpp
    A clang/test/Sema/attr-availability-macosx.cpp

  Log Message:
  -----------
  Fix spurious non-strict availability warning (#94377)

The availability attributes are stored on the function declarations. The
code was looking for them in the function template declarations. This
resulted in spuriously diagnosing (non-strict) availablity issues in
contexts that are not available.

Co-authored-by: Gabor Horvath <gaborh at apple.com>


  Commit: 1752740f4b4b752bbe2987a0de398c6f671ceb71
      https://github.com/llvm/llvm-project/commit/1752740f4b4b752bbe2987a0de398c6f671ceb71
  Author: Prashant Kumar <pk5561 at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/test/Dialect/Tensor/canonicalize.mlir

  Log Message:
  -----------
  [mlir][tensor] Fix FoldTensorCastProducerOp for multiple result operations (#93374)

For patterns where there are multiple results apart from dpsInits, this
fails.
E.g.:
```
%13:2 = iree_codegen.ukernel.generic "iree_uk_unpack"
ins(%extracted_slice : tensor<?x1x16x16xf32>) outs(%11 :
tensor<?x?xf32>) ... -> tensor<?x?xf32>, i32
``` 
The above op has results apart from dpsInit and hence fails. The PR
assumes that the result has dpsInits followed by nonDpsInits.


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

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

  Log Message:
  -----------
  [MC] MCSection::dump: print section name


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

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

  Log Message:
  -----------
  [clang][Interp] Improve APValue machinery

Handle lvalues pointing to declarations, unions and member pointers.


  Commit: d843c02aba5d253891ea0e599c4b6e25247c1af7
      https://github.com/llvm/llvm-project/commit/d843c02aba5d253891ea0e599c4b6e25247c1af7
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/include/llvm/TargetParser/X86TargetParser.def

  Log Message:
  -----------
  [X86] Assign AVX10_1 feature priority to align with gcc. (#94557)

gcc patch:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=1f2ca510065a2033bac408eb5a960ef0126f25cc


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

  Changed paths:
    M lldb/include/lldb/Core/ValueObject.h
    M lldb/include/lldb/Core/ValueObjectConstResult.h
    M lldb/include/lldb/Core/ValueObjectConstResultCast.h
    M lldb/include/lldb/Core/ValueObjectConstResultChild.h
    M lldb/include/lldb/Core/ValueObjectConstResultImpl.h
    M lldb/include/lldb/Core/ValueObjectRegister.h
    M lldb/include/lldb/Core/ValueObjectVTable.h
    M lldb/source/Core/ValueObject.cpp
    M lldb/source/Core/ValueObjectConstResult.cpp
    M lldb/source/Core/ValueObjectConstResultCast.cpp
    M lldb/source/Core/ValueObjectConstResultChild.cpp
    M lldb/source/Core/ValueObjectConstResultImpl.cpp
    M lldb/source/Core/ValueObjectRegister.cpp
    M lldb/source/Core/ValueObjectVTable.cpp

  Log Message:
  -----------
  [lldb] Split ValueObject::CreateChildAtIndex into two functions (#94455)

The the function is doing two fairly different things, depending on how
it is called. While this allows for some code reuse, it also makes it
hard to override it correctly. Possibly for this reason
ValueObjectSynthetic overerides GetChildAtIndex instead, which forces it
to reimplement some of its functionality, most notably caching of
generated children.

Splitting this up makes it easier to move the caching to a common place
(and hopefully makes the code easier to follow in general).


  Commit: c007883f0286a314eb69976ad14da2bce988fb55
      https://github.com/llvm/llvm-project/commit/c007883f0286a314eb69976ad14da2bce988fb55
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/include/llvm/TargetParser/X86TargetParser.def

  Log Message:
  -----------
  Revert "[X86] Assign AVX10_1 feature priority to align with gcc. (#94557)" (#94730)

This reverts commit d843c02aba5d253891ea0e599c4b6e25247c1af7.


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

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

  Log Message:
  -----------
  [memprof] Use std::move in ContextEdge::ContextEdge (NFC) (#94687)

Since the constructor of ContextEdge takes ContextIds by value, we
should move it to the corresponding member variable as suggested by
clang-tidy's performance-unnecessary-value-param.

While we are at it, this patch updates a couple of callers.  To avoid
the ambiguity in the evaluation order among the constructor arguments,
I'm calling computeAllocType before calling the constructor.


  Commit: 4a7b8003012985028bdf637be0a9c7a71dff65d9
      https://github.com/llvm/llvm-project/commit/4a7b8003012985028bdf637be0a9c7a71dff65d9
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/Core.h
    M llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp

  Log Message:
  -----------
  [ORC] Switch ExecutionSession::ErrorReporter to use unique_function.

This allows the ReportError functor to hold move-only types.


  Commit: f21c2fae95f76300c4230f75b6e97445932f6bc6
      https://github.com/llvm/llvm-project/commit/f21c2fae95f76300c4230f75b6e97445932f6bc6
  Author: hev <wangrui at loongson.cn>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/test/CodeGen/LoongArch/vector-fp-imm.ll

  Log Message:
  -----------
  [LoongArch] Set isReMaterializable on LU{12,32,52}I.D/ADDI.D and {X}ORI instructions (#94552)


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

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h

  Log Message:
  -----------
  [SCEV] Use insert_or_assign() (NFC)


  Commit: 240512c43234f58b3924cd90fe0781445d97e98d
      https://github.com/llvm/llvm-project/commit/240512c43234f58b3924cd90fe0781445d97e98d
  Author: hev <wangrui at loongson.cn>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/CMakeLists.txt
    M llvm/lib/Target/LoongArch/LoongArch.h
    A llvm/lib/Target/LoongArch/LoongArchDeadRegisterDefinitions.cpp
    M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
    M llvm/test/CodeGen/LoongArch/global-address.ll
    M llvm/test/CodeGen/LoongArch/intrinsic-la64.ll
    M llvm/test/CodeGen/LoongArch/intrinsic.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/br.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/load-store.ll
    M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll
    M llvm/utils/gn/secondary/llvm/lib/Target/LoongArch/BUILD.gn

  Log Message:
  -----------
  [LoongArch] Add a pass to rewrite rd to r0 for non-computational instrs whose return values are unused (#94590)

This patch adds a peephole pass `LoongArchDeadRegisterDefinitions`. It
rewrites `rd` to `r0` when `rd` is marked as dead. It may improve the
register allocation and reduce pipeline hazards on CPUs without register
renaming and OOO.


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

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td

  Log Message:
  -----------
  [clang][Interp][NFC] Add GetPtrFieldPop opcode

And change the previous GetPtrField to only peek() the base pointer.
We can get rid of a whole bunch of DupPtr ops this way.


  Commit: e622996eddfb2826d258b3a3760eed195f97aabe
      https://github.com/llvm/llvm-project/commit/e622996eddfb2826d258b3a3760eed195f97aabe
  Author: Kristóf Umann <dkszelethus at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
    M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
    A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
    A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.h

  Log Message:
  -----------
  [analyzer][NFC] Factor out NoOwnershipChangeVisitor (#94357)

In preparation for adding essentially the same visitor to StreamChecker,
this patch factors this visitor out to a common header.

I'll be the first to admit that the interface of these classes are not
terrific, but it rather tightly held back by its main technical debt,
which is NoStoreFuncVisitor, the main descendant of
NoStateChangeVisitor.

Change-Id: I99d73ccd93a18dd145bbbc83afadbb432dd42b90


  Commit: be18daad06a9b431d0b4b787bba81de579e0a583
      https://github.com/llvm/llvm-project/commit/be18daad06a9b431d0b4b787bba81de579e0a583
  Author: Jianjian GUAN <jacquesguan at me.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/select-fp.ll
    M llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll
    M llvm/test/CodeGen/RISCV/rvv/vselect-vp.ll

  Log Message:
  -----------
  Reland "[RISCV] Support select/merge like ops for bf16 vectors when have Zvfbfmin" (#94565)"


  Commit: 8ef5c98e9f9276f09c590e22ab88a20ae86f3859
      https://github.com/llvm/llvm-project/commit/8ef5c98e9f9276f09c590e22ab88a20ae86f3859
  Author: uint256_t <maekawatoshiki1017 at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/docs/Benchmarking.rst

  Log Message:
  -----------
  [docs] Fix benchmarking tips (#94724)

This PR fixes an incorrect line for setting scaling_governer in
benchmarking tips.


  Commit: 36bc7410cb68e32d4416b951a118d5a799d3a226
      https://github.com/llvm/llvm-project/commit/36bc7410cb68e32d4416b951a118d5a799d3a226
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir

  Log Message:
  -----------
  [test] Don't generate extra file for regalloc-amdgpu.mir test.


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

  Changed paths:
    M clang/lib/AST/Interp/Pointer.cpp
    M clang/test/AST/Interp/cxx20.cpp

  Log Message:
  -----------
  [clang][Interp] Remove StoragKind limitation in Pointer assign operators

It's not strictly needed and did cause some test failures.


  Commit: ac404632f991fc6e7dc75ef553a99676ba8002ce
      https://github.com/llvm/llvm-project/commit/ac404632f991fc6e7dc75ef553a99676ba8002ce
  Author: WANG Rui <wangrui at loongson.cn>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/LoongArch/machinelicm-address-pseudos.ll

  Log Message:
  -----------
  [NFC][LoongArch] Update test for #94590


  Commit: 4f320e6aa2d4fdcb3d749977c840cdf1783173f3
      https://github.com/llvm/llvm-project/commit/4f320e6aa2d4fdcb3d749977c840cdf1783173f3
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/include/mlir-c/Dialect/LLVM.h
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrs.h
    M mlir/lib/CAPI/Dialect/LLVM.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Target/LLVMIR/DebugImporter.cpp
    M mlir/lib/Target/LLVMIR/DebugImporter.h
    M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
    M mlir/lib/Target/LLVMIR/DebugTranslation.h
    M mlir/test/CAPI/llvm.c
    M mlir/test/Target/LLVMIR/Import/debug-info.ll
    M mlir/test/Target/LLVMIR/llvmir-debug.mlir

  Log Message:
  -----------
  [MLIR] Translate DIStringType. (#94480)

This PR handle translation of DIStringType. Mostly mechanical changes to
translate DIStringType to/from DIStringTypeAttr. The 'stringLength'
field is 'DIVariable' in DIStringType. As there was no `DIVariableAttr`
previously, it has been added to ease the translation.

---------

Co-authored-by: Tobias Gysi <tobias.gysi at nextsilicon.com>


  Commit: 5f1adf0433c6007f8be885b832c852da67e8524c
      https://github.com/llvm/llvm-project/commit/5f1adf0433c6007f8be885b832c852da67e8524c
  Author: Utkarsh Saxena <usx at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/FindSymbols.cpp
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/clangd/SemanticHighlighting.cpp
    M clang-tools-extra/clangd/XRefs.cpp
    M clang-tools-extra/clangd/refactor/Rename.cpp
    M clang-tools-extra/clangd/unittests/PreambleTests.cpp
    M clang-tools-extra/clangd/unittests/XRefsTests.cpp
    M clang/include/clang/Tooling/Syntax/Tokens.h
    M clang/lib/Tooling/Syntax/Tokens.cpp
    M clang/unittests/Tooling/Syntax/TokensTest.cpp

  Log Message:
  -----------
  [clangd] Fix crash with null check for Token at Loc (#94528)

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


  Commit: 8f1164948d6b8f3d3ea11d0ee0629af82fe8cb74
      https://github.com/llvm/llvm-project/commit/8f1164948d6b8f3d3ea11d0ee0629af82fe8cb74
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [flang][Transforms][NFC] Remove boilerplate from vscale range pass (#94598)

Use tablegen to generate the pass constructor.

This pass is supposed to add function attributes so it does not need to
operate on other top level operations.


  Commit: 0749b01c81b7397f674cfe3726e13aa9dfb702ea
      https://github.com/llvm/llvm-project/commit/0749b01c81b7397f674cfe3726e13aa9dfb702ea
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/frameaddr.ll

  Log Message:
  -----------
  [PowerPC] modify the frameaddress case, NFC


  Commit: 3453dedfaf565429bc06c6d58533926f793ad650
      https://github.com/llvm/llvm-project/commit/3453dedfaf565429bc06c6d58533926f793ad650
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
    M llvm/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll
    M llvm/test/CodeGen/PowerPC/frameaddr.ll

  Log Message:
  -----------
  [PowerPC] return correct frame address for frameaddress intrinsic


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

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMInstrNEON.td
    M llvm/test/CodeGen/ARM/neon_vabd.ll

  Log Message:
  -----------
  [ARM] Add NEON support for ISD::ABDS/ABDU nodes. (#94504)

As noted on #94466, NEON has ABDS/ABDU instructions but only handles them via intrinsics, plus some VABDL custom patterns.

This patch flags basic ABDS/ABDU for neon types as legal and updates all tablegen patterns to use abds/abdu instead.

Fixes #94466


  Commit: 0d1b3671a91c3929fc3e3613491ff4b57f1adcc3
      https://github.com/llvm/llvm-project/commit/0d1b3671a91c3929fc3e3613491ff4b57f1adcc3
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M .github/workflows/release-binaries.yml
    M clang/cmake/caches/Release.cmake

  Log Message:
  -----------
  [CMake][Release] Use the TXZ cpack generator for binaries (#90138)


  Commit: 1721c14e8e0d75cc611067b6f4e84028ea7c47d5
      https://github.com/llvm/llvm-project/commit/1721c14e8e0d75cc611067b6f4e84028ea7c47d5
  Author: John Brawn <john.brawn at arm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/BinaryFormat/Dwarf.h
    M llvm/lib/BinaryFormat/Dwarf.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    A llvm/test/DebugInfo/X86/DW_OP_LLVM_extract_bits.ll

  Log Message:
  -----------
  [DebugInfo] Add DW_OP_LLVM_extract_bits (#93990)

This operation extracts a number of bits at a given offset and sign or
zero extends them, which is done by emitting it as a left shift followed
by a right shift.

This is being added for use in clang for C++ structured bindings of
bitfields that have offset or size that aren't a byte multiple. A new
operation is being added, instead of shifts being used directly, as it
makes correctly handling it in optimisations (which will be done in a
later patch) much easier.


  Commit: 192cd685129d6f42e8b191e12bddf74ade48c270
      https://github.com/llvm/llvm-project/commit/192cd685129d6f42e8b191e12bddf74ade48c270
  Author: Fotis Kounelis <fotisss17 at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    M mlir/test/Dialect/SCF/transform-ops.mlir

  Log Message:
  -----------
  Add checks before hoisting out in loop pipelining  (#90872)

Currently, during a loop pipelining transformation, operations may be
hoisted out without any checks on the loop bounds, which leads to
incorrect transformations and unexpected behaviour. The following [issue
](https://github.com/llvm/llvm-project/issues/90870) describes the
problem more extensively, including an example.
The proposed fix adds some check in the loop bounds before and applies
the maximum hoisting.


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

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

  Log Message:
  -----------
  [clang][Interp][NFC] Properly assign block pointer Pointee


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

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

  Log Message:
  -----------
  [clang][Interp] Fix refers_to_enclosing_variable_or_capture DREs

They do not count into lambda captures, so visit them lazily.


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

  Changed paths:
    M llvm/test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table.ll

  Log Message:
  -----------
  [SimplifyCFG] Remove bogus UTC line from test (NFC)

The check lines in this test were clearly not generated by UTC.


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

  Changed paths:
    M llvm/test/Transforms/SimplifyCFG/RISCV/switch_to_lookup_table-rv32.ll
    M llvm/test/Transforms/SimplifyCFG/RISCV/switch_to_lookup_table-rv64.ll
    M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll

  Log Message:
  -----------
  [SimplifyCFG] Regenerate switch to lookup tests (NFC)

Regenerate these with --check-globals. The manual global CHECKS
get dropped during regeneration otherwise.

Annoyingly UTC insists on putting the globals directly before the
first function, so the first comment is a bit out of place now.


  Commit: b87a80d4ebca9e1c065f0d2762e500078c4badca
      https://github.com/llvm/llvm-project/commit/b87a80d4ebca9e1c065f0d2762e500078c4badca
  Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorInterleave.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    A mlir/test/Dialect/Vector/vector-deinterleave-lowering-transforms.mlir

  Log Message:
  -----------
  [mlir][vector] Add n-d deinterleave lowering (#94237)

This patch implements the lowering for vector
deinterleave for vector of n-dimensions. Process
involves unrolling the n-d vector to a series
of one-dimensional vectors. The deinterleave
operation is then used on these vectors.

From:
```
%0, %1 = vector.deinterleave %a : vector<2x8xi8> -> vector<2x4xi8>
```

To:
```
%cst = arith.constant dense<0> : vector<2x4xi32>
%0 = vector.extract %arg0[0] : vector<8xi32> from vector<2x8xi32>
%res1, %res2 = vector.deinterleave %0 : vector<8xi32> -> vector<4xi32>
%1 = vector.insert %res1, %cst [0] : vector<4xi32> into vector<2x4xi32>
%2 = vector.insert %res2, %cst [0] : vector<4xi32> into vector<2x4xi32>
%3 = vector.extract %arg0[1] : vector<8xi32> from vector<2x8xi32>
%res1_0, %res2_1 = vector.deinterleave %3 : vector<8xi32> -> vector<4xi32>
%4 = vector.insert %res1_0, %1 [1] : vector<4xi32> into vector<2x4xi32>
%5 = vector.insert %res2_1, %2 [1] : vector<4xi32> into vector<2x4xi32>
...etc.
```


  Commit: 1a5239251ead73ee57f4e2f7fc93433ac7cf18b1
      https://github.com/llvm/llvm-project/commit/1a5239251ead73ee57f4e2f7fc93433ac7cf18b1
  Author: Oliver Stannard <oliver.stannard at arm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Driver/ToolChains/Arch/ARM.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/Support/CodeGen.h
    M llvm/include/llvm/Target/TargetOptions.h
    M llvm/lib/CodeGen/CommandFlags.cpp
    M llvm/lib/CodeGen/TargetOptionsImpl.cpp
    M llvm/lib/IR/Function.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
    M llvm/lib/Target/ARM/ARMFeatures.td
    M llvm/lib/Target/ARM/ARMFrameLowering.cpp
    M llvm/lib/Target/ARM/ARMFrameLowering.h
    M llvm/test/CodeGen/ARM/frame-chain-reserved-fp.ll
    M llvm/test/CodeGen/ARM/frame-chain.ll
    M llvm/test/CodeGen/Thumb/frame-access.ll
    M llvm/test/CodeGen/Thumb/frame-chain-reserved-fp.ll
    M llvm/test/CodeGen/Thumb/frame-chain.ll

  Log Message:
  -----------
  [ARM] r11 is reserved when using -mframe-chain=aapcs (#86951)

When using the -mframe-chain=aapcs or -mframe-chain=aapcs-leaf options,
we cannot use r11 as an allocatable register, even if
-fomit-frame-pointer is also used. This is so that r11 will always point
to a valid frame record, even if we don't create one in every function.


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMInstrNEON.td
    M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fold-binop-select.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
    M llvm/test/CodeGen/AMDGPU/bypass-div.ll
    M llvm/test/CodeGen/AMDGPU/div_i128.ll
    M llvm/test/CodeGen/AMDGPU/div_v2i128.ll
    M llvm/test/CodeGen/AMDGPU/idiv-licm.ll
    M llvm/test/CodeGen/AMDGPU/itofp.i128.bf.ll
    M llvm/test/CodeGen/AMDGPU/itofp.i128.ll
    M llvm/test/CodeGen/AMDGPU/rem_i128.ll
    M llvm/test/CodeGen/AMDGPU/sdiv.ll
    M llvm/test/CodeGen/AMDGPU/sdiv64.ll
    M llvm/test/CodeGen/AMDGPU/srem64.ll
    M llvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll
    M llvm/test/CodeGen/X86/pr38539.ll

  Log Message:
  -----------
  [DAG] Always allow folding XOR patterns to ABS pre-legalization (#94601)

Removes residual ARM handling for vXi64 ABS nodes to prevent infinite loops.


  Commit: fd45dcca26d6031fcbaa907d8d6c0d9755b36699
      https://github.com/llvm/llvm-project/commit/fd45dcca26d6031fcbaa907d8d6c0d9755b36699
  Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/test/python/ir/affine_expr.py
    M mlir/test/python/ir/attributes.py
    M mlir/test/python/ir/builtin_types.py

  Log Message:
  -----------
  fix(mlir/**.py): fix comparison to None (#94019)

from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):

> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.

Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>


  Commit: 917afa883258757575ac6448e83a9233d7877333
      https://github.com/llvm/llvm-project/commit/917afa883258757575ac6448e83a9233d7877333
  Author: Jonathan Thackray <jonathan.thackray at arm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/test/Misc/target-invalid-cpu-note.c
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/TargetParser/ARMTargetParser.def
    M llvm/lib/Target/ARM/ARMProcessors.td
    M llvm/lib/Target/ARM/ARMSubtarget.cpp
    M llvm/lib/TargetParser/Host.cpp
    M llvm/test/CodeGen/ARM/build-attributes.ll
    M llvm/test/CodeGen/ARM/cortexr52-misched-basic.ll
    M llvm/test/CodeGen/ARM/lsr-scale-addr-mode.ll
    M llvm/test/CodeGen/ARM/misched-fp-basic.ll
    M llvm/test/CodeGen/ARM/misched-int-basic-thumb2.mir
    M llvm/test/CodeGen/ARM/misched-int-basic.mir
    M llvm/test/CodeGen/ARM/proc-resource-sched.ll
    M llvm/test/CodeGen/ARM/single-issue-r52.mir
    M llvm/test/CodeGen/ARM/useaa.ll
    M llvm/test/MC/ARM/dfb-neg.s
    M llvm/test/MC/ARM/dfb.s
    A llvm/test/MC/ARM/invalid-armv8r.s
    M llvm/test/MC/ARM/thumb-hints.s
    M llvm/test/MC/Disassembler/ARM/dfb-thumb.txt
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [ARM] Add support for Cortex-R52+ (#94633)

Cortex-R52+ is an Armv8-R AArch32 CPU.

Technical Reference Manual for Cortex-R52+:
   https://developer.arm.com/documentation/102199/latest/


  Commit: 537165bb02df8e9f4dc4c21725d50e77e2908a5f
      https://github.com/llvm/llvm-project/commit/537165bb02df8e9f4dc4c21725d50e77e2908a5f
  Author: WANG Rui <wangrui at loongson.cn>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/LoongArch/opt-pipeline.ll

  Log Message:
  -----------
  [NFC][LoongArch] Update test for #94590


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

  Changed paths:
    M clang/unittests/Interpreter/InterpreterTest.cpp

  Log Message:
  -----------
  [clang][test] Skip interpreter value test on Arm 32 bit

https://github.com/llvm/llvm-project/pull/89811 caused this test to fail,
somehow.

I think it may not be at fault, but actually be exposing some
existing undefined behaviour, see
https://github.com/llvm/llvm-project/issues/94741.

Skipping this for now to get the bots green again.


  Commit: d3e531cf37ed5334aa873e4e46aff693efac9d77
      https://github.com/llvm/llvm-project/commit/d3e531cf37ed5334aa873e4e46aff693efac9d77
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

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


  Commit: 6fe5428ecbd18aa263417a244c0850b1271617c0
      https://github.com/llvm/llvm-project/commit/6fe5428ecbd18aa263417a244c0850b1271617c0
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Flang.cpp

  Log Message:
  -----------
  [Flang] Handle the newly-added "Reserved" FramePointerKind for 1a5239251ead73ee57f4e2f7fc93433ac7cf18b1


  Commit: 88e2bb40921f35663e16e45514de20018615c36f
      https://github.com/llvm/llvm-project/commit/88e2bb40921f35663e16e45514de20018615c36f
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/lib/Basic/Targets.cpp
    M clang/lib/Basic/Targets/SPIR.cpp
    M clang/lib/Basic/Targets/SPIR.h
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/target-data.c
    A clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
    A clang/test/CodeGenCUDA/builtins-unsafe-atomics-spirv-amdgcn-gfx90a.cu
    M clang/test/CodeGenCUDA/long-double.cu
    A clang/test/CodeGenCUDA/spirv-amdgcn-bf16.cu
    A clang/test/CodeGenCXX/spirv-amdgcn-float16.cpp
    M clang/test/CodeGenHIP/hipspv-addr-spaces.cpp
    A clang/test/CodeGenHIP/spirv-amdgcn-ballot.cpp
    A clang/test/CodeGenHIP/spirv-amdgcn-dpp-const-fold.hip
    A clang/test/CodeGenHIP/spirv-amdgcn-half.hip
    M clang/test/CodeGenOpenCL/amdgcn-flat-scratch-name.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
    M clang/test/CodeGenOpenCL/inline-asm-amdgcn.cl
    M clang/test/Preprocessor/hash_builtin.cpp
    M clang/test/Preprocessor/predefined-macros-no-warnings.c
    M clang/test/Preprocessor/predefined-macros.c
    A clang/test/Sema/builtin-spirv-amdgcn-atomic-inc-dec-failure.cpp
    A clang/test/Sema/inline-asm-validate-spirv-amdgcn.cl
    M clang/test/SemaCUDA/allow-int128.cu
    M clang/test/SemaCUDA/amdgpu-f128.cu
    M clang/test/SemaCUDA/float16.cu
    M clang/test/SemaCUDA/fp16-arg-return.cu
    A clang/test/SemaCUDA/spirv-amdgcn-atomic-ops.cu
    M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx908-param.cl
    M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx90a-param.cl
    M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx940-param.cl
    M llvm/docs/SPIRVUsage.rst
    M llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
    M llvm/lib/TargetParser/TargetParser.cpp
    M llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_subgroup_rotate/subgroup-rotate.ll
    M llvm/test/CodeGen/SPIRV/passes/SPIRVEmitIntrinsics-no-divergent-spv_assign_ptr_type.ll
    M llvm/test/CodeGen/SPIRV/passes/SPIRVEmitIntrinsics-no-duplicate-spv_assign_type.ll
    M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_arithmetics.ll
    M llvm/test/CodeGen/SPIRV/transcoding/sub_group_non_uniform_vote.ll

  Log Message:
  -----------
  [clang][SPIR-V] Add support for AMDGCN flavoured SPIRV (#89796)

This change seeks to add support for vendor flavoured SPIRV - more
specifically, AMDGCN flavoured SPIRV. The aim is to generate SPIRV that
carries some extra bits of information that are only usable by AMDGCN
targets, forfeiting absolute genericity to obtain greater expressiveness
for target features:

- AMDGCN inline ASM is allowed/supported, under the assumption that the
[SPV_INTEL_inline_assembly](https://github.com/intel/llvm/blob/sycl/sycl/doc/design/spirv-extensions/SPV_INTEL_inline_assembly.asciidoc)
extension is enabled/used
- AMDGCN target specific builtins are allowed/supported, under the
assumption that e.g. the `--spirv-allow-unknown-intrinsics` option is
enabled when using the downstream translator
- the featureset matches the union of AMDGCN targets' features
- the datalayout string is overspecified to affix both the program
address space and the alloca address space, the latter under the
assumption that the
[SPV_INTEL_function_pointers](https://github.com/intel/llvm/blob/sycl/sycl/doc/design/spirv-extensions/SPV_INTEL_function_pointers.asciidoc)
extension is enabled/used, case in which the extant SPIRV datalayout
string would lead to pointers to function pointing to the private
address space, which would be wrong.

Existing AMDGCN tests are extended to cover this new target. It is
currently dormant / will require some additional changes, but I thought
I'd rather put it up for review to get feedback as early as possible. I
will note that an alternative option is to place this under AMDGPU, but
that seems slightly less natural, since this is still SPIRV, albeit
relaxed in terms of preconditions & constrained in terms of
postconditions, and only guaranteed to be usable on AMDGCN targets (it
is still possible to obtain pristine portable SPIRV through usage of the
flavoured target, though).


  Commit: 3fefb3c598db995433093ed158c08368809b3f78
      https://github.com/llvm/llvm-project/commit/3fefb3c598db995433093ed158c08368809b3f78
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/lib/Passes/VeneerElimination.cpp
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT][NFC] Infailable fns return void (#92018)

Both `reverseBranchCondition` and `replaceBranchTarget` return a success boolean. But all-but-one caller ignores the return value, and the exception emits a fatal error on failure.

Thus, just return nothing.


  Commit: 74d62c2f73799ea6ffbf165ff752ca0b0f826eca
      https://github.com/llvm/llvm-project/commit/74d62c2f73799ea6ffbf165ff752ca0b0f826eca
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [CodeGen][SDAG] Remove CombinedNodes SmallPtrSet (#94609)

This "small" set grows quite large and it's more performant to store
whether a node has been combined before in the node itself.

As this information is only relevant for nodes that are currently not in
the worklist, add a second state to the CombinerWorklistIndex (-2) to
indicate that a node is currently not in a worklist, but was combined
before.

This brings a substantial performance improvement.


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

  Changed paths:
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/EvaluationResult.cpp
    M clang/test/AST/Interp/cxx20.cpp

  Log Message:
  -----------
  [clang][Interp] Check ConstantExpr results for initialization

They need to be fully initialized, similar to global variables.


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

  Changed paths:
    M clang/lib/AST/Interp/MemberPointer.h

  Log Message:
  -----------
  [clang][Interp][NFC] Fix a const-correctness warning


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

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

  Log Message:
  -----------
  [clang][Interp] Limit lambda capture lazy visting to actual captures

Check this by looking at the VarDecl.


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

  Changed paths:
    M clang/include/clang/AST/ASTUnresolvedSet.h
    M clang/include/clang/AST/DeclAccessPair.h
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/AST/DeclID.h
    M clang/include/clang/AST/UnresolvedSet.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/include/clang/Serialization/ModuleManager.h
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/AST/DeclCXX.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ModuleFile.cpp
    A clang/test/Modules/no-transitive-decls-change.cppm

  Log Message:
  -----------
  [serialization] no transitive decl change (#92083)

Following of https://github.com/llvm/llvm-project/pull/86912

The motivation of the patch series is that, for a module interface unit
`X`, when the dependent modules of `X` changes, if the changes is not
relevant with `X`, we hope the BMI of `X` won't change. For the specific
patch, we hope if the changes was about irrelevant declaration changes,
we hope the BMI of `X` won't change. **However**, I found the patch
itself is not very useful in practice, since the adding or removing
declarations, will change the state of identifiers and types in most
cases.

That said, for the most simple example,

```
// partA.cppm
export module m:partA;

// partA.v1.cppm
export module m:partA;
export void a() {}

// partB.cppm
export module m:partB;
export void b() {}

// m.cppm
export module m;
export import :partA;
export import :partB;

// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
    b();
}
```

the BMI of `onlyUseB` will change after we change the implementation of
`partA.cppm` to `partA.v1.cppm`. Since `partA.v1.cppm` introduces new
identifiers and types (the function prototype).

So in this patch, we have to write the tests as:

```
// partA.cppm
export module m:partA;
export int getA() { ... }
export int getA2(int) { ... }

// partA.v1.cppm
export module m:partA;
export int getA() { ... }
export int getA(int) { ... }
export int getA2(int) { ... }

// partB.cppm
export module m:partB;
export void b() {}

// m.cppm
export module m;
export import :partA;
export import :partB;

// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
    b();
}
```

so that the new introduced declaration `int getA(int)` doesn't introduce
new identifiers and types, then the BMI of `onlyUseB` can keep
unchanged.

While it looks not so great, the patch should be the base of the patch
to erase the transitive change for identifiers and types since I don't
know how can we introduce new types and identifiers without introducing
new declarations. Given how tightly the relationship between
declarations, types and identifiers, I think we can only reach the ideal
state after we made the series for all of the three entties.

The design of the patch is similar to
https://github.com/llvm/llvm-project/pull/86912, which extends the
32-bit DeclID to 64-bit and use the higher bits to store the module file
index and the lower bits to store the Local Decl ID.

A slight difference is that we only use 48 bits to store the new DeclID
since we try to use the higher 16 bits to store the module ID in the
prefix of Decl class. Previously, we use 32 bits to store the module ID
and 32 bits to store the DeclID. I don't want to allocate additional
space so I tried to make the additional space the same as 64 bits. An
potential interesting thing here is about the relationship between the
module ID and the module file index. I feel we can get the module file
index by the module ID. But I didn't prove it or implement it. Since I
want to make the patch itself as small as possible. We can make it in
the future if we want.

Another change in the patch is the new concept Decl Index, which means
the index of the very big array `DeclsLoaded` in ASTReader. Previously,
the index of a loaded declaration is simply the Decl ID minus
PREDEFINED_DECL_NUMs. So there are some places they got used
ambiguously. But this patch tried to split these two concepts.

As https://github.com/llvm/llvm-project/pull/86912 did, the change will
increase the on-disk PCM file sizes. As the declaration ID may be the
most IDs in the PCM file, this can have the biggest impact on the size.
In my experiments, this change will bring 6.6% increase of the on-disk
PCM size. No compile-time performance regression observed. Given the
benefits in the motivation example, I think the cost is worthwhile.


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

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

  Log Message:
  -----------
  [AMDGPU] Fix interaction between WQM and llvm.amdgcn.init.exec (#93680)

Whole quad mode requires inserting a copy of the initial EXEC mask. In a
function that also uses llvm.amdgcn.init.exec, insert the COPY after
initializing EXEC.


  Commit: acc927ac2369605c4ec9268d542bb51072d73794
      https://github.com/llvm/llvm-project/commit/acc927ac2369605c4ec9268d542bb51072d73794
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMP.td

  Log Message:
  -----------
  [Frontend][OpenMP] Sort all the things in OMP.td, NFC (#94653)

The file OMP.td is becoming tedious to update by hand due to the
seemingly random ordering of various items in it. This patch brings
order to it by sorting most of the contents.

The clause definitions are sorted alphabetically with respect to the
spelling of the clause.[1]

The directive definitions are split into two leaf directives and
compound directives.[2] Within each, definitions are sorted
alphabetically with respect to the spelling, with the exception that
"end xyz" directives are placed immediately following the definition of
"xyz".[3]

Within each directive definition, the lists of clauses are also sorted
alphabetically.

[1] All spellings are made of lowercase letters, _, or space. Ordering
that includes non-letters follows the order assumed by the `sort`
utility.
[2] Compound directives refer to the consituent leaf directives, hence
the leaf definitions must come first.
[3] Some of the "end xyz" directives have properties derived from the
corresponding "xyz" directive. This exception guarantees that "xyz"
precedes the "end xyz".


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

  Changed paths:
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
    M flang/lib/Lower/OpenMP/DataSharingProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-allocatable.f90
    A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-multiple-variables.f90
    A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-simple.f90

  Log Message:
  -----------
  [flang][OpenMP] Lower `target .. private(..)` to `omp.private` ops (#94195)

Extends delayed privatization support to `taraget .. private(..)`. With
this PR, `private` is support for `target` **only** is delayed
privatization mode.


  Commit: 2c3723d321ae000dfc9dfab064076799a90c322e
      https://github.com/llvm/llvm-project/commit/2c3723d321ae000dfc9dfab064076799a90c322e
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M libc/cmake/modules/LLVMLibCObjectRules.cmake

  Log Message:
  -----------
  [libc] Correctly pass the C++ standard to NVPTX internal builds

Summary:
The NVPTX build wasn't getting the `C++20` standard necessary for a few
files.


  Commit: 5b2f7a19711710df1469ab8a0096fe2f8052c8b1
      https://github.com/llvm/llvm-project/commit/5b2f7a19711710df1469ab8a0096fe2f8052c8b1
  Author: Ryan Holt <ryanholt at mathworks.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    M mlir/test/Dialect/Linalg/transform-lower-pack.mlir

  Log Message:
  -----------
  [mlir][linalg] Support lowering unpack with outer_dims_perm (#94477)

This commit adds support for lowering `tensor.unpack` with a
non-identity `outer_dims_perm`. This was previously left as a
not-yet-implemented case.


  Commit: c886d66da03bdf26e6fca68a1b730ae6eb923194
      https://github.com/llvm/llvm-project/commit/c886d66da03bdf26e6fca68a1b730ae6eb923194
  Author: Max191 <44243577+Max191 at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/test/Dialect/Linalg/fuse-with-reshape-by-collapsing.mlir
    M mlir/test/Dialect/Linalg/reshape_fusion.mlir

  Log Message:
  -----------
  [mlir] Add reshape propagation patterns for tensor.pad (#94489)

This PR adds fusion by collapsing and fusion by expansion patterns for
`tensor.pad` ops in ElementwiseOpFusion. Pad ops can be expanded or
collapsed as long as none of the padded dimensions will be expanded or
collapsed.


  Commit: 2117677e304d334326f6591f3c75fb2f34dc4bcb
      https://github.com/llvm/llvm-project/commit/2117677e304d334326f6591f3c75fb2f34dc4bcb
  Author: Max191 <44243577+Max191 at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
    M mlir/test/Dialect/Tensor/canonicalize.mlir

  Log Message:
  -----------
  [mlir] Fix bugs in expand_shape patterns after semantics changes (#94631)

After the `output_shape` field was added to `expand_shape` ops,
dynamically sized expand shapes are now possible, but this was not
accounted for in the folder. This PR tightens the constraints of the
folder to fix this.


  Commit: ac02168990aa8429898d0c59fec7a78526638c5c
      https://github.com/llvm/llvm-project/commit/ac02168990aa8429898d0c59fec7a78526638c5c
  Author: David Green <david.green at arm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/ARM/neon_vabd.ll
    M llvm/test/CodeGen/ARM/vaba.ll
    M llvm/test/CodeGen/ARM/vabd.ll

  Log Message:
  -----------
  [ARM] Clean up neon_vabd.ll, vaba.ll and vabd.ll tests a bit. NFC

Change the target triple to remove some unnecessary instructions.


  Commit: 2f0308ed02ea622b8228d271d9aebe4bd4deacdd
      https://github.com/llvm/llvm-project/commit/2f0308ed02ea622b8228d271d9aebe4bd4deacdd
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/VecFuncs.def
    M llvm/lib/Target/AArch64/AArch64FastISel.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
    A llvm/test/CodeGen/AArch64/GlobalISel/legalize-tan.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    M llvm/test/CodeGen/AArch64/f16-instructions.ll
    M llvm/test/CodeGen/AArch64/fast-isel-runtime-libcall.ll
    M llvm/test/CodeGen/AArch64/illegal-float-ops.ll
    M llvm/test/CodeGen/AArch64/replace-with-veclib-armpl.ll
    M llvm/test/CodeGen/AArch64/replace-with-veclib-sleef-scalable.ll
    M llvm/test/CodeGen/AArch64/replace-with-veclib-sleef.ll
    M llvm/test/CodeGen/AArch64/vec-libcalls.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/veclib-calls-libsystem-darwin.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/veclib-intrinsic-calls.ll

  Log Message:
  -----------
  [arm64] Add tan intrinsic lowering (#94545)

This change is an implementation of
https://github.com/llvm/llvm-project/issues/87367's investigation on
supporting IEEE math operations as intrinsics.
Which was discussed in this RFC:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294

This PR is just for Tan.

Now that x86 tan backend landed:
https://github.com/llvm/llvm-project/pull/90503 we can add other
backends since the shared pieces are in tree now.

Changes:
- `llvm/include/llvm/Analysis/VecFuncs.def` - vectorization of tan for
arm64 backends.
- `llvm/lib/Target/AArch64/AArch64FastISel.cpp` - Add tan to the libcall
table
- `llvm/lib/Target/AArch64/AArch64ISelLowering.cpp` - Add tan expansion
for f128, f16, and vector\neon operations
- `llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp` define
`G_FTAN` as a legal arm64 instruction

resolves #94755


  Commit: c5fcc2ea55372060760b0ba46d36d03ed39825d5
      https://github.com/llvm/llvm-project/commit/c5fcc2ea55372060760b0ba46d36d03ed39825d5
  Author: David Green <david.green at arm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/AArch64/addp-shuffle.ll

  Log Message:
  -----------
  [AArch64] Add addp from shuffles tests. NFC


  Commit: 2981f3a284302bb12b292bcf09e7e09ae2eb696a
      https://github.com/llvm/llvm-project/commit/2981f3a284302bb12b292bcf09e7e09ae2eb696a
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/include/clang/Driver/ToolChain.h
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp

  Log Message:
  -----------
  [Clang] Add timeout for GPU detection utilities (#94751)

Summary:
The utilities `nvptx-arch` and `amdgpu-arch` are used to support
`--offload-arch=native` among other utilities in clang. However, these
rely on the GPU drivers to query the features. In certain cases these
drivers can become locked up, which will lead to indefinate hangs on any
compiler jobs running in the meantime.

This patch adds a ten second timeout period for these utilities before
it kills the job and errors out.


  Commit: 2afea7296812b7e12c6ec683e6858bd4cbe8dd8d
      https://github.com/llvm/llvm-project/commit/2afea7296812b7e12c6ec683e6858bd4cbe8dd8d
  Author: Liao Chunyu <chunyu at iscas.ac.cn>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
    A llvm/test/CodeGen/RISCV/xcvmem.ll

  Log Message:
  -----------
  [RISCV] Codegen support for XCVmem extension (#76916)

All post-Increment load/store, register-register load/store

spec:

https://github.com/openhwgroup/cv32e40p/blob/master/docs/source/instruction_set_extensions.rst

Contributors: @CharKeaney, @jeremybennett, @lewis-revill,
@NandniJamnadas, @PaoloS02, @serkm, @simonpcook, @xingmingjie, @realqhc


  Commit: 3b16630c26505060a876f578e4b2ba701c780e9a
      https://github.com/llvm/llvm-project/commit/3b16630c26505060a876f578e4b2ba701c780e9a
  Author: Xuan Zhang <144393379+xuanzh-meta at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineOutliner.cpp
    A llvm/test/CodeGen/AArch64/machine-outliner-sort-per-priority.ll
    A llvm/test/CodeGen/AArch64/machine-outliner-sort-per-priority.mir
    M llvm/test/CodeGen/ARM/machine-outliner-calls.mir
    M llvm/test/CodeGen/ARM/machine-outliner-default.mir
    M llvm/test/CodeGen/ARM/machine-outliner-stack-fixup-arm.mir
    M llvm/test/CodeGen/ARM/machine-outliner-stack-fixup-thumb.mir

  Log Message:
  -----------
  [MachineOutliner] Sort by Benefit to Cost Ratio (#90264)

This PR depends on https://github.com/llvm/llvm-project/pull/90260

We changed the order in which functions are outlined in Machine
Outliner.

The formula for priority is found via a black-box Bayesian optimization
toolbox. Using this formula for sorting consistently reduces the
uncompressed size of large real-world mobile apps. We also ran a few
benchmarks using LLVM test suites, and showed that sorting by priority
consistently reduces the text segment size.

|run (CTMark/)   |baseline (1)|priority (2)|diff (1 -> 2)|
|----------------|------------|------------|-------------|
|lencod          |349624      |349264      |-0.1030%     |
|SPASS           |219672      |219480      |-0.0874%     |
|kc              |271956      |251200      |-7.6321%     |
|sqlite3         |223920      |223708      |-0.0947%     |
|7zip-benchmark  |405364      |402624      |-0.6759%     |
|bullet          |139820      |139500      |-0.2289%     |
|consumer-typeset|295684      |290196      |-1.8560%     |
|pairlocalalign  |72236       |72092       |-0.1993%     |
|tramp3d-v4      |189572      |189292      |-0.1477%     |

This is part of an enhanced version of machine outliner -- see
[RFC](https://discourse.llvm.org/t/rfc-enhanced-machine-outliner-part-1-fulllto-part-2-thinlto-nolto-to-come/78732).


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

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

  Log Message:
  -----------
  [memprof] Clean up IndexedMemProfReader (NFC) (#94710)

Parameter "Version" is confusing in deserializeV012 and deserializeV3
because we also have member variable "Version".  Fortunately,
parameter "Version" and member variable "Version" always have the same
value because IndexedMemProfReader::deserialize initializes the member
variable and passes it to deserializeV012 and deserializeV3.

This patch removes the parameter.


  Commit: 55bdb36e39670d07aaaf04a24783a2008e8e60dd
      https://github.com/llvm/llvm-project/commit/55bdb36e39670d07aaaf04a24783a2008e8e60dd
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/BoxValue.h
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    A flang/test/Lower/HLFIR/assumed-rank-inquiries-2.f90

  Log Message:
  -----------
  [flang] lower SIZE and SIZEOF for assumed-ranks (#94684)


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

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

  Log Message:
  -----------
  [memprof] Use CallStackRadixTreeBuilder in the V3 format (#94708)

This patch integrates CallStackRadixTreeBuilder into the V3 format,
reducing the profile size to about 27% of the V2 profile size.

- Serialization: writeMemProfCallStackArray just needs to write out
  the radix tree array prepared by CallStackRadixTreeBuilder.
  Mappings from CallStackIds to LinearCallStackIds are moved by new
  function CallStackRadixTreeBuilder::takeCallStackPos.

- Deserialization: Deserializing a call stack is the same as
  deserializing an array encoded in the obvious manner -- the length
  followed by the payload, except that we need to follow a pointer to
  the parent to take advantage of common prefixes once in a while.
  This patch teaches LinearCallStackIdConverter to how to handle those
  pointers.


  Commit: 7d69095fd50b7ef35282f83a9263bb8027ad521b
      https://github.com/llvm/llvm-project/commit/7d69095fd50b7ef35282f83a9263bb8027ad521b
  Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/Emulated/lit.local.cfg
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/Emulated/test-setArmSVLBits.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-setArmSVLBits.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/lit.local.cfg
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-scalable-deinterleave.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-setArmVLBits.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-deinterleave.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-setArmVLBits.mlir
    M mlir/test/lit.cfg.py

  Log Message:
  -----------
  [mlir][vector] Remove Emulated Sub-directory (#94742)

The "Emulated" sub-directories under "ArmSVE" and
"ArmSME" have been removed. Associated tests
have been moved up a directory and now include
the "REQUIRES" constraint for the arm-emulator.


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

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

  Log Message:
  -----------
  [gn] port 33a6ce18373ff (check-clang obj2yaml dep)


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

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
    M llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn

  Log Message:
  -----------
  [gn] port cb7690af09b95 (ntdll dep)


  Commit: b25b1db8199d86cb3645e92200cda8d5d30922d0
      https://github.com/llvm/llvm-project/commit/b25b1db8199d86cb3645e92200cda8d5d30922d0
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Support/KnownBits.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/IR/ConstantRange.cpp
    M llvm/lib/Support/KnownBits.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/unittests/IR/DemandedBitsTest.cpp
    M llvm/unittests/Support/KnownBitsTest.cpp
    M llvm/unittests/Support/KnownBitsTest.h

  Log Message:
  -----------
  [KnownBits] Remove `hasConflict()` assertions (#94568)

Allow KnownBits to represent "always poison" values via conflict.

close: #94436


  Commit: 790992dd4018f55479a2c53a79088cb37710c85b
      https://github.com/llvm/llvm-project/commit/790992dd4018f55479a2c53a79088cb37710c85b
  Author: Jake Egan <Jake.egan at ibm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp

  Log Message:
  -----------
  [libc++][test][AIX] Only XFAIL atomic tests for before clang 19 (#94646)

These tests pass on 64-bit. They were fixed by 5fdd094837c6 on 32-bit.
So XFAIL only for 32-bit before clang 19.


  Commit: f7018ba0eeaad8dc3e1917cfb986fc9689d72e85
      https://github.com/llvm/llvm-project/commit/f7018ba0eeaad8dc3e1917cfb986fc9689d72e85
  Author: David Green <david.green at arm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/test/CodeGen/AArch64/addp-shuffle.ll
    M llvm/test/CodeGen/AArch64/arm64-uzp.ll
    M llvm/test/CodeGen/AArch64/insert-extend.ll
    M llvm/test/CodeGen/AArch64/sve-fixed-length-permute-zip-uzp-trn.ll

  Log Message:
  -----------
  [AArch64] Add patterns for add(uzp1(x,y), uzp2(x, y)) -> addp.

If we are extracting the even lanes and the odd lanes and adding them, we can
use an addp instruction.


  Commit: 4f9c0fa22374d50643177adc4fb2706fa4b9b163
      https://github.com/llvm/llvm-project/commit/4f9c0fa22374d50643177adc4fb2706fa4b9b163
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/dead_instructions.ll

  Log Message:
  -----------
  [LV] Add test with dead load and vector pointer.


  Commit: e9adcc488f96a9f2b8c4344f5e3c7ca6639b9562
      https://github.com/llvm/llvm-project/commit/e9adcc488f96a9f2b8c4344f5e3c7ca6639b9562
  Author: Konstantin Varlamov <varconsteq at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M libcxx/include/regex
    A libcxx/test/std/re/re.alg/re.alg.replace/zero_length_matches.pass.cpp
    M libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp

  Log Message:
  -----------
  [libc++][regex] Correctly adjust match prefix for zero-length matches. (#94550)

For regex patterns that produce zero-length matches, there is one
(imaginary) match in-between every character in the sequence being
searched (as well as before the first character and after the last
character). It's easiest to demonstrate using replacement:
`std::regex_replace("abc"s, "!", "")` should produce `!a!b!c!`, where
each exclamation mark makes a zero-length match visible.

Currently our implementation doesn't correctly set the prefix of each
zero-length match, "swallowing" the characters separating the imaginary
matches -- e.g. when going through zero-length matches within `abc`, the
corresponding prefixes should be `{'', 'a', 'b', 'c'}`, but before this
patch they will all be empty (`{'', '', '', ''}`). This happens in the
implementation of `regex_iterator::operator++`. Note that the Standard
spells out quite explicitly that the prefix might need to be adjusted
when dealing with zero-length matches in
[`re.regiter.incr`](http://eel.is/c++draft/re.regiter.incr):
> In all cases in which the call to `regex_search` returns `true`,
`match.prefix().first` shall be equal to the previous value of
`match[0].second`... It is unspecified how the implementation makes
these adjustments.

[Reproduction example](https://godbolt.org/z/8ve6G3dav)
```cpp
#include <iostream>
#include <regex>
#include <string>

int main() {
  std::string str = "abc";
  std::regex empty_matching_pattern("");

  { // The underlying problem is that `regex_iterator::operator++` doesn't update
    // the prefix correctly.
    std::sregex_iterator i(str.begin(), str.end(), empty_matching_pattern), e;
    std::cout << "\"";
    for (; i != e; ++i) {
      const std::ssub_match& prefix = i->prefix();
      std::cout << prefix.str();
    }
    std::cout << "\"\n";
    // Before the patch: ""
    // After the patch: "abc"
  }

  { // `regex_replace` makes the problem very visible.
    std::string replaced = std::regex_replace(str, empty_matching_pattern, "!");
    std::cout << "\"" << replaced << "\"\n";
    // Before the patch: "!!!!"
    // After the patch: "!a!b!c!"
  }
}
```

Fixes #64451

rdar://119912002


  Commit: 35fa2ded2ac52151be22c206fc92b983d1fd8e30
      https://github.com/llvm/llvm-project/commit/35fa2ded2ac52151be22c206fc92b983d1fd8e30
  Author: Vy Nguyen <oontvoo at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M lldb/include/lldb/API/SBDebugger.h
    M lldb/include/lldb/Symbol/TypeSystem.h
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/Symbol/TypeSystem.cpp
    M lldb/tools/lldb-dap/DAP.cpp
    M lldb/tools/lldb-dap/DAP.h
    M lldb/tools/lldb-dap/lldb-dap.cpp

  Log Message:
  -----------
  Reapply PR/87550 (#94625)

Re-apply https://github.com/llvm/llvm-project/pull/87550 with fixes.

Details:
Some tests in fuchsia failed because of the newly added assertion.
This was because `GetExceptionBreakpoint()` could be called before
`g_dap.debugger` was initted.

The fix here is to just lazily populate the list in
GetExceptionBreakpoint() rather than assuming it's already been initted.
(There is some nuisance here because we can't simply just populate it in
DAP::DAP(), which is a global ctor and is called before
`SBDebugger::Initialize()` is called. )


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

  Changed paths:
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/docs/Status/Cxx20.rst
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/docs/UsingLibcxx.rst
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/include/memory
    M libcxx/modules/std/memory.inc
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_strong.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_strong_explicit.depr_in_cxx20.verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_weak.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_weak_explicit.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_exchange.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_exchange_explicit.verify.depr_in_cxx20..cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_is_lock_free.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_load.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_load_explicit.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_store.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_store_explicit.depr_in_cxx20..verify.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_strong.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_strong_explicit.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_weak.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_weak_explicit.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_exchange.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_exchange_explicit.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_is_lock_free.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load_explicit.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_store.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_store_explicit.pass.cpp

  Log Message:
  -----------
  [libc++] Undeprecate shared_ptr atomic access APIs (#92920)

This patch reverts 9b832b72 (#87111):
- [libc++] Deprecated `shared_ptr` Atomic Access APIs as per P0718R2
- [libc++] Implemented P2869R3: Remove Deprecated `shared_ptr` Atomic Access APIs from C++26

As explained in [1], the suggested replacement in P2869R3 is `__cpp_lib_atomic_shared_ptr`,
which libc++ does not yet implement. Let's not deprecate the old way of doing things before
the new way of doing things exists.

[1]: https://github.com/llvm/llvm-project/pull/87111#issuecomment-2112740039


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

  Changed paths:
    M llvm/test/Transforms/Reassociate/shifttest.ll

  Log Message:
  -----------
  [Reassociate] shifttest.ll - generate test checks to replace custom grep expression

(and remove an unused argument)


  Commit: b01ac5137c28fa5e1b44a5d850cb7a6ace7d8799
      https://github.com/llvm/llvm-project/commit/b01ac5137c28fa5e1b44a5d850cb7a6ace7d8799
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M flang/include/flang/Runtime/inquiry.h
    M flang/runtime/inquiry.cpp
    M flang/unittests/Runtime/Inquiry.cpp

  Log Message:
  -----------
  [flang][runtime] add SHAPE runtime interface (#94702)

Add SHAPE runtime API (will be used for assumed-rank, lowering is
generating other cases inline).

I tried to make it in a way were there is no dynamic allocation in the
runtime/deallocation expected to be inserted by inline code for arrays
that we know are small (lowering will just always stack allocate a rank
15 array to avoid dynamic stack allocation or heap allocation).


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

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Lower/OpenMP/Utils.cpp
    M flang/lib/Lower/OpenMP/Utils.h
    M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-allocatable.f90
    M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-multiple-variables.f90
    M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-simple.f90

  Log Message:
  -----------
  [flang][OpenMP] Add `--openmp-enable-delayed-privatization-staging` flag (#94749)


  Commit: 374f6554c3e409e4b9b5fd0ec90c5272768f5ab9
      https://github.com/llvm/llvm-project/commit/374f6554c3e409e4b9b5fd0ec90c5272768f5ab9
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/test/Driver/amdgpu-openmp-toolchain.c

  Log Message:
  -----------
  [OpenMP] Fix passing target id features to AMDGPU offloading (#94765)

Summary:
AMDGPU supports a `target-id` feature which is used to qualify targets
with different incompatible features. These are both rules and target
features. Currently, we pass `-target-cpu` twice when offloading to
OpenMP, and do not pass the target-id features at all. The effect was
that passing something like `--offload-arch=gfx90a:xnack+` would show up
as `-target-cpu=gfx90a:xnack+ -target-cpu=gfx90a`. Thus ignoring the
xnack completely and passing it twice. This patch fixes that to pass it
once and then separate it like how HIP does.


  Commit: bbddedb3bf7b17c5caa4732c4a94dde8824c5e3a
      https://github.com/llvm/llvm-project/commit/bbddedb3bf7b17c5caa4732c4a94dde8824c5e3a
  Author: kper <kper at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p2-0x.cpp
    M clang/test/CXX/drs/cwg2xx.cpp
    M clang/test/CXX/drs/cwg4xx.cpp
    M clang/test/CXX/temp/temp.decls/temp.friend/p1.cpp
    M clang/test/CXX/temp/temp.spec/no-body.cpp
    M clang/test/SemaCXX/PR8755.cpp
    M clang/test/SemaCXX/using-decl-templates.cpp
    M clang/test/SemaTemplate/template-id-expr.cpp

  Log Message:
  -----------
  Fixed grammatical error in "enum specifier" error msg #94443 (#94592)

As discussed in #94443, this PR changes the wording to be more correct.


  Commit: b59567b99a44e9fe423e8712123f864b0c83eebc
      https://github.com/llvm/llvm-project/commit/b59567b99a44e9fe423e8712123f864b0c83eebc
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/test/SemaTemplate/cwg2398.cpp

  Log Message:
  -----------
  [clang] always use resolved arguments for default argument deduction (#94756)


  Commit: c467e6097e7332b65f9390e7088cb7ae0116a8bb
      https://github.com/llvm/llvm-project/commit/c467e6097e7332b65f9390e7088cb7ae0116a8bb
  Author: Jan Voung <jvoung at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M compiler-rt/test/lit.common.cfg.py

  Log Message:
  -----------
  Check if LLD is built when checking if lto_supported (#92752)

Otherwise, older copies of LLD may not understand the latest bitcode
versions (for example, if we increase
`ModuleSummaryIndex::BitCodeSummaryVersion`)

Related to
https://github.com/llvm/llvm-project/pull/90692#issuecomment-2113250317


  Commit: b653357141030620ce3e70ea939efbcb71d40657
      https://github.com/llvm/llvm-project/commit/b653357141030620ce3e70ea939efbcb71d40657
  Author: Han-Chung Wang <hanhan0912 at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir

  Log Message:
  -----------
  [mlir][vector][NFC] Make function name more meaningful in lit tests. (#94538)

It also moves the test near other similar test cases.


  Commit: 0605e984fab700a6ef4affc3fdb66aaba3417baa
      https://github.com/llvm/llvm-project/commit/0605e984fab700a6ef4affc3fdb66aaba3417baa
  Author: Quentin Colombet <quentin.colombet at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    A llvm/test/CodeGen/AMDGPU/select-phi-s16-fp.ll
    M llvm/test/CodeGen/ARM/arm-half-promote.ll
    A llvm/test/CodeGen/X86/select-phi-s16-fp.ll

  Log Message:
  -----------
  [SDISel][Builder] Fix the instantiation of <1 x bfloat|half> (#94591)

Prior to this change, `SelectionDAGBuilder` was producing `SDNode`s of
the form: `f32 = extract_vector_elt <1 x bfloat|half>, i32 0` when
lowering phis of `<1 x bfloat|half>` and running on a target that
promotes this type to `f32` (like some x86 or AMDGPU targets.)

This construct is invalid since this type of node only allows type
extensions for integer types.
It went unotice because the `extract_vector_elt` node is later broken
down in `bitcast` followed by `bf16_to_fp|fp_extend`. However, when the
argument of the phi is a constant we were crashing because the existing
code would try to constant fold this `extract_vector_elt` into a
any_ext.

This patch fixes this by using a proper decomposition for `<1 x
bfloat|half>`:
```
bfloat|half = bitcast <1 x blfoat|half>
float = fp_extend bfloat|half
```

This change should be NFC for the non-constant-folding cases and fix the
SDISel crashes (reported in
https://github.com/llvm/llvm-project/issues/94449) for the folding
cases.

Note: The change on the arm test is a missing fp16 to f32 constant folding
exposed by this patch. I'll push a separate improvement for that.


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/trunc-select-to-max-usat.ll

  Log Message:
  -----------
  [RISCV] Fold (vXi8 (trunc (vselect (setltu, X, 256), X, (sext (setgt X, 0))))) to vmax+vnclipu. (#94720)

This pattern is an obscured way to express saturating a signed value
into a smaller unsigned value.

If (setltu, X, 256) is true, then the value is already in the desired
range so we can pick X. If it's false, we select (sext (setgt X, 0))
which is 0 for negative values and all ones for positive values. The all
ones value when truncated to the final type will still be all ones like
we want.


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
    M llvm/test/MC/RISCV/insn.s
    M llvm/test/MC/RISCV/insn_c.s

  Log Message:
  -----------
  [RISCV] Add .insn alias for addresses without the leading immediate. (#94698)

Most other instructions accept addresses that start with a '(' without
an immediate before it. The .insn cases were missing. This is also
supported by binutils.


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

  Changed paths:
    M lldb/include/lldb/API/SBDebugger.h
    M lldb/include/lldb/Symbol/TypeSystem.h
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/Symbol/TypeSystem.cpp
    M lldb/tools/lldb-dap/DAP.cpp
    M lldb/tools/lldb-dap/DAP.h
    M lldb/tools/lldb-dap/lldb-dap.cpp

  Log Message:
  -----------
  Revert "Reapply PR/87550 (#94625)"

This reverts commit 35fa2ded2ac52151be22c206fc92b983d1fd8e30.

It broke the LLDB bots on green dragon


  Commit: e5648525fd041fe577c65cc392c73040e60fed60
      https://github.com/llvm/llvm-project/commit/e5648525fd041fe577c65cc392c73040e60fed60
  Author: David Green <david.green at arm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/test/CodeGen/AArch64/addp-shuffle.ll

  Log Message:
  -----------
  [AArch64] Add patterns for fadd(uzp1(x,y), uzp2(x, y)) -> faddp.

Similar to f7018ba0eeaad8dc3e1917cfb986fc9689d72e85, this adds patterns for
floating point faddp from an fadd and shuffles.


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

  Changed paths:
    M libcxx/include/deque
    M libcxxabi/src/aix_state_tab_eh.inc

  Log Message:
  -----------
  [libc++][NFC] Fix typo


  Commit: 6f2c61071c274a1b5e212e6ad4114641ec7c7fc3
      https://github.com/llvm/llvm-project/commit/6f2c61071c274a1b5e212e6ad4114641ec7c7fc3
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [CGSCC] Verify that call graph is valid after iteration (#94692)

Only in expensive checks, to match other LazyCallGraph verification.

Is helpful for verifying LazyCallGraph updates. Many issues only surface
when we reuse the LazyCallGraph.


  Commit: 66df6141659375e738d9b9b74bf79b2317576042
      https://github.com/llvm/llvm-project/commit/66df6141659375e738d9b9b74bf79b2317576042
  Author: Augusto Noronha <augusto2112 at me.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/test/CodeGen/debug-info-packed-struct.c
    M clang/test/CodeGenCXX/debug-info-struct-align.cpp

  Log Message:
  -----------
  Fix #pragma (packed, n) not emitting the alignment in debug info (#94673)

Debug info generation won't emit the alignment of types that have a
standard alignment. It was not taking into account the that case.

rdar://127785973


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

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p6-cxx11.cpp
    M clang/test/CXX/drs/cwg4xx.cpp

  Log Message:
  -----------
  [clang] Add fixit for using declaration with a (qualified) namespace (#94762)

For `using std::literals`, we now output:

    error: using declaration cannot refer to a namespace
        4 |   using std::literals;
          |         ~~~~~^
    note: did you mean 'using namespace'?
        4 |   using std::literals;
          |         ^
          |         namespace

Previously, we didn't have the note.

This only fires for qualified namespaces. Just `using std;` doesn't
trigger this, since using declarations without cxx scope specifier are
rejected earlier. Making that work is an exercise for future selves :)


  Commit: 11d643f0b11c041d7030d43a328adf2eb3ba4e3d
      https://github.com/llvm/llvm-project/commit/11d643f0b11c041d7030d43a328adf2eb3ba4e3d
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/baremetal/CMakeLists.txt
    A libc/src/stdio/baremetal/printf.cpp
    M libc/src/stdio/generic/CMakeLists.txt
    A libc/src/stdio/generic/printf.cpp
    A libc/src/stdio/generic/vprintf.cpp
    R libc/src/stdio/printf.cpp
    R libc/src/stdio/vprintf.cpp

  Log Message:
  -----------
  [libc] Add baremetal printf (#94078)

For baremetal targets that don't support FILE, this version of printf
just writes directly to a function provided by a vendor. To do this both
printf and vprintf were moved to /generic (vprintf since they need the
same flags and cmake gets funky about setting variables in one file and
reading them in another).


  Commit: e20b90472160e47112886d959bbe0bbeff50b8ee
      https://github.com/llvm/llvm-project/commit/e20b90472160e47112886d959bbe0bbeff50b8ee
  Author: Lei Wang <wlei at fb.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/include/llvm/IR/PseudoProbe.h
    M llvm/lib/IR/PseudoProbe.cpp
    M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
    M llvm/test/Transforms/SampleProfile/pseudo-probe-discriminator.ll
    M llvm/test/Transforms/SampleProfile/pseudo-probe-emit-inline.ll
    M llvm/test/Transforms/SampleProfile/pseudo-probe-emit.ll
    M llvm/test/Transforms/SampleProfile/pseudo-probe-inline.ll
    M llvm/test/Transforms/SampleProfile/pseudo-probe-profile.ll
    M llvm/test/Transforms/SampleProfile/pseudo-probe-verify.ll

  Log Message:
  -----------
  [PseudoProbe] Make probe discriminator compatible with dwarf base discriminator (#94506)

It's useful if the probe-based build can consume a dwarf based
profile(e.g. the profile transition), before there is a conflict for the
discriminator, this change tries to mitigate the issue by encoding the
dwarf base discriminator into the probe discriminator.
As the num of probe id(num of basic block and calls) starts from 1,
there are some unused space. We try to reuse some bit of the probe id.
The new encode rule is:
- Use a bit to [28:28] to indicate whether dwarf base discriminator is
encoded.(fortunately we can borrow this bit from the `PseudoProbeType`)
- If the bit is set, use [15:3] for probe id, [18:16] for dwarf base
discriminator. Otherwise, still use [18:3] for probe id.

Note that these doesn't affect the original probe id capacity, we still
prioritize probe id encoding, i.e. the base discriminator is not encoded
when probe id is bigger than [15:3].
 
Then adjust `getBaseDiscriminatorFromDiscriminator` to use the base
discriminator from the probe discriminator.


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

  Changed paths:
    M clang/test/Driver/gcc-param.c

  Log Message:
  -----------
  [Driver,test] Add -Wno-msvc-not-found to gcc-param.c

Fixes: 56c4971d33230607a7329bb831b6c8588231e872

If the default target triple uses visualstudio::Linker::ConstructJob,
when a MSVC installation cannot be found, there will be a
-Wmsvc-not-found diagnostic, which is turned to an error due to -Werror.

We have many driver tests that don't specify --target= and would get a
-Wmsvc-not-found warning, but this might be the only that uses -Werror
and is not skipped by a `UNSUPPORTED`.


  Commit: bd6e324b67cdadde2593327753e99782146d9bf8
      https://github.com/llvm/llvm-project/commit/bd6e324b67cdadde2593327753e99782146d9bf8
  Author: walkerkd <56538734+walkerkd at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    A clang/test/Driver/baremetal-ld.c

  Log Message:
  -----------
  [clang][driver] Enable '-flto' on bare-metal (#94738)

Pass the linker LTO options enabled by the clang '-flto' command line
options when targeting bare-metal.

---------

Co-authored-by: Keith Walker <keith.walker at arm.com>


  Commit: d3bcd9b16badac301d4f29cf401387ae5e14999f
      https://github.com/llvm/llvm-project/commit/d3bcd9b16badac301d4f29cf401387ae5e14999f
  Author: Brad Smith <brad at comstyle.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/tools/llvm-jitlink/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Fix building on Haiku (#94721)

Needed for getaddrinfo().


  Commit: 9a737109a07c0c29176e617eed34e91b523b7e9b
      https://github.com/llvm/llvm-project/commit/9a737109a07c0c29176e617eed34e91b523b7e9b
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
    M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
    M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
    M llvm/lib/Target/SPIRV/SPIRVUtils.cpp
    M llvm/lib/Target/SPIRV/SPIRVUtils.h
    M llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_usm_storage_classes/intel-usm-addrspaces.ll
    M llvm/test/CodeGen/SPIRV/passes/SPIRVEmitIntrinsics-no-divergent-spv_assign_ptr_type.ll
    A llvm/test/CodeGen/SPIRV/pointers/duplicate-type-ptr-def.ll
    A llvm/test/CodeGen/SPIRV/pointers/type-deduce-global-dup.ll
    A llvm/test/CodeGen/SPIRV/pointers/type-deduce-simple-for.ll
    A llvm/test/CodeGen/SPIRV/transcoding/bitcast-diff-addrspace.ll

  Log Message:
  -----------
  [SPIR-V] Improve type inference, addrspacecast and dependencies between SPIR-V entities and required capability/extensions (#94626)

This PR continues https://github.com/llvm/llvm-project/pull/94467 and
contains fixes in emission of type intrinsics, constant recording and
corresponding test cases:
* type-deduce-global-dup.ll -- fix of integer constant emission on
32-bit platforms and correct type deduction for globals
* type-deduce-simple-for.ll -- fix of GEP translation (there was an
issue previously that led to incorrect translation/broken logic of
for-range implementation)

This PR also:
* fixes a cast between identical storage classes and updates the test
case to include validation run by spirv-val,
* ensures that Bitcast for pointers satisfies the requirement that the
address spaces must match and adds the corresponding test case,
* improve encode in Tablegen and decode in code of dependencies between
SPIR-V entities and required capability/extensions,
* prevent emission of identical OpTypePointer instructions.


  Commit: 4196c185b12b38499e132a50b14aa1977004f02c
      https://github.com/llvm/llvm-project/commit/4196c185b12b38499e132a50b14aa1977004f02c
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [bazel] Port #94078 (#94792)


  Commit: 28dd55b97372271591d7802fd7b7eede0832aaa9
      https://github.com/llvm/llvm-project/commit/28dd55b97372271591d7802fd7b7eede0832aaa9
  Author: Gábor Spaits <gaborspaits1 at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
    A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-rv32-libcall.mir
    A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-rv64-libcall.mir

  Log Message:
  -----------
  [RISCV][GISel] Do libcall for G_FPTOSI, G_FPTOUI when no D or F support (#94613)

When compiling the following code:
```cpp
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdbool.h>

int main() {
    int a;
    float f;
    scanf("%d", &a);

    scanf("%f", &f);
    a += (int)f;
    
    return a;
}
``` 
for `-march=rv32ima_zbb` we get a libcall:
```
call    scanf
        lw      a0, -20(s0)
        call    __fixsfsi
        mv      a1, a0
```
When we try to use GlobalISel we get this error:
```
 error in backend: unable to legalize instruction: %9:_(s32) = G_FPTOSI %8:_(s32) (in function: main)
```

(Here is a link to a reproducer in Godblot:
https://godbolt.org/z/f67vEEb41 )

The goal of this PR is to do a libcall for the legalization of
`G_FPTOSI` and `G_FPTOUI` instead of doing a fallback to Selection DAG
to do the same libcall later.


  Commit: c6e9371cbd23a9f2d03fee9b406065dbd0b7cf6a
      https://github.com/llvm/llvm-project/commit/c6e9371cbd23a9f2d03fee9b406065dbd0b7cf6a
  Author: mgschossmann <109181247+mgschossmann at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
    A llvm/test/DebugInfo/dwarfdump-loclist-basetyperef.test

  Log Message:
  -----------
  [llvm-dwarfdump] Add a null-check in `prettyPrintBaseTypeRef`. (#93156)

Fixes #93104

Prevent a crash by only printing DWARFUnit-unaware information in cases
in which `DWARFUnit* U` is `nullptr`.


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

  Changed paths:
    M llvm/test/Transforms/InstCombine/icmp-equality-xor.ll

  Log Message:
  -----------
  [InstCombine] Add tests for folding `(icmp eq/ne (xor x, C0), C1)`; NFC


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp-equality-xor.ll
    M llvm/test/Transforms/InstCombine/icmp-or.ll
    M llvm/test/Transforms/InstCombine/prevent-cmp-merge.ll
    M llvm/test/Transforms/InstCombine/select.ll

  Log Message:
  -----------
  [InstCombine] Fold `(icmp eq/ne (xor x, y), C1)` even if multiuse

Two folds unlocked:
    `(icmp eq/ne (xor x, C0), C1)` -> `(icmp eq/ne x, C2)`
    `(icmp eq/ne (xor x, y), 0)` -> `(icmp eq/ne x, y)`

This fixes regressions assosiated with #87180

Closes #87275


  Commit: 89c92b0bcf4b9a283ed594e01a4addd90e5d8735
      https://github.com/llvm/llvm-project/commit/89c92b0bcf4b9a283ed594e01a4addd90e5d8735
  Author: estewart08 <ethan.stewart at amd.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M offload/CMakeLists.txt
    M openmp/CMakeLists.txt

  Log Message:
  -----------
  [OpenMP][Offload] - Ensure OPENMP_STANDALONE_BUILD is defined (#94801)

Without a value set conditional checks like
if(NOT ${OPENMP_STANDALONE_BUILD})
will not be able to evaluate to true.
Fixes issue introduced from PR #93463, which did not allow the OMPT
variable to be propogated up to offload during a runtimes build.


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

  Changed paths:
    M llvm/test/Transforms/InstCombine/pow-1.ll

  Log Message:
  -----------
  InstCombine: Fix testing of pow libcall in errno case (#94772)

There were some tests in this file with "noerrno" in the name, but all
the tests were no errno since all the libcalls were declared with
memory(none). Ensure we have adequate coverage for the errno and
no-errno cases by duplicating the libcall transform cases into errno and
non-errno versions with callsite attributes.


  Commit: 96d01a350ce9875a8f893ecdc1d470caf7ed5bcd
      https://github.com/llvm/llvm-project/commit/96d01a350ce9875a8f893ecdc1d470caf7ed5bcd
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M lldb/source/Expression/DWARFExpression.cpp
    M llvm/include/llvm/BinaryFormat/Dwarf.def
    M llvm/include/llvm/BinaryFormat/Dwarf.h
    M llvm/include/llvm/ObjectYAML/DWARFYAML.h
    M llvm/lib/BinaryFormat/Dwarf.cpp

  Log Message:
  -----------
  [lldb] Encode operands and arity in Dwarf.def and use them in LLDB. (#94679)

This PR extends Dwarf.def to include the number of operands and the arity (the
number of entries on the DWARF stack).

  - The arity is used in LLDB's DWARF expression evaluator.
  - The number of operands is unused, but is present in the table to avoid
    confusing the arity with the operands. Keeping the latter up to date should
    be straightforward as it maps directly to a table present in the DWARF
    standard.


  Commit: 37e309f1635404bfca029c3712ee227a892cd4cf
      https://github.com/llvm/llvm-project/commit/37e309f1635404bfca029c3712ee227a892cd4cf
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    A llvm/include/llvm/Transforms/Vectorize/LoopIdiomVectorize.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Target/AArch64/AArch64.h
    R llvm/lib/Target/AArch64/AArch64LoopIdiomTransform.cpp
    R llvm/lib/Target/AArch64/AArch64LoopIdiomTransform.h
    R llvm/lib/Target/AArch64/AArch64PassRegistry.def
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.h
    M llvm/lib/Target/AArch64/CMakeLists.txt
    M llvm/lib/Transforms/Vectorize/CMakeLists.txt
    A llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
    M llvm/test/Transforms/LoopIdiom/AArch64/byte-compare-index.ll

  Log Message:
  -----------
  [AArch64][LoopIdiom] Generalize AArch64LoopIdiomTransform into LoopIdiomVectorize (#94081)

To facilitate sharing LoopIdiomTransform between AArch64 and RISC-V,
this first patch moves AArch64LoopIdiomTransform from lib/Target/AArch64
to lib/Transforms/Vectorize and renames it to LoopIdiomVectorize. The
following patch (#94082) will teach LoopIdiomVectorize how to generate VP
intrinsics (in addition to the current masked vector style) in favor of
RVV.


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

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/InputFiles.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/Options.td
    M lld/docs/ReleaseNotes.rst
    M lld/docs/ld.lld.1
    M lld/test/ELF/comdat.s
    M lld/test/ELF/relocatable-comdat.s

  Log Message:
  -----------
  [ELF] Implement --force-group-allocation

GNU ld's relocatable linking behaviors:

* Sections with the `SHF_GROUP` flag are handled like sections matched
  by the `--unique=pattern` option. They are processed like orphan
  sections and ignored by input section descriptions.
* Section groups' (usually named `.group`) content is updated as the
  section indexes are updated. Section groups can be discarded with
  `/DISCARD/ : { *(.group) }`.

`-r --force-group-allocation` discards section groups and allows
sections with the `SHF_GROUP` flag to be matched like normal sections.
If two section group members are placed into the same output section,
their relocation sections (if present) are combined as well.
This behavior can be useful when -r output is used as a pseudo shared
object (e.g., FreeBSD's amd64 kernel modules, CHERIoT compartments).

This patch implements --force-group-allocation:

* Input SHT_GROUP sections are discarded.
* Input sections do not get the SHF_GROUP flag, so `addInputSec`
  will combine relocation sections if their relocated section group
  members are combined.

The default behavior is:

* Input SHT_GROUP sections are retained.
* Input SHF_GROUP sections can be matched (unlike GNU ld)
* Input SHF_GROUP sections keep the SHF_GROUP flag, so `addInputSec`
  will create different OutputDesc copies.

GNU ld provides the `FORCE_GROUP_ALLOCATION` command, which is not
implemented.

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


  Commit: d1b5a4b0c5dda71176cc32a9b27438a883d05e3c
      https://github.com/llvm/llvm-project/commit/d1b5a4b0c5dda71176cc32a9b27438a883d05e3c
  Author: David Green <david.green at arm.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    A llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity-concat.ll
    M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll

  Log Message:
  -----------
  [VectorCombine] Add tests for shuffleToIdentity of concats. NFC


  Commit: 06188d9af7d7cf8d95d4a7e80bf614cb7781355e
      https://github.com/llvm/llvm-project/commit/06188d9af7d7cf8d95d4a7e80bf614cb7781355e
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [bazel] Port #94081 (#94805)


  Commit: 7520d0c9ae4564654ebf843d0295492246948242
      https://github.com/llvm/llvm-project/commit/7520d0c9ae4564654ebf843d0295492246948242
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [BOLT][NFC] Unset UseAssemblerInfoForParsing for emission (#94778)

Summary:
Use workaround for quadratic behavior inside
AttemptToFoldSymbolOffsetDifference called from BinaryEmitter::emitLSDA.


https://github.com/llvm/llvm-project/commit/b06e736982a3568fe2bcea8688550f9e393b7450#commitcomment-142836456


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

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

  Log Message:
  -----------
  [ProfileData] Add const to a few places (NFC) (#94803)


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

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

  Log Message:
  -----------
  [RISCV] Add TargetConstraintType=2 to vnclip pseudoinstructions. NFC

These instructions are very similar to narrowing shift instructions
which already have this.

Remove TargetConstraintType parameter from VPseudoBinaryV_WV
class. Only 2 was ever passed to it. Pass 2 directly to the classes
instantiated from VPseudoBinaryV_WV instead.


  Commit: 0cdb0b7473595c3b0ac8840f9089d742dc206725
      https://github.com/llvm/llvm-project/commit/0cdb0b7473595c3b0ac8840f9089d742dc206725
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/FPBits.h
    M libc/src/__support/FPUtil/generic/FMod.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/fmodf16.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/fmodf16.cpp
    M libc/test/src/math/performance_testing/BinaryOpSingleOutputPerf.h
    M libc/test/src/math/performance_testing/CMakeLists.txt
    A libc/test/src/math/performance_testing/fmodf16_perf.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    M libc/test/src/math/smoke/FModTest.h
    A libc/test/src/math/smoke/fmodf16_test.cpp

  Log Message:
  -----------
  [libc][math][c23] Add fmodf16 C23 math function (#94629)

Part of #93566.


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

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
    M clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
    A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
    A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func.h
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_cpp.inc
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_h.inc
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/var.h
    A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
    A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-var.cpp

  Log Message:
  -----------
  [clang-tidy] new check misc-use-internal-linkage (#90830)

Add new check misc-use-internal-linkage to detect variable and function
can be marked as static.

---------

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


  Commit: 4346c3859c2db76b5928b9754f4965ec3d3fddf7
      https://github.com/llvm/llvm-project/commit/4346c3859c2db76b5928b9754f4965ec3d3fddf7
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [libc][math][c23] Temporarily disable fmodf16 on AArch64 (#94813)

See Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/138/builds/67337.


  Commit: 32d8596ad99683cb896d122006436609b4ef3b6b
      https://github.com/llvm/llvm-project/commit/32d8596ad99683cb896d122006436609b4ef3b6b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Remove unused tablegen multiclasses. NFC


  Commit: 33f4a77d9218c1a2d5c994a8a8398479731612dc
      https://github.com/llvm/llvm-project/commit/33f4a77d9218c1a2d5c994a8a8398479731612dc
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/docs/GettingStarted.rst
    M llvm/docs/GettingStartedVS.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/docs/TestingGuide.rst

  Log Message:
  -----------
  Reland "[python] Bump Python minimum version to 3.8 (#78828)"

This reverts commit b6824c9d459da059e247a60c1ebd1aeb580dacc2.

This relands commit 0a6c74e21cc6750c843310ab35b47763cddaaf32.

The original commit was reverted due to buildbot failures. These bots
should be updated now, so hopefully this will stick.


  Commit: 6b4c12284795a3030e37b17047271a47a69bb587
      https://github.com/llvm/llvm-project/commit/6b4c12284795a3030e37b17047271a47a69bb587
  Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
    M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
    M mlir/include/mlir/Interfaces/LoopLikeInterface.td
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/lib/Dialect/SCF/Transforms/ForallToFor.cpp
    M mlir/lib/Dialect/SCF/Transforms/ForallToParallel.cpp
    M mlir/unittests/Dialect/SCF/LoopLikeSCFOpsTest.cpp

  Log Message:
  -----------
  [mlir][loops] Add getters for multi dim loop variables in `LoopLikeOpInterface` (#94516)

This patch adds `getLoopInductionVars`, `getLoopLowerBounds`,
`getLoopBounds`, `getLoopSteps` interface methods to
`LoopLIkeOpInterface`. The corresponding single value versions have been
moved to shared class declaration and have been implemented based on the
new interface methods.


  Commit: 7536474ea723f84db791ce5b6c3fc0cefbc2cceb
      https://github.com/llvm/llvm-project/commit/7536474ea723f84db791ce5b6c3fc0cefbc2cceb
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
    M llvm/test/Transforms/PGOProfile/memprof.ll

  Log Message:
  -----------
  [MemProf] Add matching statistics and tracing (#94814)

To help debug or surface matching issues, add more statistics to the
matching. Also add optional emission of each context seen in the
function profiles along with its allocation type, size in bytes, and
whether it was matched. This information is emitted along with a hash of
the full stack context, to allow deduplication across modules for
allocations within header files.


  Commit: 211edca559fe5b42858583837ffc895f44c8b945
      https://github.com/llvm/llvm-project/commit/211edca559fe5b42858583837ffc895f44c8b945
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp

  Log Message:
  -----------
  [memprof] Fix a build error


  Commit: 507b37248d2b63fb645bb7052908818b39fe8a6f
      https://github.com/llvm/llvm-project/commit/507b37248d2b63fb645bb7052908818b39fe8a6f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Remove unused tablegen multiclass. NFC


  Commit: 017e2400a96cc3a5491b6ac36ffe279a2b3138cf
      https://github.com/llvm/llvm-project/commit/017e2400a96cc3a5491b6ac36ffe279a2b3138cf
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Remove CarryIn and Constraint parameters from VPseudoTiedBinaryCarryIn. NFC

They were always passed the same values, 1 for CarryIn and "" for
Constraint.


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

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

  Log Message:
  -----------
  [RISCV] Rename VPseudoBinaryCarryIn to VPseudoBinaryCarry. NFC

It doesn't always have a CarryIn. One of the parameters is named
CarryIn. It always has CarryOut or a CarryIn and in some cases both.


  Commit: 435dd9746107e13c2ad019be3bd34815f7d2360d
      https://github.com/llvm/llvm-project/commit/435dd9746107e13c2ad019be3bd34815f7d2360d
  Author: jimingham <jingham at apple.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M lldb/bindings/interface/SBCommandInterpreterRunOptionsDocstrings.i
    M lldb/include/lldb/API/SBCommandInterpreterRunOptions.h
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/source/API/SBCommandInterpreterRunOptions.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py

  Log Message:
  -----------
  Add AllowRepeats to SBCommandInterpreterRunOptions. (#94786)

This is useful if you have a transcript of a user session and want to
rerun those commands with RunCommandInterpreter. The same functionality
is also useful in testing.

I'm adding it primarily for the second reason. In a subsequent patch,
I'm adding the ability to Python based commands to provide their
"auto-repeat" command. Among other things, that will allow potentially
state destroying user commands to prevent auto-repeat. Testing this with
Shell or pexpect tests is not nearly as accurate or convenient as using
RunCommandInterpreter, but to use that I need to allow auto-repeat.

I think for consistency's sake, having interactive sessions always do
auto-repeats is the right choice, though that's a lightly held
opinion...


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

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

  Log Message:
  -----------
  [memprof] Improve deserialization performance in V3 (#94787)

We call llvm::sort in a couple of places in the V3 encoding:

- We sort Frames by FrameIds for stability of the output.

- We sort call stacks in the dictionary order to maximize the length
  of the common prefix between adjacent call stacks.

It turns out that we can improve the deserialization performance by
modifying the comparison functions -- without changing the format at
all.  Both places take advantage of the histogram of Frames -- how
many times each Frame occurs in the call stacks.

- Frames: We serialize popular Frames in the descending order of
  popularity for improved cache locality.  For two equally popular
  Frames, we break a tie by serializing one that tends to appear
  earlier in call stacks.  Here, "earlier" means a smaller index
  within llvm::SmallVector<FrameId>.

- Call Stacks: We sort the call stacks to reduce the number of times
  we follow pointers to parents during deserialization.  Specifically,
  instead of comparing two call stacks in the strcmp style -- integer
  comparisons of FrameIds, we compare two FrameIds F1 and F2 with
  Histogram[F1] < Histogram[F2] at respective indexes.  Since we
  encode from the end of the sorted list of call stacks, we tend to
  encode popular call stacks first.

Since the two places use the same histogram, we compute it once and
share it in the two places.

Sorting the call stacks reduces the number of "jumps" by 74% when we
deserialize all MemProfRecords.  The cycle and instruction counts go
down by 10% and 1.5%, respectively.

If we sort the Frames in addition to the call stacks, then the cycle
and instruction counts go down by 14% and 1.6%, respectively, relative
to the same baseline (that is, without this patch).


  Commit: 96af11494158c38dafb64ffeaec3f371f37f0eb4
      https://github.com/llvm/llvm-project/commit/96af11494158c38dafb64ffeaec3f371f37f0eb4
  Author: csstormq <swust_xiaoqiangxu at 163.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/add.ll
    M llvm/test/Transforms/InstCombine/sadd-with-overflow.ll
    M llvm/test/Transforms/PhaseOrdering/AArch64/matrix-extract-insert.ll

  Log Message:
  -----------
  [InstCombine] Preserve the nsw/nuw flags for (X | Op01C) + Op1C --> X + (Op01C + Op1C) (#94586)

This patch simplifies `sdiv` to `udiv` by preserving the `nsw` flag for
`(X | Op01C) + Op1C --> X + (Op01C + Op1C)` if the sum of `Op01C` and
`Op1C` will not overflow, and preserves the `nuw` flag unconditionally.

Alive2 Proofs (provided by @nikic): https://alive2.llvm.org/ce/z/nrdCZT,
https://alive2.llvm.org/ce/z/YnJHnH


  Commit: 608fb463d20e70668cf4dd3f0c58bd3de91c42eb
      https://github.com/llvm/llvm-project/commit/608fb463d20e70668cf4dd3f0c58bd3de91c42eb
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M lld/ELF/InputFiles.cpp
    M lld/test/ELF/fatlto/fatlto.test

  Log Message:
  -----------
  [lld] Discard SHT_LLVM_LTO sections in relocatable links (#92825)

So long as ld -r links using bitcode always result in an ELF object, and
not a merged bitcode object, the output form a relocatable link using
FatLTO objects should not have a .llvm.lto section. Prior to this, using
the object code sections would cause the bitcode section in the output
of a relocatable link to be corrupted, by concatenating all the
.llvm.lto
sections together.

This patch discards SHT_LLVM_LTO sections when not using
--fat-lto-objects, so that the relocatable ELF output won't contain
inalid bitcode.


  Commit: 4c28844e3b1c0fd71c55e5954d21c6455d93068a
      https://github.com/llvm/llvm-project/commit/4c28844e3b1c0fd71c55e5954d21c6455d93068a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [ProfileData] Use default member initialization (NFC) (#94817)

While we are at it, this patch changes the type of ValueCounts to
std:array<double, ...> so that we can use std::array:fill.

Identified with modernize-use-default-member-init.


  Commit: 4cff8ef86fffab8e117aea580977d759754c9910
      https://github.com/llvm/llvm-project/commit/4cff8ef86fffab8e117aea580977d759754c9910
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [ProfileData] Use DenseMap::lookup (NFC) (#94818)


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

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/Target/AArch64/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 37e309f16354 (AArch64 loopvectorize)


  Commit: 4e0ff05460c0b898bcc07fba8ad1e8de91706e6f
      https://github.com/llvm/llvm-project/commit/4e0ff05460c0b898bcc07fba8ad1e8de91706e6f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [memprof] Remove extraneous memprof:: (NFC) (#94825)


  Commit: 4d95850d052336a785651030eafa0b24651801a0
      https://github.com/llvm/llvm-project/commit/4d95850d052336a785651030eafa0b24651801a0
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

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

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


  Commit: 5422b5f0287d6f0920abf1b868985575885b4d5b
      https://github.com/llvm/llvm-project/commit/5422b5f0287d6f0920abf1b868985575885b4d5b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Rename VPseudoVWALU_VV_VX_VI to VPseudoVWSLL. NFC

The scheduler class name is hardcoded in the class so its not a
general class.


  Commit: 5fc1b82277dc4dd4ef133432ac8d8b1fa300d7c5
      https://github.com/llvm/llvm-project/commit/5fc1b82277dc4dd4ef133432ac8d8b1fa300d7c5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Refactor VPseudoVROL and VPseudoVROR multiclasses to use inheritance. NFC

VPseudoVROR can inherit from VPseudoVROL. Adjust the names to
VPseudoVROT_VV_VX and VPseudoVROT_VV_VX_VI.


  Commit: 7d203b1cdb004a609c25d676cdb06c2e9eff3a59
      https://github.com/llvm/llvm-project/commit/7d203b1cdb004a609c25d676cdb06c2e9eff3a59
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td

  Log Message:
  -----------
  [RISCV] Rename VPseudoBinaryNoMaskTU->VPseudoBinaryNoMaskPolicy. NFC

These pseudoinstructions have a policy operand so calling them
TU is confusing.


  Commit: 5e94163edb5ad763ff6a3f6c29935b9c6780060b
      https://github.com/llvm/llvm-project/commit/5e94163edb5ad763ff6a3f6c29935b9c6780060b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Rename VPatBinarySwapped to VPatBinaryMSwapped. NFC

This class is most closely related to VPatBinaryM.


  Commit: 84b3fe65f9a739cc22d031dd50e2552e2db3f479
      https://github.com/llvm/llvm-project/commit/84b3fe65f9a739cc22d031dd50e2552e2db3f479
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Flatten VPatBinaryW_VI_VWSLL and VPatBinaryW_VX_VWSLL into VPatBinaryW_VV_VX_VI_VWSLL. NFC


  Commit: 81671fe0e21e25f31b8100297f829744e66df4bd
      https://github.com/llvm/llvm-project/commit/81671fe0e21e25f31b8100297f829744e66df4bd
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    A .github/workflows/ci-post-commit-analyzer-run.py
    A .github/workflows/ci-post-commit-analyzer.yml

  Log Message:
  -----------
  [workflows] Add post-commit job that periodically runs the clang static analyzer (#94106)

This job will run once per day on the main branch, and for every commit
on a release branch. It currently only builds llvm, but could add more
sub-projects in the future.

OpenSSF Best Practices recommends running a static analyzer on software
before it is released:
https://www.bestpractices.dev/en/criteria/0#0.static_analysis


  Commit: c0a1214c0c91a9a8df1a5758feebd9f1b99c6242
      https://github.com/llvm/llvm-project/commit/c0a1214c0c91a9a8df1a5758feebd9f1b99c6242
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMEnums.td

  Log Message:
  -----------
  [mlir] Handle the newly-added "Reserved" FramePointerKind for 1a5239251ead73ee57f4e2f7fc93433ac7cf18b1 (NFC)

/llvm-project/mlir/lib/Target/LLVMIR/ModuleImport.cpp:48:
tools/mlir/include/mlir/Dialect/LLVMIR/LLVMConversionEnumsFromLLVM.inc:158:11:
error: enumeration value 'Reserved' not handled in switch [-Werror,-Wswitch]
  switch (value) {
          ^~~~~
1 error generated.


  Commit: 221336c8e2b0d2d1979cdaf198ab0afcf930d795
      https://github.com/llvm/llvm-project/commit/221336c8e2b0d2d1979cdaf198ab0afcf930d795
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M compiler-rt/test/dfsan/release_shadow_space.c

  Log Message:
  -----------
  [dfsan] Fix release_shadow_space.c (#94770)

DFSan's sscanf is incorrect
(https://github.com/llvm/llvm-project/issues/94769), which results in
erroneous matches when scraping RSS from /proc/maps. This patch works
around the issue by using strstr as a secondary check.

It also adds a loose validity check for the initial RSS measurement, to
guard against regressions in get_rss_kb().

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


  Commit: 5d87ba1c1f584dfbd5afaf187099b43681b2206d
      https://github.com/llvm/llvm-project/commit/5d87ba1c1f584dfbd5afaf187099b43681b2206d
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Sema/SemaHLSL.h
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/Sema/SemaHLSL.cpp

  Log Message:
  -----------
  [HLSL] Use llvm::Triple::EnvironmentType instead of HLSLShaderAttr::ShaderType (#93847)

`HLSLShaderAttr::ShaderType` enum is a subset of
`llvm::Triple::EnvironmentType`. We can use
`llvm::Triple::EnvironmentType` directly and avoid converting one enum
to another.


  Commit: 5aabbf0602c48b67bb89fd37f95bf97c95ded488
      https://github.com/llvm/llvm-project/commit/5aabbf0602c48b67bb89fd37f95bf97c95ded488
  Author: Vladimir Vereschaka <vvereschaka at accesssoftek.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/cmake/caches/CrossWinToARMLinux.cmake

  Log Message:
  -----------
  [CMake] Update CMake cache file for the ARM/Aarch64 cross toolchain builds. NFC. (#94835)

* generate Clang configuration file with provided target sysroot
(TOOLCHAIN_TARGET_SYSROOTFS)
* explicitly pass provided target sysroot into the compiler-rt tests
configuration.
* added ability to configure a type of the build libraries -- shared or
static (TOOLCHAIN_SHARED_LIBS, default OFF)

In behalf of: #94284


  Commit: 950605bdd8f34bfa9664e71224a23da769c870ec
      https://github.com/llvm/llvm-project/commit/950605bdd8f34bfa9664e71224a23da769c870ec
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td

  Log Message:
  -----------
  [RISCV] Remove many ImmType parameters from tablegen classes. NFC

These usually have a single value that is always used. We can just
hardcode into the class body.


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td

  Log Message:
  -----------
  [RISCV] Remove unused defaults for sew paramters in tablegen. NFC

Also remove some unused Constraint paramters that appeared before
the sew parameter.


  Commit: d3fc5cf24a93003ba963fc406aa1901a292d55f4
      https://github.com/llvm/llvm-project/commit/d3fc5cf24a93003ba963fc406aa1901a292d55f4
  Author: Shivam Gupta <shivam98.tkg at gmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M lldb/tools/debugserver/source/JSON.cpp

  Log Message:
  -----------
  [lldb] Remove redundant c_str() calls in stream output (NFC) (#94839)

Passing the result of c_str() to a stream is slow and redundant. This
change removes unnecessary c_str() calls and uses the string object
directly.

Caught by cppcheck -
lldb/tools/debugserver/source/JSON.cpp:398:19: performance: Passing the
result of c_str() to a stream is slow and redundant. [stlcstrStream]
lldb/tools/debugserver/source/JSON.cpp:408:64: performance: Passing the
result of c_str() to a stream is slow and redundant. [stlcstrStream]
lldb/tools/debugserver/source/JSON.cpp:420:54: performance: Passing the
result of c_str() to a stream is slow and redundant. [stlcstrStream]
lldb/tools/debugserver/source/JSON.cpp:46:13: performance: Passing the
result of c_str() to a stream is slow and redundant. [stlcstrStream]

Fix #91212


  Commit: 2e1788f8e265b97b4f19cfdeb515921dc9e317f6
      https://github.com/llvm/llvm-project/commit/2e1788f8e265b97b4f19cfdeb515921dc9e317f6
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    M lld/ELF/Writer.cpp
    M lld/test/ELF/aarch64-reloc-pauth.s

  Log Message:
  -----------
  Revert "[lld][AArch64][ELF][PAC] Support `.relr.auth.dyn` section" (#94843)

Reverts llvm/llvm-project#87635

On some corner cases, lld generated an object file with an empty REL
section with `sh_info` set to 0. This file triggers an lld error when
used as its input. See
https://github.com/llvm/llvm-project/pull/87635#issuecomment-2155318065
for details.


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

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

  Log Message:
  -----------
  [RISCV] Replace VPseudoBinaryFV_VV with VPseudoBinaryV_VV. NFC


  Commit: 3f0f2cdcf51b5d87e616a3bf8bf73dacdfb134e2
      https://github.com/llvm/llvm-project/commit/3f0f2cdcf51b5d87e616a3bf8bf73dacdfb134e2
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Remove unnecessary setting of parameter with same default value. NFC


  Commit: 68852812ff00d915bc96816a1454eb7d25cb0cb5
      https://github.com/llvm/llvm-project/commit/68852812ff00d915bc96816a1454eb7d25cb0cb5
  Author: Ben Barham <ben_barham at apple.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

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

  Log Message:
  -----------
  [Support] Do not use `llvm::size` in `getLoopPreheader` (#94540)

`BlockT *LoopBase<BlockT, LoopT>::getLoopPreheader()` was changed in
7243607867393a2b8ccd477e95e6f62d00f3206f to use `llvm::size` rather than
the checking that `child_begin() + 1 == child_end()`. `llvm::size`
requires that `std::distance` be O(1) and hence that clients support
random access. Use `llvm::hasSingleElement` instead.


  Commit: 7f5d1f116477388067b1fd865e56eb3868993998
      https://github.com/llvm/llvm-project/commit/7f5d1f116477388067b1fd865e56eb3868993998
  Author: Jonas Paulsson <paulson1 at linux.ibm.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/cmake/config.guess

  Log Message:
  -----------
  [SystemZ] Fix handling of triples.

Some Ubuntu builds were broken after 20d497c "[Driver] Remove unneeded
*-linux-gnu after D158183".

This patch by Fangrui Song fixes this with a handling in config.guess.


  Commit: 6b3e0002dfe0029487fc2f8f11f5d5fdc07a5e11
      https://github.com/llvm/llvm-project/commit/6b3e0002dfe0029487fc2f8f11f5d5fdc07a5e11
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M mlir/include/mlir/IR/PatternMatch.h
    M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp

  Log Message:
  -----------
  [mlir][Transforms][NFC] `GreedyPatternRewriteDriver`: Use composition instead of inheritance (#92785)

This commit simplifies the design of the `GreedyPatternRewriterDriver`
class. This class used to inherit from both `PatternRewriter` and
`RewriterBase::Listener` and then attached itself as a listener.

In the new design, the class has a `PatternRewriter` field instead of
inheriting from `PatternRewriter`, which is generally perferred in
object-oriented programming.

---------

Co-authored-by: Markus Böck <markus.boeck02 at gmail.com>


  Commit: 9ddc014f1a588608af1f08051d084c5839a41a80
      https://github.com/llvm/llvm-project/commit/9ddc014f1a588608af1f08051d084c5839a41a80
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/SemaCXX/complex-folding.cpp

  Log Message:
  -----------
  [clang] Report erroneous floating point results in _Complex math (#90588)

Use handleFloatFloatBinOp to properly diagnose NaN results and divisions
by zero.

Fixes #84871


  Commit: 25506f48643b65e48c6bd501855589fff8983933
      https://github.com/llvm/llvm-project/commit/25506f48643b65e48c6bd501855589fff8983933
  Author: Quentin Colombet <quentin.colombet at gmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AMDGPU/clamp-modifier.ll
    M llvm/test/CodeGen/AMDGPU/select-phi-s16-fp.ll
    M llvm/test/CodeGen/ARM/arm-half-promote.ll

  Log Message:
  -----------
  [SDISel][Combine] Constant fold FP16_TO_FP (#94790)

In some case, constant can survive early constant folding optimization
because they are hidden behind several layers of type changes.

E.g., consider the following sequence (extracted from the arm test that
this commit changes):
```
    t2: v1f16 = BUILD_VECTOR ConstantFP:f16<APFloat(0)>
    t4: v1f16 = insert_vector_elt t2, ConstantFP:f16<APFloat(0)>, Constant:i32<0>
  t5: f16 = bitcast t4
t6: f32 = fp_extend t5
```

Because the constant (APFloat(0)) is hidden behind a <1 x ty> type, all
the constant folding that normally happen for scalar nodes when using
`SelectionDAG::getNode` are blocked.

As a result the constant manages to survive as an actual conversion
instruction down to the select phase:
```
t11: f32 = fp16_to_fp Constant:i32<0>
```

With the change in this patch, we try to do constant folding one more
time during dag combine, which in the motivating example result in the
much better sequence:
```
t7: ch = CopyToReg t0, Register:f32 %0, ConstantFP:f32<0.000000e+00>
```

Note: I'm sure we have this problem in a lot of other places. Generally
speaking I believe SDISel is not that good with <1 x ty> compared to
pure scalar. However, I only changed what I could easily test.


  Commit: cac7821438f625d6c8a36dd9363f9acd3a3d93de
      https://github.com/llvm/llvm-project/commit/cac7821438f625d6c8a36dd9363f9acd3a3d93de
  Author: Marc Auberer <marc.auberer at chillibits.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M compiler-rt/lib/xray/tests/unit/function_call_trie_test.cpp
    M compiler-rt/lib/xray/tests/unit/profile_collector_test.cpp
    M compiler-rt/lib/xray/tests/unit/segmented_array_test.cpp
    M compiler-rt/lib/xray/tests/unit/test_helpers.cpp
    M compiler-rt/lib/xray/xray_fdr_logging.cpp
    M compiler-rt/lib/xray/xray_function_call_trie.h
    M compiler-rt/lib/xray/xray_profile_collector.cpp
    M compiler-rt/lib/xray/xray_profiling.cpp
    M compiler-rt/lib/xray/xray_segmented_array.h
    M compiler-rt/test/tsan/custom_mutex4.cpp
    M compiler-rt/test/tsan/custom_mutex5.cpp

  Log Message:
  -----------
  [compiler-rt] Replace deprecated aligned_storage with aligned byte array (#94171)

`std::aligned_storage` is deprecated with C++23, see
[here](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1413r3.pdf).

This replaces the usages of `std::aligned_storage` within compiler-rt
with an aligned `std::byte` array.
I will provide patches for other subcomponents as well.


  Commit: 82f6cde8a98064be8e17cf57fed170b7205bc184
      https://github.com/llvm/llvm-project/commit/82f6cde8a98064be8e17cf57fed170b7205bc184
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M lld/test/ELF/aarch64-reloc-pauth.s

  Log Message:
  -----------
  lld/test: Make sure removing %t at first

2e1788f8e265 reverted #94843. It was creating `%t` as a directory and
causes an error in incremental builds.


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

  Changed paths:
    M .ci/generate-buildkite-pipeline-premerge
    M .ci/monolithic-linux.sh
    M clang/examples/PrintFunctionNames/PrintFunctionNames.cpp

  Log Message:
  -----------
  Enable LLDB tests in Linux pre-merge CI (#94208)

This patch removes LLDB from a list of projects that are excluded from
building and testing on pre-merge CI on Linux.

Windows environment needs to be prepared in order to test LLDB
(https://github.com/llvm/llvm-project/pull/94208#issuecomment-2146256857),
but we don't have enough maintenance resources to do that at the moment.

Because LLDB has been in the list of projects that need to be tested on
Clang changes, this PR make this happen on Linux. This seems to be the
consensus in the discussion of this PR.


  Commit: 540f68c44f4813c2c16f92ccbba5a15e8ff87c85
      https://github.com/llvm/llvm-project/commit/540f68c44f4813c2c16f92ccbba5a15e8ff87c85
  Author: DaPorkchop_ <daporkchop at daporkchop.net>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/RISCV/switch-of-powers-of-two.ll
    M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
    A llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table_big.ll

  Log Message:
  -----------
  [SimplifyCFG] Don't use a mask for lookup tables generated from switches with an unreachable default case (#94468)

When transforming a switch with holes into a lookup table, we currently
use a mask to check if the current index is handled by the switch or if
it is a hole. If it is a hole, we skip loading from the lookup table.
Normally, if the switch's default case is unreachable this has no
impact, as the mask test gets optimized away by subsequent passes.
However, if the switch is large enough that the number of lookup table
entries exceeds the target's register width, we won't be able to fit all
the cases into a mask and the switch won't get transformed into a lookup
table. If we know that the switch's default case is unreachable, we know
that the mask is unnecessary and can skip constructing it entirely,
which allows us to transform the switch into a lookup table.

[Example](https://godbolt.org/z/7x7qfx8M1)

In the future, it might be interesting to consider allowing lookup table
masks to be more than one register large (e.g. using a constant array of
bit flags, similar to `std::bitset`).


  Commit: 2d21851fd560bd7a8f5d5cce22dc1c4966dc4092
      https://github.com/llvm/llvm-project/commit/2d21851fd560bd7a8f5d5cce22dc1c4966dc4092
  Author: FantasqueX <fantasquex at gmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/examples/BrainF/BrainF.cpp
    M llvm/examples/BrainF/BrainFDriver.cpp

  Log Message:
  -----------
  [llvm] Remove useless headers in example BrainF (#93701)


  Commit: d9507a3e10d1750d88dd518c14b9a9a62b9eefcd
      https://github.com/llvm/llvm-project/commit/d9507a3e10d1750d88dd518c14b9a9a62b9eefcd
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/X86/pr94824.ll

  Log Message:
  -----------
  [DAGCombine] Fix miscompilation caused by PR94008 (#94850)

The pr description in #94008 mismatches with the code.
> + When VT is smaller than ShiftVT, it is safe to use trunc.
> + When VT is larger than ShiftVT, it is safe to use zext iff
`is_zero_poison` is true (i.e., `opcode == ISD::CTTZ_ZERO_UNDEF`). See
also the counterexample `src_shl_cttz2 -> tgt_shl_cttz2` in the alive2
    proofs.

Closes #94824.


  Commit: 645fb04a3389e69801d401e669eae9ee42d70217
      https://github.com/llvm/llvm-project/commit/645fb04a3389e69801d401e669eae9ee42d70217
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/test/Transforms/Reassociate/repeats.ll

  Log Message:
  -----------
  [Reassociate] Use uint64_t for repeat count (#94232)

This patch relands #91469 and uses `uint64_t` for repeat count to avoid
a miscompilation caused by overflow
https://github.com/llvm/llvm-project/pull/91469#discussion_r1623925158.


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

  Changed paths:
    M llvm/lib/Target/X86/X86InstrCompiler.td
    M llvm/test/CodeGen/X86/atomic-fp.ll

  Log Message:
  -----------
  [X86] Support ATOMIC_LOAD_FP_BINOP_MI for other binops (#87524)

Since we can bitcast and then do the same thing sub does in the table
section above, I figured it was trivial to add fsub, fmul, and fdiv.


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

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

  Log Message:
  -----------
  [memprof] Make Version3 officially available (#94837)


  Commit: 38124fef7ec70cf73f3b86a03a287a88a16d7926
      https://github.com/llvm/llvm-project/commit/38124fef7ec70cf73f3b86a03a287a88a16d7926
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

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

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

While I am at it, this patch adds const to a couple of places.


  Commit: 6834e6ddd07a0a23b71dc4f1c1fdc3e9d35ceb41
      https://github.com/llvm/llvm-project/commit/6834e6ddd07a0a23b71dc4f1c1fdc3e9d35ceb41
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

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

  Log Message:
  -----------
  [memprof] Remove redundant virtual (NFC) (#94858)

'override' makes 'virtual' redundant.

Identified with modernize-use-override.


  Commit: c8992fb7bf123345911c467a34dc3690aac0933d
      https://github.com/llvm/llvm-project/commit/c8992fb7bf123345911c467a34dc3690aac0933d
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

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

  Log Message:
  -----------
  [libc++][NFC] Simplify the implementation of `__promote` (#81379)

This depends on enabling the use of extensions.


  Commit: bafff3e5316a33d6f016f6e9d6eb02020ad603b6
      https://github.com/llvm/llvm-project/commit/bafff3e5316a33d6f016f6e9d6eb02020ad603b6
  Author: Sam Elliott <quic_aelliott at quicinc.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/test/MC/RISCV/rvi-aliases-valid.s

  Log Message:
  -----------
  [RISCV][MC] Implicit 0-offset aliases for JR/JALR (#94688)

This broadly follows how in almost all places, we accept `(<reg>)` to
mean `0(<reg>)`, but I think these are the first like this for Jumps
rather than Loads/Stores. These are accepted by binutils but not by
LLVM: https://godbolt.org/z/GK7MGE7q7


  Commit: 80d00bf811cc3361c78e55243f8c5aa8deffdb0a
      https://github.com/llvm/llvm-project/commit/80d00bf811cc3361c78e55243f8c5aa8deffdb0a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProfReader.h
    M llvm/include/llvm/ProfileData/SampleProfWriter.h

  Log Message:
  -----------
  [ProfileData] Use default member initialization (NFC) (#94860)

Identified with modernize-use-default-member-init.


  Commit: 1e92ad41d8ef46fa3c628b05ba8ed481fedc17bd
      https://github.com/llvm/llvm-project/commit/1e92ad41d8ef46fa3c628b05ba8ed481fedc17bd
  Author: Shivam Gupta <shivam98.tkg at gmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M lldb/source/API/SBBreakpoint.cpp
    M lldb/source/API/SBTarget.cpp
    M lldb/source/Breakpoint/Breakpoint.cpp
    M lldb/source/Breakpoint/BreakpointIDList.cpp

  Log Message:
  -----------
  [lldb] Use const reference for range variables to improve performance (NFC) (#94840)

Cppcheck recommends using a const reference for range variables in a
for-each loop.
This avoids unnecessary copying of elements, improving performance.

Caught by cppcheck -
lldb/source/API/SBBreakpoint.cpp:717:22: performance: Range variable
'name' should be declared as const reference. [iterateByValue]
lldb/source/API/SBTarget.cpp:1150:15: performance: Range variable 'name'
should be declared as const reference. [iterateByValue]
lldb/source/Breakpoint/Breakpoint.cpp:888:26: performance: Range
variable 'name' should be declared as const reference. [iterateByValue]
lldb/source/Breakpoint/BreakpointIDList.cpp:262:26: performance: Range
variable 'name' should be declared as const reference. [iterateByValue]

Fix #91213
Fix #91217
Fix #91219
Fix #91220


  Commit: 263be9fb0085001630e0431782a0ac0da7ab58ae
      https://github.com/llvm/llvm-project/commit/263be9fb0085001630e0431782a0ac0da7ab58ae
  Author: Job Henandez Lara <hj93 at protonmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/config/windows/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    A libc/src/math/fmul.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/fmul.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/FMulTest.h
    A libc/test/src/math/smoke/fmul_test.cpp

  Log Message:
  -----------
  [libc][math][c23] fmul correcly rounded to all rounding modes (#91537)

This is an implementation of floating point multiplication:

It will consist of 
   - `double x double -> float`


  Commit: 44aecca020317fc163fc6f253b03d07828f1d231
      https://github.com/llvm/llvm-project/commit/44aecca020317fc163fc6f253b03d07828f1d231
  Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/remquof128.cpp
    A libc/src/math/remquof128.h
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/remquof128_test.cpp

  Log Message:
  -----------
  [libc][math][C23] Implemented remquof128 function (#94809)

Added remquof128 function. Closes #94312


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
    M llvm/test/Transforms/LoopVectorize/X86/fixed-order-recurrence.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
    M llvm/test/Transforms/LoopVectorize/scalable-first-order-recurrence.ll

  Log Message:
  -----------
  [VPlan] Check if only first part is used for all per-part VPInsts.

Apply the onlyFirstPartUsed logic generally to all per-part
VPInstructions. Note that the test changes remove the second part
of an unsued first-order recurrence splice.


  Commit: 643e4718af3124964cd0f14036bb6fba49e338f7
      https://github.com/llvm/llvm-project/commit/643e4718af3124964cd0f14036bb6fba49e338f7
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    A llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-half.ll

  Log Message:
  -----------
  [RISCV][GISel] Add calling convention support for half (#94110)

This patch adds initial support to the half type on RISC-V.


  Commit: 998c33e5fccd421a910c0a12689b35daf73e1856
      https://github.com/llvm/llvm-project/commit/998c33e5fccd421a910c0a12689b35daf73e1856
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
    M llvm/test/Transforms/LoopVectorize/X86/fixed-order-recurrence.ll
    M llvm/test/Transforms/LoopVectorize/X86/pr72969.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-multiply-recurrences.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
    M llvm/test/Transforms/LoopVectorize/scalable-first-order-recurrence.ll

  Log Message:
  -----------
  [VPlan] Mark FirstOrderRecurrenceSplice as not having side-effects.

Now that FOR exit and resume value creation is explicitly modeled in
VPlan (05e1b5340b0caf1, 07b330132c0b) it doesn't depend on the first
order recurrence splice being preserved and it can now be marked as not
having side-effects. This allows removal of first-order-recurrence-splce
if the FOR is only used in the exit or as scalar ph resume value.


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

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

  Log Message:
  -----------
  [ProfileData] Simplify calls to readNext in readBinaryIdsInternal (NFC) (#94862)

readNext has two variants:

- readNext<uint64_t, endian>(ptr)
- readNext<uint64_t>(ptr, endian)

This patch uses the latter to simplify readBinaryIdsInternal.  Both
forms default to unaligned.


  Commit: febfbff6cde47b1632424a4c5192a4aae79892c5
      https://github.com/llvm/llvm-project/commit/febfbff6cde47b1632424a4c5192a4aae79892c5
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir][nfc] Sort test passes registration (#94201)


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

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

  Log Message:
  -----------
  [InstCombine] Add tests for propagating flags when folding consecutative shifts; NFC


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

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

  Log Message:
  -----------
  [InstCombine] Propagate flags when folding consecutative shifts

When we fold `(shift (shift C0, x), C1)` we can propagate flags that
are common to both shifts.

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

Closes #94872


  Commit: 2e482b25329433a61fee2e22f4ea00775e7e7ec7
      https://github.com/llvm/llvm-project/commit/2e482b25329433a61fee2e22f4ea00775e7e7ec7
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang][NFC] Update CWG issues list


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

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

  Log Message:
  -----------
  [MC] Simplify Sec.getFragmentList().insert(Sec.begin(), F). NFC

Decrease the uses of getFragmentList() to make it easier to change the
fragment list representation.


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

  Changed paths:
    M llvm/lib/Target/Sparc/SparcInstrAliases.td
    M llvm/test/MC/Sparc/sparcv9-instructions.s

  Log Message:
  -----------
  [SPARC][IAS] Add GNU extension for `addc`

Transform `addc imm, %rs, %rd` into `addc %rs, imm, %rd`.
This is used in some GNU and Linux code.

Reviewers: s-barannikov, rorth, jrtc27, brad0

Reviewed By: s-barannikov

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


  Commit: 44f93578d2508d7d67f7ca3bd1edf2393c19d11c
      https://github.com/llvm/llvm-project/commit/44f93578d2508d7d67f7ca3bd1edf2393c19d11c
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
    M llvm/test/MC/Sparc/sparc-relocations.s

  Log Message:
  -----------
  [SPARC][IAS] Add support for %uhi and %ulo extensions

This adds support for GNU %uhi and %ulo extensions.
Those resolve to the same relocations as %hh and %hm.

Reviewers:
cyndyishida, dcci, brad0, jrtc27, aaupov, Endilll, rorth, maksfb, #reviewers-libcxxabi, s-barannikov, rafaelauler, ayermolo, #reviewers-libunwind, #reviewers-libcxx, daniel-grumberg, tbaederr

Reviewed By: s-barannikov

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


  Commit: 715a5d8d93a8383e50e9400303313288c0e5b0de
      https://github.com/llvm/llvm-project/commit/715a5d8d93a8383e50e9400303313288c0e5b0de
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

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

  Log Message:
  -----------
  [SPARC][IAS] Add aliases for %asr20-21 as defined in JPS1

This adds %set_softint and %clear_softint alias for %asr20 and %asr21
as defined in JPS1.

Reviewers: jrtc27, brad0, s-barannikov, rorth

Reviewed By: s-barannikov

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


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

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

  Log Message:
  -----------
  [clang][Interp][NFC] Refactor lvalue-to-rvalue conversion code

Really perform the conversion always if the flag is set and don't make
it dependent on whether we're checking the result for initialization.


  Commit: d211abc625cc7bbc8616885bb8eaf4a69a9a3853
      https://github.com/llvm/llvm-project/commit/d211abc625cc7bbc8616885bb8eaf4a69a9a3853
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/MathMissingParenthesesCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/math-missing-parentheses.cpp

  Log Message:
  -----------
  [clang-tidy] Ignore non-math operators in readability-math-missing-parentheses (#94654)

Do not emit warnings for non-math operators.

Closes #92516


  Commit: 338cbfef03e0ab58d7b52f3301928c58b194a1b4
      https://github.com/llvm/llvm-project/commit/338cbfef03e0ab58d7b52f3301928c58b194a1b4
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Transforms/DialectConversion.h

  Log Message:
  -----------
  [mlir][Transforms][NFC] Improve dialect conversion documentation (#94736)


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

  Changed paths:
    M llvm/test/CodeGen/ARM/vector-store.ll

  Log Message:
  -----------
  [ARM] vector-store.ll - add big-endian test coverage

Based on feedback on #94863


  Commit: e329bfcb033910fc340b6da5a6307003ac6b2b01
      https://github.com/llvm/llvm-project/commit/e329bfcb033910fc340b6da5a6307003ac6b2b01
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion-cxx20.cpp

  Log Message:
  -----------
  [clang-tidy] Ignore implicit functions in readability-implicit-bool-conversion (#94512)

Ignore implicit declarations and defaulted functions. Helps with issues
in generated code like, C++
spaceship operator.

Closes #93409


  Commit: 31b84d459cea6bde7f8cb232e70ffb0cf8e5d1ed
      https://github.com/llvm/llvm-project/commit/31b84d459cea6bde7f8cb232e70ffb0cf8e5d1ed
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.h
    M clang-tools-extra/docs/clang-tidy/checks/modernize/use-designated-initializers.rst
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-designated-initializers.cpp

  Log Message:
  -----------
  [clang-tidy] Extend modernize-use-designated-initializers with new options (#94651)

Add StrictCStandardCompliance and StrictCppStandardCompliance options
that default to true.

Closes #83732


  Commit: b55fb567e49214b47b3f2e1c9b8f39a64d620ded
      https://github.com/llvm/llvm-project/commit/b55fb567e49214b47b3f2e1c9b8f39a64d620ded
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/MultiLevelImplicitPointerConversionCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/multi-level-implicit-pointer-conversion.cpp

  Log Message:
  -----------
  [clang-tidy] Improve bugprone-multi-level-implicit-pointer-conversion (#94524)

Ignore implicit pointer conversions that are part of a cast expression

Closes #93959


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

  Changed paths:
    M llvm/lib/Target/X86/X86InstrCompiler.td
    M llvm/lib/Target/X86/X86InstrMisc.td

  Log Message:
  -----------
  [X86] Trim trailing whitespace to reduce diff in #94845


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/ARM/vector-store.ll
    M llvm/test/CodeGen/X86/vshift-6.ll

  Log Message:
  -----------
  [DAG] FoldConstantArithmetic - allow binop folding to work with differing bitcasted constants (#94863)

We currently only constant fold binop(bitcast(c1),bitcast(c2)) if c1 and c2 are both bitcasted and from the same type.

This patch relaxes this assumption to allow the constant build vector to originate from different types (and allow cases where only one operand was bitcasted).

We still ensure we bitcast back to one of the original types if both operand were bitcasted (we assume that if we have a non-bitcasted constant then its legal to keep using that type).


  Commit: a284bdb31146160352da905a888da738f2661b50
      https://github.com/llvm/llvm-project/commit/a284bdb31146160352da905a888da738f2661b50
  Author: David Green <david.green at arm.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/fcvt-fixed.ll
    M llvm/test/CodeGen/AArch64/fdiv-const.ll
    M llvm/test/CodeGen/AArch64/frem-power2.ll
    M llvm/test/CodeGen/AMDGPU/uniform-phi-with-undef.ll
    M llvm/test/CodeGen/ARM/frem-power2.ll
    M llvm/test/CodeGen/ARM/vdiv_combine.ll
    M llvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
    M llvm/test/CodeGen/X86/change-unsafe-fp-math.ll

  Log Message:
  -----------
  [DAG] Fold fdiv X, c2 -> fmul X, 1/c2 without AllowReciprocal if exact (#93882)

This moves the combine of fdiv by constant to fmul out of an
'if (Options.UnsafeFPMath || Flags.hasAllowReciprocal()' block,
so that it triggers if the divide is exact. An extra check for
Recip.isDenormal() is added as multiple places make reference
to it being unsafe or slow on certain platforms.


  Commit: 2f4ebf85457e7246ffce312fb443b4ae78172f01
      https://github.com/llvm/llvm-project/commit/2f4ebf85457e7246ffce312fb443b4ae78172f01
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/pr73894.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-unroll.ll

  Log Message:
  -----------
  [VPlan] Handle more cases in VPInstruction::onlyFirstPartUsed.

Handle binary ops and a few other instructions in onlyFirstPartUsed;
they only use the first part if they themselves only have their first
part used.


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

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

  Log Message:
  -----------
  [clang][Interp] Implement ~ operator for complex values


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

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

  Log Message:
  -----------
  [clang][Interp] Handle __extension__ for complex values


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

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/SemaCXX/for-range-examples.cpp
    M clang/test/SemaCXX/integer-overflow.cpp

  Log Message:
  -----------
  [clang][Interp] Reject compound assign operators pre-C++14


  Commit: cc19374afa55b6ccafb07ef0cb6550f4222bf99f
      https://github.com/llvm/llvm-project/commit/cc19374afa55b6ccafb07ef0cb6550f4222bf99f
  Author: Andreas Jonson <andjo403 at hotmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
    M llvm/test/CodeGen/AMDGPU/amdgpu.private-memory.ll
    M llvm/test/CodeGen/AMDGPU/private-memory-r600.ll
    M llvm/test/CodeGen/AMDGPU/promote-alloca-strip-abi-opt-attributes.ll
    M llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-icmp.ll

  Log Message:
  -----------
  [AMDGPU] Swap range metadata to attribute for workitem id. (#94871)

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


  Commit: 2388129d48cadcfca735a6d04b49b9ddb9c27de1
      https://github.com/llvm/llvm-project/commit/2388129d48cadcfca735a6d04b49b9ddb9c27de1
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.h
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
    M llvm/lib/Target/Sparc/Sparc.td
    M llvm/lib/Target/Sparc/SparcASITags.td
    M llvm/lib/Target/Sparc/SparcInstrInfo.td
    A llvm/lib/Target/Sparc/SparcPrefetchTags.td
    M llvm/test/MC/Disassembler/Sparc/sparc-v9.txt
    M llvm/test/MC/Sparc/sparcv9-instructions.s

  Log Message:
  -----------
  [SPARC][IAS] Add named prefetch tag constants

This adds named tag constants (such as `#one_write` and `#one_read`)
for the prefetch instruction.

Reviewers: jrtc27, rorth, brad0, s-barannikov

Reviewed By: s-barannikov

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


  Commit: 41f2ea0b0fcd2b683c7380e1cfd3acad2feb51dd
      https://github.com/llvm/llvm-project/commit/41f2ea0b0fcd2b683c7380e1cfd3acad2feb51dd
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/lib/Target/Sparc/SparcInstrInfo.td
    M llvm/test/MC/Disassembler/Sparc/sparc-v9-asi.txt
    M llvm/test/MC/Sparc/sparcv9-instructions.s

  Log Message:
  -----------
  [SPARC][IAS] Add support for `prefetcha` instruction

This adds support for `prefetcha` instruction for prefetching from
alternate address spaces.

Reviewers: jrtc27, brad0, rorth, s-barannikov

Reviewed By: s-barannikov

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


  Commit: 8901f718ea16ceb82b6f878db53d3bcb46b4d2b2
      https://github.com/llvm/llvm-project/commit/8901f718ea16ceb82b6f878db53d3bcb46b4d2b2
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M bolt/lib/Profile/BoltAddressTranslation.cpp
    M clang-tools-extra/clang-query/QueryParser.cpp
    M mlir/lib/Query/QueryParser.cpp

  Log Message:
  -----------
  Use StringRef::starts_with (NFC) (#94886)


  Commit: 2bc36afcdb282618d3dc08462375fffca32cd7ed
      https://github.com/llvm/llvm-project/commit/2bc36afcdb282618d3dc08462375fffca32cd7ed
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp

  Log Message:
  -----------
  [SPARC][IAS] Handle the case of non-4-byte aligned writeNopData

If the Count passed into writeNopData is not a multiple of four,
add a little amount of zeros before writing the NOP stream.
This makes it match the behavior of GNU binutils.

Reviewers: brad0, rorth, s-barannikov, jrtc27

Reviewed By: s-barannikov

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


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

  Changed paths:
    M llvm/lib/Target/Sparc/SparcInstrAliases.td
    M llvm/test/MC/Sparc/sparc64-ctrl-instructions.s

  Log Message:
  -----------
  [SPARC][IAS] Add movr(n)e alias for movr(n)z

This adds the alternate mnemonics for movrz and movrnz.

Reviewers: s-barannikov, jrtc27, brad0, rorth

Reviewed By: s-barannikov

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


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

  Changed paths:
    M libcxx/include/__chrono/time_zone.h
    M libcxx/include/chrono
    M libcxx/src/time_zone.cpp
    M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
    A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Implements time_zone get_info(local_time). (#89537)

Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones


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

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp

  Log Message:
  -----------
  [Instrumentation] Remove an extraneous ArrayRef (NFC) (#94890)

We can implicitly convert RemainingVDs to an ArrayRef.  Note that
RemainingVDs is of type SmallVector<InstrProfValueData, 24>.


  Commit: e090bac638e56ff9db87e622cdf925f2b99dfc30
      https://github.com/llvm/llvm-project/commit/e090bac638e56ff9db87e622cdf925f2b99dfc30
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M clang/test/SemaTemplate/cwg2398.cpp

  Log Message:
  -----------
  [clang] NFC: add new cwg2398 tests


  Commit: 089c4bb589dd46d1484bd6ba1fe8f5c472339af4
      https://github.com/llvm/llvm-project/commit/089c4bb589dd46d1484bd6ba1fe8f5c472339af4
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/lib/ProfileData/SampleProfWriter.cpp

  Log Message:
  -----------
  [ProfileData] Use ArrayRef instead of const std::vector<T> & (NFC) (#94878)


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

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

  Log Message:
  -----------
  [RISCV] Cleanup some Constraint parameters in RISCVInstrInfoVPseudos.td. NFC

Remove unneeded parameters or sync into class if they are only
ever used with one value.


  Commit: e4b0655b297e4f4b0eb26548c8be48d527ebc178
      https://github.com/llvm/llvm-project/commit/e4b0655b297e4f4b0eb26548c8be48d527ebc178
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp.ll

  Log Message:
  -----------
  [InstCombine] Fix missing argument typo in `InstCombinerImpl::foldICmpShlConstant` (#94899)

Closes #94897.


  Commit: 014446c130362914b7e6dc839a8f5a86517cec63
      https://github.com/llvm/llvm-project/commit/014446c130362914b7e6dc839a8f5a86517cec63
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp

  Log Message:
  -----------
  GlobalISel: Remove faulty assert in buildAtomicRMW op

Vectors are supported for fp operations now, so remove the assert. The
supported type/operation combinations are best left for the verifier.
Avoids regression in future commit that starts treating some vector
cases as legal.


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

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.td

  Log Message:
  -----------
  [NFC][mlir][gpu] Fully-qualify all namespaces in the GPU compilation interfaces (#94908)

Fully qualify all namespaces appearing in `GPUTargetAttrInterface` and
`OffloadingLLVMTranslationAttrInterface`. If they're not fully qualified
then out-of-tree dialects might encounter name resolution errors.


  Commit: dbe63e3d4dc9e4a53c95a6f8fd24c071d0a603e2
      https://github.com/llvm/llvm-project/commit/dbe63e3d4dc9e4a53c95a6f8fd24c071d0a603e2
  Author: Puelloc <shentukeqin at hotmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGStmt.cpp
    A clang/test/OpenMP/error_unsupport_feature.c

  Log Message:
  -----------
  [Clang][OpenMP] throw compilation error instead of crash in Stmt::OMPScopeDirectiveClass case (#77535) (#84135)

Fix #77535, Change unstable assertion into compilation error, and add a
test for it.


  Commit: 521238d19b53f4860aa07198ed84e9816d69d7a0
      https://github.com/llvm/llvm-project/commit/521238d19b53f4860aa07198ed84e9816d69d7a0
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

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

  Log Message:
  -----------
  [ProfileData] Refactor VTableNamePtr and CompressedVTableNamesLen (NFC) (#94859)

VTableNamePtr and CompressedVTableNamesLen are always used together to
create a StringRef in getSymtab.

We can create the StringRef ahead of time in readHeader.  This way,
IndexedInstrProfReader becomes a tiny bit simpler with fewer member
variables.  Also, StringRef default-constructs itself with its Data
and Length set to nullptr and 0, respectively, which is exactly what
we need.


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

  Changed paths:
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__chrono/exception.h
    M libcxx/include/__chrono/time_zone.h
    M libcxx/include/chrono
    M libcxx/include/module.modulemap
    M libcxx/modules/std/chrono.inc
    M libcxx/src/CMakeLists.txt
    A libcxx/src/chrono_exception.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.exception/time.zone.exception.ambig/assert.ctor.pass.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.exception/time.zone.exception.nonexist/assert.ctor.pass.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys.pass.cpp
    M libcxx/test/libcxx/transitive_includes/cxx03.csv
    M libcxx/test/libcxx/transitive_includes/cxx11.csv
    M libcxx/test/libcxx/transitive_includes/cxx14.csv
    M libcxx/test/libcxx/transitive_includes/cxx17.csv
    M libcxx/test/libcxx/transitive_includes/cxx20.csv
    M libcxx/test/libcxx/transitive_includes/cxx23.csv
    M libcxx/test/libcxx/transitive_includes/cxx26.csv
    A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.ambig/ctor.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.ambig/types.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.nonexist/ctor.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.nonexist/types.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Implements time_zone::to_sys. (#90394)

This implements the throwing overload and the exception classes throw by
this overload.

Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones


  Commit: 54373e0f40bb54580d96a734beb8ee4159744769
      https://github.com/llvm/llvm-project/commit/54373e0f40bb54580d96a734beb8ee4159744769
  Author: Fabian Mora <fmora.dev at gmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp

  Log Message:
  -----------
  [NFC][mlir][gpu] Make sym_name an inherent attr in GPUModuleOp (#94918)

Make `sym_name` an inherent attr in GPUModuleOp so that it doesn't show
in the discardable attributes.
The change is safe as the attribute is always expected to be present.


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

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

  Log Message:
  -----------
  MCInst: decrease inline element count to 6. NFC

MCInst is primarily used in local variables and MCRelaxableFragment
(mostly JMP/JCC for x86). Reducing the inline element count can make
MCRelaxableFragment smaller, potentially leading to a lower peak RSS.

When compiling sqlite3.c, x86-64 has the largest maximum numOperands.

aarch64: 5; ppc64: 6; riscv64: 3; s390x: 6; x86-64: 8

Here is the frequency table for x86-64:

max getNumOperands: 8
0: 676
1: 37892
2: 84046
3: 26767
4: 1640
5: 1222
6: 80794
7: 768
8: 22

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


  Commit: 63ef2eca887f8bce604fcf59cecdca986eb7f132
      https://github.com/llvm/llvm-project/commit/63ef2eca887f8bce604fcf59cecdca986eb7f132
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Remove unused tablegen classes. NFC


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

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

  Log Message:
  -----------
  [RISCV] Replace TU with Policy in tablegen class name. NFC


  Commit: 367d50278aa1808cd2a2213ff1ae3c5f861667b5
      https://github.com/llvm/llvm-project/commit/367d50278aa1808cd2a2213ff1ae3c5f861667b5
  Author: Egor Ospadov <egor at egor.ca>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M mlir/python/mlir/ir.py

  Log Message:
  -----------
  [mlir][python] Fix attribute registration in ir.py (#94615)

This PR fixes attribute registration for `SI8Attr` and `UI8Attr` in
`ir.py`.


  Commit: 4403cdbaf01379de96f8d0d6ea4f51a085e37766
      https://github.com/llvm/llvm-project/commit/4403cdbaf01379de96f8d0d6ea4f51a085e37766
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

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

  Log Message:
  -----------
  [ProfileData] Refactor BinaryIdsStart and BinaryIdsSize (NFC) (#94922)

BinaryIdsStart and BinaryIdsSize in IndexedInstrProfReader are always
used together, so this patch packages them into an ArrayRef<uint8_t>.

For now, readBinaryIdsInternal immediately unpacks ArrayRef into its
constituents to avoid touching the rest of readBinaryIdsInternal.


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

  Changed paths:
    R llvm/test/MC/AsmParser/layout-interdependency.s
    A llvm/test/MC/ELF/layout-interdependency.s
    A llvm/test/MC/ELF/relax-recompute-align.s
    R llvm/test/MC/MachO/relax-recompute-align.s

  Log Message:
  -----------
  [MC,test] Reorganize relax-recompute-align.s & layout-interdependency.s

relax-recompute-align.s might change when we change the fragment
relaxation approach.


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

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/include/llvm-libc-types/CMakeLists.txt
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/nanf16.cpp
    A libc/src/math/nanf16.h
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/nanf16_test.cpp

  Log Message:
  -----------
  [libc][math][c23] Add nanf16 C23 math function (#94767)

Part of #93566.


  Commit: 9d0754ada5dbbc0c009bcc2f7824488419cc5530
      https://github.com/llvm/llvm-project/commit/9d0754ada5dbbc0c009bcc2f7824488419cc5530
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmLayout.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/include/llvm/MC/MCSection.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/test/MC/ELF/layout-interdependency.s
    M llvm/test/MC/ELF/relax-recompute-align.s
    M llvm/test/MC/ELF/subsection-if.s

  Log Message:
  -----------
  [MC] Relax fragments eagerly

Lazy relaxation caused hash table lookups (`getFragmentOffset`) and
complex use/compute interdependencies. Some expressions involding
forward declared symbols (e.g. `subsection-if.s`) cannot be computed.
Recursion detection requires complex `IsBeingLaidOut`
(https://reviews.llvm.org/D79570).

D76114's `invalidateFragmentsFrom` makes lazy relaxation even less
useful.

Switch to eager relaxation to greatly simplify code and resolve these
issues. This change also removes a `getPrevNode` use, which makes it
more feasible to replace the fragment representation, which might yield
a large peak RSS win.

Minor downsides: The number of section relaxations may increase (offset
by avoiding the hash table lookup). For relax-recompute-align.s, the
computed layout is not optimal.


  Commit: 13896b6ce9b791db6d1ac40c6a05eb893405fcd7
      https://github.com/llvm/llvm-project/commit/13896b6ce9b791db6d1ac40c6a05eb893405fcd7
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation.cpp
    M mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/dealloc-callop-interface.mlir

  Log Message:
  -----------
  [mlir][bufferization] Fix handling of indirect function calls (#94896)

This commit fixes a crash in the ownership-based buffer deallocation
pass when indirectly calling a function via SSA value. Such functions
must be conservatively assumed to be public.

Fixes #94780.


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

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

  Log Message:
  -----------
  [MC] Remove the last MCFragment::getPrevNode use. NFC


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

  Changed paths:
    M libcxx/include/__chrono/time_zone.h
    M libcxx/include/chrono
    M libcxx/modules/std/chrono.inc
    M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.timezone/choose.pass.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys_choose.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys_choose.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Implements time_zone::to_sys. (#90901)

This implements the overload with the choose argument and adds this
enum.

Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones


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

  Changed paths:
    M clang/lib/AST/Interp/Interp.h
    M clang/test/AST/Interp/builtin-align-cxx.cpp
    M clang/test/AST/Interp/const-eval.c

  Log Message:
  -----------
  [clang][Interp] Disallow ptr-to-int casts on dummy pointers


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

  Changed paths:
    M lld/COFF/Symbols.h

  Log Message:
  -----------
  [lld] Remove const qualifier on symbolKind (NFC) (#94753)

The symbol including this member is being overwritten by memcpy here:
https://github.com/llvm/llvm-project/blob/2117677e304d334326f6591f3c75fb2f34dc4bcb/lld/COFF/SymbolTable.cpp#L496-L509


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

  Changed paths:
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/test/CodeGen/paren-list-agg-init.cpp
    M clang/test/CodeGenCXX/control-flow-in-stmt-expr.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-references.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
    M clang/test/CodeGenCXX/cxx11-initializer-array-new.cpp
    M clang/test/CodeGenCXX/partial-destruction.cpp
    M clang/test/CodeGenCXX/temporaries.cpp
    M clang/test/CodeGenCXX/value-init.cpp
    M clang/test/CodeGenCoroutines/coro-suspend-cleanups.cpp
    M clang/test/CodeGenObjC/arc-ternary-op.m
    M clang/test/CodeGenObjC/arc.m
    M clang/test/CodeGenObjCXX/arc-exceptions.mm
    M clang/test/OpenMP/distribute_firstprivate_codegen.cpp
    M clang/test/OpenMP/distribute_lastprivate_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
    M clang/test/OpenMP/distribute_private_codegen.cpp
    M clang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/distribute_simd_private_codegen.cpp
    M clang/test/OpenMP/for_firstprivate_codegen.cpp
    M clang/test/OpenMP/for_lastprivate_codegen.cpp
    M clang/test/OpenMP/for_private_codegen.cpp
    M clang/test/OpenMP/for_reduction_codegen.cpp
    M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
    M clang/test/OpenMP/parallel_copyin_codegen.cpp
    M clang/test/OpenMP/parallel_firstprivate_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/parallel_private_codegen.cpp
    M clang/test/OpenMP/parallel_reduction_codegen.cpp
    M clang/test/OpenMP/sections_firstprivate_codegen.cpp
    M clang/test/OpenMP/sections_lastprivate_codegen.cpp
    M clang/test/OpenMP/sections_private_codegen.cpp
    M clang/test/OpenMP/sections_reduction_codegen.cpp
    M clang/test/OpenMP/simd_private_taskloop_codegen.cpp
    M clang/test/OpenMP/single_firstprivate_codegen.cpp
    M clang/test/OpenMP/single_private_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_private_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
    M clang/test/OpenMP/target_teams_generic_loop_private_codegen.cpp
    M clang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
    M clang/test/OpenMP/teams_distribute_private_codegen.cpp
    M clang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
    M clang/test/OpenMP/teams_firstprivate_codegen.cpp
    M clang/test/OpenMP/teams_generic_loop_private_codegen.cpp
    M clang/test/OpenMP/teams_private_codegen.cpp
    M clang/test/OpenMP/threadprivate_codegen.cpp
    M clang/test/PCH/cxx_paren_init.cpp

  Log Message:
  -----------
  [CodeGen] Simplify codegen for array initialization (#93956)

This makes codegen for array initialization simpler in two ways:
1. Drop the zero-index GEP at the start, which is no longer needed with
opaque pointers.
2. Emit GEPs directly to the correct element, instead of having a long
chain of +1 GEPs. This is more canonical, and also avoids regressions in
unoptimized builds from #93823.


  Commit: e4790ce2096c805b7598c353f9e7fa513701f843
      https://github.com/llvm/llvm-project/commit/e4790ce2096c805b7598c353f9e7fa513701f843
  Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/ReplaceWithVeclib.cpp
    M llvm/test/CodeGen/AArch64/replace-with-veclib-armpl.ll
    M llvm/test/CodeGen/AArch64/replace-with-veclib-sleef-scalable.ll
    M llvm/test/CodeGen/AArch64/replace-with-veclib-sleef.ll
    M llvm/unittests/Analysis/ReplaceWithVecLibTest.cpp

  Log Message:
  -----------
  [TLI] ReplaceWithVecLib: drop Instruction support (#94365)

Refactor the pass to only support `IntrinsicInst` calls.

`ReplaceWithVecLib` used to support instructions, as AArch64 was using
this pass to replace a vectorized frem instruction to the fmod vector
library call (through TLI).

As this replacement is now done by the codegen (#83859), there is no
need for this pass to support instructions.

Additionally, removed 'frem' tests from:
- AArch64/replace-with-veclib-armpl.ll
- AArch64/replace-with-veclib-sleef-scalable.ll
- AArch64/replace-with-veclib-sleef.ll

Such testing is done at codegen level:
- #83859


  Commit: 832b91fcb9fd42d92a741129c6e085ef15ab385b
      https://github.com/llvm/llvm-project/commit/832b91fcb9fd42d92a741129c6e085ef15ab385b
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py

  Log Message:
  -----------
  [dexter] Correctly identify stop-reason while driving VisualStudio (#94754)

Prior to this patch VisualStudio._get_step_info incorrectly identifies
the reason the debugger has stopped. e.g., stepping through a program
would be reported as a StopReason.Breakpoint rather than
StopReason.Step.

Fix. No test added as there are no VisualStudio tests (tested locally).


  Commit: e58f830a1de20af79a6ce41c85b787f4a64b9c74
      https://github.com/llvm/llvm-project/commit/e58f830a1de20af79a6ce41c85b787f4a64b9c74
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M flang/include/flang/Runtime/inquiry.h
    M flang/runtime/inquiry.cpp
    M flang/unittests/Runtime/Inquiry.cpp

  Log Message:
  -----------
  [flang] add source to SHAPE API (#94781)


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

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/test/Other/constant-fold-gep.ll
    M llvm/test/Transforms/InstCombine/gepgep.ll
    M llvm/test/Transforms/InstCombine/getelementptr.ll
    M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll

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

Reapply after https://github.com/llvm/llvm-project/pull/93956, which
changed clang array initialization codegen to avoid size regressions
for unoptimized builds.

-----

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

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


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

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/c.c
    M clang/test/Sema/constexpr-void-cast.c

  Log Message:
  -----------
  [clang][Interp] Diagnose casts from void pointers


  Commit: 26224ca2de193dcfd21ede7a846c28ea892b77e3
      https://github.com/llvm/llvm-project/commit/26224ca2de193dcfd21ede7a846c28ea892b77e3
  Author: Balázs Kéri <balazs.keri at ericsson.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
    M clang/test/Analysis/casts.c
    A clang/test/Analysis/pointer-sub.c
    M clang/test/Analysis/ptr-arith.c

  Log Message:
  -----------
  [clang][analyzer] Improved PointerSubChecker (#93676)

The checker is made more exact
(only pointer into array is allowed, check array index)
and more tests are added.


  Commit: d732a3298a70d83e5571c594de9be63df85668a7
      https://github.com/llvm/llvm-project/commit/d732a3298a70d83e5571c594de9be63df85668a7
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/bindings/ocaml/llvm/llvm.ml
    M llvm/bindings/ocaml/llvm/llvm.mli
    M llvm/bindings/ocaml/llvm/llvm_ocaml.c
    M llvm/docs/ReleaseNotes.rst
    M llvm/docs/RemoveDIsDebugInfo.md
    M llvm/include/llvm-c/Core.h
    M llvm/lib/IR/Core.cpp
    M llvm/test/Bindings/OCaml/core.ml
    M llvm/test/Bindings/llvm-c/debug_info.ll
    M llvm/test/Bindings/llvm-c/debug_info_new_format.ll
    M llvm/tools/llvm-c-test/debuginfo.c

  Log Message:
  -----------
  [RemoveDIs] C API: Add before-dbg-record versions of IRBuilder position funcs (#92417)

Add `LLVMPositionBuilderBeforeDbgRecords` and
`LLVMPositionBuilderBeforeInstrAndDbgRecords` to `llvm/include/llvm-c/Core.h`
which behave the same as `LLVMPositionBuilder` and `LVMPositionBuilderBefore`
except that the position is set before debug records attached to the target
instruction (the existing functions set the insertion point to after any
attached debug records).

More info on debug records and the migration towards using them can be found
here: https://llvm.org/docs/RemoveDIsDebugInfo.html

The distinction is important in some situations. An important example is when
inserting a phi before another instruction which has debug records attached to
it (these come "before" the instruction). Inserting before the instruction but
after the debug records would result in having debug records before a phi, which
is illegal. That results in an assertion failure:

`llvm/lib/IR/Instruction.cpp:166: Assertion '!isa<PHINode>(this) && "Inserting
PHI after debug-records!"' failed.`

In llvm (C++) we've added bit to instruction iterators that carries around the
extra information. Adding dedicated functions seemed like the least invasive and
least suprising way to update the C API.

Update llvm/tools/llvm-c-test/debuginfo.c to test this functionality.

Update the OCaml bindings, the migration docs and release notes.


  Commit: 0257f9cde540f265da38ef14fd395f76d3e08bb1
      https://github.com/llvm/llvm-project/commit/0257f9cde540f265da38ef14fd395f76d3e08bb1
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/Inquiry.h
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Inquiry.cpp
    A flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90

  Log Message:
  -----------
  [flang] lower SHAPE with assumed-rank arguments (#94812)

Allocate result statically on the stack (using max rank) and use the
runtime to fill it in correctly.


  Commit: 0af2e75f8c688cc6fb7123c969c8edfa98a003fa
      https://github.com/llvm/llvm-project/commit/0af2e75f8c688cc6fb7123c969c8edfa98a003fa
  Author: Shivam Gupta <shivam98.tkg at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp

  Log Message:
  -----------
  [lldb] Fix redundant condition in compression type check (NFC) (#94841)

The `else if` condition for checking `m_compression_type` is redundant
as it matches with a previous `if` condition, making the expression
always false. Reported by cppcheck as a possible cut-and-paste error.

Caught by cppcheck -

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp:543:35:
style: Expression is always false because 'else if' condition matches
previous condition at line 535. [multiCondition]

Fix #91222


  Commit: 30bfab3694075cfec9409821be0cfe79ae5d0770
      https://github.com/llvm/llvm-project/commit/30bfab3694075cfec9409821be0cfe79ae5d0770
  Author: Shivam Gupta <shivam98.tkg at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp

  Log Message:
  -----------
  [lldb] Remove redundant condition in watch mask check (NFC) (#94842)

This issue is reported by cppcheck as a pointless test in the watch mask
check. The `else if` condition is opposite to the previous `if`
condition, making the expression always true.

Caught by cppcheck -

lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp:509:25:
style: Expression is always true because 'else if' condition is opposite
to previous condition at line 505. [multiCondition]

Fix #91223


  Commit: 38c01c3d91f8815468dedf67db9eaa0bd0c6ea7a
      https://github.com/llvm/llvm-project/commit/38c01c3d91f8815468dedf67db9eaa0bd0c6ea7a
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/include/llvm-c/Core.h

  Log Message:
  -----------
  NFC fix typos from #92417


  Commit: 760d880ea602117aa2e6bba4cf31069f09225b4b
      https://github.com/llvm/llvm-project/commit/760d880ea602117aa2e6bba4cf31069f09225b4b
  Author: Fabio D'Urso <fdurso at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp

  Log Message:
  -----------
  [scudo] Apply filling when realloc shrinks and re-grows a block in-place (#93212)


  Commit: a0faf79b164c98476a4e399bd96766013f826a11
      https://github.com/llvm/llvm-project/commit/a0faf79b164c98476a4e399bd96766013f826a11
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M flang/include/flang/Runtime/inquiry.h
    M flang/runtime/inquiry.cpp
    M flang/unittests/Runtime/Inquiry.cpp

  Log Message:
  -----------
  [flang][runtime] add LBOUND API for assumed-rank arrays (#94808)


  Commit: 23b8f59f0916982cb0674b6175b7c812b86ffb99
      https://github.com/llvm/llvm-project/commit/23b8f59f0916982cb0674b6175b7c812b86ffb99
  Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/Makefile
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/main.cpp

  Log Message:
  -----------
  [lldb] Gracefully down TestCoroutineHandle test in case the 'coroutine' feature is missing (#94903)

Do not let the compiler gets failed in case the target platform does not
support the 'coroutine' C++ features. Just compile without it and let
lldb know about missed/unsupported feature.


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

  Changed paths:
    M llvm/unittests/Support/KnownBitsTest.h

  Log Message:
  -----------
  [KnownBits] Speed up ForeachKnownBits in unit test. NFC. (#94939)

Use fast unsigned arithmetic before constructing an APInt. This gives
me a ~2x speed up when running this in my Release+Asserts build:

$ unittests/Support/SupportTests
--gtest_filter=KnownBitsTest.*Exhaustive


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

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/fold-int-pow2-with-fmul-or-fdiv.ll

  Log Message:
  -----------
  [AMDGPU] Remove unused checks left over from X86


  Commit: 415a82c64afa0047383caf471aa872fdb0e2658d
      https://github.com/llvm/llvm-project/commit/415a82c64afa0047383caf471aa872fdb0e2658d
  Author: Clement Courbet <courbet at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
    M clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-copy-initialization.cpp
    M clang-tools-extra/unittests/clang-tidy/DeclRefExprUtilsTest.cpp

  Log Message:
  -----------
  [clang-tidy] `doesNotMutateObject`: Handle calls to member functions … (#94362)

…and operators that have non-const overloads.

This allows  `unnecessary-copy-initialization` to warn on more cases.

The common case is a class with a a set of const/non-sconst overloads
(e.g. std::vector::operator[]).

```
void F() {
  std::vector<Expensive> v;
  // ...

  const Expensive e = v[i];
}
```


  Commit: 317ed770e3ad4ac663ad4d95c644e83347b78fa4
      https://github.com/llvm/llvm-project/commit/317ed770e3ad4ac663ad4d95c644e83347b78fa4
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/vector-alloca-bitcast.ll

  Log Message:
  -----------
  [AMDGPU] Fix typos in GCN-PROMOTE check prefix


  Commit: 81469a2ee804778185e177314314f637bcb026c9
      https://github.com/llvm/llvm-project/commit/81469a2ee804778185e177314314f637bcb026c9
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M flang/lib/Optimizer/Builder/HLFIRTools.cpp
    M flang/test/Lower/HLFIR/assumed-rank-inquiries-2.f90
    M flang/test/Lower/HLFIR/assumed-rank-inquiries.f90
    M flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
    M flang/test/Lower/HLFIR/select-rank.f90

  Log Message:
  -----------
  [flang] use hlfir base when translating assumed-rank entity to fir::ExtendedValue (#94822)

The hlfir::Entity to fir::ExtendedValue conversion usually uses the "fir
base" output of hlfir.declare (which is the same as the input) to avoid
introducing temporary descriptors for the sole purpose of introducing
updating lower bound information. This is possible because local lower
bounds, if any, are tracked in a vector inside the fir::ExtendedValue.

With assumed-ranks, the lower bounds cannot be tracked inside the
fir::ExtendedValue vector (their numbers is unknown at compile time).
Hence, the fir.box/fir.class used in fir::ExtendedValue in lowering must
always contain accurate local lower bound information.


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

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

  Log Message:
  -----------
  [flang][Transforms][NFC] reduce boilerplate in func attr pass (#94739)

Use tablegen to automatically create the pass constructor.

The purpose of this pass is to add attributes to functions, so it
doesn't need to work on other top level operations.


  Commit: ae9d89d53e64bad514171c99f16d553febfbac12
      https://github.com/llvm/llvm-project/commit/ae9d89d53e64bad514171c99f16d553febfbac12
  Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
    M clang/test/SemaCXX/constant-expression-cxx14.cpp
    A clang/test/SemaCXX/constexpr-return-non-void-cxx2b.cpp

  Log Message:
  -----------
  [Clang][C++23] update constexpr diagnostics for missing return statements per P2448 (#94123)

Fixes #92583


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

  Changed paths:
    M llvm/unittests/Support/KnownBitsTest.h

  Log Message:
  -----------
  [KnownBits] Speed up conflict handling in ForeachKnownBits in unit test. (#94943)

Exit early if known bits have a conflict. This gives me a ~15% speed up
when running this in my Release+Asserts build:

$ unittests/Support/SupportTests
--gtest_filter=KnownBitsTest.*Exhaustive


  Commit: 8dc8b9f168f283beed02867f0917b62f1e2c4a4b
      https://github.com/llvm/llvm-project/commit/8dc8b9f168f283beed02867f0917b62f1e2c4a4b
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M flang/test/Lower/OpenMP/function-filtering-2.f90

  Log Message:
  -----------
  [flang][OpenMP] Fix unused prefixes in function-filtering-2 test (#94330)

Co-authored-by: Andrew Gozillon <Andrew.Gozillon at amd.com>


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

  Changed paths:
    M libcxx/include/__chrono/time_zone.h
    M libcxx/include/chrono
    A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_local.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_local.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Implements time_zone::to_local. (#91003)

Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones


  Commit: fe0dee4df05e2e0497385e2de73a510b9156e1f4
      https://github.com/llvm/llvm-project/commit/fe0dee4df05e2e0497385e2de73a510b9156e1f4
  Author: David Green <david.green at arm.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/AArch64/neon-extmul.ll

  Log Message:
  -----------
  [AArch64] Add tests for extending mul. NFC


  Commit: 8b7e836570b29d3bc89731c5af91c847e3fc5c71
      https://github.com/llvm/llvm-project/commit/8b7e836570b29d3bc89731c5af91c847e3fc5c71
  Author: Gil Rapaport <gil.rapaport at mobileye.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M mlir/lib/Conversion/SCFToEmitC/SCFToEmitC.cpp
    M mlir/test/Conversion/SCFToEmitC/for.mlir
    M mlir/test/Target/Cpp/for.mlir

  Log Message:
  -----------
  [mlir][emitc] Remove copy from scf.for lowering (#94898)

Remove the copy into fresh variables done when lowering scf.for into
emitc.for and use the variables carrying the init and iter values as
the loop's results.


  Commit: 5c268cfaae521dc2db1af58085e3c8d66a5533fe
      https://github.com/llvm/llvm-project/commit/5c268cfaae521dc2db1af58085e3c8d66a5533fe
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [Clang] Extend EmitPseudoVariable to support debug records (#94956)

CGDebugInfo::EmitPseudoVariable currently uses detailed logic to exactly
collect llvm.dbg.declare users of an alloca. This patch replaces this
with an LLVM function for finding debug declares intrinsics and also
adds the same for debug records, simplifying the code and adding record
support.

No tests added in this commit because it is NFC for intrinsics, and
there is no way to make clang emit records directly yet - one of the
existing tests however will switch to covering debug records once
https://github.com/llvm/llvm-project/pull/89799 relands.


  Commit: d319fc41d0e35bfea8368ad91dc15ab319cddcb7
      https://github.com/llvm/llvm-project/commit/d319fc41d0e35bfea8368ad91dc15ab319cddcb7
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.h
    M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.td
    M mlir/lib/Dialect/ArmSME/Transforms/EnableArmStreaming.cpp
    A mlir/test/Dialect/ArmSME/enable-arm-streaming-invalid.mlir
    M mlir/test/Dialect/ArmSME/enable-arm-streaming.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/multi-tile-matmul-mixed-types.mlir
    M mlir/test/lib/Dialect/ArmSME/TestLowerToArmSME.cpp

  Log Message:
  -----------
  [mlir][ArmSME] Add option to only enable streaming mode for scalable code (#94759)

This adds a new option
`-enable-arm-streaming=if-contains-scalable-vectors`, which only applies
the selected streaming/ZA modes if the function contains scalable vector
types.

As a NFC this patch also removes the `only-` prefix from the
`if-required-by-ops` mode.


  Commit: 18ec885a26049264a56714f234c086eec2df68db
      https://github.com/llvm/llvm-project/commit/18ec885a26049264a56714f234c086eec2df68db
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/docs/TableGen/BackGuide.rst
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    M llvm/test/Analysis/UniformityAnalysis/AMDGPU/llvm.amdgcn.buffer.atomic.ll
    M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
    M llvm/test/CodeGen/AMDGPU/buffer-schedule.ll
    R llvm/test/CodeGen/AMDGPU/fail-select-buffer-atomic-fadd.ll
    R llvm/test/CodeGen/AMDGPU/force-store-sc0-sc1.ll
    M llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.csub.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.fadd.gfx90a.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.fadd.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.atomic.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.dwordx3.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.format.d16.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.format.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.dwordx3.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.d16.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.sc.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.vol.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.tbuffer.store.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.d16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.dwordx3.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.d16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.dwordx3.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.ll
    M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
    M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-simplify-image-buffer-stores.ll
    M llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll

  Log Message:
  -----------
  [RFC][AMDGPU] Remove old llvm.amdgcn.buffer.* and tbuffer intrinsics (#93801)

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


  Commit: bc022b406d094d3c7b6d04c97b8bcf3109c6d74e
      https://github.com/llvm/llvm-project/commit/bc022b406d094d3c7b6d04c97b8bcf3109c6d74e
  Author: Janek van Oirschot <janek.vanoirschot at amd.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [AMDGPU] Support SIProgramInfo MCExpr for comments and remarks (#94350)

Eliminates assumption that MCExpr comments/remarks being emitted are
always resolvable


  Commit: bddd8eae17df6511aee789744ccdc158de817081
      https://github.com/llvm/llvm-project/commit/bddd8eae17df6511aee789744ccdc158de817081
  Author: Fabio D'Urso <fdurso at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp

  Log Message:
  -----------
  Revert "[scudo] Apply filling when realloc shrinks and re-grows a block in-place (#93212)"

This reverts commit 760d880ea602117aa2e6bba4cf31069f09225b4b.

It broke https://lab.llvm.org/buildbot/#/builders/169/builds/32309


  Commit: 346bd917929fa89dfe00d999effcde7ee3d8d4a7
      https://github.com/llvm/llvm-project/commit/346bd917929fa89dfe00d999effcde7ee3d8d4a7
  Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M mlir/lib/Conversion/FuncToEmitC/FuncToEmitC.cpp
    M mlir/test/Conversion/FuncToEmitC/func-to-emitc.mlir

  Log Message:
  -----------
  [mlir][EmitC] Fix call ops with zero arguments in func to emitc conversion (#94936)


  Commit: 4f111198d45481eb3b89d76f93d0bba6fe13f2b2
      https://github.com/llvm/llvm-project/commit/4f111198d45481eb3b89d76f93d0bba6fe13f2b2
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/unittests/Support/KnownBitsTest.cpp

  Log Message:
  -----------
  [KnownBits] re-introduce RefinePosionToZero in unittest (#94848)

Context: https://github.com/llvm/llvm-project/pull/94568/files#r1631349423

- Reintroduce the RefinePositionToZero path in the unittest.
- Adjust some inline function argument hints to match the same style.


  Commit: c5aeca732d1ff6769b0659efebd1cfb5f60487e4
      https://github.com/llvm/llvm-project/commit/c5aeca732d1ff6769b0659efebd1cfb5f60487e4
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/test/CodeGen/instrument-objc-method.m
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/AsmParser/LLParser.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/IR/DebugProgramInstruction.cpp
    M llvm/lib/IR/Function.cpp
    M llvm/lib/IR/Module.cpp
    M llvm/tools/llvm-as/llvm-as.cpp
    M llvm/tools/llvm-dis/llvm-dis.cpp
    M llvm/tools/llvm-link/llvm-link.cpp
    M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
    M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
    M llvm/unittests/IR/DebugInfoTest.cpp
    M llvm/unittests/IR/IRBuilderTest.cpp
    M llvm/unittests/IR/InstructionsTest.cpp
    M llvm/unittests/IR/ValueTest.cpp
    M llvm/unittests/Transforms/Utils/CloningTest.cpp
    M llvm/unittests/Transforms/Utils/LocalTest.cpp

  Log Message:
  -----------
  Reapply#3 "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"

Reapplies commit 91446e2, which was reverted due to a downstream error,
discussed on the pull request. The error could not be reproduced
upstream, and cannot be reproduced downstream as-of current main, so
until the error can be confirmed to still exist this patch should
return.

This reverts commit 23f8fac745bdde70ed4f9c585d19c4913734f1b8.


  Commit: 2e4c06780c14a9c8445129bdbcd15ceaf25e7ecd
      https://github.com/llvm/llvm-project/commit/2e4c06780c14a9c8445129bdbcd15ceaf25e7ecd
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll

  Log Message:
  -----------
  [LV] Add extra X86 cost tests for any_of reduction and multi-exit loops.

Add extra test coverage to ensure decisions do not change when
transitioning to a VPlan-based cost model.


  Commit: 21396be865b4640abf6afa0b05de6708a1a996e0
      https://github.com/llvm/llvm-project/commit/21396be865b4640abf6afa0b05de6708a1a996e0
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M flang/test/Transforms/debug-local-var-2.f90

  Log Message:
  -----------
  [Flang] Update test to not check for tail calls on debug intrinsics

The recently landed commit c5aeca73 causes debug records to be used by
default; while this mostly has no direct effect on output, one side
effect is that intrinsics are deleted and recreated in memory, which
can change certain properties. This broke a test that expected `tail`
to be set on some debug intrinsics; as this property has no effect on
debug intrinsics, this patch removes the expectation.

Committed without review due to being a trivial test update; if this
needs discussion, see review:
  https://github.com/llvm/llvm-project/pull/89799


  Commit: 291b415c6c39156c82c7cdefd7a6a67657fb6927
      https://github.com/llvm/llvm-project/commit/291b415c6c39156c82c7cdefd7a6a67657fb6927
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Passes/StandardInstrumentations.h
    M llvm/include/llvm/Support/GenericDomTreeConstruction.h
    M llvm/include/llvm/Transforms/Scalar/JumpThreading.h
    M llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
    M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp

  Log Message:
  -----------
  [Misc] Use `LLVM_ENABLE_ABI_BREAKING_CHECKS` correctly (#94212)

`LLVM_ENABLE_ABI_BREAKING_CHECKS` is always defined:

https://github.com/llvm/llvm-project/blob/72c901f5e59477e568b1b04dae9de753b9d1f6f3/llvm/include/llvm/Config/abi-breaking.h.cmake#L16C2-L16C15
It uses `cmakedefine01` rather than `cmakedefine`, so
`LLVM_ENABLE_ABI_BREAKING_CHECKS` is always defined,
so the preprocessed code is probably not what the author wanted.


  Commit: a1c29df5725fc043291258a3af732a72a39b6902
      https://github.com/llvm/llvm-project/commit/a1c29df5725fc043291258a3af732a72a39b6902
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [AMDGPU] Fix -Wunused-variable in AMDGPUAsmPrinter.cpp (NFC)

/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp:653:13:
error: unused variable 'PGMRSrc3' [-Werror,-Wunused-variable]
    int64_t PGMRSrc3;
            ^
1 error generated.


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

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/c23.rst
    M libc/docs/math/index.rst
    M libc/spec/spec.td
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/ManipulationFunctions.h
    M libc/src/__support/FPUtil/NormalFloat.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/frexpf16.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/frexpf16.cpp
    A libc/src/math/generic/ilogbf16.cpp
    A libc/src/math/generic/llogbf16.cpp
    A libc/src/math/generic/logbf16.cpp
    A libc/src/math/generic/modff16.cpp
    A libc/src/math/ilogbf16.h
    A libc/src/math/llogbf16.h
    A libc/src/math/logbf16.h
    A libc/src/math/modff16.h
    M libc/test/src/math/smoke/CMakeLists.txt
    M libc/test/src/math/smoke/FrexpTest.h
    M libc/test/src/math/smoke/ILogbTest.h
    M libc/test/src/math/smoke/LogbTest.h
    M libc/test/src/math/smoke/ModfTest.h
    A libc/test/src/math/smoke/frexpf16_test.cpp
    A libc/test/src/math/smoke/ilogbf16_test.cpp
    A libc/test/src/math/smoke/llogbf16_test.cpp
    A libc/test/src/math/smoke/logbf16_test.cpp
    A libc/test/src/math/smoke/modff16_test.cpp

  Log Message:
  -----------
  [libc][math][c23] Add {frexp,ilogb,llogb,logb,modf}f16 C23 math functions (#94758)

Part of #93566.


  Commit: dabd6349f7bbcc2c1fc1354f97a3475a9dcc9e2a
      https://github.com/llvm/llvm-project/commit/dabd6349f7bbcc2c1fc1354f97a3475a9dcc9e2a
  Author: Andreas Jonson <andjo403 at hotmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [LVI] Remove unused get of Range metadata (#94914)

There is no test for this code and it also do not change the result of
https://github.com/dtcxzyw/llvm-opt-benchmark when I run it locally.
I have not been able to make a test for this and do not know how to
handle the range attribute for this so maybe it shall be removed?


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

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

  Log Message:
  -----------
  [libc][math][c23] Temporarily disable modff16 on AArch64 (#94972)

See Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/138/builds/67428.


  Commit: 2cf14398c9341feddb419e7ff9c8c5623a3da3db
      https://github.com/llvm/llvm-project/commit/2cf14398c9341feddb419e7ff9c8c5623a3da3db
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

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

The dependency expansion step which was introduced by FMV has been
erroneously used for non-FMV features, for example when parsing the
target attribute. The PR #93695 has rectified most of the tests which
were relying on dependency expansion of target features specified on the
-cc1 command line. In this patch I am decoupling the dependency
expansion of features specified on the target attribute from FMV.

To do that first I am expanding FMV dependencies before passing the list
of target features to initFeatureMap(). Similarly when parsing the
target attribute I am reconstructing an ExtensionSet from the list of
target features which was created during the command line option
parsing. The attribute parsing may toggle bits of that ExtensionSet and
at the end it is converted to a list of target features. Those are
passed to initFeatureMap(), which no longer requires an override.

A side effect of this refactoring is that features specified on the
target_version attribute now supersede the command line options, which
is what should be happening in the first place.


  Commit: e36c8dca38ae30e4cf22a39ff32a050e110a2247
      https://github.com/llvm/llvm-project/commit/e36c8dca38ae30e4cf22a39ff32a050e110a2247
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Frontend/Directive/DirectiveBase.td
    M llvm/include/llvm/Frontend/OpenACC/ACC.td
    M llvm/include/llvm/Frontend/OpenMP/OMP.td
    M llvm/include/llvm/TableGen/DirectiveEmitter.h
    M llvm/test/TableGen/directive1.td
    M llvm/test/TableGen/directive2.td
    M llvm/utils/TableGen/DirectiveEmitter.cpp

  Log Message:
  -----------
  [Frontend] Introduce `getDirectiveCategory` for ACC/OMP directives (#94689)

The categories are primarily meant for OpenMP, where the spec assigns a
category to each directive. It's one of declarative, executable,
informational, meta, subsidiary, and utility.

These will be used in clang to avoid listing directives belonging to
certain categories by hand.

---------

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


  Commit: 97cfe549c9a9ec3880c984bd4d2ddbbd92dcb9a0
      https://github.com/llvm/llvm-project/commit/97cfe549c9a9ec3880c984bd4d2ddbbd92dcb9a0
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [gn build] port 77116bd7d268


  Commit: 3f6fe4efbef610c306eb6c71d6f0428fb6d7ad68
      https://github.com/llvm/llvm-project/commit/3f6fe4efbef610c306eb6c71d6f0428fb6d7ad68
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/TemplateBase.h
    M clang/include/clang/AST/TemplateName.h
    M clang/lib/AST/ASTDumper.cpp
    M clang/lib/AST/TemplateBase.cpp
    M clang/lib/AST/TemplateName.cpp

  Log Message:
  -----------
  [clang] NFCI: improve TemplateArgument and TemplateName dump methods (#94905)

These will work as AST Text node dumpers, as usual, instead of AST
printers.

Note that for now, the TemplateName dumper is using the TemplateArgument
dumper through an implicit conversion.
This can be fixed in a later pass.


  Commit: 88184e5060d7b5b38f9a5671b52318eb101444d0
      https://github.com/llvm/llvm-project/commit/88184e5060d7b5b38f9a5671b52318eb101444d0
  Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M libcxx/include/__format/escaped_output_table.h
    M libcxx/include/__format/width_estimation_table.h
    M libcxx/utils/generate_escaped_output_table.py
    M libcxx/utils/generate_width_estimation_table.py

  Log Message:
  -----------
  [libc++] Fix invalid escape sequences in Python comments (#94032)


  Commit: 1b13bc05fe4a3b7b4916387543f0a64d41909e83
      https://github.com/llvm/llvm-project/commit/1b13bc05fe4a3b7b4916387543f0a64d41909e83
  Author: Tomas Matheson <tomas.matheson at arm.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/lib/AST/CMakeLists.txt

  Log Message:
  -----------
  [AArch64] fix Windows buildbot failure

Introduced by 2cf14398c9341feddb419e7ff9c8c5623a3da3db (#94279).
See also 6c369cf937b7d9acb98a1fc46b1340cef7703e12.
The build system cannot track transitive dependencies on generated
headers for some reason.


  Commit: 88ff2463ea9a8fb29e3981cabfa007e63bdd7317
      https://github.com/llvm/llvm-project/commit/88ff2463ea9a8fb29e3981cabfa007e63bdd7317
  Author: Stephan T. Lavavej <stl at nuwen.net>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/default.pass.cpp
    M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/default.pass.cpp
    M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/default.pass.cpp

  Log Message:
  -----------
  [libc++][test] Avoid `-Wunused-variable` warnings in mutex tests (#94907)

After enhancing MSVC's STL to statically initialize our condition_variable,
Clang began noticing that some mutexes in the test suite were unused.


  Commit: 6b21e170497ae69a387ff3eebae025926742bb84
      https://github.com/llvm/llvm-project/commit/6b21e170497ae69a387ff3eebae025926742bb84
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/ManipulationFunctions.h
    M libc/src/__support/big_int.h
    M libc/test/src/__support/FPUtil/CMakeLists.txt
    M libc/test/src/__support/FPUtil/dyadic_float_test.cpp
    M libc/test/src/__support/big_int_test.cpp

  Log Message:
  -----------
  [libc] Add WordTypeSelector<16> specialization (#94979)


  Commit: 53d2f4d967838468423715178a8344739d7a63c9
      https://github.com/llvm/llvm-project/commit/53d2f4d967838468423715178a8344739d7a63c9
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaCUDA.cpp
    A clang/test/SemaCUDA/function-redclare.cu
    M llvm/docs/CompileCudaWithLLVM.rst

  Log Message:
  -----------
  [CUDA][HIP] warn incompatible redeclare (#77359)

nvcc warns about the following code:

`void f();
__device__ void f() {}`

but clang does not since clang allows device function to overload host
function.

Users want clang to emit similar warning to help code to be compatible
with nvcc.

Since this may cause regression with existing code, the warning is off
by default and can be enabled by -Wnvcc-compat.

It won't cause warning in system headers, even with -Wnvcc-compat.


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

  Changed paths:
    M llvm/include/llvm/Passes/StandardInstrumentations.h
    M llvm/include/llvm/Support/GenericDomTreeConstruction.h
    M llvm/include/llvm/Transforms/Scalar/JumpThreading.h
    M llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
    M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp

  Log Message:
  -----------
  Revert 291b415c6c39156c82c7cdefd7a6a67657fb6927 : [Misc] Use `LLVM_ENABLE_ABI_BREAKING_CHECKS` correctly (#94212)

The patch didn't consistently clean up `#ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS` and '#if defined(LLVM_ENABLE_ABI_BREAKING_CHECKS)' paths, causing a lot of build failures


  Commit: e8f582b660177011b0fcf4569032ab54b18b7f6f
      https://github.com/llvm/llvm-project/commit/e8f582b660177011b0fcf4569032ab54b18b7f6f
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  Restore 'REQUIRES: shell' for some tests after 878deae

Otherwise these tests would fail when using gnuwin32.


  Commit: 141bdf0c2dc12936f4efa5f432646fd1e57a32fc
      https://github.com/llvm/llvm-project/commit/141bdf0c2dc12936f4efa5f432646fd1e57a32fc
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:

  Log Message:
  -----------
  Revert "[Misc] Use `LLVM_ENABLE_ABI_BREAKING_CHECKS` correctly" (#94982)

Reverts llvm/llvm-project#94212
Some codes assume that `NDEBUG` implies
`LLVM_ENABLE_ABI_BREAKING_CHECKS`, thus #94212 breaks some build bots.


  Commit: e19199bd9c9146a79673d2c7fb7b09d1f91a77af
      https://github.com/llvm/llvm-project/commit/e19199bd9c9146a79673d2c7fb7b09d1f91a77af
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/docs/RemoveDIsDebugInfo.md

  Log Message:
  -----------
  [RemoveDIs] Update migration doc to explain how to handle textual IR updates (#91725)

Related review: https://github.com/llvm/llvm-project/pull/91724

This patch updates the RemoveDIs migration document to include details
on the textual IR changes, including steps to update any downstream lit
tests accordingly. These steps are the same as those used to update the
lit tests in the LLVM/Clang lit tests, as detailed in the review linked
above.


  Commit: 73d90412541983b817296712669fe1b134105d56
      https://github.com/llvm/llvm-project/commit/73d90412541983b817296712669fe1b134105d56
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.atomic.fadd.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.atomic.fadd.ll

  Log Message:
  -----------
  AMDGPU: Fix using useless cachepolicy argument in buffer atomic test

This was probably intended to test the immediate offset addressing
mode. Add some tests to check immediate offsets, and clean up run lines.


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

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.atomic.fadd.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.atomic.fadd.ll

  Log Message:
  -----------
  AMDGPU: Simplify some tests by not using amdgpu_ps

Since inreg now works for the default calling convention, we can
check the output with fewer argument shuffling instructions.


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

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

  Log Message:
  -----------
  [libc][math][c23] Temporarily disable float16 on RISC-V (#94984)

See Buildbot failures:

- https://lab.llvm.org/buildbot/#/builders/257/builds/13450
- https://lab.llvm.org/buildbot/#/builders/256/builds/14531


  Commit: fe1301b5d846e96655ae6981789f677de6c7572d
      https://github.com/llvm/llvm-project/commit/fe1301b5d846e96655ae6981789f677de6c7572d
  Author: Alastair Houghton <ahoughton at apple.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M libunwind/test/floatregister.pass.cpp
    M libunwind/test/forceunwind.pass.cpp
    M libunwind/test/signal_unwind.pass.cpp
    M libunwind/test/unwind_leaffunction.pass.cpp

  Log Message:
  -----------
  [libunwind] Tweak tests for musl support. (#85097)

We can't use `dladdr()` in the tests, because when we're statically
linking with musl that function is a no-op.

Additionally, because musl disables emission of unwind information in
its build, and because its signal trampolines don't include unwind
information, tests that involve unwinding through a signal handler won't
work and need to be disabled for musl.

rdar://123436891


  Commit: 11a944c50aaee6dc73db620588f16a051e2748be
      https://github.com/llvm/llvm-project/commit/11a944c50aaee6dc73db620588f16a051e2748be
  Author: Dmitry Chernenkov <dmitryc at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel

  Log Message:
  -----------
  [bazel][libc]Fix test bazel for 6b21e17049


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.bf16.xfail.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.xfail.ll

  Log Message:
  -----------
  AMDGPU: Do not assert on v6x16 buffer load intrinsics (#94966)

Just use the original type and let it hit a standard legalization error.


  Commit: f26bc5f0c421c7a01a1a611249dd7483b749bab5
      https://github.com/llvm/llvm-project/commit/f26bc5f0c421c7a01a1a611249dd7483b749bab5
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    A llvm/test/Transforms/InstCombine/ldexp-zext.ll

  Log Message:
  -----------
  [InstCombine] fold `ldexp(x, zext(i1 y))` to `fmul x, (select y, 2.0, 1.0)` (#94887)

close: #92538


  Commit: aa486ec39c3b4d641ecdc5f4a07e801963920022
      https://github.com/llvm/llvm-project/commit/aa486ec39c3b4d641ecdc5f4a07e801963920022
  Author: Karl-Johan Karlsson <karl-johan.karlsson at ericsson.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/test/OpenMP/error_unsupport_feature.c

  Log Message:
  -----------
  [test][OpenMP] Avoid writing to a potentially write-protected dir (#94931)

The test clang/test/OpenMP/error_unsupport_feature.c don't check the
output written to the current directory. The current directory may be
write protected e.g. in a sandboxed environment.

This patch replace the -emit-llvm option with -emit-llvm-only as it
don't care about the outputed llvm IR.


  Commit: 58550a793870c3223d0961bfb02854e159e6e759
      https://github.com/llvm/llvm-project/commit/58550a793870c3223d0961bfb02854e159e6e759
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.atomic.csub.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.atomic.fadd.gfx90a.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.atomic.fadd.ll

  Log Message:
  -----------
  [AMDGPU] Restore non-buffer atomic tests lost in #93801 (#94978)


  Commit: 3e39328b62f2932c082496dd2471a9064dbff878
      https://github.com/llvm/llvm-project/commit/3e39328b62f2932c082496dd2471a9064dbff878
  Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M lldb/test/API/functionalities/target-new-solib-notifications/Makefile
    M lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py
    A lldb/test/API/functionalities/target-new-solib-notifications/a.cpp
    A lldb/test/API/functionalities/target-new-solib-notifications/b.cpp
    A lldb/test/API/functionalities/target-new-solib-notifications/c.cpp
    A lldb/test/API/functionalities/target-new-solib-notifications/d.cpp
    M lldb/test/API/functionalities/target-new-solib-notifications/main.cpp

  Log Message:
  -----------
  [lldb] Fix TestModuleLoadedNotifys API test to work correctly on most of Linux targets (#94672)

The different build configuration and target Linux system can load a
different number of .so libraries. Add and check own libraries.


  Commit: 472291111d9135961305afebe4e283e3e4e7eebc
      https://github.com/llvm/llvm-project/commit/472291111d9135961305afebe4e283e3e4e7eebc
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/Transforms/Passes.td
    M mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
    M mlir/test/Dialect/Arith/int-range-interface.mlir
    M mlir/test/Dialect/Arith/int-range-opts.mlir
    M mlir/test/Dialect/GPU/int-range-interface.mlir
    M mlir/test/Dialect/Index/int-range-inference.mlir
    M mlir/test/Interfaces/InferIntRangeInterface/infer-int-range-test-ops.mlir
    M mlir/test/lib/Transforms/CMakeLists.txt
    R mlir/test/lib/Transforms/TestIntRangeInference.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir][Arith] Generalize and improve -int-range-optimizations (#94712)

When the integer range analysis was first develop, a pass that did
integer range-based constant folding was developed and used as a test
pass. There was an intent to add such a folding to SCCP, but that hasn't
happened.

Meanwhile, -int-range-optimizations was added to the arith dialect's
transformations. The cmpi simplification in that pass is a strict subset
of the constant folding that lived in
-test-int-range-inference.

This commit moves the former test pass into -int-range-optimizaitons,
subsuming its previous contents. It also adds an optimization from
rocMLIR where `rem{s,u}i` operations that are noops are replaced by
their left operands.


  Commit: 7683a16dbf4b676236c7698680de92d6510c2399
      https://github.com/llvm/llvm-project/commit/7683a16dbf4b676236c7698680de92d6510c2399
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/NormalFloat.h
    M libc/src/math/CMakeLists.txt
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/remainderf16.cpp
    A libc/src/math/generic/remquof16.cpp
    A libc/src/math/remainderf16.h
    A libc/src/math/remquof16.h
    M libc/test/src/math/smoke/CMakeLists.txt
    M libc/test/src/math/smoke/RemQuoTest.h
    A libc/test/src/math/smoke/remquof16_test.cpp

  Log Message:
  -----------
  [libc][math][c23] Add {remainder,remquo}f16 C23 math functions (#94773)

Part of #93566.


  Commit: cb3ff9a3936d31c986fbfa5757c09e585669dc1e
      https://github.com/llvm/llvm-project/commit/cb3ff9a3936d31c986fbfa5757c09e585669dc1e
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [clang][OpenMP][NFC] Remove unnecessary nullptr check (#94680)

Static verifier reports unchecked use of pointer after explicitly
checking earlier in the function. It appears the pointer won't be a
nullptr, so remove the unneeded check for consistency.


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

  Changed paths:
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__chrono/zoned_time.h
    M libcxx/include/chrono
    M libcxx/include/module.modulemap
    M libcxx/modules/std/chrono.inc
    M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtraits/const_time_zone_default_zone.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtraits/const_time_zone_locate_zone.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtraits/types.compile.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Implements zoned_traits. (#91059)

Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones


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

  Changed paths:
    M clang/unittests/Interpreter/InterpreterTest.cpp

  Log Message:
  -----------
  [clang][test] Update link for Arm clang-repl test disable

The original bug is legitimate UB, but this is in the clang constant
expression interpreter, not clang-repl.

https://github.com/llvm/llvm-project/issues/94994 covers investigation
of this specific bug in clang-repl.


  Commit: c8f0e976235c812955c5ff935886f8a1b9088500
      https://github.com/llvm/llvm-project/commit/c8f0e976235c812955c5ff935886f8a1b9088500
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [gn build] Port 151bd7cab4fc


  Commit: 65d300989b1cdf84f518af1f46b6c7ba93ecd17c
      https://github.com/llvm/llvm-project/commit/65d300989b1cdf84f518af1f46b6c7ba93ecd17c
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [OpenMP][NFC] Fix argument order of SourceLocations for allocate clause (#94777)

Static verifier caught passing ColonLoc/LParenLoc in wrong order. Marked
as NFC since these don't seem to be used for anything currently that I
can think to test for.


  Commit: f11e08fb26642fddebdefca5bec933fe39e4bd03
      https://github.com/llvm/llvm-project/commit/f11e08fb26642fddebdefca5bec933fe39e4bd03
  Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    A flang/test/Lower/loops3.f90

  Log Message:
  -----------
  [flang] Generate fir.do_loop reduce from DO CONCURRENT REDUCE clause (#94718)

Derived from #92480. This PR updates the lowering process of DO
CONCURRENT to support F'2023 REDUCE clause. The structure
`IncrementLoopInfo` is extended to have both reduction operations and
symbols in `reduceSymList`. The function `getConcurrentControl`
constructs `reduceSymList` for the innermost loop. Finally,
`genFIRIncrementLoopBegin` builds `fir.do_loop` with reduction operands.


  Commit: 97159a378cf294a3f4979ecc138432a322bbeadb
      https://github.com/llvm/llvm-project/commit/97159a378cf294a3f4979ecc138432a322bbeadb
  Author: Dmitry Chernenkov <dmitryc at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [mlir][Bazel] Fix for 4722911


  Commit: e7d569a0faa833623af59d4eab5d6277ce031d9e
      https://github.com/llvm/llvm-project/commit/e7d569a0faa833623af59d4eab5d6277ce031d9e
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [flang] Fix copy creation in #94718


  Commit: 39f09e8dcd9ceff5c5030ede6393155782b7cdad
      https://github.com/llvm/llvm-project/commit/39f09e8dcd9ceff5c5030ede6393155782b7cdad
  Author: Tomas Matheson <Tomas.Matheson at arm.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/test/Driver/aarch64-mac-cpus.c
    M clang/test/Preprocessor/aarch64-target-features.c
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/Target/AArch64/AArch64Processors.td
    M llvm/test/DebugInfo/debug_frame_symbol.ll
    M llvm/test/Instrumentation/AddressSanitizer/calls-only-smallfn.ll
    M llvm/test/Instrumentation/AddressSanitizer/calls-only.ll
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [AArch64] set A14/M1 architecture version to v8.4-a (#92600)

According to the Apple Silicon Optimization Guide, these are 8.4 with
all features of 8.5 except BTI.


  Commit: d9593c1edd7add74564cf950cd209fc35f5261b6
      https://github.com/llvm/llvm-project/commit/d9593c1edd7add74564cf950cd209fc35f5261b6
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Fix a bug in indenting lambda trailing arrows (#94560)

Closes #94181


  Commit: 18658dbc0d39d829fbf7d1ab1b4b5e9b5a01420b
      https://github.com/llvm/llvm-project/commit/18658dbc0d39d829fbf7d1ab1b4b5e9b5a01420b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Remove stale comments. NFC (#94925)

We no longer have _TU pseudo instructions.

I'm not sure if we have any unsuffixed instructions w/o mask w/ passthru
w/o policy operand. That case is not covered by the earlier comments. I
could not find any from a quick audit.


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

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsRISCV.td

  Log Message:
  -----------
  [RISCV] Use DefaultAttrsIntrinsic for some vector intrinsics. (#94819)

This adds IntrWillReturn, IntrNoSync, IntrNoFree, and IntrNoCallback.
The IntrWillReturn is needed to make the intrinsic eligible for being
dead code eliminated if they are unused.

We already use this for most intrinsics. I wonder if the rounding mode
intrinsics were in review when the other intrinsics were changed to
DefaultAttrsIntrinsic.


  Commit: 8788b666aaaf4658bbaab7459968ba2bca13f529
      https://github.com/llvm/llvm-project/commit/8788b666aaaf4658bbaab7459968ba2bca13f529
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/LTO/X86/triple-init2.ll
    M llvm/test/Transforms/InstCombine/exp2-1.ll
    M llvm/test/Transforms/InstCombine/exp2-to-ldexp.ll
    M llvm/test/Transforms/InstCombine/pow-to-ldexp.ll

  Log Message:
  -----------
  SimplifyLibCalls: Don't require ldexp to emit intrinsic in exp2 combine (#92707)

When folding exp2(itofp(x)) to ldexp(1, x), don't require an ldexp
libcall to emit the intrinsic.

The intrinsic needs to be handled regardless of whether the system has a
libcall, and we have an inline implementation of ldexp already. This
fixes the instance in the exp2->ldexp fold. Another instance exists for
the pow(2) -> ldexp case

The LTO test change isn't ideal, since it's just moving the problem to
another instance where we're relying on implied libm behavior for an
intrinsic transform. Use exp10 since that's a harder case to solve in
the libcall house of cards we have.


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

  Changed paths:
    M llvm/utils/lit/tests/xunit-output.py

  Log Message:
  -----------
  [lit] Skip xunit test on Windows only (#94980)

This test works on Linux with lit's internal shell. It fails on Windows
because sh is not available.


  Commit: 1b21b9728e3855cc2382cc206da2fd58cdb1313d
      https://github.com/llvm/llvm-project/commit/1b21b9728e3855cc2382cc206da2fd58cdb1313d
  Author: Angel Zhang <angel.zhang at amd.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    A mlir/test/Conversion/IndexToSPIRV/index-to-spirv.mlir
    R mlir/test/Conversion/IndexToSPRIV/index-to-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv] Fix typo in IndexToSPIRV tests directory name (#95005)


  Commit: a30ef38cd455d500680fea8afdc824b4983fa981
      https://github.com/llvm/llvm-project/commit/a30ef38cd455d500680fea8afdc824b4983fa981
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/tools/clang-repl/CMakeLists.txt

  Log Message:
  -----------
  [clang-repl] Always do export_executable_symbols_for_plugins(clang-repl)

It's needed to make clang-repl work in -DCLANG_PLUGIN_SUPPORT=OFF
configured builds (at least on mac). See discussion on
https://github.com/llvm/llvm-project/pull/89811


  Commit: b0822af06d5384cd79b8b9280fe5f1065cdd2213
      https://github.com/llvm/llvm-project/commit/b0822af06d5384cd79b8b9280fe5f1065cdd2213
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
    M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-half.ll

  Log Message:
  -----------
  [GISel][RISCV] Anyextend before copying f16 -> i32/i64 (#94993)

Fixes type check failure in
https://github.com/llvm/llvm-project/pull/94110#issuecomment-2158417937


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

  Changed paths:
    M llvm/test/CodeGen/X86/abs.ll

  Log Message:
  -----------
  [X86] Add abs tests that check for MIN_SIGNED_INT cases

Additional multi-use tests for #94948


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

  Changed paths:
    M llvm/test/Transforms/InstCombine/2008-05-31-AddBool.ll
    M llvm/test/Transforms/InstCombine/2008-05-31-Bools.ll

  Log Message:
  -----------
  [InstCombine] Regenerate some old bool math tests to use FileCheck and UTC scripts

Don't use %a and %A in the same test as FileCheck doesn't like it.


  Commit: 8462e20230a253e673f2ced090878b78ea19c760
      https://github.com/llvm/llvm-project/commit/8462e20230a253e673f2ced090878b78ea19c760
  Author: David Green <david.green at arm.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/aarch64-wide-mul.ll
    M llvm/test/CodeGen/AArch64/addp-shuffle.ll
    M llvm/test/CodeGen/AArch64/neon-dotreduce.ll
    M llvm/test/CodeGen/AArch64/neon-extmul.ll
    M llvm/test/CodeGen/AArch64/vecreduce-add.ll

  Log Message:
  -----------
  [AArch64] Push mul into extend operands (#94960)

In a similar way to how we push vector adds into extends, this pushed
'mul(zext,zext)' into 'zext(mul(zext,zext))' if the extend can be done
in two or more steps.

https://alive2.llvm.org/ce/z/WjU7Kr


  Commit: caf2de76e4c3ec70e012bc2582349d34ec6018fc
      https://github.com/llvm/llvm-project/commit/caf2de76e4c3ec70e012bc2582349d34ec6018fc
  Author: AdityaK <hiraditya at msn.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/docs/TestSuiteGuide.md

  Log Message:
  -----------
  Document that llvm-lit needs to be run to collect static metrics (#94836)


  Commit: 1d96e4bc2d09bc085e7c1b303d930684756b94a7
      https://github.com/llvm/llvm-project/commit/1d96e4bc2d09bc085e7c1b303d930684756b94a7
  Author: Tatsuyuki Ishi <ishitatsuyuki at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M lld/ELF/Options.td
    M lld/docs/ReleaseNotes.rst
    M lld/docs/ld.lld.1
    M lld/test/ELF/build-id.s

  Log Message:
  -----------
  [ELF] Change build-id default to sha1 (#93943)

The current default, build-id=fast, is only 8 bytes due to the usage of
64-bit XXH3. This is incompatible with RPM packaging tools which
requires >=16 bytes [1].

In Clang the ENABLE_LINKER_BUILD_ID define makes it pass --build-id
without a specific hash type. When also defaulting to LLD, this provides
a pretty broken default out-of-box.

Using XXH3 was a considerable performance advantage when build-id was
first implemented, because sha1 was really sha1 and rather slow.
Nowadays sha1 is just 160-bit BLAKE3 which is decently fast and not
cryptographically broken, so it should be a good default.

Note that the default remains "fast" for wasm because sha1 for wasm is
still real sha1.

Close https://github.com/llvm/llvm-project/issues/43483.

[1]:
https://github.com/rpm-software-management/rpm/blob/b7d427728b8ba8734ba47d51849a5736bdd727cd/build/files.c#L1883


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

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/Dialect/SparseTensor/invalid.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip.mlir
    A mlir/test/Dialect/SparseTensor/sparse_itertion_licm.mlir

  Log Message:
  -----------
  [mlir][sparse] introduce `sparse_tensor.iterate` operation (#88955)

A `sparse_tensor.iterate` iterates over a sparse iteration space
extracted from `sparse_tensor.extract_iteration_space` operation
introduced in https://github.com/llvm/llvm-project/pull/88554.


  Commit: 503fb1aaf4b322173721fbf3855f2168cf6b230b
      https://github.com/llvm/llvm-project/commit/503fb1aaf4b322173721fbf3855f2168cf6b230b
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp

  Log Message:
  -----------
  [HWASan] skip libcxx test that times out with hwasan


  Commit: 61df854d4c4d5f955693394d57f09b9fcd35be67
      https://github.com/llvm/llvm-project/commit/61df854d4c4d5f955693394d57f09b9fcd35be67
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [BOLT][DWARF][NFC] Replace usages of GDBIndex functions (#94701)

Replace old usages of GDB Index functions to use the new class.


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

  Changed paths:
    M lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp

  Log Message:
  -----------
  [lldb] Tighten ABI assert in `StopInfoMachException::DeterminePtrauthFailure` (NFC) (#95015)

This patch tightens the assert check for the ABISP object in
`StopInfoMachException::DeterminePtrauthFailure`.

This causes some failure when debugging on a system that doesn't have
pointer authentification support, like on Intel for instance.

rdar://129401926

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


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

  Changed paths:
    M llvm/test/Transforms/InstCombine/and-compare.ll

  Log Message:
  -----------
  [InstCombine] Add tests for combining `(icmp eq/ne (and X, P2), (and X, -P2))`; NFC


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/and-compare.ll

  Log Message:
  -----------
  [InstCombine] Extend `(icmp eq/ne (and Z, X), (and Z, Y))` folds

Two ways to relaxed:
    1) Only require one of the `and` ops to be single-use if both `X`
       and `Y` are constant.
    2) Special case, if `X ^ Y` is a negative power of 2, then
       `Z ^ NegP2 ==/!= 0` will fold to `Z u</u>= -NegP2` which
       creates no additional instructions so fold irrelivant of
       use counts.

Closes #94867


  Commit: 7c8a8bdc3a555e531e79af6ea9a60eb30c41475d
      https://github.com/llvm/llvm-project/commit/7c8a8bdc3a555e531e79af6ea9a60eb30c41475d
  Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py

  Log Message:
  -----------
  [clang-tidy] fix(clang-tools-extra/**.py): fix comparison to None (#94013)

from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):

> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.


  Commit: 3254f31a66263ea9647c9547f1531c3123444fcd
      https://github.com/llvm/llvm-project/commit/3254f31a66263ea9647c9547f1531c3123444fcd
  Author: Emilio Cota <ecg at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [mlir][bazel] fixes for e276cf0


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

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

  Log Message:
  -----------
  [llvm][IR] Extend BranchWeightMetadata to track provenance of weights (#86609)

This patch implements the changes to LLVM IR discussed in

https://discourse.llvm.org/t/rfc-update-branch-weights-metadata-to-allow-tracking-branch-weight-origins/75032

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

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

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

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


  Commit: 7326aa7a0e186a189d4d42010ca66a3889d3fe75
      https://github.com/llvm/llvm-project/commit/7326aa7a0e186a189d4d42010ca66a3889d3fe75
  Author: Eric Schweitz <eschweitz at nvidia.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  Workaround -Wglobal-constructor warning. (#94699)

This line was tripping the -Wglobal-constructor warning which was
causing a build failure when -Werror was turned on.


  Commit: 870bfad71a5bc84102374d94812cf063552493b9
      https://github.com/llvm/llvm-project/commit/870bfad71a5bc84102374d94812cf063552493b9
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [NFC][msan] Regenerate tests with --scrub-attributes (#95022)

Attributes are mostly irrelevant to these tests, but very unstable,
and change from patch to patch.


  Commit: baba78daf2b3a3ee9bfa21f1f8ff3584aa982ac8
      https://github.com/llvm/llvm-project/commit/baba78daf2b3a3ee9bfa21f1f8ff3584aa982ac8
  Author: Andrew Ng <andrew.ng at sony.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    A clang/test/CodeGenCXX/windows-instantiate-dllexport-template-specialization.cpp

  Log Message:
  -----------
  [clang] Fix loss of `dllexport` for exported template specialization (#94664)

When dropping DLL attributes, ensure that the most recent declaration is
being checked.


  Commit: 77220823daa06c0e177d7571f73d9b69112861cc
      https://github.com/llvm/llvm-project/commit/77220823daa06c0e177d7571f73d9b69112861cc
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [MC] Maintain MCRelaxAll after reset() (#94945)

RelaxAll was set in the constructor, but cleared after reset().


  Commit: 2f9a80b7343606f62b3e907b888a8e9d17c0c551
      https://github.com/llvm/llvm-project/commit/2f9a80b7343606f62b3e907b888a8e9d17c0c551
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [MC][NFC] Make ELFUniquingMap a StringMap (#95006)

This avoid std::map, which is slow, and uses a StringMap. Section name,
group name, linked-to name and unique id are encoded into the key for
fast lookup.

This gives a measurable performance boost (>3%) for applications that
compile many small object files (e.g., functions in JIT compilers).


  Commit: 2cddf72042818a03a4d1dfd2b19ae642dc7a2c90
      https://github.com/llvm/llvm-project/commit/2cddf72042818a03a4d1dfd2b19ae642dc7a2c90
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [msan][NFC] Make mask in test more interesting (#94874)

Low 4 and high 4 bits of mask have a different purpose.

Irrelevant for the current implementation, but
will be used in the followup patches.


  Commit: 66f919272e4eab7ff4f74ea03b2b4f899454f551
      https://github.com/llvm/llvm-project/commit/66f919272e4eab7ff4f74ea03b2b4f899454f551
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  Revert "[MC] Make ELFUniquingMap a StringMap" (#95023)

Reverts llvm/llvm-project#95006

Seems like there's some bug where the section name is empty in the `if
(!Section.isSingleStringRef())`. Revert for now to get builds back to
green.


  Commit: d63be475e889ba3361799f6907b3c95354684c7d
      https://github.com/llvm/llvm-project/commit/d63be475e889ba3361799f6907b3c95354684c7d
  Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
    M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py

  Log Message:
  -----------
  [clang-tidy] fix(clang-tools-extra/**.py): fix invalid escape sequences (#94028)


  Commit: bc70c29558c6ecb53e61cc8d668768e919e81bde
      https://github.com/llvm/llvm-project/commit/bc70c29558c6ecb53e61cc8d668768e919e81bde
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.ArrayDelete.rst
    A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/security.SetgidSetuidOrder.rst
    A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/unix.Stream.rst
    M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
    M clang-tools-extra/docs/clang-tidy/checks/list.rst

  Log Message:
  -----------
  [clang-tidy][DOC] Update doc for Clang Static Analyzer checks

Fix gen-static-analyzer-docs.py script.
Commit doc for:
 - clang-analyzer-cplusplus.ArrayDelete
 - clang-analyzer-security.SetgidSetuidOrder
 - clang-analyzer-unix.Stream


  Commit: 23a33a72c620f7e37778fa26af46e88a0042cd15
      https://github.com/llvm/llvm-project/commit/23a33a72c620f7e37778fa26af46e88a0042cd15
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

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

This patch fixes:

  bolt/lib/Rewrite/DWARFRewriter.cpp:187:18: error: private field
  'Rewriter' is not used [-Werror,-Wunused-private-field]

Note that:

  commit 61df854d4c4d5f955693394d57f09b9fcd35be67
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   Mon Jun 10 10:46:20 2024 -0700

removed the last use of Rewriter.


  Commit: 43229977fe0f74bcdfeda20e478065a2072a1846
      https://github.com/llvm/llvm-project/commit/43229977fe0f74bcdfeda20e478065a2072a1846
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [MC] Don't evaluate name of unnamed symbols (#95021)

There's only one way to create unnamed symbols (createTempSymbol).
Previously, the name was evaluated unconditionally, but often
unnecessarily. Avoid this.

Also the parameter names in the header were wrong, fix these.


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

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

  Log Message:
  -----------
  [libc][math][c23] Temporarily disable float16 on 32-bit Arm (#95027)

See Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/229/builds/27009.


  Commit: c7308d405d286674fbcd427da3f7a06f52dd70a2
      https://github.com/llvm/llvm-project/commit/c7308d405d286674fbcd427da3f7a06f52dd70a2
  Author: David Green <david.green at arm.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/test/CodeGen/AArch64/sve-lsrchain.ll

  Log Message:
  -----------
  [LSR][AArch64] Optimize chain generation based on legal addressing modes (#94453)

LSR will generate chains of related instructions with a known increment
between them. With SVE, in the case of the test case, this can include
increments like 'vscale * 16 + 8'. The idea of this patch is if we have
a '+8' increment already calculated in the chain, we can generate a
(legal) '+ vscale*16' addressing mode from it, allowing us to use the
'[x16, #1, mul vl]' addressing mode instructions.

In order to do this we keep track of the known 'bases' when generating
chains in GenerateIVChain, checking for each if the accumulated
increment expression from the base neatly folds into a legal addressing
mode. If they do not we fall back to the existing LeftOverExpr, whether
it is legal or not.

This is mostly orthogonal to #88124, dealing with the generation of
chains as opposed to rest of LSR. The existing vscale addressing mode
work has greatly helped compared to the last time I looked at this,
allowing us to check that the addressing modes are indeed legal.


  Commit: 65310f34d7edf7924ca4cbe7df836770669f70dc
      https://github.com/llvm/llvm-project/commit/65310f34d7edf7924ca4cbe7df836770669f70dc
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/CeilTest.h
    M libc/test/src/math/FloorTest.h
    M libc/test/src/math/RoundEvenTest.h
    M libc/test/src/math/RoundTest.h
    M libc/test/src/math/TruncTest.h
    A libc/test/src/math/ceilf16_test.cpp
    A libc/test/src/math/floorf16_test.cpp
    A libc/test/src/math/roundevenf16_test.cpp
    A libc/test/src/math/roundf16_test.cpp
    A libc/test/src/math/truncf16_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp

  Log Message:
  -----------
  Reapply "[libc][math][c23] Add MPFR unit tests for {ceil,floor,round,roundeven,trunc}f16 (#94383)" (#94807)

This reverts commit cbe97e959dc67503d7cc44a3810e3124b6d3340e.


  Commit: 52050f3ff388773b9345d421d968a7d1ee880531
      https://github.com/llvm/llvm-project/commit/52050f3ff388773b9345d421d968a7d1ee880531
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M mlir/docs/DialectConversion.md
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Detensorize.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/test/lib/Dialect/Test/TestPatterns.cpp

  Log Message:
  -----------
  [mlir][Transforms] Dialect Conversion: Simplify block conversion API (#94866)

This commit simplifies and improves documentation for the part of the
`ConversionPatternRewriter` API that deals with signature conversions.

There are now two public functions for signature conversion:
* `applySignatureConversion` converts a single block signature. This
function used to take a `Region *` (but converted only the entry block).
It now takes a `Block *`.
* `convertRegionTypes` converts all block signatures of a region.

`convertNonEntryRegionTypes` is removed because it is not widely used
and can easily be expressed with a call to `applySignatureConversion`
inside a loop. (See `Detensorize.cpp` for an example.)

Note: For consistency, `convertRegionTypes` could be renamed to
`applySignatureConversion` (overload) in the future. (Or
`applySignatureConversion` renamed to `convertBlockTypes`.)

Also clarify when a type converter and/or signature conversion object is
needed and for what purpose.

Internal code refactoring (NFC) of `ConversionPatternRewriterImpl` (the
part that deals with signature conversions). This part of the codebase
was quite convoluted and unintuitive.

>From a functional perspective, this change is NFC. However, the public
API changes, thus not marking as NFC.

Note for LLVM integration: When you see
`applySignatureConversion(region, ...)`, replace with
`applySignatureConversion(region->front(), ...)`. In the unlikely case
that you see `convertNonEntryRegionTypes`, apply the same changes as
this commit did to `Detensorize.cpp`.

---------

Co-authored-by: Markus Böck <markus.boeck02 at gmail.com>


  Commit: be067615453bab711fd4996c3c235ca996a306a1
      https://github.com/llvm/llvm-project/commit/be067615453bab711fd4996c3c235ca996a306a1
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/CMakeLists.txt
    M clang/cmake/caches/Release.cmake
    M clang/utils/perf-training/CMakeLists.txt

  Log Message:
  -----------
  [clang][cmake] Fixes for PGO builds when invoking ninja twice (#92591)

This fixes two problems with the 2-stage PGO builds. The first problem
was that the stage2-instrumented and stage2 targets would not be built
on the second ninja invocation. For example:

This would work as expected.
$ ninja -v -C build stage2-instrumented-generate-profdata

Edit a file.
$ touch llvm/lib/Support/StringExtras.cpp

This would rebuild stage1 only and not build stage2-instrumented or
regenerate the profile data.
$ ninja -v -C build stage2-instrumented-generate-profdata

The second problem was that in some cases, the profile data would be
regenerated, but not all of the stage2 targets would be rebuilt. One
common scenario where this would happen is:

This would work as expected.
$ ninja -C build stage2-check-all

This would regenerate the profile data, but then only build the
targets that were needed for install, but weren't needed for
check-all.  This would cause errors like:
ld.lld: error: Function Import: link error: linking module flags
'ProfileSummary': IDs have conflicting values in ...
 This is because the executibles being built for the install target
used the new profile data, but they were linking with libraries that
used the old profile data.
$ ninja -C build stage2-install

With this change we can re-enable PGO for the release builds.


  Commit: 4f416989d80ef6a3b5d759a2b1c576c019cbedbe
      https://github.com/llvm/llvm-project/commit/4f416989d80ef6a3b5d759a2b1c576c019cbedbe
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

  Log Message:
  -----------
  [NFC][msan] Prepare function to extract main logic (#94880)


  Commit: 983bf657945e4e400997b127fe4a7b644d63c047
      https://github.com/llvm/llvm-project/commit/983bf657945e4e400997b127fe4a7b644d63c047
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

  Log Message:
  -----------
  [NFC][msan] Extract `handleSelectLikeInst` (#94881)

`blendv` instructions are very similar to `select`.
We will add support for them in followup patches.


  Commit: d3c0ed387c478dc07daac575b2ec1216b8044b56
      https://github.com/llvm/llvm-project/commit/d3c0ed387c478dc07daac575b2ec1216b8044b56
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/LibCallsShrinkWrap.cpp
    M llvm/test/Transforms/Util/libcalls-shrinkwrap-double.ll
    M llvm/test/Transforms/Util/libcalls-shrinkwrap-float.ll
    M llvm/test/Transforms/Util/libcalls-shrinkwrap-long-double.ll

  Log Message:
  -----------
  [NFCI][metadata][LibCallsShrinkWrap] Use create{Unlikely,Likely}BranchWeights (#89465)

It does not look like 2000 is needed here in particular.

Follow up to #89464


  Commit: 85c78d45073bec31287fa72f1f558bad4de36189
      https://github.com/llvm/llvm-project/commit/85c78d45073bec31287fa72f1f558bad4de36189
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M libc/src/stdlib/CMakeLists.txt
    A libc/src/stdlib/block.h
    M libc/test/src/stdlib/CMakeLists.txt
    A libc/test/src/stdlib/block_test.cpp

  Log Message:
  -----------
  [libc][stdlib] Add Block class (#94407)

A block represents a chunk of memory used by the freelist allocator. It
contains header information denoting the usable space and pointers as
offsets to the next and previous block.

On it's own, this doesn't do much. This is a part of
https://github.com/llvm/llvm-project/pull/94270 to land in smaller
patches.

This is a subset of pigweed's freelist allocator implementation.


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

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt

  Log Message:
  -----------
  [mlir][sparse] fix missing cmake dependencies. (#95034)

Fix https://github.com/llvm/llvm-project/pull/88955


  Commit: 83da21ae19ef5c5e3f99e359114cd6060844e5d6
      https://github.com/llvm/llvm-project/commit/83da21ae19ef5c5e3f99e359114cd6060844e5d6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [VPlan] Generalize type inference for binary VPInstructions (NFC).

Generalize logic to set the result type for ops where the result type
and the types of all operands match. Use it to support any unary and
binops.


  Commit: fade04f81da9db974204b9d7c58b4affd0422d6e
      https://github.com/llvm/llvm-project/commit/fade04f81da9db974204b9d7c58b4affd0422d6e
  Author: hdoc <68132204+hdoc at users.noreply.github.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/CommentCommands.td
    M clang/include/clang/AST/CommentParser.h
    M clang/lib/AST/CommentParser.cpp
    M clang/lib/Index/CommentToXML.cpp
    M clang/test/Index/comment-to-html-xml-conversion.cpp
    M clang/unittests/AST/CommentParser.cpp

  Log Message:
  -----------
  [Clang][Comments] Add argument parsing for @throw @throws @exception (#84726)

Doxygen allows for the `@throw`, `@throws`, and `@exception` commands to
have an attached argument indicating the type being thrown. Currently,
Clang's AST parsing doesn't support parsing out this argument from doc
comments. The result is missing compatibility with Doxygen.

This PR implements parsing of arguments for the `@throw`, `@throws`, and
`@exception` commands. Each command can only have one argument, matching
the semantics of Doxygen.


  Commit: 0babff96759d2fa91af2dcab7564b6f08954e8fa
      https://github.com/llvm/llvm-project/commit/0babff96759d2fa91af2dcab7564b6f08954e8fa
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
    M flang/include/flang/Optimizer/Builder/Runtime/Reduction.h
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/runtime/reduce.cpp
    R flang/test/Lower/Intrinsics/Todo/reduce.f90
    A flang/test/Lower/Intrinsics/reduce.f90

  Log Message:
  -----------
  [flang] Lower REDUCE intrinsic with no DIM argument and rank 1 (#94652)

This patch lowers the `REDUCE` intrinsic call to the runtime equivalent
for scalar results. Call with array result will follow.


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

  Changed paths:
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/RIntTest.h
    M libc/test/src/math/RoundToIntegerTest.h
    A libc/test/src/math/llrintf16_test.cpp
    A libc/test/src/math/llroundf16_test.cpp
    A libc/test/src/math/lrintf16_test.cpp
    A libc/test/src/math/lroundf16_test.cpp
    A libc/test/src/math/rintf16_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp

  Log Message:
  -----------
  [libc][math][c23] Add MPFR unit tests for {rint,lrint,llrint,lround,llround}f16 (#94473)


  Commit: 3c8e0b8874fa3f8c8f84aa7261e905a57ba3d4a8
      https://github.com/llvm/llvm-project/commit/3c8e0b8874fa3f8c8f84aa7261e905a57ba3d4a8
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [BOLT] Clean up DIEStreamer (NFC) (#95028)

DIEStreamer no longer needs Rewriter, so we can remove the constructor
parameter and clean up the callers.


  Commit: 076a50ad17ea567154f3e8227ce67ccec0d751d3
      https://github.com/llvm/llvm-project/commit/076a50ad17ea567154f3e8227ce67ccec0d751d3
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M libc/src/stdlib/free.h

  Log Message:
  -----------
  [NFC][libc][stdlib] LLVM_LIBC_SRC_STDLIB_LDIV_H -> LLVM_LIBC_SRC_STDL… (#95038)

…IB_FREE_H


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

  Changed paths:
    M libc/src/stdlib/block.h

  Log Message:
  -----------
  [libc][stdlib] Move LIBC_INLINE after template and before constexpr (#95037)


  Commit: f3b212cd123398b563da3a9a69c2903d8b355d19
      https://github.com/llvm/llvm-project/commit/f3b212cd123398b563da3a9a69c2903d8b355d19
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M flang/runtime/reduce.cpp

  Log Message:
  -----------
  [flang][NFC] Remove debug printing


  Commit: bb2bf3a2635a06de1c5ba15056dc5787ae2e81b0
      https://github.com/llvm/llvm-project/commit/bb2bf3a2635a06de1c5ba15056dc5787ae2e81b0
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CGExprComplex.cpp
    M clang/lib/CodeGen/CGObjCGNU.cpp
    M clang/lib/CodeGen/CGObjCMac.cpp

  Log Message:
  -----------
  [NFCI][metadata][clang] Use create{Unlikely,Likely}BranchWeights (#89467)

It does not look like particular value is inportant.
Howere, there is a comment., but the current implementation
of `create{Unlikely,Likely}BranchWeights` use the same value.

Follow up to #89464


  Commit: 1fe4f2d1a4b9d16ae41076608783df4427a4d985
      https://github.com/llvm/llvm-project/commit/1fe4f2d1a4b9d16ae41076608783df4427a4d985
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/Inline/inline-switch-default.ll

  Log Message:
  -----------
  [Inliner][test] Fix incorrect REQUIRE line in `inline-switch-default.ll` (NFC) (#95009)

It should be `x86-registered-target` because we only need the X86 target
in this case. `x86_64-linux` will be too strict here as it puts a
prerequisite on the default target triple.


  Commit: 3aa41e016a7efc2cca1926700cfbd8ddc05e4274
      https://github.com/llvm/llvm-project/commit/3aa41e016a7efc2cca1926700cfbd8ddc05e4274
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  [X86,MC] Remove two getPrevNode

Make it more feasible to replace the fragment reprsentation, which might
yield a large peak RSS win.


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

  Changed paths:
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/lib/ProfileData/MemProf.cpp
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp

  Log Message:
  -----------
  [memprof] Fix comment typos (NFC)


  Commit: 48aebd4cf88b3632e8c3ed6b976287c973628e14
      https://github.com/llvm/llvm-project/commit/48aebd4cf88b3632e8c3ed6b976287c973628e14
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

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

This reverts commit 2cf14398c9341feddb419e7ff9c8c5623a3da3db since it
broke the llvm test suite:

SingleSource/UnitTests/AArch64/acle-fmv-features.c:59:9:
  error: instruction requires: altnzcv
SingleSource/UnitTests/AArch64/acle-fmv-features.c:117:10:
  error: instruction requires: aes
...

Looks like the FMV dependencies were used in the target attribute and
now features that are FMVOnly (have AEK_NONE) cannot be expanded in
parseTargetAttr using the ExtensionSet.

This suggests that either the tests are wrong (they are using an FMVOnly
feature in a target attribute), or that we need to turn the FMVOnly
features into Extensions (these two are tablegen classes).


  Commit: 46e41c8631bd6c1a6c91d6cc4a5e4f1671078ccd
      https://github.com/llvm/llvm-project/commit/46e41c8631bd6c1a6c91d6cc4a5e4f1671078ccd
  Author: Will Dietz <will.dietz at sifive.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/test/IR/print-attr-type-aliases.mlir
    M mlir/test/lib/Dialect/Test/TestDialectInterfaces.cpp

  Log Message:
  -----------
  [mlir] Sanitize identifiers with leading symbol. (#94795)

Presently, if name starts with a symbol it's converted to hex which may
cause the result to be invalid by starting with a digit.

Address this and add a small test.

Co-authored-by: Will Dietz <w at wdtz.org>


  Commit: 1737814e577f80917fc9a56d58f09a22665179d1
      https://github.com/llvm/llvm-project/commit/1737814e577f80917fc9a56d58f09a22665179d1
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M libc/src/stdlib/CMakeLists.txt
    A libc/src/stdlib/freelist.h
    M libc/test/src/stdlib/CMakeLists.txt
    A libc/test/src/stdlib/freelist_test.cpp

  Log Message:
  -----------
  [libc][stdlib] Add freelist class (#95041)

This implements a traditional freelist to be used by the freelist
allocator. It operates on spans of bytes which can be anything. The
freelist allocator will store Blocks inside them.

This is a part of #94270 to land in smaller patches.


  Commit: 189d4711915f4ce89b373f3cbcfe1f19c73becd9
      https://github.com/llvm/llvm-project/commit/189d4711915f4ce89b373f3cbcfe1f19c73becd9
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/X86/math-builtins.c
    M clang/test/CodeGen/constrained-math-builtins.c
    M clang/test/CodeGen/math-libcalls.c
    M clang/test/CodeGenOpenCL/builtins-f16.cl
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/ConstrainedOps.def
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/Assembler/fp-intrinsics-attr.ll
    M llvm/test/CodeGen/AArch64/fp-intrinsics-fp16.ll
    M llvm/test/CodeGen/AArch64/fp-intrinsics.ll
    M llvm/test/CodeGen/ARM/fp-intrinsics.ll
    M llvm/test/CodeGen/PowerPC/ctrloop-constrained-fp.ll
    M llvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll
    M llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
    M llvm/test/CodeGen/RISCV/double-intrinsics-strict.ll
    M llvm/test/CodeGen/RISCV/float-intrinsics-strict.ll
    M llvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll
    M llvm/test/CodeGen/X86/fp-intrinsics.ll
    M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll
    M llvm/test/CodeGen/X86/fp128-libcalls-strict.ll
    M llvm/test/CodeGen/X86/fp80-strict-libcalls.ll
    M llvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
    M llvm/test/Feature/fp-intrinsics.ll

  Log Message:
  -----------
  [clang]  Reland Add tanf16 builtin and support for tan constrained intrinsic (#94559)

Relanding this PR now that
https://github.com/llvm/llvm-project/pull/90503 has merged. with `FTAN`
landing in
[TargetLoweringBase.cpp:L1021](https://github.com/llvm/llvm-project/blob/main/llvm/lib/CodeGen/TargetLoweringBase.cpp#L1020C23-L1021C63
) There is now a llvm tan intrinsic 32\64\128 Expand case for all llvm
backends.

In LLVM, the `llvm.experimental.constrained.cos` and
`llvm.experimental.constrained.sin` intrinsics are used for performing
cosine and sine calculations with additional constraints on
floating-point operations. This behavior is expected for all
floating-point math intrinsics. This change adds these constraints for
the `tan` intrinsic.

-  `Builtins.td` - replace TanF128 with F16F128MathTemplate
- `CGBuiltin.cpp` - map existing tan builtins to `tan` and
`constrained_tan` intrinsic
-   `ConstrainedOps.def` map tan and constrained_tan  to an ISDOpcode.

resolves  #91421

---------

Co-authored-by: Farzon Lotfi <farzon at farzon.com>


  Commit: c4f8ae6f32dadf9383c94ed13152d91f68631255
      https://github.com/llvm/llvm-project/commit/c4f8ae6f32dadf9383c94ed13152d91f68631255
  Author: Alexander Shaposhnikov <6532716+alexander-shaposhnikov at users.noreply.github.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Bitcode/LLVMBitCodes.h
    M llvm/include/llvm/IR/Attributes.td
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/Transforms/Utils/CodeExtractor.cpp
    M llvm/test/Bitcode/compatibility.ll

  Log Message:
  -----------
  [LLVM][IR][Sanitizers] Add sanitize_numerical_stability attribute (#95051)

Add sanitize_numerical_stability attribute.


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

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

  Log Message:
  -----------
  MCSection: Remove unused reverse iterators


  Commit: 5275aed4d0195e5db214e6638d29b0b702d16b3c
      https://github.com/llvm/llvm-project/commit/5275aed4d0195e5db214e6638d29b0b702d16b3c
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/include/llvm/TargetParser/X86TargetParser.def
    M llvm/lib/TargetParser/X86TargetParser.cpp

  Log Message:
  -----------
  Reland "[X86] Assign AVX10_1 feature priority to align with gcc. (#94557)" (#94734)

This reverts commit c007883f0286a314eb69976ad14da2bce988fb55.


  Commit: 8e12f31be5a98a66700dd3571e4e12465f05ad61
      https://github.com/llvm/llvm-project/commit/8e12f31be5a98a66700dd3571e4e12465f05ad61
  Author: Fabian Mora <fmora.dev at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
    M mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir

  Log Message:
  -----------
  [mlir][gpu] Update LaunchFuncOp lowering in GPU to LLVM (#94991)

This patch updates the lowering of `LaunchFuncOp` in GPU to LLVM to only
legalize the operation with the converted operands, effectively removing
the lowering used by the old serialization pipeline.
It also removes all remaining uses of the old gpu serialization
infrastructure in `gpu-to-llvm`.

See [Compilation overview | 'gpu' Dialect - MLIR
docs](https://mlir.llvm.org/docs/Dialects/GPU/#compilation-overview) for
additional information on the target attributes compilation pipeline
that replaced the old serialization pipeline.


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

  Changed paths:
    M llvm/include/llvm/MC/MCSection.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/tools/dsymutil/MachOUtils.cpp

  Log Message:
  -----------
  [MC] Remove getFragmentList uses. NFC


  Commit: 69e9e779b783bb34a3c1f73c93ca63ee6b89ab09
      https://github.com/llvm/llvm-project/commit/69e9e779b783bb34a3c1f73c93ca63ee6b89ab09
  Author: Pavel Samolysov <samolisov at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Sema/SemaObjC.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
    M clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/AST/Expr.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/Mangle.cpp
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/AST/ParentMap.cpp
    M clang/lib/AST/StmtPrinter.cpp
    M clang/lib/CodeGen/CGBlocks.cpp
    M clang/lib/CodeGen/CGClass.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/Index/IndexBody.cpp
    M clang/lib/Lex/PPMacroExpansion.cpp
    M clang/lib/Sema/AnalysisBasedWarnings.cpp
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M clang/lib/Sema/SemaTemplate.cpp

  Log Message:
  -----------
  [clang] Replace X && isa<Y>(X) with isa_and_nonnull<Y>(X). NFC (#94987)

This addresses a clang-tidy suggestion.


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

  Changed paths:
    M libc/src/stdlib/freelist.h

  Log Message:
  -----------
  [libc][stdlib] Change old unsigned short variables to size_t (#95065)

They were assigned from calls to find_chunk_ptr_for_size which return
size_t now.


  Commit: 1934208132e3a084c5952656ae29816958b8207c
      https://github.com/llvm/llvm-project/commit/1934208132e3a084c5952656ae29816958b8207c
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    A lldb/test/API/macosx/delay-init-dependency/Makefile
    A lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
    A lldb/test/API/macosx/delay-init-dependency/foo.c
    A lldb/test/API/macosx/delay-init-dependency/main.c

  Log Message:
  -----------
  [lldb] NFC add comments and test case for ObjectFileMachO delay-init (#95067)

Add comments and a test for delay-init libraries on macOS. I originally
added the support in 954d00e87cdd77d0e9e367be52e62340467bd779 a month
ago, but without these additional clarifications.

rdar://126885033


  Commit: 6ffdcfa7fcb32192104b9742b02489395c4c6ad8
      https://github.com/llvm/llvm-project/commit/6ffdcfa7fcb32192104b9742b02489395c4c6ad8
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [flang] Lower REDUCE intrinsic with DIM argument (#94771)

This is a follow up patch to #94652 and handles the lowering of the
reduce intrinsic with DIM argument and non scalar result.


  Commit: 690480f5883a2fe9377fd0eeae21d0825e1b3661
      https://github.com/llvm/llvm-project/commit/690480f5883a2fe9377fd0eeae21d0825e1b3661
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    A llvm/test/CodeGen/AArch64/ptrauth-reloc.ll

  Log Message:
  -----------
  [PAC][AArch64] Lower ptrauth constants in data (#94240)

Lower global references to ptrauth constants into `@AUTH` `MCExpr`'s.
The logic is common for MachO and ELF - test both.

---------

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


  Commit: 0bc33f41abf4174cb76b5099cffaf7820dec58e9
      https://github.com/llvm/llvm-project/commit/0bc33f41abf4174cb76b5099cffaf7820dec58e9
  Author: Mariusz Sikora <mariusz.sikora at amd.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load-last-use.ll
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-lastuse.ll
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-global-lastuse.ll
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-private-lastuse.ll

  Log Message:
  -----------
  [AMDGPU] Update tests for last-use in global/scratch/flat/buffer load… (#94975)

… instructions


  Commit: 48f8130a49aad715ff6d5136dad2447d41e9537b
      https://github.com/llvm/llvm-project/commit/48f8130a49aad715ff6d5136dad2447d41e9537b
  Author: Alexander Shaposhnikov <6532716+alexander-shaposhnikov at users.noreply.github.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/Features.def
    M clang/include/clang/Basic/Sanitizers.def
    M clang/include/clang/Driver/SanitizerArgs.h
    M clang/lib/CodeGen/CGDeclCXX.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    A clang/test/CodeGen/sanitize-numerical-stability-attr.cpp
    M clang/test/Driver/fsanitize.c
    A clang/test/Lexer/has_feature_numerical_stability_sanitizer.cpp

  Log Message:
  -----------
  [Clang][Sanitizers] Add numerical sanitizer (#93783)

Add plumbing for the numerical sanitizer on Clang's side.


  Commit: 41c650e8208f7804eb5ecd8749d6b31b6e518bb7
      https://github.com/llvm/llvm-project/commit/41c650e8208f7804eb5ecd8749d6b31b6e518bb7
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang/CMakeLists.txt

  Log Message:
  -----------
  [clang] Don't use -Wno-nested-anon-types on GCC (#95029)

GCC usually doesn't warn about unrecognized -Wno-<foo> options, if no
diagnostics are printed. However if some diagnostics are printed, it
also mentions that there were unrecognized -Wno-<foo> options.

Before 4feae05c6abda364a9295aecfa600d7d4e7dfeb6, we checked for whether
-Wnested-anon-types was supported, and added the -Wno-<foo> form if the
positive form of the option was supported.

As of GCC 14, -Wnested-anon-types isn't supported, thus limit the use of
the option to actual Clang (and still only while using the GCC
compatible driver).

This avoids unnecessary mentions about unrecognized -Wno-<foo> options
when building with GCC.


  Commit: 607afa0b6375e4837fef298a798f5534e783d777
      https://github.com/llvm/llvm-project/commit/607afa0b6375e4837fef298a798f5534e783d777
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  Revert "[llvm][IR] Extend BranchWeightMetadata to track provenance of weights" (#95060)

Reverts llvm/llvm-project#86609

This change causes compile-time regressions for stage2 builds
(https://llvm-compile-time-tracker.com/compare.php?from=3254f31a66263ea9647c9547f1531c3123444fcd&to=c5978f1eb5eeca8610b9dfce1fcbf1f473911cd8&stat=instructions:u).
It also introduced unintended changes to `.text` which should be
addressed before relanding.


  Commit: 1bebb99324a1cd85e18e1907c7afdde5d2bc4593
      https://github.com/llvm/llvm-project/commit/1bebb99324a1cd85e18e1907c7afdde5d2bc4593
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [RISCV] Add B extension (#76893)

It seems that we have `B` extension again:
https://github.com/riscv/riscv-b

According to the spec, `B` extension represents the collection of
the `Zba`, `Zbb`, `Zbs` extensions.

Though it hasn't been ratified, I set its version to `1.0`.


  Commit: 34033dc1610982570328b39a38596a9968e3c7b2
      https://github.com/llvm/llvm-project/commit/34033dc1610982570328b39a38596a9968e3c7b2
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/index/remote/CMakeLists.txt
    M clang-tools-extra/pseudo/lib/CMakeLists.txt
    M clang-tools-extra/pseudo/lib/cxx/CMakeLists.txt

  Log Message:
  -----------
  [clangd] Use clang_target_link_libraries() for clang libs (#94937)

Use clang_target_link_libraries() instead of LINK_LIBS when linking
clang libraries. This ensures that in CLANG_LINK_CLANG_DYLIB mode we
link against libclang-cpp.so (instead of linking against both it and the
static libraries).

Most places were already doing this correctly, there were just a handful
of leftovers.


  Commit: bfa8150ef4748a364a496f8cdf285380ac3ec876
      https://github.com/llvm/llvm-project/commit/bfa8150ef4748a364a496f8cdf285380ac3ec876
  Author: Johannes Reifferscheid <jreiffers at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp

  Log Message:
  -----------
  Explain partial byte extraction logic. (#92868)

This is a follow-up to #92506.


  Commit: 876c6204f12fa2738ff8ca886e664b826847d6d4
      https://github.com/llvm/llvm-project/commit/876c6204f12fa2738ff8ca886e664b826847d6d4
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/test/MC/RISCV/rvv/vsetvl.s

  Log Message:
  -----------
  [RISCV][MC] Warn if SEW/LMUL may not be compatible

According to RVV spec:
> In general, the requirement is to support LMUL ≥ SEWMIN/ELEN,
> where SEWMIN is the narrowest supported SEW value and ELEN is
> the widest supported SEW value.
>
> For a given supported fractional LMUL setting, implementations
> must support SEW settings between SEWMIN and LMUL * ELEN, inclusive.

We print a warning if these requirements are not met.

Reviewers: kito-cheng, asb, frasercrmck, jrtc27, michaelmaitland, lukel97

Reviewed By: lukel97

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


  Commit: 282534268e3be0949fcac1589b1004bc5672b434
      https://github.com/llvm/llvm-project/commit/282534268e3be0949fcac1589b1004bc5672b434
  Author: martinboehme <mboehme at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
    M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Handle `AtomicExpr` in `ResultObjectVisitor`. (#94963)

This is one of the node kinds that should be considered an "original
initializer". The patch adds a test that was causing an assertion
failure in
`assert(Children.size() == 1)` without the fix.


  Commit: 05e87a583ce2680fc7309491c8bc23fd0e3bd049
      https://github.com/llvm/llvm-project/commit/05e87a583ce2680fc7309491c8bc23fd0e3bd049
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  Reland "[MC][NFC] Make ELFUniquingMap a StringMap (#95006)" (#95030)

This avoids std::map, which is slow, and uses a StringMap. Section name,
group name, linked-to name and unique id are encoded into the key for
fast lookup.

This gives a measurable performance boost for applications that compile
many small object files (e.g., functions in JIT compilers).

---

Now also the second case works properly. That's what happens when you do
that last refactoring without re-running all tests... sorry.


  Commit: 275196d866c86d95fc46b3324876ccbea09da79b
      https://github.com/llvm/llvm-project/commit/275196d866c86d95fc46b3324876ccbea09da79b
  Author: martinboehme <mboehme at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang/docs/tools/clang-formatted-files.txt
    M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
    A clang/unittests/Analysis/FlowSensitive/ASTOpsTest.cpp
    M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
    M llvm/utils/gn/secondary/clang/unittests/Analysis/FlowSensitive/BUILD.gn

  Log Message:
  -----------
  [clang][nullability] Don't return null fields from `getReferencedDecls()`. (#94983)

The patch includes a repro for a case where we were returning a null
`FieldDecl`
when calling `getReferencedDecls()` on the `InitListExpr` for a union.

Also, I noticed while working on this that `RecordInitListHelper` has a
bug
where it doesn't work correctly for empty unions. This patch also
includes a
repro and fix for this bug.


  Commit: e9a362362e03c6aea7a64473e8b8bb9140fd3855
      https://github.com/llvm/llvm-project/commit/e9a362362e03c6aea7a64473e8b8bb9140fd3855
  Author: Vikash Gupta <35700483+vg0204 at users.noreply.github.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [CodeGen] Preserved additional analyses in StackSlotColoring pass. (#93779)

The pass pipeline of some architecture splits register allocation phase
based on different register classes. As some analyses need to be
computed at the beginning of the register allocation and kept alive till
all values are assigned to some physical registers.

This poses challenge with objective of introducing StackSlotColoring
after partial virtual registers are assigned to physical registers, in
order to optimize stack slots usage.As this pass doesn't preserve few
analysis yet to be needed by the register allocation of the remaining
virtual registers, necessiating them to be kept preserved.


  Commit: 4cff320e0d4574d5084ad751f9ee3ca22c08afa1
      https://github.com/llvm/llvm-project/commit/4cff320e0d4574d5084ad751f9ee3ca22c08afa1
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/Inquiry.h
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Inquiry.cpp
    M flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90

  Log Message:
  -----------
  [flang] lower LBOUND for assumed-rank arrays (#94995)


  Commit: b64cf381a7cf3d04c1f9297862bc6b1f3b6da4cf
      https://github.com/llvm/llvm-project/commit/b64cf381a7cf3d04c1f9297862bc6b1f3b6da4cf
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    A flang/include/flang/Optimizer/CodeGen/DescriptorModel.h
    R flang/lib/Optimizer/CodeGen/DescriptorModel.h
    M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
    A flang/test/Integration/debug-assumed-shape-array.f90
    M flang/test/Transforms/debug-90683.fir
    A flang/test/Transforms/debug-assumed-shape-array.fir
    M flang/test/Transforms/debug-complex-1.fir
    M flang/test/Transforms/debug-fixed-array-type.fir
    M flang/test/Transforms/debug-line-table-existing.fir
    M flang/test/Transforms/debug-line-table-inc-file.fir
    M flang/test/Transforms/debug-line-table-inc-same-file.fir
    M flang/test/Transforms/debug-line-table.fir
    M flang/test/Transforms/debug-module-1.fir

  Log Message:
  -----------
  [flang][debug] Support assumed shape arrays. (#94644)

This PR generates dwarf to extract the information about the arrays from
descriptor. The DWARF needs the offset of the fields like `lower_bound`
and `extent`. The getComponentOffset has been added to calculate
them which pushes the issue of host and target data size into
getDescFieldTypeModel.

As we use data layout now, some tests needed to be adjusted to have a
dummy data layout to avoid failure.

With this change in place, GDB is able show the assumed shape arrays
correctly.

  subroutine ff(n, m, arr)
    integer n, m
    integer :: arr(:, :)
    print *, arr
    do i = 1, n
      do j = 1, m
        arr(j, i) = (i * 5) + j + 10
      end do
    end do
    print *, arr
  end subroutine ff

Breakpoint 1, ff (n=4, m=3, arr=...) at test1.f90:13
13          print *, arr
(gdb) p arr
$1 = ((6, 7, 8, 9) (11, 12, 13, 14) (16, 17, 18, 19))
(gdb) ptype arr
type = integer (4,3)
(gdb) c
Continuing.
 6 7 8 9 11 12 13 14 16 17 18 19


  Commit: baad1b85b93c0b5ce0341668259ae21911bed8b1
      https://github.com/llvm/llvm-project/commit/baad1b85b93c0b5ce0341668259ae21911bed8b1
  Author: Shivam Gupta <shivam98.tkg at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M lldb/unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp

  Log Message:
  -----------
  [lldb] Add a test for lea_rsp_pattern_p to x86 unwinder (NFC) (#94852)

This commit adds a test for lea_rsp_pattern_p which was previously due
as FIXME.


  Commit: bd9a525efdab2a83cb24773d95ce8c4a2e9cce68
      https://github.com/llvm/llvm-project/commit/bd9a525efdab2a83cb24773d95ce8c4a2e9cce68
  Author: Mikael Holmen <mikael.holmen at ericsson.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp

  Log Message:
  -----------
  [AArch64] Fix gcc "enumeral and non-enumeral type" warning

Without this gcc (9.3.0) warns with
 ../lib/Target/AArch64/GISel/AArch64CallLowering.cpp: In function 'unsigned int getCallOpcode(const llvm::MachineFunction&, bool, bool, std::optional<llvm::CallLowering::PtrAuthInfo>&, llvm::MachineRegisterInfo&)':
 ../lib/Target/AArch64/GISel/AArch64CallLowering.cpp:1025: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
  1025 |       return IsIndirect ? getBLRCallOpcode(CallerF) : AArch64::BL;
       |


  Commit: b1fe03f0840a2c488b1f07a669bfea3cc986ce3b
      https://github.com/llvm/llvm-project/commit/b1fe03f0840a2c488b1f07a669bfea3cc986ce3b
  Author: Durgadoss R <durgadossr at nvidia.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang/lib/AST/MicrosoftMangle.cpp
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/lib/Support/APFloat.cpp
    M llvm/unittests/ADT/APFloatTest.cpp

  Log Message:
  -----------
  [APFloat] Add APFloat support for FP6 data types (#94735)

This patch adds APFloat type support for two FP6 data types,
E2M3 and E3M2. The definitions for the two formats are detailed
in section 5.3.2 of the OCP specification, which can be accessed here:

https://www.opencompute.org/documents/ocp-microscaling-formats-mx-v1-0-spec-final-pdf

Signed-off-by: Durgadoss R <durgadossr at nvidia.com>


  Commit: c63a622ba7547812939e2fd3dbfbe50e6cda2a42
      https://github.com/llvm/llvm-project/commit/c63a622ba7547812939e2fd3dbfbe50e6cda2a42
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/test/CodeGen/AArch64/arm64-redzone.ll

  Log Message:
  -----------
  [AArch64] Disable red-zone when lowering Q-reg copy through memory. (#94962)

This was pointed out in PR #93940.


  Commit: affd73aadb9611b8a10c8cced63ad4ae1a0a9161
      https://github.com/llvm/llvm-project/commit/affd73aadb9611b8a10c8cced63ad4ae1a0a9161
  Author: Arjun P <arjunpitchanathan at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  MathExtras: MulOverflow: use builtin when available (NFC) (#95046)

This matches the other two functions AddOverflow and SubOverflow.


  Commit: 79ce70b8033815b6abd3a9a5cc2335de70f1aaab
      https://github.com/llvm/llvm-project/commit/79ce70b8033815b6abd3a9a5cc2335de70f1aaab
  Author: Braden Helmer <bradenhelmeraus at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/CodeGen/RegAllocGreedy.h
    M llvm/lib/ObjCopy/ELF/ELFObject.h

  Log Message:
  -----------
  [NFC] Mitigate pointless copies (#95052)

Fixes #95036 #95033 #94933 #94930


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

  Changed paths:
    M llvm/test/Analysis/StackSafetyAnalysis/ipa-alias.ll
    M llvm/test/Analysis/StackSafetyAnalysis/ipa.ll

  Log Message:
  -----------
  [StackSafety] Make lit tests compatible with lit's internal shell. NFC. (#94971)

Use DEFINE: %{res} = ... instead of $(cat ...). Rewrite one use of a
subshell to write to a temporary file instead.


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

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td

  Log Message:
  -----------
  [clang][Interp] Refine diagnostics for casts from void*

This is still not perfect, but an improvement in general.


  Commit: ec81c9b1dd856dbe77b042e7d293e437b587d914
      https://github.com/llvm/llvm-project/commit/ec81c9b1dd856dbe77b042e7d293e437b587d914
  Author: Pavel Samolysov <samolisov at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [clang] Remove a redundant check in Mangle. NFC (#95071)

This addresses a review comment for PR #94987 Because that PR is a big
automatic change, this change was moved in a separate one.


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

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/abs-sizelatency.ll
    M llvm/test/CodeGen/X86/abs.ll

  Log Message:
  -----------
  [CostModel][X86] Adjust ABS scalar SizeLatency cost to 3uops

This was previously set to 4uops which was including the cost of extra register moves in the original test code.


  Commit: e5bdb7af86c2947ab138049f0aafd7de9381b944
      https://github.com/llvm/llvm-project/commit/e5bdb7af86c2947ab138049f0aafd7de9381b944
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    A llvm/test/Transforms/InstCombine/ldexp-ext.ll
    R llvm/test/Transforms/InstCombine/ldexp-zext.ll

  Log Message:
  -----------
  [InstCombine] fold ldexp(x, sext(i1 y)) to fmul x, (select y, 0.5, 1.0) (#95073)

Follow up of #94887.

Context:
https://github.com/llvm/llvm-project/pull/94887#pullrequestreview-2106213891


  Commit: 9dfd0760cb8b4f7fdb32008ade70c605e844051e
      https://github.com/llvm/llvm-project/commit/9dfd0760cb8b4f7fdb32008ade70c605e844051e
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/docs/TestingGuide.rst

  Log Message:
  -----------
  [test] Fix documentation of %{fs-sep} et al (#95088)


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

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

  Log Message:
  -----------
  [X86] is_fpclass.ll - add NDD test coverage


  Commit: 214ff5036cb407222e6ff34ef2c1eeef55c70b4a
      https://github.com/llvm/llvm-project/commit/214ff5036cb407222e6ff34ef2c1eeef55c70b4a
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86MachineFunctionInfo.cpp
    M llvm/lib/Target/X86/X86MachineFunctionInfo.h
    M llvm/lib/Target/X86/X86TargetMachine.cpp
    M llvm/lib/Target/X86/X86TargetMachine.h
    M llvm/test/CodeGen/X86/AMX/amx-fastconfig-phi.mir
    M llvm/test/CodeGen/X86/AMX/amx-fastconfig-phi2.mir
    M llvm/test/CodeGen/X86/AMX/amx-fastconfig-phi4.mir
    M llvm/test/CodeGen/X86/AMX/amx-fastconfig-spill.mir
    M llvm/test/CodeGen/X86/AMX/amx-fastconfig.mir
    M llvm/test/CodeGen/X86/AMX/amx-fastpreconfig.mir

  Log Message:
  -----------
  [X86] Add AMXProgModel to YAML serialization (#94988)

This allows tested passes to depend on the AMX model in the function
info. Preparatory work for to adopt #94358 for other AMX passes.


  Commit: fc6e97cf2f28a9c7a73b97488ec6b90fc0d34a4a
      https://github.com/llvm/llvm-project/commit/fc6e97cf2f28a9c7a73b97488ec6b90fc0d34a4a
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  [MC][X86] Avoid copying MCInst in emitInstrEnd (#94947)

Copying an MCInst isn't cheap (copies all operands) and the whole
instruction is only used for the Intel erratum mitigation, which is off
by default. In all other cases, the opcode alone suffices.

This slightly pessimizes code that uses moves to segment registers --
but that's uncommon and not performance-sensitive anyway.

As a related change, also call canPadInst() only when the result is
actually used, which is typically only the case in emitInstrEnd.

This gives a minor performance improvement.


  Commit: 2dc2290860355dd2bac3b655eea895fe30fde257
      https://github.com/llvm/llvm-project/commit/2dc2290860355dd2bac3b655eea895fe30fde257
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang/test/CodeGen/instrument-objc-method.m
    M flang/test/Transforms/debug-local-var-2.f90
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/AsmParser/LLParser.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/IR/DebugProgramInstruction.cpp
    M llvm/lib/IR/Function.cpp
    M llvm/lib/IR/Module.cpp
    M llvm/tools/llvm-as/llvm-as.cpp
    M llvm/tools/llvm-dis/llvm-dis.cpp
    M llvm/tools/llvm-link/llvm-link.cpp
    M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
    M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
    M llvm/unittests/IR/DebugInfoTest.cpp
    M llvm/unittests/IR/IRBuilderTest.cpp
    M llvm/unittests/IR/InstructionsTest.cpp
    M llvm/unittests/IR/ValueTest.cpp
    M llvm/unittests/Transforms/Utils/CloningTest.cpp
    M llvm/unittests/Transforms/Utils/LocalTest.cpp

  Log Message:
  -----------
  Revert new debug info format commits:

"[Flang] Update test to not check for tail calls on debug intrinsics" &
"Reapply#3 "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"

Recent updates to flang have added debug info generation via MLIR, a path
which currently does not support debug records. The patch that enables
debug records by default (and a small followup patch) are thus being
reverted until the MLIR path has been fixed.

This reverts commits:
  21396be865b4640abf6afa0b05de6708a1a996e0
  c5aeca732d1ff6769b0659efebd1cfb5f60487e4


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

  Changed paths:
    M clang/test/AST/Interp/cxx23.cpp
    A clang/test/AST/Interp/cxx26.cpp

  Log Message:
  -----------
  [clang][Interp][test] Add test for void* diagnostics changes


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

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

  Log Message:
  -----------
  [X86] Pull out repeated SDLoc in various ADD/SUB/XOR folds. NFC.


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

  Changed paths:
    M llvm/test/Transforms/InstCombine/icmp-of-or-x.ll

  Log Message:
  -----------
  [InstCombine] Add #38139 test coverage


  Commit: efbd64cbd90f4cc4eb5b1166eb9840af3ec1bba8
      https://github.com/llvm/llvm-project/commit/efbd64cbd90f4cc4eb5b1166eb9840af3ec1bba8
  Author: donald chen <chenxunyu1993 at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/test/Dialect/Linalg/transform-tile-reduction.mlir

  Log Message:
  -----------
  [mlir][arith] Delete unnecessary error logs (#94970)

Function `getNeutralElement` already indicates "cannot find neutral
element" by returning nullptr through the return value, and no
additional error log needs to be output.


  Commit: 9b225d01f8edf08153aa704f534a5a6676384fc2
      https://github.com/llvm/llvm-project/commit/9b225d01f8edf08153aa704f534a5a6676384fc2
  Author: Johannes Reifferscheid <jreiffers at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
    M mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir

  Log Message:
  -----------
  Fix complex abs with nnan/ninf. (#95080)

The current logic tests for inf/inf and 0/0 inputs using a NaN check.
This doesn't work with all fastmath flags. With nnan and ninf, we can
just check for a 0 maximum. With only nnan, we have to check for both
cases separately.


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

  Changed paths:
    M clang/lib/AST/Interp/Opcodes.td

  Log Message:
  -----------
  [clang][Interp][NFC] Remove unneeded opcode initializers


  Commit: 3f883111243c4abfc06670190771b9cafc092bd8
      https://github.com/llvm/llvm-project/commit/3f883111243c4abfc06670190771b9cafc092bd8
  Author: Paul T Robinson <paul.robinson at sony.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    A clang/test/Driver/apple-os-triples.c
    R clang/test/Driver/appletvos-version-min.c
    R clang/test/Driver/driverkit-version-min.c
    R clang/test/Driver/ios-version-min.c
    R clang/test/Driver/watchos-version-min.c
    A llvm/test/CodeGen/ARM/apple-version-min.ll
    A llvm/test/CodeGen/X86/apple-version-min.ll

  Log Message:
  -----------
  [Driver] Rearrange some Apple version testing (#94514)

There were four tests in Driver that actually tested bits of Driver and
bits of CodeGen, and therefore had target restrictions. Rework those
four tests into one Driver test (with no target restrictions) and two
target-specific CodeGen tests.


  Commit: a141a28c0cf415d8ca410a636c3aacf3d683ab38
      https://github.com/llvm/llvm-project/commit/a141a28c0cf415d8ca410a636c3aacf3d683ab38
  Author: Nathan Gauër <brioche at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
    M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-break.ll
    M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-convergence-in-break.ll
    M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-multiple-break.ll

  Log Message:
  -----------
  [SPIR-V] Fix flakiness during switch generation. (#95001)

The case-list of the switches generated by this pass were not
"deterministic" (based on allocation patterns).
This is because the CaseList order relied on an unordered_set order.
Using the sorted exit target list for those should solve the problem.

Fixes #94961

Signed-off-by: Nathan Gauër <brioche at google.com>


  Commit: ca920bb6285e9995f5a202d040af79363e98ab28
      https://github.com/llvm/llvm-project/commit/ca920bb6285e9995f5a202d040af79363e98ab28
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M flang/lib/Frontend/FrontendActions.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp

  Log Message:
  -----------
  [MLIR][Flang][DebugInfo] Set debug info format in MLIR->IR translation (#95098)

MLIR's LLVM dialect does not internally support debug records, only
converting to/from debug intrinsics. To smooth the transition from
intrinsics to records, there is a step prior to IR->MLIR translation
that switches the IR module to intrinsic-form; this patch adds the
equivalent conversion to record-form at MLIR->IR translation, and also
modifies the flang front end to use the WriteNewDbgInfoFormat flag when
it is emitting LLVM IR.


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

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-expression.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-2.c
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-any-pointer.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp

  Log Message:
  -----------
  [clang-tidy] Improve sizeof(pointer) handling in bugprone-sizeof-expression (#94356)

This commit reimplements the functionality of the Clang Static Analyzer
checker `alpha.core.SizeofPointer` within clang-tidy by adding a new
(off-by-default) option to bugprone-sizeof-expression which activates
reporting all the `sizeof(ptr)` expressions (where ptr is an expression
that produces a pointer).

The main motivation for this change is that `alpha.core.SizeofPointer`
was an AST-based checker, which did not rely on the path sensitive
capabilities of the Static Analyzer, so there was no reason to keep it
in the Static Analyzer instead of the more lightweight clang-tidy.

After this commit I'm planning to create a separate commit that deletes
`alpha.core.SizeofPointer` from Clang Static Analyzer.

It was natural to place this moved logic in bugprone-sizeof-expression,
because that check already provided several heuristics that reported
various especially suspicious classes of `sizeof(ptr)` expressions.

The new mode `WarnOnSizeOfPointer` is off-by-default, so it won't
surprise the existing users; but it can provide a more through coverage
for the vulnerability CWE-467 ("Use of sizeof() on a Pointer Type") than
the existing partial heuristics.

Previously this checker had an exception that the RHS of a
`sizeof(array) / sizeof(array[0])` expression is not reported; I
generalized this to an exception that the check doesn't report
`sizeof(expr[0])` and `sizeof(*expr)`. This idea is taken from the
Static Analyzer checker `alpha.core.SizeofPointer` (which had an
exception for `*expr`), but analysis of open source projects confirmed
that this indeed eliminates lots of unwanted results.

Note that the suppression of `sizeof(expr[0])` and `sizeof(*expr)`
reports also affects the "old" mode `WarnOnSizeOfPointerToAggregate`
which is enabled by default.

This commit also replaces the old message "suspicious usage of
'sizeof(A*)'; pointer to aggregate" with two more concrete messages; but
I feel that this tidy check would deserve a through cleanup of all the
diagnostic messages that it can produce. (I added a FIXME to mark one
outright misleading message.)


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

  Changed paths:
    M llvm/lib/CodeGen/MachineLICM.cpp
    M llvm/test/CodeGen/AMDGPU/indirect-call.ll

  Log Message:
  -----------
  [CodeGen][MachineLICM] Use RegUnits in HoistRegionPostRA (#94608)

Those BitVectors get expensive on targets like AMDGPU with thousands of
registers, and RegAliasIterator is also expensive.

We can move all liveness calculations to use RegUnits instead to speed
it up for targets where RegAliasIterator is expensive, like AMDGPU.
On targets where RegAliasIterator is cheap, this alternative can be a little more expensive, but I believe the tradeoff is worth it.


  Commit: ffc3a6b286ee619ab8f662cb7174705734eb1ce1
      https://github.com/llvm/llvm-project/commit/ffc3a6b286ee619ab8f662cb7174705734eb1ce1
  Author: Zibi Sarbinowski <zibi at ca.ibm.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
   [libc++] Fix endianness for algorithm mismatch (#93082)

This PR is required to fix
`std/algorithms/alg.nonmodifying/mismatch/mismatch.pass.cpp` test for
big endian platrofrms such as z/OS.


  Commit: 8c5d9c79b96ed8297b381e00d3a706a432cd6c9d
      https://github.com/llvm/llvm-project/commit/8c5d9c79b96ed8297b381e00d3a706a432cd6c9d
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M flang/lib/Frontend/FrontendActions.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp

  Log Message:
  -----------
  Revert "[MLIR][Flang][DebugInfo] Set debug info format in MLIR->IR translation (#95098)"

Reverted due to failure on buildbot due to missing use of the
WriteNewDbgInfoFormat flag in MLIR.

This reverts commit ca920bb6285e9995f5a202d040af79363e98ab28.


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

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst

  Log Message:
  -----------
  [AMDGPU] Document amdgpu-as in AMDGPUUsage (#94335)

Add a section about fence & address spaces that covers amdgpu-as.


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

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-atomicrmw.ll
    M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.v2f16.ll
    A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
    M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx940.ll
    M llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
    M llvm/test/CodeGen/AMDGPU/local-atomics-fp.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll

  Log Message:
  -----------
  AMDGPU: Add more tests for vector typed atomicrmw fadd

Some cases should be legal for gfx940.


  Commit: 460408f78b30720950040e336f7b566aa7203269
      https://github.com/llvm/llvm-project/commit/460408f78b30720950040e336f7b566aa7203269
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M flang/lib/Frontend/FrontendActions.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp

  Log Message:
  -----------
  Reapply "[MLIR][Flang][DebugInfo] Set debug info format in MLIR->IR translation (#95098)"

Reapplies the original patch with some additional conversion layers added
to the MLIR translator, to ensure that we don't write the new debug info
format unless WriteNewDbgInfoFormat is set.

This reverts commit 8c5d9c79b96ed8297b381e00d3a706a432cd6c9d.


  Commit: 3cc2710e0dd53bb82742904fa13014018a1137ed
      https://github.com/llvm/llvm-project/commit/3cc2710e0dd53bb82742904fa13014018a1137ed
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M flang/lib/Frontend/FrontendActions.cpp
    M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
    M mlir/test/lib/Dialect/Test/TestToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [MLIR][Flang][DebugInfo] Convert debug format in MLIR translators

Following from the previous commit, this patch converts to the
appropriate debug info format before printing LLVM IR.

See: https://github.com/llvm/llvm-project/pull/95098


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

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

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

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

There's quite a few cases to consider, hence this is split into multiple
PRs. In this PR, the very first test is complemented with all the
possible combinations:
  * scalable (rather than fixed) unit trailing dim,
  * dynamic (rather than static) trailing dim in the source memref.

Also,
  * `@leading_scalable_dimension_transfer_read` and
    `@trailing_scalable_one_dim_transfer_read`,

are replaced with:
  * `@contiguous_inner_most_scalable_inner_dim` and
    `@negative_scalable_unit_dim`,

respectively, and added to the list above (i.e. alongside other
variations for the very first test).

In addition:
  * "_view" is removed from function names (it's not clear to me what it
    was meant to signify)
  * extra comments are added to separate tests for vector.transfer_read
    and vector.transfer_write

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


  Commit: 1bae10879d9183c5edfb709c36b55086ebc772f0
      https://github.com/llvm/llvm-project/commit/1bae10879d9183c5edfb709c36b55086ebc772f0
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/include-cleaner/lib/LocateSymbol.cpp
    M clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp
    M clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp

  Log Message:
  -----------
  [clang-tidy] fix false positives for the functions with the same name as standard library functions in misc-include-cleaner (#94923)

Fixes: #93335
For decl with body, we should provide physical locations also. Because
it may be the function which have the same name as std library.


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

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstCombine/getelementptr.ll

  Log Message:
  -----------
  [ConstantFolding] Preserve nowrap flags in gep of gep fold

A caveat here is that we can only preserve nusw if the offset
additions did not overflow.

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


  Commit: 32add2435f9781418aa8ba8c90f9b7f0d2ac2f28
      https://github.com/llvm/llvm-project/commit/32add2435f9781418aa8ba8c90f9b7f0d2ac2f28
  Author: Paul T Robinson <paul.robinson at sony.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/ARM/apple-version-min.ll

  Log Message:
  -----------
  Fix test to have correct requirements (#95106)


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

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/test/CodeGenObjC/encode-test-3.m

  Log Message:
  -----------
  [clang][Interp] Support ObjCEncodeExprs


  Commit: 400d4fd7b6dea9c7cdd255bb804fcd0ee77f6d42
      https://github.com/llvm/llvm-project/commit/400d4fd7b6dea9c7cdd255bb804fcd0ee77f6d42
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/docs/AssignmentTracking.md
    M llvm/docs/HowToUpdateDebugInfo.rst
    M llvm/docs/InstrRefDebugInfo.md
    M llvm/docs/LangRef.rst
    M llvm/docs/MIRLangRef.rst
    M llvm/docs/Passes.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/docs/SourceLevelDebugging.rst
    M llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst

  Log Message:
  -----------
  [RemoveDIs] Update all docs to use debug records (#91768)

As we approach the state where support for debug intrinsics is dropping and
we print and use debug records by default, the documentation should be updated
to refer to debug records as the primary debug info representation, with
debug intrinsics being relegated to an optional alternative.

This patch performs a few updates:
- Replace references to intrinsics with references to records across all
the documentation.
- Replace intrinsics with records in code examples.
- Move debug records prior to debug intrinsics in the
SourceLevelDebugging document, and change text to refer to them as the
primary representation.
- Add release notes describing the change.


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

  Changed paths:
    M llvm/tools/gold/gold-plugin.cpp

  Log Message:
  -----------
  [gold] Don't pass StringRef to message() (#95083)

This is a printf style variadic function. If using a "%s" format, we
should pass "const char *" rather than "StringRef".

The use of data() here is safe because we know that the StringRef was
originally derived from a null-terminated string.


  Commit: 837dc542b1519df343e5a8f7b2718483530a4193
      https://github.com/llvm/llvm-project/commit/837dc542b1519df343e5a8f7b2718483530a4193
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineDominators.h
    M llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/EarlyIfConversion.cpp
    M llvm/lib/CodeGen/InlineSpiller.cpp
    M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/LiveDebugVariables.cpp
    M llvm/lib/CodeGen/LiveIntervals.cpp
    M llvm/lib/CodeGen/MIRSampleProfile.cpp
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/lib/CodeGen/MachineCSE.cpp
    M llvm/lib/CodeGen/MachineCombiner.cpp
    M llvm/lib/CodeGen/MachineDominanceFrontier.cpp
    M llvm/lib/CodeGen/MachineDominators.cpp
    M llvm/lib/CodeGen/MachineLICM.cpp
    M llvm/lib/CodeGen/MachineLoopInfo.cpp
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    M llvm/lib/CodeGen/MachineRegionInfo.cpp
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/lib/CodeGen/PHIElimination.cpp
    M llvm/lib/CodeGen/PeepholeOptimizer.cpp
    M llvm/lib/CodeGen/PostRASchedulerList.cpp
    M llvm/lib/CodeGen/PrologEpilogInserter.cpp
    M llvm/lib/CodeGen/RegAllocBasic.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/lib/CodeGen/RegAllocPBQP.cpp
    M llvm/lib/CodeGen/ShrinkWrap.cpp
    M llvm/lib/CodeGen/UnreachableBlockElim.cpp
    M llvm/lib/CodeGen/XRayInstrumentation.cpp
    M llvm/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
    M llvm/lib/Target/AArch64/AArch64ConditionOptimizer.cpp
    M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelDivergenceLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankSelect.cpp
    M llvm/lib/Target/AMDGPU/R600MachineCFGStructurizer.cpp
    M llvm/lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
    M llvm/lib/Target/AMDGPU/R600Packetizer.cpp
    M llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
    M llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
    M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
    M llvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
    M llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
    M llvm/lib/Target/ARC/ARCBranchFinalize.cpp
    M llvm/lib/Target/ARC/ARCOptAddrMode.cpp
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
    M llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
    M llvm/lib/Target/ARM/MVETPAndVPTOptimisationsPass.cpp
    M llvm/lib/Target/CSKY/CSKYConstantIslandPass.cpp
    M llvm/lib/Target/Hexagon/HexagonBitSimplify.cpp
    M llvm/lib/Target/Hexagon/HexagonConstExtenders.cpp
    M llvm/lib/Target/Hexagon/HexagonCopyHoisting.cpp
    M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
    M llvm/lib/Target/Hexagon/HexagonExpandCondsets.cpp
    M llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonGenInsert.cpp
    M llvm/lib/Target/Hexagon/HexagonGenMemAbsolute.cpp
    M llvm/lib/Target/Hexagon/HexagonGenPredicate.cpp
    M llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
    M llvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp
    M llvm/lib/Target/Hexagon/HexagonRDFOpt.cpp
    M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
    M llvm/lib/Target/Mips/MipsOptimizePICCall.cpp
    M llvm/lib/Target/Mips/MipsPostLegalizerCombiner.cpp
    M llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
    M llvm/lib/Target/PowerPC/PPCCTRLoopsVerify.cpp
    M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
    M llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
    M llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVPostLegalizerCombiner.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVPreLegalizerCombiner.cpp
    M llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
    M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceInstructionsMIR.cpp
    M llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp

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

Prepare for new pass manager version of `MachineDominatorTreeAnalysis`.
We may need a machine dominator tree version of `DomTreeUpdater` to
handle `SplitCriticalEdge` in some CodeGen passes.


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

  Changed paths:
    M llvm/test/CodeGen/X86/early-ifcvt-remarks.ll

  Log Message:
  -----------
  [X86] early-ifcvt-remarks.ll - add codegen checks


  Commit: bc5ced54cc8d16332eacfc5f842aea3212e8ab5e
      https://github.com/llvm/llvm-project/commit/bc5ced54cc8d16332eacfc5f842aea3212e8ab5e
  Author: Sergei Lebedev <185856+superbobry at users.noreply.github.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi

  Log Message:
  -----------
  Updated the annotations of Python bindings (#92733)


  Commit: 37e9bf9d151ec088685eb7f08c5124981eb5a82d
      https://github.com/llvm/llvm-project/commit/37e9bf9d151ec088685eb7f08c5124981eb5a82d
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [bazel] Add missing dependency for 3cc2710e0dd53bb82742904fa13014018a1137ed


  Commit: 2eb60e2de812187839954d2ce35e1479817631db
      https://github.com/llvm/llvm-project/commit/2eb60e2de812187839954d2ce35e1479817631db
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M offload/include/Shared/APITypes.h

  Log Message:
  -----------
  [Offload][NFCI] Initialize the KernelArgsTy to default values (#95117)

Co-authored-by: Joseph Huber <huberjn at outlook.com>


  Commit: d83f37f039dbd96918feb94c441882f71d772e55
      https://github.com/llvm/llvm-project/commit/d83f37f039dbd96918feb94c441882f71d772e55
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M flang/lib/Frontend/FrontendActions.cpp
    M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/lib/Dialect/Test/TestToLLVMIRTranslation.cpp

  Log Message:
  -----------
  Revert#2 "[MLIR][Flang][DebugInfo] Set debug info format in MLIR->IR translation (#95098)"

Also reverts "[MLIR][Flang][DebugInfo] Convert debug format in MLIR translators"

The patch above introduces behaviour controlled by an LLVM flag into the
Flang driver, which is incorrect behaviour.

This reverts commits:
  3cc2710e0dd53bb82742904fa13014018a1137ed.
  460408f78b30720950040e336f7b566aa7203269.


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

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
    A lldb/test/Shell/SymbolFile/DWARF/x86/debug-names-signature.s
    A lldb/test/Shell/SymbolFile/DWARF/x86/debug-names-static-constexpr-member.s

  Log Message:
  -----------
  [lldb] Skip declaration DIEs in the debug_names index (#94744)

This makes sure we try to process declaration DIEs that are erroneously
present in the index. Until bd5c6367bd7, clang was emitting index
entries for declaration DIEs with DW_AT_signature attributes. This makes
sure to avoid returning those DIEs as the definitions of a type, but
also makes sure to pass through DIEs referring to static constexpr
member variables, which is a (probably nonconforming) extension used by
dsymutil.

It adds test cases for both of the scenarios. It is essentially a
recommit of #91808.


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

  Changed paths:
    M llvm/test/CodeGen/X86/early-ifcvt-remarks.ll

  Log Message:
  -----------
  [X86] early-ifcvt-remarks.ll - use i64 arithmetic to ensure ifcvt doesn't drop below threshold

Upcoming SimplifyDemandedBits support for CMOV will simplify the code and reduce the critical path below the threshold if we stick with i32 multiplies


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/widen-load-of-small-alloca.ll

  Log Message:
  -----------
  [X86] SimplifyDemandedBitsForTargetNode - add basic X86ISD::CMOV handling

Add basic pass through handling - we could extend this to truncate CMOVQ to CMOVL in a future patch


  Commit: be6248a42a39bb21e54764c48ddc3804b9b93ae5
      https://github.com/llvm/llvm-project/commit/be6248a42a39bb21e54764c48ddc3804b9b93ae5
  Author: Dmitry Chernenkov <dmitryc at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [Bazel] Layering fix for 65310f34d7edf7924ca4cbe7df836770669f70dc


  Commit: d58637219463924185614f18911c5f01a1c20aa9
      https://github.com/llvm/llvm-project/commit/d58637219463924185614f18911c5f01a1c20aa9
  Author: Max191 <44243577+Max191 at users.noreply.github.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
    M mlir/include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.td
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
    M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
    M mlir/test/Dialect/SCF/one-shot-bufferize-analysis.mlir

  Log Message:
  -----------
  [mlir] Add bufferization option for parallel region check (#94645)

Handling parallel region RaW conflicts should usually be the
responsibility of the source program, rather than bufferization
analysis. However, to preserve current functionality, checks on parallel
regions is put behind a bufferization in this PR, which is on by
default. Default functionality will not change, but this PR enables the
option to leave parallelism checks out of the bufferization analysis.


  Commit: 38ccee00346300c87abc34860398bc950c65eaec
      https://github.com/llvm/llvm-project/commit/38ccee00346300c87abc34860398bc950c65eaec
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
    M llvm/test/CodeGen/WebAssembly/libcalls.ll

  Log Message:
  -----------
  [WASM] Fix for wasi libc build break add tan to RuntimeLibcallSignatureTable (#95082)

The wasm backend fetches the tan runtime lib call in
`llvm/include/llvm/IR/RuntimeLibcalls.def` via `StaticLibcallNameMap()`,
but ignores the runtime function because a function sinature mapping is
not specified in RuntimeLibcallSignatureTable(). The fix is to specify
the function signatures for float32-128.

This is a fix for a build break reported on PR
https://github.com/llvm/llvm-project/pull/94559#issuecomment-2159923215.


  Commit: 18cf1cd92b554ba0b870c6a2223ea4d0d3c6dd21
      https://github.com/llvm/llvm-project/commit/18cf1cd92b554ba0b870c6a2223ea4d0d3c6dd21
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M mlir/include/mlir-c/Bindings/Python/Interop.h
    A mlir/include/mlir-c/Rewrite.h
    M mlir/include/mlir/Bindings/Python/PybindAdaptors.h
    M mlir/lib/Bindings/Python/IRModule.h
    M mlir/lib/Bindings/Python/MainModule.cpp
    A mlir/lib/Bindings/Python/Rewrite.cpp
    A mlir/lib/Bindings/Python/Rewrite.h
    M mlir/lib/CAPI/Transforms/CMakeLists.txt
    A mlir/lib/CAPI/Transforms/Rewrite.cpp
    M mlir/python/CMakeLists.txt
    M mlir/python/mlir/dialects/pdl.py
    A mlir/python/mlir/rewrite.py
    A mlir/test/python/integration/dialects/pdl.py
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel

  Log Message:
  -----------
  [mlir] Add PDL C & Python usage (#94714)

Following a rather direct approach to expose PDL usage from C and then
Python. This doesn't yes plumb through adding support for custom
matchers through this interface, so constrained to basics initially.

This also exposes greedy rewrite driver. Only way currently to define
patterns is via PDL (just to keep small). The creation of the PDL
pattern module could be improved to avoid folks potentially accessing
the module used to construct it post construction. No ergonomic work
done yet.

---------

Signed-off-by: Jacques Pienaar <jpienaar at google.com>


  Commit: b746babb22bdcd945b7665d63472c9d8695893d0
      https://github.com/llvm/llvm-project/commit/b746babb22bdcd945b7665d63472c9d8695893d0
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/test/tools/llvm-rc/windres-prefix.test

  Log Message:
  -----------
  Restore 'REQUIRES: shell' for another test after 878deae

Otherwise this would fail when using gnuwin32.


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

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/c23.rst
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/BasicOperations.h
    M libc/src/math/CMakeLists.txt
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/totalorderf16.cpp
    A libc/src/math/generic/totalordermagf16.cpp
    A libc/src/math/totalorderf16.h
    A libc/src/math/totalordermagf16.h
    M libc/test/UnitTest/FPMatcher.h
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/TotalOrderMagTest.h
    A libc/test/src/math/smoke/TotalOrderTest.h
    A libc/test/src/math/smoke/totalorderf16_test.cpp
    A libc/test/src/math/smoke/totalordermagf16_test.cpp

  Log Message:
  -----------
  [libc][math][c23] Add {totalorder,totalordermag}f16 C23 math functions (#95014)

Part of #93566.


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/2008-06-16-SubregsBug.ll
    M llvm/test/CodeGen/X86/abs.ll
    M llvm/test/CodeGen/X86/combine-sdiv.ll
    M llvm/test/CodeGen/X86/is_fpclass.ll
    M llvm/test/CodeGen/X86/lsr-overflow.ll
    M llvm/test/CodeGen/X86/shrink-compare-pgso.ll
    M llvm/test/CodeGen/X86/shrink-compare.ll

  Log Message:
  -----------
  [X86] ICMP EQ/NE MIN_SIGNED_INT - avoid immediate argument by using NEG + SETO/SETNO (#94948)

For i64 this avoids loading a 64-bit value into register, for smaller registers this just avoids an immediate operand.

For i8+i16, limit to one use case as we save fewer bytes and these can be wasted entirely on extra register moves.

Fixes #67709


  Commit: 00c5474918dac1a382c63628ed0844a354a0761f
      https://github.com/llvm/llvm-project/commit/00c5474918dac1a382c63628ed0844a354a0761f
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp

  Log Message:
  -----------
  [HWASan] make get_info.local_time.pass.cpp UNSUPPORTED


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

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/SemaCXX/ms-const-member-expr.cpp

  Log Message:
  -----------
  [clang][Interp] Fix visiting non-FieldDecl MemberExprs

Ignore the base and visit the Member decl like a regular DeclRefExpr.


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

  Changed paths:
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/include/llvm/MC/MCObjectStreamer.h
    M llvm/include/llvm/MC/MCSection.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  [MC] Replace fragment ilist with singly-linked lists

Fragments are allocated with `operator new` and stored in an ilist with
Prev/Next/Parent pointers. A more efficient representation would be an
array of fragments without the overhead of Prev/Next pointers.

As the first step, replace ilist with singly-linked lists.

* `getPrevNode` uses have been eliminated by previous changes.
* The last use of the `Prev` pointer remains: for each subsection, there is an insertion point and
  the current insertion point is stored at `CurInsertionPoint`.
* `HexagonAsmBackend::finishLayout` needs a backward iterator. Save all
  fragments within `Frags`. Hexagon programs are usually small, and the
  performance does not matter that much.

To eliminate `Prev`, change the subsection representation to
singly-linked lists for subsections and a pointer to the active
singly-linked list. The fragments from all subsections will be chained
together at layout time.

Since fragment lists are disconnected before layout time, we can remove
`MCFragment::SubsectionNumber` (https://reviews.llvm.org/D69411). The
current implementation of `AttemptToFoldSymbolOffsetDifference` requires
future improvement for robustness.

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


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

  Changed paths:
    M lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py

  Log Message:
  -----------
  [lldb] Skip TestAttachDenied under asan

Like many other tests, this one times out when run under the address sanitizer.
To reduce noise, this commit skips it in those builds.


  Commit: 5ccdce95b4842a472ee466e4ad1bdfa4e9eb31dc
      https://github.com/llvm/llvm-project/commit/5ccdce95b4842a472ee466e4ad1bdfa4e9eb31dc
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/test/DebugInfo/symbolize-gnu-debuglink-fallback.test
    M llvm/test/tools/llvm-cov/gcov/basic.test
    M llvm/test/tools/llvm-rc/windres-preproc.test

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

These tests pass on Linux using lit's internal shell.


  Commit: a03e93e1b2172791085f3f8c293b8e5d6ed8d841
      https://github.com/llvm/llvm-project/commit/a03e93e1b2172791085f3f8c293b8e5d6ed8d841
  Author: David Parks <code.optimizer at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
    M flang/include/flang/Runtime/numeric.h
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
    M flang/runtime/numeric-templates.h
    M flang/runtime/numeric.cpp
    A flang/test/Lower/Intrinsics/erfc_scaled.f90
    M flang/unittests/Runtime/Numeric.cpp

  Log Message:
  -----------
  [flang] Add runtime support for Fortran intrinsic ERFC_SCALED (#95040)

Co-authored-by: David Parks <dparks at nvidia.com>


  Commit: 71497cc7a4695d22fc5dfd64958744816c15a19e
      https://github.com/llvm/llvm-project/commit/71497cc7a4695d22fc5dfd64958744816c15a19e
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/CGSCCPassManager.h
    M llvm/include/llvm/Analysis/LazyCallGraph.h
    M llvm/lib/Analysis/CGSCCPassManager.cpp
    M llvm/lib/Analysis/LazyCallGraph.cpp
    M llvm/lib/Transforms/IPO/Inliner.cpp
    M llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
    M llvm/test/Other/cgscc-refscc-mutation-order.ll
    M llvm/test/Other/devirt-invalidated.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll
    M llvm/test/Transforms/Inline/cgscc-cycle-debug.ll
    M llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
    M llvm/unittests/Analysis/LazyCallGraphTest.cpp

  Log Message:
  -----------
  [CGSCC] Fix compile time blowup with large RefSCCs (#94815)

In some modules, e.g. Kotlin-generated IR, we end up with a huge RefSCC
and the call graph updates done as a result of the inliner take a long
time. This is due to RefSCC::removeInternalRefEdges() getting called
many times, each time removing one function from the RefSCC, but each
call to removeInternalRefEdges() is proportional to the size of the
RefSCC.

There are two places that call removeInternalRefEdges(), in
updateCGAndAnalysisManagerForPass() and
LazyCallGraph::removeDeadFunction().

1) Since LazyCallGraph can deal with spurious (edges that exist in the
graph but not in the IR) ref edges, we can simply not call
removeInternalRefEdges() in updateCGAndAnalysisManagerForPass().

2) LazyCallGraph::removeDeadFunction() still ends up taking the brunt of
compile time with the above change for the original reason. So instead
we batch all the dead function removals so we can call
removeInternalRefEdges() just once. This requires some changes to
callers of removeDeadFunction() to not actually erase the function from
the module, but defer it to when we batch delete dead functions at the
end of the CGSCC run, leaving the function body as "unreachable" in the
meantime. We still need to ensure that call edges are accurate. I had
also tried deleting dead functions after visiting a RefSCC, but deleting
them all at once at the end was simpler.

Many test changes are due to not performing unnecessary revisits of an
SCC (the CGSCC infrastructure deems ref edge refinements as unimportant
when it comes to revisiting SCCs, although that seems to not be
consistently true given these changes) because we don't remove some ref
edges. Specifically for devirt-invalidated.ll this seems to expose an
inlining order issue with the inliner. Probably unimportant for this
type of intentionally weird call graph.

Compile time:
https://llvm-compile-time-tracker.com/compare.php?from=6f2c61071c274a1b5e212e6ad4114641ec7c7fc3&to=b08c90d05e290dd065755ea776ceaf1420680224&stat=instructions:u


  Commit: 41f81ad73583bfff7c7dc1caeacbbb783d004e9c
      https://github.com/llvm/llvm-project/commit/41f81ad73583bfff7c7dc1caeacbbb783d004e9c
  Author: Tomas Matheson <Tomas.Matheson at arm.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/utils/TableGen/SubtargetEmitter.cpp

  Log Message:
  -----------
  [Tablegen][NFC] Add a check for duplicate features (#94223)

We hit this downstream and the only evidence of the mistake was that the
results of `Find` on `SubtargetFeatureKV` were corrupted.


  Commit: 27f3ac5929badc84a339248c9281997b87bb963e
      https://github.com/llvm/llvm-project/commit/27f3ac5929badc84a339248c9281997b87bb963e
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [flang] Fix character scalar result for REDUCE intrinsic call (#95076)

The character reduce runtime functions expect a pointer to a scalar
character of the correct length for the result of character reduce. A
descriptor was passed so far. Fix the lowering so a proper temporary is
created and passed to the runtime.


  Commit: 1c59362e4456fb0861fcf4be9831b4db3e921b2b
      https://github.com/llvm/llvm-project/commit/1c59362e4456fb0861fcf4be9831b4db3e921b2b
  Author: geza-herman <geza.herman at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/TidyProvider.cpp

  Log Message:
  -----------
  [clangd] Make it possible to enable misc-const-correctness clang-tidy check (#94920)

Before this PR, clangd forcefully disabled misc-const-correctness in
disableUnusableChecks().

Now we have a FastCheckFilter configuration whose default value
(Strict) also disables it. This patch removes misc-const-correctness
from disableUnusableChecks() so it's possible to enable by setting
FastCheckFilter to None.

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


  Commit: 727ecbeee3638d3736cd6345a1f102f8d2c6ce0d
      https://github.com/llvm/llvm-project/commit/727ecbeee3638d3736cd6345a1f102f8d2c6ce0d
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [BOLT][DWARF][NFC] Remove old GDB Index functions (#95019)

Remove old usages of GDB Index functions after replacing them with new
ones.


  Commit: 56f668c12b1a26e103aafe5ac37930b1895c938b
      https://github.com/llvm/llvm-project/commit/56f668c12b1a26e103aafe5ac37930b1895c938b
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [lldb/DWARF] Remove some dead code (#95127)

`GetDeclContextDIEs` and `DIEDeclContextsMatch` are unused (possibly
since we added support for simplified template names, but I haven't
checked). `GetDeclContextDIEs` is also very similar (but subtly
different) from `GetDeclContext` and `GetTypeLookupContext`.

I am keeping `GetParentDeclContextDIE` as that one still has some
callers, but I want to look into the possibility of merging it with at
least one of the functions mentioned above.


  Commit: 540893e43fb7a5e08deec0d951fd3c1d957f8f89
      https://github.com/llvm/llvm-project/commit/540893e43fb7a5e08deec0d951fd3c1d957f8f89
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [BOLT] Add auto parsing for Linux kernel .altinstructions (#95068)

.altinstructions section contains a list of structures where fields can
have different sizes while other fields could be present or not
depending on the kernel version. Add automatic detection of such
variations and use it by default. The user can still overwrite the
automatic detection with `--alt-inst-has-padlen` and
`--alt-inst-feature-size` options.


  Commit: 9b4f8acf9dd1cd517f923c6de8274eed80879f6c
      https://github.com/llvm/llvm-project/commit/9b4f8acf9dd1cd517f923c6de8274eed80879f6c
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [clang] Fix a few comment typos to cycle bots


  Commit: ca6386073308d3c41647d8fc3e2cf72a77d46c76
      https://github.com/llvm/llvm-project/commit/ca6386073308d3c41647d8fc3e2cf72a77d46c76
  Author: Michal Paszkowski <michal at paszkowski.org>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.h
    A llvm/test/CodeGen/SPIRV/optimizations/switch-condition-type.ll

  Log Message:
  -----------
  [SPIR-V] Don't change switch condition type in CodeGen opts (#94959)

This change makes sure the preferred switch condition int type size
remains the same throughout CodeGen optimizations.

The change fixes running several OpenCL applications with -O2 or higher
opt levels, and fixes Basic/stream/stream_max_stmt_exceed.cpp DPC++ E2E
test with -O2.


  Commit: a13bc9714a6bfb766693aa7900217f6f9be6f25d
      https://github.com/llvm/llvm-project/commit/a13bc9714a6bfb766693aa7900217f6f9be6f25d
  Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/lib/Passes/PLTCall.cpp
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
    A bolt/test/AArch64/plt-call.test
    A bolt/test/Inputs/plt-tailcall.c
    A bolt/test/X86/plt-call.test

  Log Message:
  -----------
  [BOLT][AArch64] Implement PLTCall optimization (#93584)

`convertCallToIndirectCall` applies the PLTCall optimization and returns
an (updated if needed) iterator to the converted call instruction. Since
AArch64 requires to inject additional instructions to implement this
pass, the relevant BasicBlock and an iterator was passed to the
`convertCallToIndirectCall`.

`NumCallsOptimized` is updated only on successful application of the
pass.

Tests:
- Inputs/plt-tailcall.c: an example of a tail call optimized PLT call.
- AArch64/plt-call.test: it is the actual A64 test, that runs the
PLTCall optimization on the above input file and verifies the
application of the pass to the calls: 'printf' and 'puts'.


  Commit: 18a8983c36171659cc84f109c2f3c38e6d10d1a3
      https://github.com/llvm/llvm-project/commit/18a8983c36171659cc84f109c2f3c38e6d10d1a3
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  LAA: refactor analyzeLoop to return bool (NFC) (#93824)

Avoid wastefully setting CanVecMem in several places in analyzeLoop,
complicating the logic, to get the function to return a bool, and set
CanVecMem in the caller.


  Commit: 3af35251c8cd0729674076ab99c64cff6126c270
      https://github.com/llvm/llvm-project/commit/3af35251c8cd0729674076ab99c64cff6126c270
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [ProfileData] Simplify InstrProfValueSiteRecord (NFC) (#95143)

std::list default-constructs itself as an empty list, so we don't need
to call ValueData.clear() in the constructor.


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

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
    M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/SparseTensor/Transforms/SparseSpaceCollapse.cpp
    A mlir/test/Dialect/SparseTensor/sparse_space_collapse.mlir

  Log Message:
  -----------
  [mlir][sparse] implement sparse space collapse pass. (#89003)


  Commit: 65614605dd99af80cc2218b8a43b0b0f6aebe11a
      https://github.com/llvm/llvm-project/commit/65614605dd99af80cc2218b8a43b0b0f6aebe11a
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVDuplicatesTracker.h

  Log Message:
  -----------
  [SPIR-V] Ensure that DuplicatesTracker is working with TypedPointers pointee types (#94952)

This PR is a tweak to ensure that DuplicatesTracker is working with
TypedPointers pointee types rather than with original llvm's untyped
pointers. This enforces DuplicatesTracker promise to avoid emission of
several identical OpTypePointer instructions.


  Commit: 57520985e09f3c098a5f5a6f72e3107a8a1d5446
      https://github.com/llvm/llvm-project/commit/57520985e09f3c098a5f5a6f72e3107a8a1d5446
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
    A llvm/test/CodeGen/SPIRV/transcoding/OpGenericCastToPtr.ll

  Log Message:
  -----------
  [SPIR-V] Implement insertion of OpGenericCastToPtr using builtin functions (#95055)

This PR implements insertion of OpGenericCastToPtr using builtin
functions (both opencl `to_global|local|private` and `__spirv_`
wrappers), and improves type inference.


  Commit: 6afbda7130c343be34b2f3c765b9c4c1b251b671
      https://github.com/llvm/llvm-project/commit/6afbda7130c343be34b2f3c765b9c4c1b251b671
  Author: Daniel Bertalan <dani at danielbertalan.dev>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M lld/MachO/UnwindInfoSection.cpp
    M lld/test/MachO/compact-unwind-both-local-and-dylib-personality.s
    M lld/test/MachO/compact-unwind.s

  Log Message:
  -----------
  [lld-macho] Fix duplicate GOT entries for personality functions (#95054)

As stated in `UnwindInfoSectionImpl::prepareRelocations`'s comments, the
unwind info uses section+addend relocations for personality functions
defined in the same file as the function itself. As personality
functions are always accessed via the GOT, we need to resolve those to a
symbol. Previously, we did this by keeping a map which resolves these to
symbols, creating a synthetic symbol if we didn't find it in the map.

This approach has an issue: if we process the object file containing the
personality function before any external uses, the entry in the map
remains unpopulated, so we create a synthetic symbol and a corresponding
GOT entry. If we encounter a relocation to it in a later file which
requires GOT (such as in `__eh_frame`), we add that symbol to the GOT,
too, effectively creating two entries which point to the same piece of
code.

This commit fixes that by searching the personality function's section
for a symbol at that offset which already has a GOT entry, and only
creating a synthetic symbol if there is none. As all non-unwind sections
are already processed by this point, it ensures no duplication.

This should only really affect our tests (and make them clearer), as
personality functions are usually defined in platform runtime libraries.
Or even if they are local, they are likely not in the first object file
to be linked.


  Commit: 163d036d64609bf59183664aec244da5078dc1f1
      https://github.com/llvm/llvm-project/commit/163d036d64609bf59183664aec244da5078dc1f1
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
    A llvm/test/CodeGen/SPIRV/trunc-nonstd-bitwidth.ll

  Log Message:
  -----------
  [SPIR-V] Validate and fix bit width of scalar registers (#95147)

This PR improves legalization process of SPIR-V instructions. Namely, it
introduces validation and fixing of bit width of scalar registers as a
part of pre-legalizer. A test case is added that demonstrates ability to
legalize instructions with non 8/16/32/64 bit width both with and
without vendor-specific SPIR-V extension
(SPV_INTEL_arbitrary_precision_integers). In the case of absence of the
extension, a generated SPIR-V code will fallback to 8/16/32/64 bit width
in OpTypeInt, but SPIR-V Backend still is able to legalize operations
with original integer sizes.


  Commit: 982b4b6f4d5ddf04ed5e85aea7074c9b26f29673
      https://github.com/llvm/llvm-project/commit/982b4b6f4d5ddf04ed5e85aea7074c9b26f29673
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M lldb/source/Commands/CommandObjectThread.cpp

  Log Message:
  -----------
  [lldb] Fix declaration of thread argument in CommandObjectThreadStepWithTypeAndScope (#95146)

`thread step-in` (and other step commands) take a `<thread-index>`, not a `<thread-id>`.


  Commit: 16f2aa1a2ddfcb99e34da5af9d75eaeeb97bb9ce
      https://github.com/llvm/llvm-project/commit/16f2aa1a2ddfcb99e34da5af9d75eaeeb97bb9ce
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp

  Log Message:
  -----------
  [libc++] Tweak how we check constraints on shared_ptr(nullptr_t) (#94996)

This avoids breaking code that should arguably be valid but technically
isn't after enforcing the constraints on shared_ptr's constructors. A
new LWG issue was filed to fix this in the Standard.

This patch applies the expected resolution of this issue to avoid
flip-flopping users whose code should always be considered valid.

See #93071 for more context.


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

  Changed paths:
    M libcxx/docs/Status/Cxx2cIssues.csv
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp

  Log Message:
  -----------
  [libc++] Update with LWG issue number for shared-ptr constructor


  Commit: 6faae130e4ea34f8b092fdfcd866fbb5861bfc49
      https://github.com/llvm/llvm-project/commit/6faae130e4ea34f8b092fdfcd866fbb5861bfc49
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M libcxx/include/string

  Log Message:
  -----------
  [libc++] Simplify the definition of string::operator== (#95000)

Instead of hardcoding a loop for small strings, always call
char_traits::compare which ends up desugaring to __builtin_memcmp.

Note that the original code dates back 11 years, when we didn't lower to
intrinsics in `char_traits::compare`.

Fixes #94222


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

  Changed paths:
    M libcxx/include/string

  Log Message:
  -----------
  [libc++][NFC] Remove some dead code in string (#94893)

It looks like the last references got removed in c747bd0e2339.
It removed a __zero() function, which was probably created at
some point in the ancient past to optimize copying the string 
representation. The __zero() function got simplified to an 
assignment as part of making string constexpr, rendering this 
code unnecessary.


  Commit: a118f5f398bf099ec76ebf889234ebbc58b28f0c
      https://github.com/llvm/llvm-project/commit/a118f5f398bf099ec76ebf889234ebbc58b28f0c
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
    A lldb/test/API/functionalities/type_types/Makefile
    A lldb/test/API/functionalities/type_types/TestFindTypes.py
    A lldb/test/API/functionalities/type_types/main.cpp
    M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp

  Log Message:
  -----------
  Fix type lookup bug where wrong decl context was being used for a DIE. (#94846)

The function that calculated the declaration context for a DIE was incorrectly transparently traversing acrosss DW_TAG_subprogram dies when climbing the parent DIE chain. This meant that types defined in functions would appear to have the declaration context of anything above the function. I fixed the GetTypeLookupContextImpl(...) function in DWARFDIE.cpp to not transparently skip over functions, lexical blocks and inlined functions and compile and type units. Added a test to verify things are working.


  Commit: c6ee5628a75feeb4fccc8272a68eb8303fb1734b
      https://github.com/llvm/llvm-project/commit/c6ee5628a75feeb4fccc8272a68eb8303fb1734b
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang/test/CodeGenHLSL/convergence/for.hlsl
    M clang/test/SemaHLSL/standard_conversion_sequences.hlsl

  Log Message:
  -----------
  [HLSL] Fix FileCheck annotation typos (#95155)

These are the HLSL specific fixes from #93193. Thanks klensy!


  Commit: 438a7d4c982e0a38aaa6544a5ba6736d54600733
      https://github.com/llvm/llvm-project/commit/438a7d4c982e0a38aaa6544a5ba6736d54600733
  Author: Aart Bik <ajcbik at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
    M mlir/lib/Dialect/SparseTensor/Transforms/SparsificationAndBufferizationPass.cpp
    A mlir/test/Dialect/SparseTensor/minipipeline_vector.mlir

  Log Message:
  -----------
  [mlir][sparse] expose optimization flags to mini pipeline (#95158)

Some of the options only fed into the full sparse pipeline. However,
some backends prefer to use the sparse minipipeline. This change exposes
some important optimization flags to the pass as well. This prepares
some SIMDization of PyTorch sparsified code.


  Commit: 3fce14569fc3611eddca41db055143285244736a
      https://github.com/llvm/llvm-project/commit/3fce14569fc3611eddca41db055143285244736a
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

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

The option is causing the binary output to be different when compiled
under `-O0`, because it introduce dbg.declare on pseudovariables. Going
to change this implementation to use dbg.value instead.


  Commit: cc04bbb2752a0b2a5e7fb41ed1a9d54fbdd3be89
      https://github.com/llvm/llvm-project/commit/cc04bbb2752a0b2a5e7fb41ed1a9d54fbdd3be89
  Author: ChiaHungDuan <chiahungduan at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/primary64.h

  Log Message:
  -----------
  [scudo] Fix the calculation of PushedBytesDelta (#95177)

BytesInBG is always greater or equal to BG->BytesInBGAtLastCheckpoint.

Note that the bug led to unnecessary attempts of page releasing and
doesn't have critical impact on the correctness.


  Commit: 0fb216fb2fbb49c1fe90c1c3267873a100b1c356
      https://github.com/llvm/llvm-project/commit/0fb216fb2fbb49c1fe90c1c3267873a100b1c356
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Support/MathExtras.h
    M llvm/unittests/Support/MathExtrasTest.cpp
    M mlir/include/mlir/Analysis/Presburger/Fraction.h
    M mlir/include/mlir/Analysis/Presburger/MPInt.h
    M mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
    M mlir/include/mlir/Dialect/Mesh/IR/MeshOps.h
    R mlir/include/mlir/Support/MathExtras.h
    M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
    M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
    M mlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
    M mlir/lib/Dialect/Affine/Analysis/AffineStructures.cpp
    M mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
    M mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
    M mlir/lib/Dialect/Func/IR/FuncOps.cpp
    M mlir/lib/Dialect/Linalg/TransformOps/GPUHeuristics.cpp
    M mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/lib/Dialect/SCF/Transforms/LoopPipelining.cpp
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/lib/Dialect/Utils/StaticValueUtils.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp
    M mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
    M mlir/lib/IR/AffineExpr.cpp
    M mlir/lib/IR/AffineMap.cpp
    M mlir/unittests/Support/CMakeLists.txt
    R mlir/unittests/Support/MathExtrasTest.cpp

  Log Message:
  -----------
  mlir/MathExtras: consolidate with llvm/MathExtras (#95087)

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


  Commit: 6fb6eba9304b63e86ebf039edcb9a0b32e4b39e7
      https://github.com/llvm/llvm-project/commit/6fb6eba9304b63e86ebf039edcb9a0b32e4b39e7
  Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M lldb/bindings/python/python-typemaps.swig
    M lldb/bindings/python/python-wrapper.swig
    M lldb/include/lldb/API/SBCommandInterpreter.h
    A lldb/test/API/python_api/interpreter/TestCommandOverrideCallback.py

  Log Message:
  -----------
  [lldb][api-test] Add API test for SBCommandInterpreter::CommandOverrideCallback (#94518)

`SBCommandInterpreter::CommandOverrideCallback` was not being exposed to
the Python API and has no coverage in the
API test suite, so this commits exposes and adds a test for it. Doing
this involves also adding a typemap for the callback used for this
function so that it matches the functionality of other callback
functions that are exposed to Python.


  Commit: 7cff05ada05e87408966d56b4c1675033187ff5c
      https://github.com/llvm/llvm-project/commit/7cff05ada05e87408966d56b4c1675033187ff5c
  Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M lldb/bindings/python/python-typemaps.swig
    M lldb/bindings/python/python-wrapper.swig
    M lldb/include/lldb/API/SBCommandInterpreter.h
    R lldb/test/API/python_api/interpreter/TestCommandOverrideCallback.py

  Log Message:
  -----------
  Revert "[lldb][api-test] Add API test for SBCommandInterpreter::CommandOverrideCallback (#94518)"

This reverts commit 6fb6eba9304b63e86ebf039edcb9a0b32e4b39e7.
This test breaks due to an incorrect import in the test.


  Commit: 8b18684708e4fbdd521b8df9a16b564315ff2c43
      https://github.com/llvm/llvm-project/commit/8b18684708e4fbdd521b8df9a16b564315ff2c43
  Author: Emilio Cota <ecg at google.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [mlir][bazel] fixes for 18cf1cd92b5


  Commit: 826fc8a1acaaeb229d2a422da417ab5d62011e3e
      https://github.com/llvm/llvm-project/commit/826fc8a1acaaeb229d2a422da417ab5d62011e3e
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/docs/CommandGuide/lit.rst
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  [llvm][lit] Add tsan feature when enabled (#94573)


  Commit: 511a1957258a16157e38f1a49e3de04e82ef001d
      https://github.com/llvm/llvm-project/commit/511a1957258a16157e38f1a49e3de04e82ef001d
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  [llvm][lit] Remove unused default feature (#94804)


  Commit: 3ab6d126250f03982d3110517d407f7e951133f6
      https://github.com/llvm/llvm-project/commit/3ab6d126250f03982d3110517d407f7e951133f6
  Author: Brendan Dahl <brendan.dahl at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsWebAssembly.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/builtins-wasm.c
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
    M llvm/test/MC/WebAssembly/simd-encodings.s

  Log Message:
  -----------
  [WebAssembly] Implement f16x8 madd and nmadd instructions. (#95151)

Implemented with intrinsics and builtins.

Specified at:

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


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

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    A flang/test/Semantics/cuf16.cuf

  Log Message:
  -----------
  [flang] Refine checks for intrinsic operator conflicts with CUDA defi… (#94389)

…ned operators

The checks for conflicts between defined operators/assignments and the
intrinsic operators/assignment need to take CUDA procedure and data
attributes into account to avoid false positive error messages.


  Commit: 11a4d43f4a8ed02694de4d39b5591ff2b1c31803
      https://github.com/llvm/llvm-project/commit/11a4d43f4a8ed02694de4d39b5591ff2b1c31803
  Author: Miro Bucko <mbucko at meta.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
    M lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
    M lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
    M lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
    M lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py

  Log Message:
  -----------
  Fix flaky TestDAP_console test. (#94494)

Test Plan:
llvm-lit
llvm-project/lldb/test/API/tools/lldb-dap/console/TestDAP_console.py


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

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/bind-c15.f90

  Log Message:
  -----------
  [flang] Relax BIND(C) derived type component check (#94392)

Allow an explicit BIND(C) derived type to have a non-BIND(C) component
so long as the component's type is interoperable and it satisfies all
other constraints.


  Commit: 3d86eebdf84f1c1a8ef57706c1182836176a1780
      https://github.com/llvm/llvm-project/commit/3d86eebdf84f1c1a8ef57706c1182836176a1780
  Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M lldb/bindings/python/python-typemaps.swig
    M lldb/bindings/python/python-wrapper.swig
    M lldb/include/lldb/API/SBCommandInterpreter.h
    A lldb/test/API/python_api/interpreter/TestCommandOverrideCallback.py

  Log Message:
  -----------
  Reland  "[lldb][api-test] Add API test for SBCommandInterpreter::Comm… (#95181)

…andOverrideCallback (#94518)"

This reverts commit 7cff05ada05e87408966d56b4c1675033187ff5c. The API
test that was added erroneously imports a module that isn't needed and
wouldn't be found which causes a test failures. This reversion removes
that import.


  Commit: 2b6c6bb4985d02056d6d125de185e799988ff763
      https://github.com/llvm/llvm-project/commit/2b6c6bb4985d02056d6d125de185e799988ff763
  Author: YAMAMOTO Takashi <yamamoto at midokura.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M lld/wasm/Config.h
    M lld/wasm/Driver.cpp
    M lld/wasm/Options.td

  Log Message:
  -----------
  [lld][WebAssembly] Always search *.so for -Bdynamic (#84288)

Search *.so libraries regardless of -pie to make it a bit more
straightforward to build non-pie dynamic-linked executables.

Flip the default to -Bstatic (unless -pie or -shared is specified) as I
think it's what most users expect for the default as of today.
The assumption here is that, because dynamic-linking is not widely used
for WebAssembly, the most users do not specify -Bdynamic or -Bstatic,
expecting static link.
Although the recent wasi-sdk ships *.so files, there are not many wasm
runtimes providing the support of dynamic-linking. (only emscripten and
toywasm as far as i know.)


  Commit: 0f286f8a3688250b1f4c263836827ad0e2467f82
      https://github.com/llvm/llvm-project/commit/0f286f8a3688250b1f4c263836827ad0e2467f82
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-nonlazy-class.S
    A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol-ref.S
    A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol.S
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-nonlazy-class.S
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol-ref.S
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol.S
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h
    M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
    M llvm/lib/ExecutionEngine/Orc/Shared/ObjectFormats.cpp

  Log Message:
  -----------
  [ORC][MachO] Register objc protolist, protorefs, nlclslist metadata sections (#95144)

Add missing __DATA sections that the objc runtime expects to register.
This fixes running objc code that makes use of `@protocol` references
and `__attribute__((objc_nonlazy_class))` classes.

rdar://129368761


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

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Parser/parse-tree.h
    M flang/include/flang/Semantics/symbol.h
    M flang/lib/Parser/Fortran-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/symbol.cpp
    M flang/test/Semantics/bind-c16.f90

  Log Message:
  -----------
  [flang] Support BIND(C, NAME="...", CDEFINED) extension (#94402)

This CDEFINED keyword extension to a language-binding-spec signifies
that static storage for an interoperable variable will be allocated
outside of Fortran, probably by a C/C++ external object definition.


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

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake

  Log Message:
  -----------
  [CMake][Fuchsia] Enable libc++ in the baremetal build (#95017)

For now, we include headers and don't use libc++abi.


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

  Changed paths:
    M flang/include/flang/Evaluate/check-expression.h
    M flang/lib/Evaluate/check-expression.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Lower/HLFIR/elemental-result-length.f90
    M flang/test/Semantics/elemental01.f90

  Log Message:
  -----------
  [flang] Enforce F'2023 C15121 (#94418)

No specification expression in the declaration of the result variable of
an elemental function may depend on the value of a dummy argument. This
ensures that all of the results have the same type when the elemental
function is applied to the elements of an array.


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

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/call10.f90

  Log Message:
  -----------
  [flang] Adjust new warnings for extensions (#94485)

Prevent messages from module files, respect the language feature flags
when enabling the relaxed PURE dummy argument checking, and check that
the new warnings are enabled.


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

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/declarations02.f90

  Log Message:
  -----------
  [flang] Allow interoperable object to have interoperable derived type… (#94768)

… that's not BIND(C)

An interoperable BIND(C) object with a derived type should have a
BIND(C) derived type, but will now work with a derived type that
satisfies all of the requirements of a BIND(C) derived type.


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

  Changed paths:
    M flang/lib/Semantics/scope.cpp

  Log Message:
  -----------
  [flang] Change argument to const reference (#95048)

cppcheck recommends that a std::map being passed by value be changed to
a const reference.

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


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

  Changed paths:
    M flang/lib/Semantics/expression.cpp

  Log Message:
  -----------
  [flang] Pass unmodified std::vector as const reference (#95050)

cppcheck recommends that a std::vector argument be passed as a const
reference rather than by value.

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


  Commit: 46c05dfb6c98870f8416eeb9bf787d54ac806b12
      https://github.com/llvm/llvm-project/commit/46c05dfb6c98870f8416eeb9bf787d54ac806b12
  Author: Owen Anderson <resistor at mac.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
    A llvm/test/CodeGen/AArch64/icmp-cst.ll

  Log Message:
  -----------
  Apply the `AdjustICmpImmAndPred` optimization when it results in a one-instruction immediate materialization over a two-instruction materialization. (#83218)

https://github.com/llvm/llvm-project/issues/76460


  Commit: 0c5319e546321d7a766999e49e0ccf801ff2b3dc
      https://github.com/llvm/llvm-project/commit/0c5319e546321d7a766999e49e0ccf801ff2b3dc
  Author: Yuta Mukai <mukai.yuta at fujitsu.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/ModuloSchedule.h
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    M llvm/lib/CodeGen/ModuloSchedule.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/test/CodeGen/AArch64/sms-acceptable-loop3.mir
    M llvm/test/CodeGen/AArch64/sms-acceptable-loop4.mir
    A llvm/test/CodeGen/AArch64/sms-mve1.mir
    A llvm/test/CodeGen/AArch64/sms-mve10.mir
    A llvm/test/CodeGen/AArch64/sms-mve11.mir
    A llvm/test/CodeGen/AArch64/sms-mve12.mir
    A llvm/test/CodeGen/AArch64/sms-mve2.mir
    A llvm/test/CodeGen/AArch64/sms-mve3.mir
    A llvm/test/CodeGen/AArch64/sms-mve4.mir
    A llvm/test/CodeGen/AArch64/sms-mve5.mir
    A llvm/test/CodeGen/AArch64/sms-mve6.mir
    A llvm/test/CodeGen/AArch64/sms-mve7.mir
    A llvm/test/CodeGen/AArch64/sms-mve8.mir
    A llvm/test/CodeGen/AArch64/sms-mve9.mir
    A llvm/test/CodeGen/AArch64/sms-unacceptable-loop3.mir
    M llvm/test/CodeGen/AArch64/sms-unpipeline-insts2.mir

  Log Message:
  -----------
  [ModuloSchedule][AArch64] Implement modulo variable expansion for pipelining (#65609)

Modulo variable expansion is a technique that resolves overlap of
variable lifetimes by unrolling. The existing implementation solves it
by making a copy by move instruction for processors with ordinary
registers such as Arm and x86. This method may result in a very large
number of move instructions, which can cause performance problems.

Modulo variable expansion is enabled by specifying -pipeliner-mve-cg. A
backend must implement some newly defined interfaces in
PipelinerLoopInfo. They were implemented for AArch64.

Discourse thread:
https://discourse.llvm.org/t/implementing-modulo-variable-expansion-for-machinepipeliner


  Commit: 7e5bc71514c7428ab791b187d5cbf8215afd5a87
      https://github.com/llvm/llvm-project/commit/7e5bc71514c7428ab791b187d5cbf8215afd5a87
  Author: Afanasyev Ivan <ivafanas at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

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

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

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

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

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

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


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

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

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

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


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

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

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

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

`Ssccfg` introduces one new CSR `scountinhibit`.


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

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

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

Enable -fsanitize=kernel-memory support in Clang.

Add tests.

---------

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


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

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

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

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


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

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

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

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


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

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

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

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


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

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

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


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

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

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

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

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

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

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


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

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

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

`MachinePostDominators` version of #94571.


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

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

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

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


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


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

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

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

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

This reverts commit a3646ec1bc662e221c2a1d182987257c50958789.


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

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

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

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

Changes in this PR:

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

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

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

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

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

Follow-up for: #94490


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

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

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

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

---------

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


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

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

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

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


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

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

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

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

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


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

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

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

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

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


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

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

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

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


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

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

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

Fixes #95072.


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

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

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

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

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


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

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

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

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

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


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

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

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


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

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

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

Note pointers still don't work correctly.


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

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

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

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


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

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

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

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

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


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

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

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

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


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

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

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

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


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

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

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


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

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

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

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


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

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

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

Implements -Wmissing-include-dirs #92015 

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


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

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

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

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


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

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

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

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


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

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

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


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

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

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

Reviewed By: SixWeining

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


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

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

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

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


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

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

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

This reverts commit 3b3b839c66dc49674fd6646650525a2173030690.

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


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

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

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

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


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

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

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

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


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

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

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

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

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

This reverts commit 285dbed147e243f416b003e150d67ffb0922ff16.
This reverts commit cda5790e38af5da3ad455eddab36ef16bf3e8104.


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

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

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

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


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

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

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

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


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

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

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

Reverted due to a link error on the buildbots.

This reverts commit 297b6dea8c7652b62933e78ef79e60ce59fc1ec0.


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

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

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

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


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

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

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

close: #86301


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

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

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

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


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

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

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

improve `ASTStructuralEquivalenceTest`:

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

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


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

  Changed paths:
    M clang/docs/APINotes.rst

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

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

---------

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


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

  Changed paths:
    M mlir/python/CMakeLists.txt

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


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

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

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

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

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

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

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

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


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

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

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

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

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

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


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

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

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


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

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

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

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

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


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

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

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

Also use opaque pointers.


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

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

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

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

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


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

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

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

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


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

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

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

This reverts commit ad9fe3b2a949fb3379e0a1bafbcd2ca81f5fa414.


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

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

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

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

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

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

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


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

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

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

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

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

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


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

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

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

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


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

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

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

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


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

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

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


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

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

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


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

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

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

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

Added a IsTU to the hash for parent chain.


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

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

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


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

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

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


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

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

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

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


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

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

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

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


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

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

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

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

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


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

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

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

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

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


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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

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


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

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

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

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


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

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

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


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

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

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


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

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

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

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

This is NFC as far as I can tell.


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

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

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

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


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

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

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


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

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

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

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

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

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


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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

Fixes #70718


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

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

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


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

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

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


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

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

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

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


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

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

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


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

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

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

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


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

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

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

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

This enables the FTM for P0768R1

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

---------

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


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

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

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

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

Implements
- P2465R3 Standard Library Modules std and std.compat

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


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

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

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

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

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

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


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

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

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

…e produced by keyword macro replacement

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

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


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

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

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


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

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

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

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


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

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

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

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

This patch moves the total count computation to annotateValueSite.


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

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

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


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

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

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


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

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

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

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


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

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

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

Fixes #95271


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

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

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

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

---------

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


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

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

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

This fixes #20777.

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

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

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

Patch by  Pierre d'Herbemont (@pdherbemont)


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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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


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

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

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

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

Fixes #95278


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

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

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

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

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


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

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

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

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


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

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

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

…f weights" #95136

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

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

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

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

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

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


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

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

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

Reverts llvm/llvm-project#68620

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


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

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

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

Reverts llvm/llvm-project#95039

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

Offending line was changed in this PR


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

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

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

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


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

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

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


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

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

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

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

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


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

  Changed paths:
    M libcxx/cmake/caches/Generic-msan.cmake
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/sys_info.zdump.pass.cpp

  Log Message:
  -----------
  [libc++] Mark local_time test as a long test (#95170)

It can otherwise timeout under some slow configurations.


  Commit: acb896a344caf5a49cc07ba9c6bc4e8d1db0da6d
      https://github.com/llvm/llvm-project/commit/acb896a344caf5a49cc07ba9c6bc4e8d1db0da6d
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libcxx/include/__algorithm/pstl.h
    M libcxx/include/__numeric/pstl.h
    M libcxx/include/__pstl/backends/default.h
    M libcxx/include/__pstl/backends/libdispatch.h
    M libcxx/include/__pstl/backends/serial.h
    M libcxx/include/__pstl/backends/std_thread.h
    M libcxx/include/__pstl/cpu_algos/any_of.h
    M libcxx/include/__pstl/cpu_algos/fill.h
    M libcxx/include/__pstl/cpu_algos/find_if.h
    M libcxx/include/__pstl/cpu_algos/for_each.h
    M libcxx/include/__pstl/cpu_algos/merge.h
    M libcxx/include/__pstl/cpu_algos/stable_sort.h
    M libcxx/include/__pstl/cpu_algos/transform.h
    M libcxx/include/__pstl/cpu_algos/transform_reduce.h

  Log Message:
  -----------
  [libc++] Remove unnecessary #ifdef guards around PSTL implementation details (#95268)

We want the PSTL implementation details to be available regardless of
the Standard mode or whether the experimental PSTL is enabled. This
patch guards the inclusion of the PSTL to the top-level headers that
define the public API in `__numeric` and `__algorithm`.


  Commit: 8f6acd973a38da6dce45faa676cbb51da37f72e5
      https://github.com/llvm/llvm-project/commit/8f6acd973a38da6dce45faa676cbb51da37f72e5
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/debug-options.c

  Log Message:
  -----------
  Bump the DWARF version number to 5 on Darwin. (#95164)

The default debug info format for newer versions of Darwin is DWARF 5.


https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes

rdar://110925733


  Commit: 39f78464d5f8794bc836b5e15c92fd1e162a3d0b
      https://github.com/llvm/llvm-project/commit/39f78464d5f8794bc836b5e15c92fd1e162a3d0b
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libc/src/__support/fixedvector.h

  Log Message:
  -----------
  [libc][__support] Add constexpr to FixedVector members (#95315)


  Commit: f074500b229837b482c4b88d4bdd0e53d1e24ed5
      https://github.com/llvm/llvm-project/commit/f074500b229837b482c4b88d4bdd0e53d1e24ed5
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libc/src/__support/macros/attributes.h

  Log Message:
  -----------
  [libc][macros] Define LIBC_CONSTINIT (#95316)


  Commit: c9d580033f29196223cd56a0fa238c3ba51d23e4
      https://github.com/llvm/llvm-project/commit/c9d580033f29196223cd56a0fa238c3ba51d23e4
  Author: Dan Liew <dan at su-root.co.uk>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/ThreadSafetyAnalysis.rst
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/AST/ast-dump-color.cpp
    M clang/test/Sema/warn-thread-safety-analysis.c
    M clang/test/SemaCXX/warn-thread-safety-parsing.cpp

  Log Message:
  -----------
  Revert "Support `guarded_by` attribute and related attributes inside C structs and support late parsing them (#94216)"

This reverts commit af0d7128c8fd053d3de8af208d7d1682bc7a525a.

Reverting due to likely regression:

https://github.com/llvm/llvm-project/pull/94216#issuecomment-2164013300


  Commit: fcc4935560720556defff25a9bd4fc44ffa3135b
      https://github.com/llvm/llvm-project/commit/fcc4935560720556defff25a9bd4fc44ffa3135b
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/debug-options.c

  Log Message:
  -----------
  Revert "Bump the DWARF version number to 5 on Darwin." (#95325)

Reverts llvm/llvm-project#95164

This broke a buildbot:
https://lab.llvm.org/buildbot/#/builders/37/builds/35987


  Commit: 45927d730bcd2aa3380834ca8db96e32a8b2f2b1
      https://github.com/llvm/llvm-project/commit/45927d730bcd2aa3380834ca8db96e32a8b2f2b1
  Author: Jason Molenda <jason at molenda.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py

  Log Message:
  -----------
  [lldb] Skip delay-init test when run on pre-macOS 15

The test has a check that the static linker supports the new option,
but it assumed the Xcode 16 linker also meant it was running on
macOS 15 and the dynamic linker would honor dependencies flagged
this way.  But Xcode 16 can be run on macOS 14.5, so we need to
skip the test in that combination.


  Commit: e80c59556d2d71cc2d0dcb2bd712c36cc4043025
      https://github.com/llvm/llvm-project/commit/e80c59556d2d71cc2d0dcb2bd712c36cc4043025
  Author: Jonathan Thackray <jonathan.thackray at arm.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/test/Driver/aarch64-mcpu.c
    M clang/test/Misc/target-invalid-cpu-note.c
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/Target/AArch64/AArch64Processors.td
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/lib/TargetParser/Host.cpp
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [AArch64] Add support for Cortex-A725 and Cortex-X925 (#95214)

Cortex-A725 and Cortex-X925 are Armv9.2 AArch64 CPUs.

Technical Reference Manual for Cortex-A725:
   https://developer.arm.com/documentation/107652/latest

Technical Reference Manual for Cortex-X925:
   https://developer.arm.com/documentation/102807/latest


  Commit: ca91538c9c6f5328f398ac849dcc4230824b007e
      https://github.com/llvm/llvm-project/commit/ca91538c9c6f5328f398ac849dcc4230824b007e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/tools/driver/cc1as_main.cpp
    M llvm/lib/CodeGen/LLVMTargetMachine.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/tools/llvm-ml/llvm-ml.cpp

  Log Message:
  -----------
  [MC] Move AllowTemporaryLabels setting to MCContext::MCContext

Also delete `AllowTemporaryLabels = true` from MCContext::reset: when
llc supports -save-temp-labels in the next change, this assignment
should be removed to support -compile-twice.


  Commit: a91c8398f22c28618d681497e9856c3a4b8753c3
      https://github.com/llvm/llvm-project/commit/a91c8398f22c28618d681497e9856c3a4b8753c3
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
    M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
    M llvm/test/CodeGen/X86/asm-label.ll
    R llvm/test/MC/ELF/empty-twice.ll
    A llvm/test/MC/ELF/twice.ll
    M llvm/tools/llvm-mc/llvm-mc.cpp

  Log Message:
  -----------
  [MC] Move -save-temp-labels from llvm-mc to MCTargetOptionsCommandFlags

so that tools like llc can use the option as well.
ca91538c9c6f5328f398ac849dcc4230824b007e is a prerequisite.


  Commit: d125e717df24b2d310d934cca5daf6589566a0d6
      https://github.com/llvm/llvm-project/commit/d125e717df24b2d310d934cca5daf6589566a0d6
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCContext.h
    M llvm/lib/MC/MCContext.cpp

  Log Message:
  -----------
  [MC] Remove setAllowTemporaryLabels and rename AllowTemporaryLabels

Follow-up to a91c8398f22c28618d681497e9856c3a4b8753c3.


  Commit: 86d8aec97fd9e009e9b360ffeee744d3acce730d
      https://github.com/llvm/llvm-project/commit/86d8aec97fd9e009e9b360ffeee744d3acce730d
  Author: dyung <douglas.yung at sony.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
    M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
    M compiler-rt/test/asan/TestCases/use-after-free-right.cpp

  Log Message:
  -----------
  [asan] Attempt to fix tests broken by #94307. (#95340)


  Commit: 6784bf764207d267b781b4f515a2fafdcb345509
      https://github.com/llvm/llvm-project/commit/6784bf764207d267b781b4f515a2fafdcb345509
  Author: Ivy Zhang <yan3.zhang at intel.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
    M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
    M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
    M mlir/test/Dialect/Arith/canonicalize.mlir
    M mlir/test/Dialect/Arith/emulate-unsupported-floats.mlir

  Log Message:
  -----------
  [MLIR][Arith] add fastMathAttr on arith::extf and arith::truncf (#93443)

Add an `fastMathAttr` on `arith::extf` and `arith::truncf`. If these two
ops are inserted by some promotion passes (like legalize-to-f32 /
emulate-unsupported-floats), they will be labeled as
`FastMathFlags::contract`, denoting that they can be then `eliminated by
canonicalizer`.

The `elimination` can help improve performance, while may introduce some
numerical differences.


  Commit: b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
      https://github.com/llvm/llvm-project/commit/b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp

  Log Message:
  -----------
  [clang-tidy] ignoring macro with hash preprocessing token in cppcoreguidelines-macro-usage (#95265)

`#` and `##` preprocessing tokens cannot be replaced by constexpr
function. It should be ignored in check.


  Commit: 2e1ad93961a3f444659c5d02d800e3144acccdb4
      https://github.com/llvm/llvm-project/commit/2e1ad93961a3f444659c5d02d800e3144acccdb4
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/TemplateName.h
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/TemplateName.cpp
    M clang/unittests/AST/CMakeLists.txt
    A clang/unittests/AST/ProfilingTest.cpp

  Log Message:
  -----------
  [clang] fix broken canonicalization of DeducedTemplateSpecializationType (#95202)

This reverts the functional elements of commit
3e78fa860235431323aaf08c8fa922d75a7cfffa and redoes it, by fixing the
true root cause of #61317.

A TemplateName can be non-canonical; profiling it based on the canonical
name would result in inconsistent preservation of as-written information
in the AST.

The true problem in #61317 is that we would not consider the methods
with requirements expression which contain DTSTs as the same in relation
to merging of declarations when importing modules.

The expressions would never match because they contained DTSTs pointing
to different redeclarations of the same class template, but since
canonicalization for them was broken, their canonical types would not
match either.

---

No changelog entry because #61317 was already claimed as fixed in
previous release.


  Commit: 78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2
      https://github.com/llvm/llvm-project/commit/78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 2e1ad93961a3


  Commit: 34aa6c5d9a1df7767d9758836c88ff26f72d0b05
      https://github.com/llvm/llvm-project/commit/34aa6c5d9a1df7767d9758836c88ff26f72d0b05
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/avx2-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll

  Log Message:
  -----------
  [msan] Handle blendv intrinsics (#94882)

blendvs are very similar to select, so we adjust
arguments and forward them into select handler.


  Commit: 90a23d3a5a843086124c4b9315ee6a7617965623
      https://github.com/llvm/llvm-project/commit/90a23d3a5a843086124c4b9315ee6a7617965623
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/MC/MCObjectStreamer.cpp

  Log Message:
  -----------
  [MC] Restore setOffset(0) in emitLabel

For bolt/test/runtime/X86/exceptions-pic.test, llvm-bolt seems to call
emitLabel twice and the assert will fail. Work around it after
2cc4bc132cbcc76c5552cbc128830943ea596b3e


  Commit: f941908d77e0a009351e5d5d3f01c704b5ff2ff7
      https://github.com/llvm/llvm-project/commit/f941908d77e0a009351e5d5d3f01c704b5ff2ff7
  Author: Ivy Zhang <yan3.zhang at intel.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
    M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
    M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
    M mlir/test/Dialect/Arith/canonicalize.mlir
    M mlir/test/Dialect/Arith/emulate-unsupported-floats.mlir

  Log Message:
  -----------
  Revert "[MLIR][Arith] add fastMathAttr on arith::extf and arith::truncf" (#95344)

Reverts llvm/llvm-project#93443


  Commit: 64c9a1e1266ec7bc4c4896b2df116fa12dbacf15
      https://github.com/llvm/llvm-project/commit/64c9a1e1266ec7bc4c4896b2df116fa12dbacf15
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/AST/Interp/cxx11.cpp

  Log Message:
  -----------
  [clang][Interp] Also revisit references to const types

Neither isConstant() not isConstQualified() return true for these.


  Commit: 58df6467140d022c70213215c3617080ba7a7934
      https://github.com/llvm/llvm-project/commit/58df6467140d022c70213215c3617080ba7a7934
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/Support/BLAKE3/blake3.c

  Log Message:
  -----------
  [Support/BLAKE3] Remove some dead stores (#95120)

These were caught by the clang static analyzer.


  Commit: f33310e4508bd532778691ed68714bec8615357d
      https://github.com/llvm/llvm-project/commit/f33310e4508bd532778691ed68714bec8615357d
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/nonnull.ll

  Log Message:
  -----------
  [Attributor][FIX] Ensure nonnull IR deduction is not optimistic (#93322)

We cannot use assumed dead information for nonnull IR-implied deduction
as we will never go back and re-check. This was reported in
  https://github.com/llvm/llvm-project/pull/85810


  Commit: 3bcd80acbac19b3066ffd09da98bf225fae93ef3
      https://github.com/llvm/llvm-project/commit/3bcd80acbac19b3066ffd09da98bf225fae93ef3
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M libc/src/stdlib/CMakeLists.txt
    A libc/src/stdlib/freelist_heap.h
    M libc/test/src/stdlib/CMakeLists.txt
    A libc/test/src/stdlib/freelist_heap_test.cpp

  Log Message:
  -----------
  [libc][stdlib] Add the FreelistHeap (#95066)

This is the actual freelist allocator which utilizes the generic
FreeList and the Block classes. We will eventually wrap the malloc
interface around this.

This is a part of #94270 to land in smaller patches.


  Commit: 22ff7c5dc96828aba967fb3bcb3f929ea4509783
      https://github.com/llvm/llvm-project/commit/22ff7c5dc96828aba967fb3bcb3f929ea4509783
  Author: Zain Jaffal <zain at jjaffal.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp

  Log Message:
  -----------
  [ValueTracking][NFC] move isKnownInversion to ValueTracking (#95321)

I am using `isKnownInversion` in the following pr 
https://github.com/llvm/llvm-project/pull/94915

it is useful to have the method in a shared class so I can reuse it. I am not sure if `ValueTracking` is the correct place but it looks like most of the methods with the pattern `isKnownX` belong there.


  Commit: 092dbfaad257885692fa64559e9eb43a5c466798
      https://github.com/llvm/llvm-project/commit/092dbfaad257885692fa64559e9eb43a5c466798
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h

  Log Message:
  -----------
  [Orc] Fix error handling (#95253)

I believe we should return after the SDR for the error case, instead of
invoking it a second time with Error::success().


  Commit: 1dbd7bedc37fca1e7744dca202d0af427f399d68
      https://github.com/llvm/llvm-project/commit/1dbd7bedc37fca1e7744dca202d0af427f399d68
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/test/AST/ast-dump-ctad-alias.cpp
    M clang/test/AST/ast-dump-template-decls.cpp
    M clang/test/AST/ast-dump-using-template.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [clang] Don't print extra space when dumping template names (#95213)


  Commit: fc19d6238af7d215b13c2af63cbce03b5c04069b
      https://github.com/llvm/llvm-project/commit/fc19d6238af7d215b13c2af63cbce03b5c04069b
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/test/MC/AMDGPU/hsa-sym-expr-failure.s

  Log Message:
  -----------
  [AMDGPU][MC] Don't rely on output ordering in hsa-sym-expr-failure.s


  Commit: 9ab601fa53587bc238193e2e211f57fe4b871133
      https://github.com/llvm/llvm-project/commit/9ab601fa53587bc238193e2e211f57fe4b871133
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp

  Log Message:
  -----------
  Reland "[NFC][AMDGPU] Do not flush after printing every instruction (#95237)"

It's very expensive and doesn't achieve anything.

I one test I did, it saves almost 10s on a 2m23s build, bringing it down
to 2m15s using a downstream branch.


  Commit: 54b5c76d3b98c864daf39c24cda35d4a03d60747
      https://github.com/llvm/llvm-project/commit/54b5c76d3b98c864daf39c24cda35d4a03d60747
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M offload/include/Shared/APITypes.h
    M offload/plugins-nextgen/amdgpu/src/rtl.cpp
    M offload/plugins-nextgen/common/include/PluginInterface.h
    M offload/plugins-nextgen/common/src/PluginInterface.cpp
    M offload/plugins-nextgen/cuda/dynamic_cuda/cuda.h
    M offload/plugins-nextgen/cuda/src/rtl.cpp
    M offload/plugins-nextgen/host/src/rtl.cpp

  Log Message:
  -----------
  [Offload] Use flat array for cuLaunchKernel (#95116)

We already used a flat array of kernel launch parameters for the AMD GPU
launch but now we also use this scheme for the NVIDIA GPU launch. The
only remaining/required use of the indirection is the host plugin (due
ot ffi). This allows to us simplify the use for non-OpenMP kernel
launch.


  Commit: 9d7299fb84bcaafc6b7368dbe5ee6de29e71e655
      https://github.com/llvm/llvm-project/commit/9d7299fb84bcaafc6b7368dbe5ee6de29e71e655
  Author: Rajveer Singh Bharadwaj <rajveer.developer at icloud.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/C/drs/dr1xx.c
    A clang/test/Sema/debug-93066.cpp
    M clang/test/Sema/exprs.c
    M clang/test/Sema/va_arg_x86_32.c
    M clang/test/SemaObjCXX/sel-address.mm

  Log Message:
  -----------
  [Clang] Add fix-it hint to insert `*` when a modifiable lvalue is required (#94159)

This adds a fix-it hint in situations where a modifiable lvalue is expected, but a prvalue
or non-modifiable lvalue of pointer type was found, so long as dereferencing the pointer 
would result in a modifiable lvalue.

Resolves #93066


  Commit: a6c115291ca2973109ed7b1ff021c8c9faf044c0
      https://github.com/llvm/llvm-project/commit/a6c115291ca2973109ed7b1ff021c8c9faf044c0
  Author: Kristof Beyls <kristof.beyls at arm.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/docs/Security.rst

  Log Message:
  -----------
  [docs] Document move from chromium to github to report security issues. (#95262)

I'm not aware of any other documentation changes that are needed to
complete the migration from chromium to github to report security
issues. The top-level security.md file refers to
https://llvm.org/docs/Security.html#how-to-report-a-security-issue for
documentation on reporting a security issue, which is being updated as
part of this PR.


  Commit: 9890f94343053029000e3ca6ca2b9889755f415a
      https://github.com/llvm/llvm-project/commit/9890f94343053029000e3ca6ca2b9889755f415a
  Author: Ivan Kosarev <ivan.kosarev at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vbuffer_mubuf.txt

  Log Message:
  -----------
  [AMDGPU][GFX12] Support disassembling MUBUF instructions with arbitrary FORMAT values. (#95243)

Some tools generate such instructions with the FORMAT field set to 0,
which corresponds to buf_fmt_invalid, but that should not prevent them
from being recognised on decoding.


  Commit: 4baea8b3156a2b0ddfb6649636c2b398647d2127
      https://github.com/llvm/llvm-project/commit/4baea8b3156a2b0ddfb6649636c2b398647d2127
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
    M llvm/test/CodeGen/SPIRV/transcoding/OpGroupAllAny.ll
    M llvm/test/CodeGen/SPIRV/transcoding/group_ops.ll

  Log Message:
  -----------
  [SPIR-V]  Implement insertion of 'Group and Subgroup Instructions' using builtin functions (#95176)

This PR adds builtin functions to insert instructions from 'Group and
Subgroup' section of the SPIR-V Specification. Corresponding tests are
updated, `spirv-val` run is added where it was missed.


  Commit: 9c29217a170566890d76b56ccfbbf9ceaa1193ab
      https://github.com/llvm/llvm-project/commit/9c29217a170566890d76b56ccfbbf9ceaa1193ab
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
    A llvm/test/CodeGen/SPIRV/keep-tracked-const.ll

  Log Message:
  -----------
  [SPIR-V] Ensure that cleaning of temporary constants doesn't purge tracked constants (#95303)

This PR fixes a problem in logics of cleaning unused constants, ensuring
that cleaning of temporary constants doesn't purge tracked constants. On
a rare occasion when this happens SPIR-V Backend emits a code that
refers to a non-existent register, earlier related with a constant.
Attached to the PR test case is a minimal reproducer where names of
variables and instructions lead to such a rare coincidence.


  Commit: f5a93c5f2a4d0916c975bbf028768d58a29b6b73
      https://github.com/llvm/llvm-project/commit/f5a93c5f2a4d0916c975bbf028768d58a29b6b73
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/test/Driver/spirv-toolchain.cl

  Log Message:
  -----------
  [clang] [test] Skip a test that sets PATH on Windows (#95096)

The same has been done in a couple other existing tests, that also are
skipped on Windows (e.g. ld-path.c). Some tests that really do want to
test setting the path on Windows does it differently, see e.g.
ps4-ps5-linker-win.c.

Since a65771fce4a2f25f16d4b3918ad6a11370637f7b, the spirv-toolchain.cl
test does one test where PATH is set. Setting PATH does work in some
build configurations - however, if built with e.g. llvm-mingw, the built
Clang executable depends on libc++.dll (and libunwind.dll) which are
found in PATH. If the PATH is overridden, the newly built Clang
executable no longer can run.


  Commit: b446f9079bdc1123e1aafe5a535d8dbea835d8e8
      https://github.com/llvm/llvm-project/commit/b446f9079bdc1123e1aafe5a535d8dbea835d8e8
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/pow-to-ldexp.ll

  Log Message:
  -----------
  SimplifyLibCalls: Don't require ldexp to emit intrinsic in pow combine (#95277)

Do not require a libm ldexp libcall to emit the ldexp intrinsic when
transforming pow(2, x) -> ldexp(1, x)

This enables the half intrinsic case to fold.


  Commit: 7adb7aa494247f2492f6207289ad90cb48807517
      https://github.com/llvm/llvm-project/commit/7adb7aa494247f2492f6207289ad90cb48807517
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
    M compiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
    M compiler-rt/lib/gwp_asan/tests/harness.cpp
    M compiler-rt/lib/gwp_asan/tests/harness.h
    M compiler-rt/lib/gwp_asan/tests/late_init.cpp

  Log Message:
  -----------
  [GWP-ASan] Various test fixes. (#94938)

When running some tests with --gtest_repeat=100 --gtest_shuffle, I
encountered some problems because the allocator wasn't torn down
completely, and the singleton pointer ended up pointing to a
use-after-scope'd object.

This patch has a couple of fixes and niceties:
 1. Removing the once-init stuff from tests, now that it's implicitly
    done in GuardedPoolAllocator::installAtFork() anyway.
 2. Calling uninitTestOnly() in the late_init test.
 3. Resetting the HasReportedBadPoolAccess when the signal handlers are
    installed (allowing for --gtest_repeat w/ recoverable mode).
 4. Adding a check and resetting the singleton pointer in
    uninitTestOnly().


  Commit: 8b435c18314e62530367a8721883a28c532e02ad
      https://github.com/llvm/llvm-project/commit/8b435c18314e62530367a8721883a28c532e02ad
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/unittests/AST/ProfilingTest.cpp

  Log Message:
  -----------
  ASTTests: Suppress a warning in -Asserts for #95202 [-Wunused-variable]


  Commit: 2b66d283bc881fd4e84f2d3fef5d83c7cdf48422
      https://github.com/llvm/llvm-project/commit/2b66d283bc881fd4e84f2d3fef5d83c7cdf48422
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
    M flang/test/Fir/rebox_assumed_rank_codegen.fir

  Log Message:
  -----------
  [flang][fir] handle poly to non poly case in rebox_assumed_rank (#95240)

Dynamic type and element size of the descriptor dummy must match the
dummy static type when the dummy is not polymorphic, otherwise
IS_CONTIGUOUS, C_SIZEOF.... won't work properly inside the callee.

When the actual argument is polymorphic the descriptor of the actual may
have a different dynamic type/element size. Hence, the dummy argument
cannot simply take or copy the descriptor of the actual argument.


  Commit: 65f746e76c97b6f8aece139199aed44ce632255c
      https://github.com/llvm/llvm-project/commit/65f746e76c97b6f8aece139199aed44ce632255c
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M flang/include/flang/Runtime/inquiry.h
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/runtime/inquiry.cpp
    M flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90
    M flang/test/Lower/Intrinsics/ubound01.f90
    M flang/unittests/Runtime/Inquiry.cpp

  Log Message:
  -----------
  [flang] Update UBOUND runtime API and lowering (#95085)

LBOUND and SHAPE runtime were added with an API that avoids making a
dynamic allocation for the small result storage. Update the UBOUND API
that was already there and used in lowering outside of the assumed-rank
case.
Add tests for the assumed-rank case.


  Commit: b37f9e0bdfe160ebf90c213936323edff949233a
      https://github.com/llvm/llvm-project/commit/b37f9e0bdfe160ebf90c213936323edff949233a
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
    M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp

  Log Message:
  -----------
  [lldb] Move DWARFDeclContext functions from DWARFDebugInfoEntry to DW… (#95227)

…ARFDIE

This puts them closer to the other two functions doing something very
similar. I've tried to stick to the original logic of the functions as
much as possible, though I did apply some easy simplifications.

The changes in DWARFDeclContext.h are there to make the unit tests
produce more useful error messages.


  Commit: 453a0e4cb5d9a7e766933c8c8a862c1acae951f4
      https://github.com/llvm/llvm-project/commit/453a0e4cb5d9a7e766933c8c8a862c1acae951f4
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M flang/lib/Lower/ConvertCall.cpp
    A flang/test/Lower/HLFIR/assumed-rank-calls.f90

  Log Message:
  -----------
  [flang] handle assume-rank descriptor updates in calls (#95229)

Deal with the cases where lower bounds, or attribute, or dynamic type
must be updated when passing an assumed-rank actual argument to an
assumed-rank dummy argument.

copy-in/copy-out and passing target assumed-rank to intent(in) pointers
will be handled in separate patch.


  Commit: 53c06c5644f9529057c97620efd8e8f85d0ed605
      https://github.com/llvm/llvm-project/commit/53c06c5644f9529057c97620efd8e8f85d0ed605
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp

  Log Message:
  -----------
  SimplifyLibCalls: Simplify fp immediate checking code (NFC)

Re-use already queried call arguments and matched APFloat, instead
of re-matching the original argument.


  Commit: 705f858157305865d9c14594a6c4c9fd6e46d835
      https://github.com/llvm/llvm-project/commit/705f858157305865d9c14594a6c4c9fd6e46d835
  Author: Tai Ly <tai.ly at arm.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
    M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir

  Log Message:
  -----------
  [Tosa] Disable tosa folder for non-int/float/index types (#71757)

In order to fold, we need to create DenseElementsAttr, which does not
support quantized element types. This patch adds tests for folding
quntized element types and disable tosa folders where appropriate.

refactored canonicalize.mlir test to use --split-input-file

also fixed verifier for trait MulOperandsAndResultElementType for
quantized element types

Signed-off-by: Tai Ly <tai.ly at arm.com>


  Commit: 71a5b37cc08b25e0e207296181c2c15e8927595e
      https://github.com/llvm/llvm-project/commit/71a5b37cc08b25e0e207296181c2c15e8927595e
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGenTypes/MachineValueType.h
    M llvm/utils/TableGen/VTEmitter.cpp

  Log Message:
  -----------
  [CodeGenTypes] Remove unused ElSz argument from generated GET_VT_VECATTR (#95258)


  Commit: f44023980de08c7554c4b735ca8e467c32b2f4f7
      https://github.com/llvm/llvm-project/commit/f44023980de08c7554c4b735ca8e467c32b2f4f7
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/test/Lower/OpenMP/Todo/reduction-derived-type-field.f90
    M flang/test/Semantics/OpenMP/reduction09.f90
    A flang/test/Semantics/OpenMP/reduction14.f90

  Log Message:
  -----------
  [flang][Semantics][OpenMP] Check type of reduction variables (#94596)

Fixes #92440

I had to delete part of reduction09.f90 because I don't think that
should have ever worked.


  Commit: 445973caceea9154b7f05a0b574ced346955be87
      https://github.com/llvm/llvm-project/commit/445973caceea9154b7f05a0b574ced346955be87
  Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/test/CodeGen/AMDGPU/extract-load-i1.ll
    M llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
    A llvm/test/CodeGen/X86/legalize-ins-ext-vec-elt.ll

  Log Message:
  -----------
  [LegalizeTypes] Handle non byte-sized elt types when splitting INSERT/EXTRACT_VECTOR_ELT (#93357)

DAGTypeLegalizer::SplitVecRes_INSERT_VECTOR_ELT and
DAGTypeLegalizer::SplitVecRes_EXTRACT_VECTOR_ELT did not handle
non byte-sized elements properly. In fact, it only dealt with
elements smaller than 8 bits (as well as byte-sized elements).

This patch generalizes the support for non byte-sized element by
always widening the the vector elements to next "round integer type"
(a power of 2 bit size). This should make sure that we can access a
single element via a simple byte-addressed scalar load/store.

Also removing a suspicious CustomLowerNode call from
SplitVecRes_INSERT_VECTOR_ELT. Considering that it did not reset
the Lo/Hi out arguments before the return I think that
DAGTypeLegalizer::SplitVectorResult could be fooled into registering
the input vector as being the result. This should however not have
caused any problems since DAGTypeLegalizer::SplitVectorResult is
doing the same CustomLowerNode call, making the code removed by
this patch redundant.


  Commit: 935d3773507f87a5a920a3e19fe71a75d69bc395
      https://github.com/llvm/llvm-project/commit/935d3773507f87a5a920a3e19fe71a75d69bc395
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/buffer-intrinsic-mmo-type.ll

  Log Message:
  -----------
  AMDGPU: Fix using wrong memory type for non-image resource intrinsics (#94911)

An 8 x i16 raw load was incorrectly using a 64-bit memory type, which
would assert in the MachineMemOperand constructor.

This is preparation for a cleanup which will make the buffer intrinsics
work for all legal types.


  Commit: fa9301f35b41396bdf829cfd633fa2f983798723
      https://github.com/llvm/llvm-project/commit/fa9301f35b41396bdf829cfd633fa2f983798723
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Support/KnownBits.cpp

  Log Message:
  -----------
  [KnownBits] avgCompute - don't create on-the-fly Carry. NFC.

Use the internal computeForAddCarry directly since we know the exact values of the carry bit.


  Commit: 00bb18a77c6c25fa7d6150ae724ffb8a37334ecb
      https://github.com/llvm/llvm-project/commit/00bb18a77c6c25fa7d6150ae724ffb8a37334ecb
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/tools/llvm-dwp/llvm-dwp.cpp

  Log Message:
  -----------
  [llvm-dwp] Remove incorrect std::move()

DWOName is still used afterwards. The only reason this works out
right now is that SmallString does not actually have a constructor
that can take advantage of the move.


  Commit: 3475116e2c37a2c8a69658b36c02871c322da008
      https://github.com/llvm/llvm-project/commit/3475116e2c37a2c8a69658b36c02871c322da008
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/test/CXX/drs/cwg26xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang][NFC] Add a test for CWG2685 (#95206)

I believe it has been implemented since D139837 "Implements CTAD for
aggregates P1816R0 and P2082R1", so this just claims we have already
supported it.

Plus an update on the dr status page.


  Commit: a144bf2b2511b47fc165755817eda17f79ef5476
      https://github.com/llvm/llvm-project/commit/a144bf2b2511b47fc165755817eda17f79ef5476
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaInit.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [Clang] Fix handling of brace ellison when building deduction guides (#94889)

Fixes two issues in two ways:

1) The `braced-init-list` consisted of `initializer-list` and
`designated-initializer-list`, and thus the designated initializer is
subject to [over.match.class.deduct]p1.8, which means the brace elision
is also applicable on it for CTAD deduction guides.

2) When forming a deduction guide where the brace elision is applicable,
we should also consider the presence of braces within the initializer.
For example, given

template <class T, class U> struct X {
  T t[2];
  U u[3];
};

X x = {{1, 2}, 3, 4, 5};

we should establish such deduction guide AFAIU: `X(T (&&)[2], U, U, U) -> X<T, U>`.

Fixes https://github.com/llvm/llvm-project/issues/64625
Fixes https://github.com/llvm/llvm-project/issues/83368


  Commit: b6bf4024a031a5e7b58aff1425d94841a88002d6
      https://github.com/llvm/llvm-project/commit/b6bf4024a031a5e7b58aff1425d94841a88002d6
  Author: Hua Tian <akiratian at tencent.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachinePipeliner.h
    M llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
    A llvm/include/llvm/CodeGen/WindowScheduler.h
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    A llvm/lib/CodeGen/WindowScheduler.cpp
    A llvm/test/CodeGen/Hexagon/swp-ws-dead-def.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-exp-dbg.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-exp.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-fail-0.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-fail-1.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-fail-2.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-meta-instr.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-sqrt.mir

  Log Message:
  -----------
  [llvm][CodeGen] Add a new software pipeliner 'Window Scheduler' (#84443)

This commit implements the Window Scheduler as described in the RFC:

https://discourse.llvm.org/t/rfc-window-scheduling-algorithm-for-machinepipeliner-in-llvm/74718

This Window Scheduler implements the window algorithm designed by
Steven Muchnick in the book "Advanced Compiler Design And
Implementation",
with some improvements:

1. Copy 3 times of the loop kernel and construct the corresponding DAG
   to identify dependencies between MIs;
2. Use heuristic algorithm to obtain a set of window offsets.

The window algorithm is equivalent to modulo scheduling algorithm with a
stage of 2. It is mainly applied in targets where hardware resource
conflicts are severe, and the SMS algorithm often fails in such cases.
On our own DSA, this window algorithm typically can achieve a
performance
improvement of over 10%.

Co-authored-by: Kai Yan <aklkaiyan at tencent.com>
Co-authored-by: Ran Xiao <lennyxiao at tencent.com>

---------

Co-authored-by: Kai Yan <aklkaiyan at tencent.com>
Co-authored-by: Ran Xiao <lennyxiao at tencent.com>


  Commit: 5c9352eb0258d506fb96f4a69e44f1d2fa284f1d
      https://github.com/llvm/llvm-project/commit/5c9352eb0258d506fb96f4a69e44f1d2fa284f1d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Target/TargetSelectionDAG.td
    M llvm/lib/Target/AArch64/AArch64InstrFormats.td
    M llvm/lib/Target/AArch64/AArch64InstrGISel.td
    M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/DSInstructions.td
    M llvm/lib/Target/AMDGPU/EvergreenInstructions.td
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AVR/AVRInstrInfo.td
    M llvm/lib/Target/BPF/BPFInstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/lib/Target/Mips/Mips64InstrInfo.td
    M llvm/lib/Target/Mips/MipsInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoA.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZa.td
    M llvm/lib/Target/Sparc/SparcInstr64Bit.td
    M llvm/lib/Target/Sparc/SparcInstrInfo.td
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
    M llvm/lib/Target/VE/VEInstrInfo.td
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
    M llvm/lib/Target/X86/X86InstrCompiler.td
    M llvm/lib/Target/X86/X86InstrMisc.td
    M llvm/test/TableGen/HasNoUse.td

  Log Message:
  -----------
  DAG: Replace bitwidth with type in suffix in atomic tablegen ops (#94845)


  Commit: 846e47e7b880bcf6b8f5773fe0fe236d486f3239
      https://github.com/llvm/llvm-project/commit/846e47e7b880bcf6b8f5773fe0fe236d486f3239
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/lib/MC/MCFragment.cpp

  Log Message:
  -----------
  [MC] Reduce size of MCDataFragment by 8 bytes (#95293)

Due to alignment, the first two fields of MCEncodedFragment are
currently at bytes 40 and 41, so 1 byte over the 8 byte boundary,
causing 7 bytes padding to be inserted for the following pointer.

Fold two bools of MCFragment into bitfields to reduce move the two
fields of MCEncodedFragment one byte earlier to remove the padding
bytes. This works, as in the Itanium ABI, there is no padding after
base classes.

This gives a space reduction of MCDataFragment from 224 to 216 bytes.


  Commit: d70d3260a8633bd872de8ca9136beeccda897c80
      https://github.com/llvm/llvm-project/commit/d70d3260a8633bd872de8ca9136beeccda897c80
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn

  Log Message:
  -----------
  [gn build] Port b6bf4024a031


  Commit: 3f9e2e179a52eb50a2bcff148a5f351a4eddcb37
      https://github.com/llvm/llvm-project/commit/3f9e2e179a52eb50a2bcff148a5f351a4eddcb37
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp

  Log Message:
  -----------
  [NFC][clang-tidy] fix typo in readability-else-after-return


  Commit: f991a16735c6a032f6b3ae0817a421ef94d705ca
      https://github.com/llvm/llvm-project/commit/f991a16735c6a032f6b3ae0817a421ef94d705ca
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp

  Log Message:
  -----------
  [CodeGen] ExpandLargeFpConvert - don't dereference a dyn_cast result

dyn_cast is allowed to return NULL - use cast<> to assert that the cast type is valid

Fixes static analysis warning.


  Commit: 1cbafb3c3f8344570b39484ad1056596eb15c9b9
      https://github.com/llvm/llvm-project/commit/1cbafb3c3f8344570b39484ad1056596eb15c9b9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/avg.ll

  Log Message:
  -----------
  [X86] avg.ll - add common CHECK prefix


  Commit: 33a24b7654b7bab229ac8140148cb9a1b1d00d1d
      https://github.com/llvm/llvm-project/commit/33a24b7654b7bab229ac8140148cb9a1b1d00d1d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/avg.ll

  Log Message:
  -----------
  [X86] Add test coverage for #95284


  Commit: c0ff36ea2357aa47bbf58cefbf579b08a08fb173
      https://github.com/llvm/llvm-project/commit/c0ff36ea2357aa47bbf58cefbf579b08a08fb173
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.bf16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.ll

  Log Message:
  -----------
  AMDGPU: Fix buffer intrinsic handling for various 16-bit elements. (#95376)

Mostly fixes handling of bfloat vectors, but also some missing
i16 cases.


  Commit: e439d22c7a981dfac3089cf8b6a83d2a51c0be78
      https://github.com/llvm/llvm-project/commit/e439d22c7a981dfac3089cf8b6a83d2a51c0be78
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/AST/ExprConstant.cpp

  Log Message:
  -----------
  [clang][ExprConst][NFC] Replace typecheck+castAs with getAs


  Commit: 5563d914a776e11c22fa6f9617e8cb6c46e977cf
      https://github.com/llvm/llvm-project/commit/5563d914a776e11c22fa6f9617e8cb6c46e977cf
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/AST/Interp/references.cpp

  Log Message:
  -----------
  [clang][Interp] Prepare return value for composite InitListExprs


  Commit: 933d6be8e8c4a81f6409f4daaf704e7f363c6508
      https://github.com/llvm/llvm-project/commit/933d6be8e8c4a81f6409f4daaf704e7f363c6508
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/android.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/freebsd.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/fuchsia.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/mrs.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/sysauxv.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64/hwcap.inc

  Log Message:
  -----------
  [FMV][compiler-rt] Fix cpu features initialization. (#95149)

To detect features we either use HWCAPs or directly extract system
register bitfields and compare with a value. In many cases equality
comparisons give wrong results for example FEAT_SVE is not set if SVE2
is available (see the issue #93651). I am also making the access to
__aarch64_cpu_features atomic.

The corresponding PR for the ACLE specification is
https://github.com/ARM-software/acle/pull/322.


  Commit: 7ead2d8c7e9114b3f23666209a1654939987cb30
      https://github.com/llvm/llvm-project/commit/7ead2d8c7e9114b3f23666209a1654939987cb30
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/docs/SourceBasedCodeCoverage.rst
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/lib/CodeGen/MCDCState.h
    M clang/test/CoverageMapping/branch-constfolded.cpp
    M clang/test/CoverageMapping/logical.cpp
    M clang/test/CoverageMapping/mcdc-class.cpp
    M clang/test/CoverageMapping/mcdc-error-conditions.cpp
    M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
    M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
    M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
    M clang/test/CoverageMapping/mcdc-scratch-space.c
    M clang/test/CoverageMapping/mcdc-system-headers.cpp
    M clang/test/Profile/c-mcdc-class.cpp
    M clang/test/Profile/c-mcdc-logicalop-ternary.c
    M clang/test/Profile/c-mcdc-nested-ternary.c
    M clang/test/Profile/c-mcdc-not.c
    M clang/test/Profile/c-mcdc.c
    M llvm/docs/CoverageMappingFormat.rst
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
    M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext
    A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.o
    A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.profdata
    M llvm/test/tools/llvm-cov/Inputs/mcdc-general.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext
    M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.proftext
    M llvm/test/tools/llvm-cov/Inputs/mcdc-maxbs.o
    A llvm/test/tools/llvm-cov/mcdc-general-18.test
    M llvm/unittests/ProfileData/CoverageMappingTest.cpp

  Log Message:
  -----------
  [MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)

By storing possible test vectors instead of combinations of conditions,
the restriction is dramatically relaxed.

This introduces two options to `cc1`:

* `-fmcdc-max-conditions=32767`
* `-fmcdc-max-test-vectors=2147483646`

This change makes coverage mapping, profraw, and profdata incompatible
with Clang-18.

- Bitmap semantics changed. It is incompatible with previous format.
- `BitmapIdx` in `Decision` points to the end of the bitmap.
- Bitmap is packed per function.
- `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.

RFC:
https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798


  Commit: 5e8cf0bf1182fc29469495e1e1377ad117b27172
      https://github.com/llvm/llvm-project/commit/5e8cf0bf1182fc29469495e1e1377ad117b27172
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.ll

  Log Message:
  -----------
  AMDGPU: Fix buffer intrinsic store of bfloat (#95377)


  Commit: b53e0854a10fa440c955a9fd48a869619f6e0521
      https://github.com/llvm/llvm-project/commit/b53e0854a10fa440c955a9fd48a869619f6e0521
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/test/CXX/drs/cwg26xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  Revert "[clang][NFC] Add a test for CWG2685" (#95389)

I was wrong: The purpose of CWG2685 is to avoid brace elision on string
literals and we should be rejecting the case.

Reverts llvm/llvm-project#95206


  Commit: 04a4254def9643bf044c69f0aae65e4f2f278e0a
      https://github.com/llvm/llvm-project/commit/04a4254def9643bf044c69f0aae65e4f2f278e0a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/M68k/M68kInstrAtomics.td

  Log Message:
  -----------
  [M68k] Fix atomic_cmp_swap patterns after #94845


  Commit: 7ca52cde750c980c048cde2199c720431ec2acee
      https://github.com/llvm/llvm-project/commit/7ca52cde750c980c048cde2199c720431ec2acee
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/Sema/SemaOverload.cpp

  Log Message:
  -----------
  [Sema] IsVectorConversion - merge isExtVectorType() and getAs<VectorType> calls. NFC.

Use getAs<ExtVectorType> directly to avoid duplicate getAs<> calls and static analyser warnings about dereferencing potentially null pointers.


  Commit: 71e4d70f0bb04bae6c8521c711c770293fd228a5
      https://github.com/llvm/llvm-project/commit/71e4d70f0bb04bae6c8521c711c770293fd228a5
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang][NFC] Update CWG issues list


  Commit: 76c5158aed52bbf21980752e38262e925cd8db8e
      https://github.com/llvm/llvm-project/commit/76c5158aed52bbf21980752e38262e925cd8db8e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/RISCV/pr95284.ll
    M llvm/test/CodeGen/X86/avg.ll

  Log Message:
  -----------
  [DAG] combineShiftToAVG  - don't create avgfloor with scalar constant operands unless legal.

Converting to avgfloor and then expanding it back to shift+add later is likely to prevent other folds (re-association and value-tracking in particular) in the meantime.

Fixes #95284


  Commit: 9b46838836a093d6732d47261b820f3b7bbf8a5f
      https://github.com/llvm/llvm-project/commit/9b46838836a093d6732d47261b820f3b7bbf8a5f
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M flang/lib/Frontend/CMakeLists.txt
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/test/Transforms/debug-local-var-2.f90

  Log Message:
  -----------
  Reapply "[Flang] Use PrintModulePass to print LLVM IR from the frontend (#95142)" (#95306)

Fixed the link error that previously occurred on buildbots by adding
IRPrinter to the linked components of the Flang frontend.

This reverts commit 1d4523505e54415a270d7b13b6e203fc25585c5b.


  Commit: 4f09ac7705b3b24492d521a97571404c2e9a1f8e
      https://github.com/llvm/llvm-project/commit/4f09ac7705b3b24492d521a97571404c2e9a1f8e
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/Lex/Lexer.cpp
    M clang/test/Lexer/cxx2c-raw-strings.cpp

  Log Message:
  -----------
  Fix off-by-one issue found by post-commit review


  Commit: ffab938f50fa999f2218976f7de78cf8e4f70d4e
      https://github.com/llvm/llvm-project/commit/ffab938f50fa999f2218976f7de78cf8e4f70d4e
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/AST/Interp/vectors.cpp

  Log Message:
  -----------
  [clang][Interp] Handle BooleanToSignedIntegral casts


  Commit: 3d1705d00c5f183b73d69aa0ceca481845e82fe8
      https://github.com/llvm/llvm-project/commit/3d1705d00c5f183b73d69aa0ceca481845e82fe8
  Author: Janek van Oirschot <janek.vanoirschot at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.cpp
    A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.h
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.h
    M llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp
    M llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
    A llvm/lib/Target/AMDGPU/Utils/SIDefinesUtils.h
    M llvm/test/CodeGen/AMDGPU/amdpal-es.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-gs.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-hs.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-ls.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-vs.ll
    M llvm/unittests/Target/AMDGPU/CMakeLists.txt
    A llvm/unittests/Target/AMDGPU/PALMetadata.cpp

  Log Message:
  -----------
  MCExpr-ify AMDGPU PALMetadata (#93236)

Allows MCExprs as passed values to PALMetadata. Also adds related
`DelayedMCExpr` classes which serve as a pseudo-fixup to resolve MCExprs
as late as possible (i.e., right before emit through string or blob,
where they should be resolvable).


  Commit: 24c6579ed0cb05b4e54520d118ab3a0b70693f8d
      https://github.com/llvm/llvm-project/commit/24c6579ed0cb05b4e54520d118ab3a0b70693f8d
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/Target/AMDGPU/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 3d1705d00c5f


  Commit: 846103c7e3899a654c470fa360b22d35df888427
      https://github.com/llvm/llvm-project/commit/846103c7e3899a654c470fa360b22d35df888427
  Author: Spenser Bauman <sbauman at mathworks.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
    M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
    M mlir/test/Dialect/MemRef/expand-strided-metadata.mlir

  Log Message:
  -----------
  [mlir][memref] Unranked support for extract_aligned_pointer_as_index (#93908)

memref.extract_aligned_pointer_as_index currently does not support
unranked inputs. This lack of support interferes with the folding
operations in the expand-strided-metadata pass.

    %r = memref.reinterpret_cast %arg0 to
        offset: [0],
        sizes: [],
        strides: [] : memref<*xf32> to memref<f32>

%i = memref.extract_aligned_pointer_as_index %r : memref<f32> -> index

Patterns like this occur when bufferizing operations on unranked
tensors.

This change modifies the extract_aligned_pointer_as_index operation to
support unranked inputs with corresponding support in the MemRef->LLVM
conversion.

Co-authored-by: Spenser Bauman <sabauma at fastmail>


  Commit: b5c850f718e1bc4d1aa0588f65ae53086f978e1a
      https://github.com/llvm/llvm-project/commit/b5c850f718e1bc4d1aa0588f65ae53086f978e1a
  Author: Daniel Bertalan <dani at danielbertalan.dev>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M lld/MachO/SyntheticSections.cpp
    M lld/test/MachO/arm64-reloc-pointer-to-got.s
    M lld/test/MachO/compact-unwind-both-local-and-dylib-personality.s
    M lld/test/MachO/compact-unwind.s
    M lld/test/MachO/dead-strip.s
    M lld/test/MachO/invalid/compact-unwind-personalities.s

  Log Message:
  -----------
  [lld-macho] Mark local personality functions as `INDIRECT_SYMBOL_LOCAL` (#95171)

This expands on the fix in 4e572db. The issue is pretty similar: we
might put symbols in the GOT which don't need run-time binding, locally
defined personality symbols in this case. We should set their indirect
symbol table entries to `INDIRECT_SYMBOL_LOCAL` to help `strip` remove
these local names from the symbol table.

Checking if the symbol is private-extern doesn't cover all cases; it can
also be a non-weak extern function too, for instance; use the
`needsBinding()` helper to determine it. This was the case for the
personality function in statically linked Rust executables.

The extra non-`LOCAL` symbols triggered a bug in Apple's `strip`
implementation. As the indirect value for the personality function was
not set to the flag, but the symbol didn't require binding, it tried to
make the symbol local, overwriting the GOT entry with the function's
address in the process. This normally wouldn't be a problem, but if
chained fixups are used, the fixup also encodes the offset to the next
fixup, and it effectively zeroed this offset out, causing the remaining
relocations on the page to not be performed by dyld.

This caused the crash in https://issues.chromium.org/issues/325410295

The change in tests is a bit ugly, as a lot of symbol information is now
removed by turning more symbols `LOCAL`.


  Commit: 00798354c553d48d27006a2b06a904bd6013e31b
      https://github.com/llvm/llvm-project/commit/00798354c553d48d27006a2b06a904bd6013e31b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll

  Log Message:
  -----------
  [VPlan] First step towards VPlan cost modeling. (#92555)

This adds a new interface to compute the cost of recipes, VPBasicBlocks,
VPRegionBlocks and VPlan, initially falling back to the legacy cost model
for all recipes. Follow-up patches will gradually migrate recipes to 
compute their own costs step-by-step.

It also adds getBestPlan function to LVP which computes the cost of all
VPlans and picks the most profitable one together with the most
profitable VF.

The VPlan selected by the VPlan cost model is executed and there is an
assert to catch cases where the VPlan cost model and the legacy cost
model disagree. Even though I checked a number of different build
configurations on AArch64 and X86, there may be some differences
that have been missed.

Additional discussions and context can be found in @arcbbb's
https://github.com/llvm/llvm-project/pull/67647 and 
https://github.com/llvm/llvm-project/pull/67934 which is an earlier
version of the current PR.


PR: https://github.com/llvm/llvm-project/pull/92555


  Commit: a959ad155343095fc8f73aa397a72e3ced1df354
      https://github.com/llvm/llvm-project/commit/a959ad155343095fc8f73aa397a72e3ced1df354
  Author: Him188 <tguan at nvidia.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.h
    M llvm/test/CodeGen/AArch64/GlobalISel/regbank-fp-use-def.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-fp-loads.mir

  Log Message:
  -----------
  [AArch64][GISel] Assign G_LOAD defs into FPR if they feed FP instructions indirectly via PHI (#94618)

If G_LOAD def is used by a PHI, recursively check if the def of PHI is
used by any instruction that only uses FP oprand. If so, assign the def
of G_LOAD to FPR.

In other words, this change helps RBS to assign G_LOAD defs into FPR if
they are later on used in an FP instruction **indirectly via PHI**, to
avoid unnecessary copies. Before this patch, we only considered direct
usages.

It helps to fix GISel regression in TSVC kernel s3110.
GISel was 50% slower than SDAG before this change. Now GISel and SDAG
have the same runtime.


  Commit: ae73706075bb2ea4bbc87c4b33f3b681555f8dfb
      https://github.com/llvm/llvm-project/commit/ae73706075bb2ea4bbc87c4b33f3b681555f8dfb
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/SemaCXX/cxx0x-initializer-references.cpp

  Log Message:
  -----------
  [clang][Interp] Fix references to objects

The previous commit tried to handle this in a way that's too general.
Move the !Initializing case down to the array type.


  Commit: 0aeaa2d93dc24da427645395b9b228b15409f551
      https://github.com/llvm/llvm-project/commit/0aeaa2d93dc24da427645395b9b228b15409f551
  Author: agozillon <Andrew.Gozillon at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/ReplaceConstant.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/IR/ReplaceConstant.cpp
    A offload/test/offloading/fortran/dtype-array-constant-index-map.f90

  Log Message:
  -----------
  [OMPIRBuilder][OpenMP][LLVM] Modify and use ReplaceConstant utility in convertTarget (#94541)

This PR seeks to expand/replace the Constant -> Instruction conversion
that needs to occur inside of the OpenMP Target kernel generation to
allow kernel argument replacement of uses within the kernel (cannot
replace constant uses within constant expressions with non-constants).
It does so by making use of the new-ish utility
convertUsersOfConstantsToInstructions which is a much more expansive
version of what the smaller "version" of the function I wrote does,
effectively expanding uses of the input argument that are constant
expressions into instructions so that we can replace with the
appropriate kernel argument.

Also alters convertUsersOfConstantsToInstructions to optionally
restrict the replacement to a function and optionally leave
dead constants alone, the latter is necessary when lowering from 
MLIR as we cannot be sure we can remove the constants at this 
stage, even if rewritten to instructions the ModuleTranslation may 
maintain links to the original constants and utilise them in further 
lowering steps (as when we're lowering the kernel, the module is 
still in the process of being lowered). This can result in unusual 
ICEs later. These dead constants can be tidied up later (and 
appear to be in subsequent lowering from checking with 
emit-llvm).


  Commit: 28d6aa90b085469e5b6355f8d739df733ebc4400
      https://github.com/llvm/llvm-project/commit/28d6aa90b085469e5b6355f8d739df733ebc4400
  Author: ryankima <ryankima at umich.edu>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp
    M mlir/test/Conversion/BufferizationToMemRef/bufferization-to-memref.mlir

  Log Message:
  -----------
  [mlir][bufferization] Unranked memref support for clone (#94757)

bufferization.clone does not currently support lowering to memref for
unranked memrefs. This interferes with bufferizing unranked tensors at
boundaries where a clone operation is needed.
```
func.func @foo(%input: memref<*xf32>, %shape: memref<?xindex>) -> memref<*xf32>
{
  %reshape = memref.reshape %input(%shape) : (memref<*xf32>, memref<?xindex>) -> memref<*xf32>
  %copy = bufferization.clone %reshape : memref<*xf32> to memref<*xf32>
  return %copy : memref<*xf32>
}
```
Patterns such as that are possibly when bufferizing functions with input
and output unranked tensors. The clone operation currently fails to
legalize during the bufferization-to-memref conversion with unranked
memrefs.

This change modifies the conversion of bufferization.clone to memref to
generate the runtime calculations and allocation to allow for cloning an
unranked memref.


  Commit: d2528c08bb6e58540672d19ac28293251b53386a
      https://github.com/llvm/llvm-project/commit/d2528c08bb6e58540672d19ac28293251b53386a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    A llvm/test/CodeGen/X86/pr95274.ll

  Log Message:
  -----------
  [DAG] getOperationAction - always return Custom action for target opcodes (#95401)

The target must be responsible for any expansion that needs to be performed for extended types etc.

Fixes #95274


  Commit: 4afd2860222ee0413213dda05e089d5aa2773c42
      https://github.com/llvm/llvm-project/commit/4afd2860222ee0413213dda05e089d5aa2773c42
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cpp
    M compiler-rt/test/asan/TestCases/Posix/strndup_oob_test.cpp
    M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
    M compiler-rt/test/asan/TestCases/debug_stacks.cpp
    M compiler-rt/test/asan/TestCases/double-free.cpp
    M compiler-rt/test/asan/TestCases/malloc-size-too-big.cpp
    M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
    M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
    M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
    M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
    M compiler-rt/test/asan/TestCases/use-after-free.cpp

  Log Message:
  -----------
  Revert "[asan] Make frame number checks more flexable (#94307)"

It broke tests on Mac, see comment on the PR.

> Use more flexable regex ([0-9]+) for frame number checks. Since the
> frame numbers might change if some functions are not inlined.
>
> Similar to
> *
> https://github.com/llvm/llvm-project/commit/0360f3218a13666123849f6699216bdbebe64833
> *
> https://github.com/llvm/llvm-project/commit/404bc5ca2ae5fffa45d5240dcf52b7f134988867

This reverts commit 98174fb6ec9784d9eb7be313ee1317ca6e703d90
and the follow-up commit 86d8aec97fd9e009e9b360ffeee744d3acce730d.


  Commit: 69bc159142c6e4ed168e32a6168392d396f891de
      https://github.com/llvm/llvm-project/commit/69bc159142c6e4ed168e32a6168392d396f891de
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
    M clang/lib/StaticAnalyzer/Core/MemRegion.cpp
    M clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
    A clang/test/Analysis/fread.c

  Log Message:
  -----------
  [analyzer] Refine invalidation caused by `fread` (#93408)

This change enables more accurate modeling of the write effects of
`fread`. In particular, instead of invalidating the whole buffer, in a
best-effort basis, we would try to invalidate the actually accesses
elements of the buffer. This preserves the previous value of the buffer
of the unaffected slots. As a result, diagnose more uninitialized buffer
uses for example.

Currently, this refined invalidation only triggers for `fread` if and
only if the `count` parameter and the buffer pointer's index component
are concrete or perfectly-constrained symbols.
Additionally, if the `fread` would read more than 64 elements, the whole
buffer is invalidated as before. This is to have safeguards against
performance issues.

Refer to the comments of the assertions in the following example to see
the changes in the diagnostics:

```c++
void demo() {
  FILE *fp = fopen("/home/test", "rb+");
  if (!fp) return;
  int buffer[10]; // uninitialized
  int read_items = fread(buffer+1, sizeof(int), 5, fp);
  if (5 == read_items) {
    int v1 = buffer[1]; // Unknown value but not garbage.
    clang_analyzer_isTainted(v1); // expected-warning {{YES}} <-- Would be "NO" without this patch.
    clang_analyzer_dump(v1); // expected-warning {{conj_}} <-- Not a "derived" symbol, so it's directly invalidated now.
    int v0 = buffer[0]; // expected-warning {{Assigned value is garbage or undefined}} <-- Had no report here before.
    (void)(v1 + v0);
  } else {
    // If 'fread' had an error.
    int v0 = buffer[0]; // expected-warning {{Assigned value is garbage or undefined}} <-- Had no report here before.
    (void)v0;
  }
  fclose(fp);
}
```

CPP-3247, CPP-3802

Co-authored by Marco Borgeaud (marco-antognini-sonarsource)


  Commit: a9883739571f0adbe33219a74a934be7f8bd4f62
      https://github.com/llvm/llvm-project/commit/a9883739571f0adbe33219a74a934be7f8bd4f62
  Author: Dmitry Chernenkov <dmitryc at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/MCDCState.h

  Log Message:
  -----------
  [clang] Fix include for 7ead2d8c7e

clang/lib/CodeGen/MCDCState.h:33:11: error: no template named 'SmallVector' in namespace 'llvm'
   33 |     llvm::SmallVector<std::array<int, 2>> Indices;
      |     ~~~~~~^


  Commit: ca05204f9aa258c5324d5675c7987c7e570168a0
      https://github.com/llvm/llvm-project/commit/ca05204f9aa258c5324d5675c7987c7e570168a0
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/src/__support/threads/linux/CMakeLists.txt
    M libc/test/IntegrationTest/test.cpp

  Log Message:
  -----------
  [libc] fix aarch64 linux full build (#95358)


  Commit: 8f795fc798f18d8e269a4a995210ec26803e6c97
      https://github.com/llvm/llvm-project/commit/8f795fc798f18d8e269a4a995210ec26803e6c97
  Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M .github/workflows/libclang-python-tests.yml

  Log Message:
  -----------
  [libclang/python] Change minimum Python test version to 3.8 (#95210)

This fixes #95209


  Commit: 3d35b94e3a9abcf5f703267c7653fd6ef39870b6
      https://github.com/llvm/llvm-project/commit/3d35b94e3a9abcf5f703267c7653fd6ef39870b6
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/test/MC/Disassembler/X86/apx/rex2-format.txt
    M llvm/test/MC/X86/apx/rex2-format-att.s
    M llvm/test/MC/X86/apx/rex2-format-intel.s

  Log Message:
  -----------
  [X86][test] Pre-commit tests for https://github.com/llvm/llvm-project/issues/95412


  Commit: cc2dc0916ad6a00ebc9373a58854d77cf73af122
      https://github.com/llvm/llvm-project/commit/cc2dc0916ad6a00ebc9373a58854d77cf73af122
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/test/CodeGenCUDA/managed-var.cu
    M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
    M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
    M clang/test/OpenMP/threadprivate_codegen.cpp
    M llvm/include/llvm/IR/ConstantFold.h
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/IR/Constants.cpp

  Log Message:
  -----------
  Reapply [ConstantFold] Drop gep of gep fold entirely (#95126)

Reapplying without changes. The flang+openmp buildbot failure
should be addressed by https://github.com/llvm/llvm-project/pull/94541.

-----

This is a followup to https://github.com/llvm/llvm-project/pull/93823
and drops the DataLayout-unaware GEP of GEP fold entirely. All cases are
now left to the DataLayout-aware constant folder, which will fold
everything to a single i8 GEP.

We didn't have any test coverage for this fold in LLVM, but some Clang
tests change.


  Commit: 93318a8b7369dde8762dcba0e8789b95b180e5ed
      https://github.com/llvm/llvm-project/commit/93318a8b7369dde8762dcba0e8789b95b180e5ed
  Author: alx32 <103613512+alx32 at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M lld/MachO/ObjC.cpp
    M lld/MachO/ObjC.h
    M lld/test/MachO/objc-category-merging-minimal.s

  Log Message:
  -----------
  [lld-macho] Add swift support to ObjC category merger (#95124)

Currently ObjC category merger only supports categories defined in ObjC.
But swift supports generating ObjC categories also. This change adds
supports for the later categories.


  Commit: 444dd9b093914a07467513760792aa2690312997
      https://github.com/llvm/llvm-project/commit/444dd9b093914a07467513760792aa2690312997
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
    A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
    A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
    M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
    A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
    A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
    A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fsub.ll
    A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
    A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
    A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
    A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
    A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fsub.ll
    R llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
    A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll
    A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmax.ll
    A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
    A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fsub.ll
    R llvm/test/CodeGen/AMDGPU/local-atomics-fp.ll

  Log Message:
  -----------
  AMDGPU: Cleanup FP atomicrmw tests and cover fmin/fmax (#95131)

We apparently are missing codegen support for atomicrmw fmin/fmax. Also
clean up FP atomicrmw tests
to be more consistent and comprehensively test the relevant cases


  Commit: 5dc99af4879e84660e27968aaf6e36c00fbe23f4
      https://github.com/llvm/llvm-project/commit/5dc99af4879e84660e27968aaf6e36c00fbe23f4
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  Log Message:
  -----------
  [llvm] Use llvm::is_contained (NFC) (#95362)


  Commit: 525c25acd364f018b4fa55e941bd702587478b1c
      https://github.com/llvm/llvm-project/commit/525c25acd364f018b4fa55e941bd702587478b1c
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp

  Log Message:
  -----------
  [SPIRV] Fix warning in SPIRVMergeRegionExitTargets.cpp (#95283)

Fix warning in SPIRVMergeRegionExitTargets.cpp about "non-void function
does not return a value in all control paths" by changing assert to
llvm_unreachable.


  Commit: 91a55cf5adbe37d33dc7b3b90de4bbb0b90761a1
      https://github.com/llvm/llvm-project/commit/91a55cf5adbe37d33dc7b3b90de4bbb0b90761a1
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
    M llvm/test/MC/Disassembler/X86/apx/rex2-format.txt

  Log Message:
  -----------
  [X86][MC] Not decode 0xf3 as rep prefix if it's right before REX2

This fixes https://github.com/llvm/llvm-project/issues/95412


  Commit: 48f8d95f337a9c97c5d00eb15eb43fdaa9b23235
      https://github.com/llvm/llvm-project/commit/48f8d95f337a9c97c5d00eb15eb43fdaa9b23235
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Target/LLVMIR/llvmir-debug.mlir
    M mlir/test/lib/Dialect/Test/TestToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [MLIR][DebugInfo] Set debug info format in MLIR->IR translation (#95329)

MLIR's LLVM dialect does not internally support debug records, only
converting to/from debug intrinsics. To smooth the transition from
intrinsics to records, there is a step prior to IR->MLIR translation
that switches the IR module to intrinsic-form; this patch adds the
equivalent conversion to record-form at MLIR->IR translation.

This is a partial reapply of
https://github.com/llvm/llvm-project/pull/95098 which can be landed once
the flang frontend has been updated by
https://github.com/llvm/llvm-project/pull/95306. This is the counterpart
to the earlier patch https://github.com/llvm/llvm-project/pull/89735
which handled the IR->MLIR conversion.


  Commit: ae4677c81aacbef17a5ecd3e693c4bad9f267c21
      https://github.com/llvm/llvm-project/commit/ae4677c81aacbef17a5ecd3e693c4bad9f267c21
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    M llvm/test/CodeGen/RISCV/rvv/vfmv.v.f.ll

  Log Message:
  -----------
  [RISCV] Remove support for vfmv.v.f with bf16 type. (#95352)

This isn't used by clang and isn't in the rvv-intrinsic-doc.

The instruction requires Zvfh.

If the F register passed to the instruction isn't nan-boxed correctly,
the instruction will generate the wrong nan. So the instruction isn't a
generic move FPR16 to vector register instruction.


  Commit: 9e5428e6b02c77fb18c4bdf688a216c957fd7a53
      https://github.com/llvm/llvm-project/commit/9e5428e6b02c77fb18c4bdf688a216c957fd7a53
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/src/__support/threads/linux/CMakeLists.txt
    M libc/test/IntegrationTest/test.cpp

  Log Message:
  -----------
  Revert "[libc] fix aarch64 linux full build (#95358)" (#95419)


  Commit: dc8e078a59a65a8e2b4dd13954bfa497b30ef0e8
      https://github.com/llvm/llvm-project/commit/dc8e078a59a65a8e2b4dd13954bfa497b30ef0e8
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/select-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/vselect-vp-bf16.ll

  Log Message:
  -----------
  [RISCV] SPLAT_VECTOR of bf16 should not require Zvfhmin. (#95357)

The custom lowering converts to f32, splats as f32, then narrows the
vector to bf16. None of that requires Zvfhmin.

Add new bf16 test files without Zvfh/Zvfmin in their RUN lines. I will
remove the bf16 tests from other files in a follow up patch.


  Commit: a8f80707b4bd3e87f64ce679e2d46de84937968b
      https://github.com/llvm/llvm-project/commit/a8f80707b4bd3e87f64ce679e2d46de84937968b
  Author: Renaud Kauffmann <rkauffmann at nvidia.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M flang/test/Analysis/AliasAnalysis/alias-analysis-9.fir

  Log Message:
  -----------
  Adding a couple of pointer components tests (#95287)

Ahead of https://github.com/llvm/llvm-project/pull/94242 and as
requested in the technical call, I am adding a couple of tests for
pointer components that I would like to make sure are covered.


  Commit: 1fb1fcf34396808e5e88d9d6a3fe6b207188f671
      https://github.com/llvm/llvm-project/commit/1fb1fcf34396808e5e88d9d6a3fe6b207188f671
  Author: David Stuttard <david.stuttard at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
    M llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll
    M llvm/test/CodeGen/AMDGPU/reassoc-mul-add-1-to-mad.ll

  Log Message:
  -----------
  Add mad support for v_pk_* 16 bit integer (#95104)


  Commit: 19b43e1757b4fd3d0f188cf8a08e9febb0dbec2f
      https://github.com/llvm/llvm-project/commit/19b43e1757b4fd3d0f188cf8a08e9febb0dbec2f
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/PowerPC/merge-private.ll

  Log Message:
  -----------
  [PowerPC][NFC] Pre-commit test case to prepare for patch to merge internal and private global data


  Commit: abcbbe711410da051126ca5b11a1ea227cb238f8
      https://github.com/llvm/llvm-project/commit/abcbbe711410da051126ca5b11a1ea227cb238f8
  Author: Zhaoshi Zheng <zhaoshiz at quicinc.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-reduction-to-llvm.mlir

  Log Message:
  -----------
  [MLIR][VectorToLLVM] Handle scalable dim in createVectorLengthValue() (#93361)

LLVM's Vector Predication Intrinsics require an explicit vector length
parameter:
https://llvm.org/docs/LangRef.html#vector-predication-intrinsics.

For a scalable vector type, this should be caculated as VectorScaleOp
multiplied by base vector length, e.g.: for <[4]xf32> we should return:
vscale * 4.


  Commit: 9f70cd83897b36e5628057dfef2855a0b9045766
      https://github.com/llvm/llvm-project/commit/9f70cd83897b36e5628057dfef2855a0b9045766
  Author: cmtice <cmtice at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Core/ValueObject.h
    M lldb/include/lldb/Utility/Scalar.h
    M lldb/source/API/SBValue.cpp
    M lldb/source/Core/ValueObject.cpp

  Log Message:
  -----------
  [LLDB] Add more helper functions to ValueObject class. (#87197)

Create additional helper functions for the ValueObject class, for:
  - returning the value as an APSInt or APFloat
  - additional type casting options
  - additional ways to create ValueObjects from various types of data
  - dereferencing a ValueObject

These helper functions are needed for implementing the Data Inspection
Language, described in
https://discourse.llvm.org/t/rfc-data-inspection-language/69893


  Commit: 451f3fcffdeb95db8a42b1403bdf9d95dda0e6d0
      https://github.com/llvm/llvm-project/commit/451f3fcffdeb95db8a42b1403bdf9d95dda0e6d0
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/test/tools/llvm-dwarfdump/X86/locstats.ll
    M llvm/tools/llvm-dwarfdump/Statistics.cpp

  Log Message:
  -----------
  [DwarfDump] Add new set of line-table-related statistics to llvm-dwarfdump (#93289)

This patch adds a new set of statistics to llvm-dwarfdump that provide
additional information about .debug_line regarding the number of bytes
covered by the line table (and how many of those are covered by line 0
entries), and the number of entries within the table and how many of
those are is_stmt, unique, or unique and non-line-0 (where "uniqueness"
is based on file, line, and column only).

Collectively these give a little more insight into the state of debug
line information, rather than variables (as most of the dwarfdump
statistics are currently oriented towards). I've added all of the stats
that were useful to some degree, but I think the most generally useful
stat is "unique line entries", since it gives the most straightforward
indication of regressions, i.e. when the number goes down it means that
fewer source lines are reachable in the program.


  Commit: 890ab282781c3f78e98b5fc73a9f42d53b2220eb
      https://github.com/llvm/llvm-project/commit/890ab282781c3f78e98b5fc73a9f42d53b2220eb
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Support/KnownBits.h

  Log Message:
  -----------
  [KnownBits] Remove commonBits (#95430)

commonBits has been deprecated since:

  commit d8229e2f1424504f7ea81a0dcc7326d122be2872
  Author: Jay Foad <jay.foad at amd.com>
  Date:   Wed May 10 16:50:33 2023 +0100


  Commit: 8f2a4e83554abb2fb67f11d95428c3ff3147e88b
      https://github.com/llvm/llvm-project/commit/8f2a4e83554abb2fb67f11d95428c3ff3147e88b
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Utility/RegularExpression.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/source/API/SBTarget.cpp
    M lldb/source/Utility/RegularExpression.cpp
    M lldb/test/API/lang/cpp/class_static/TestStaticVariables.py

  Log Message:
  -----------
  [lldb] Support case-insensitive regex matches (#95350)

Support case-insensitive regex matches for
`SBTarget::FindGlobalFunctions` and `SBTarget::FindGlobalVariables`.


  Commit: 46080abe9b136821eda2a1a27d8a13ceac349f8c
      https://github.com/llvm/llvm-project/commit/46080abe9b136821eda2a1a27d8a13ceac349f8c
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll

  Log Message:
  -----------
  Revert "[VPlan] First step towards VPlan cost modeling. (#92555)"

This reverts commit 00798354c553d48d27006a2b06a904bd6013e31b.

Causes crashes, see comments on https://github.com/llvm/llvm-project/pull/92555.


  Commit: 93c8e0f2eb347e219077ddd4428faf9a89fff480
      https://github.com/llvm/llvm-project/commit/93c8e0f2eb347e219077ddd4428faf9a89fff480
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
    M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
    M llvm/test/CodeGen/AArch64/outlining-with-streaming-mode-changes.ll
    M llvm/test/CodeGen/AArch64/sme-call-streaming-compatible-to-normal-fn-wihout-sme-attr.ll
    M llvm/test/CodeGen/AArch64/sme-disable-gisel-fisel.ll
    M llvm/test/CodeGen/AArch64/sme-lazy-save-call.ll
    M llvm/test/CodeGen/AArch64/sme-pstate-sm-changing-call-disable-coalescing.ll
    M llvm/test/CodeGen/AArch64/sme-streaming-body-streaming-compatible-interface.ll
    M llvm/test/CodeGen/AArch64/sme-streaming-body.ll
    M llvm/test/CodeGen/AArch64/sme-streaming-compatible-interface.ll
    M llvm/test/CodeGen/AArch64/sme-streaming-interface.ll
    M llvm/test/CodeGen/AArch64/sme-streaming-mode-changing-call-disable-stackslot-scavenging.ll
    A llvm/test/CodeGen/AArch64/sme-vg-to-stack.ll
    M llvm/test/CodeGen/AArch64/streaming-compatible-memory-ops.ll

  Log Message:
  -----------
  [AArch64][SME] Save VG for unwind info when changing streaming-mode (#83301)

If a function requires any streaming-mode change, the vector granule
value must be stored to the stack and unwind info must also describe the
save of VG to this location.

This patch adds VG to the list of callee-saved registers and increases
the
callee-saved stack size if the function requires streaming-mode changes.
A new type is added to RegPairInfo, which is also used to skip restoring
the register used to spill the VG value in the epilogue.

See
https://github.com/ARM-software/abi-aa/blob/main/aadwarf64/aadwarf64.rst


  Commit: 8f57f6895724f858c9db924200524fad86cc4f11
      https://github.com/llvm/llvm-project/commit/8f57f6895724f858c9db924200524fad86cc4f11
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/debug-options.c

  Log Message:
  -----------
  Bump the DWARF version number to 5 on Darwin. (#95164)

The default debug info format for newer versions of Darwin is DWARF 5.

https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes

rdar://110925733

(relanding 8f6acd973a38da6dce45faa676cbb51da37f72e5 with the bridgeOS platform check removed)


  Commit: 0f53a59fa6b4a7828cf6dbabb0056a379cdc4d0a
      https://github.com/llvm/llvm-project/commit/0f53a59fa6b4a7828cf6dbabb0056a379cdc4d0a
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp

  Log Message:
  -----------
  Fix typos in comment


  Commit: 389142efa0976436aa9210af014a5c92bcb53cdd
      https://github.com/llvm/llvm-project/commit/389142efa0976436aa9210af014a5c92bcb53cdd
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    A compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp

  Log Message:
  -----------
  [HWASan] add test for hwasan_symbolize of stack uas (#95186)


  Commit: a2393435217a0c8832b6b34e13977bb29d722d39
      https://github.com/llvm/llvm-project/commit/a2393435217a0c8832b6b34e13977bb29d722d39
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/sqrt.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/f16sqrtf.h
    M libc/src/math/generic/CMakeLists.txt
    M libc/src/math/generic/acosf.cpp
    M libc/src/math/generic/acoshf.cpp
    M libc/src/math/generic/asinf.cpp
    M libc/src/math/generic/asinhf.cpp
    A libc/src/math/generic/f16sqrtf.cpp
    M libc/src/math/generic/hypotf.cpp
    M libc/src/math/generic/powf.cpp
    M libc/src/math/generic/sqrt.cpp
    M libc/src/math/generic/sqrtf.cpp
    M libc/src/math/generic/sqrtf128.cpp
    M libc/src/math/generic/sqrtl.cpp
    M libc/test/src/math/exhaustive/CMakeLists.txt
    M libc/test/src/math/exhaustive/exhaustive_test.h
    A libc/test/src/math/exhaustive/f16sqrtf_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    M libc/test/src/math/smoke/SqrtTest.h
    A libc/test/src/math/smoke/f16sqrtf_test.cpp
    M libc/utils/MPFRWrapper/CMakeLists.txt
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.h

  Log Message:
  -----------
  [libc][math][c23] Add f16sqrtf C23 math function (#95251)

Part of #95250.


  Commit: 6499c5d70c2514ff0997bac3b442bd0381591d77
      https://github.com/llvm/llvm-project/commit/6499c5d70c2514ff0997bac3b442bd0381591d77
  Author: Logikable <seanluchen at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/lib/builtins/CMakeLists.txt
    M compiler-rt/lib/builtins/atomic.c

  Log Message:
  -----------
  [compiler-rt][builtins] Add opt-in pthread_mutex_t locks to libatomic (#95326)

When an uninstrumented libatomic is used with a TSan instrumented
memcpy, TSan may report a data race in circumstances where writes are
arguably safe.

This occurs because __atomic_compare_exchange won't be instrumented in
an uninstrumented libatomic, so TSan doesn't know that the subsequent
memcpy is race-free.

On the other hand, pthread_mutex_(un)lock will be intercepted by TSan,
meaning an uninstrumented libatomic will not report this false-positive.

pthread_mutexes also may try a number of different strategies to acquire
the lock, which may bound the amount of time a thread has to wait for a
lock during contention.

While pthread_mutex_lock has a larger overhead (due to the function call
and some dispatching), a dispatch to libatomic already predicates a lack
of performance guarantees.


  Commit: 12f77e811b49b48df2c37f5036b05b5801a0535f
      https://github.com/llvm/llvm-project/commit/12f77e811b49b48df2c37f5036b05b5801a0535f
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_flags.inc
    M compiler-rt/lib/hwasan/hwasan_linux.cpp
    R compiler-rt/test/hwasan/TestCases/Linux/fixed-shadow.c

  Log Message:
  -----------
  Revert "[hwasan] Add fixed_shadow_base flag" (#95435)

Reverts llvm/llvm-project#73980

This broke static hwasan binaries in Android, for some reason the
fixed_shadow_base branch gets taken


  Commit: e38729968bfa677b4c3a877df5fd042c25d802af
      https://github.com/llvm/llvm-project/commit/e38729968bfa677b4c3a877df5fd042c25d802af
  Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M .github/workflows/docs.yml
    M .github/workflows/llvm-project-tests.yml
    M .github/workflows/pr-code-format.yml
    M .github/workflows/release-documentation.yml
    M .github/workflows/release-doxygen.yml

  Log Message:
  -----------
  [CI] Update setup-python action to v5 for GHA (#95414)

We currently receive a warning on all Github Actions workflows that use
`setup-python`, since they all use v4 of the action, which uses the
deprecated Node.js 16. This PR upgrades the action in all places to v5,
which uses Node.js 20 (see [setup-python release
page](https://github.com/actions/setup-python/releases/tag/v5.0.0))


  Commit: 2fa6eaf93bfe5b638b6824f25ad1ebde686bd7d4
      https://github.com/llvm/llvm-project/commit/2fa6eaf93bfe5b638b6824f25ad1ebde686bd7d4
  Author: xur-llvm <59886942+xur-llvm at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/tools/llvm-profgen/PerfReader.cpp
    M llvm/tools/llvm-profgen/PerfReader.h
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.h

  Log Message:
  -----------
  [llvm-profgen] Add support for Linux kenrel profile (#92831)

Add the support to handle Linux kernel perf files. The functionality is
under option -kernel. Note that currently only main kernel (in vmlinux)
is handled: kernel modules are not handled.

---------

Co-authored-by: Han Shen <shenhan at google.com>


  Commit: 3dd73dc1996940645620fd191110b57c49183531
      https://github.com/llvm/llvm-project/commit/3dd73dc1996940645620fd191110b57c49183531
  Author: Haowei <haowei at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake

  Log Message:
  -----------
  [Fuchsia] Add armv7m and armv8m runtimes to Fuchsia Clang toolchain (#95337)

This patch adds armv7m and armv8m runtimes to Fuchsia Clang toolchain
configuration.


  Commit: 010c55bf44144f6370a0c4995c30ec51b06e1efe
      https://github.com/llvm/llvm-project/commit/010c55bf44144f6370a0c4995c30ec51b06e1efe
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M flang/lib/Parser/expr-parsers.cpp
    M flang/lib/Parser/program-parsers.cpp
    M flang/lib/Parser/token-parsers.h
    A flang/test/Parser/recovery01.f90
    A flang/test/Parser/recovery02.f90

  Log Message:
  -----------
  [flang] Improve error recovery in tricky situation (#95168)

When the very first statement of the executable part has syntax errors,
it's not at all obvious whether the error messages that are reported to
the user should be those from its failure to be the last statement of
the specification part or its failure to be the first executable
statement when both failures are at the same character in the cooked
character stream. Fortran makes this problem more exciting by allowing
statement function definitions look a lot like several executable
statements.

The current error recovery scheme for declaration constructs depends on
a look-ahead test to see whether the failed construct is actually the
first executable statement. This works fine when the first executable
statement is not in error, but should also allow for some error cases
that begin with the tokens of an executable statement.

This can obviously still go wrong for declaration constructs that are
unparseable and also have ambiguity in their leading tokens with
executable statements, but that seems to be a less likely case.

Also improves error recovery for parenthesized items.


  Commit: 2414a90730d87c20d9ff8d7951ed24e3328124ed
      https://github.com/llvm/llvm-project/commit/2414a90730d87c20d9ff8d7951ed24e3328124ed
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Semantics/null01.f90

  Log Message:
  -----------
  [flang] Catch NULL(MOLD=assumed-rank) (#95270)

An assumed-rank dummy argument is not an acceptable MOLD argument to
NULL(), whose result must have a known rank at compilation time.


  Commit: 4b493e31b2c5d72d993f0e914adb711f3ce4ba05
      https://github.com/llvm/llvm-project/commit/4b493e31b2c5d72d993f0e914adb711f3ce4ba05
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  -----------
  [ProfileData] Add getValueArrayForSite (#95335)

Without this patch, a typical traversal over the value data looks
like:

  uint32_t NV = Func.getNumValueDataForSite(VK, S);
std::unique_ptr<InstrProfValueData[]> VD = Func.getValueForSite(VK, S);
  for (uint32_t V = 0; V < NV; V++)
    Do something with VD[V].Value and/or VD[V].Count;

This patch adds getValueArrayForSite, which returns
ArrayRef<InstrProfValueData>, so we can do:

  for (const auto &V : Func.getValueArrayForSite(VK, S))
    Do something with V.Value and/or V.Count;

I'm planning to migrate the existing uses of getValueForSite to
getValueArrayForSite in follow-up patches and remove getValueForSite
and getNumValueDataForSite.


  Commit: f8fc883da951064a310e365680b4b567fad58ebc
      https://github.com/llvm/llvm-project/commit/f8fc883da951064a310e365680b4b567fad58ebc
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
    M flang/include/flang/Runtime/reduce.h
    M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
    M flang/runtime/reduce.cpp
    M flang/test/Lower/Intrinsics/reduce.f90
    M flang/unittests/Runtime/Reduction.cpp

  Log Message:
  -----------
  [flang][runtime] Distinguish VALUE from non-VALUE operations in REDUCE (#95297)

Accommodate operations with VALUE dummy arguments in the runtime support
for the REDUCE intrinsic function by splitting most entry points into
Reduce...Ref and Reduce...Value variants.

Further work will be needed in lowering to call the ...Value entry
points.


  Commit: 86bee819120b5ba4b7262c7800a88fbf904d4932
      https://github.com/llvm/llvm-project/commit/86bee819120b5ba4b7262c7800a88fbf904d4932
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M flang/include/flang/Parser/provenance.h
    M flang/include/flang/Parser/token-sequence.h
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/lib/Parser/provenance.cpp
    M flang/lib/Parser/token-sequence.cpp
    A flang/test/Preprocessing/ff-args.h
    A flang/test/Preprocessing/ff-include-args.F

  Log Message:
  -----------
  [flang][preprocessor] Fixed-form continuation across preprocessing di… (#95332)

…rective

Implement fixed-form line continuation when the continuation line is the
result of text produced by an #include or other preprocessing directive.
This accommodates the somewhat common practice of putting dummy or
actual arguments into a header file and #including it into several code
sites.

Fixes https://github.com/llvm/llvm-project/issues/78928.


  Commit: 2146fd0d8d0ede4657354594c012e7543534cd87
      https://github.com/llvm/llvm-project/commit/2146fd0d8d0ede4657354594c012e7543534cd87
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/CMakeLists.txt
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/AArch64.h
    M clang/test/CodeGen/aarch64-cpu-supports-target.c
    M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
    M clang/test/CodeGen/aarch64-targetattr.c
    M clang/test/CodeGen/attr-target-version.c
    M clang/test/Sema/aarch64-neon-target.c
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/TargetParser/AArch64TargetParser.cpp

  Log Message:
  -----------
  Revert "Reland "[AArch64] Decouple feature dependency expansion. (#94279)" (#95231)"

This reverts commit 70510733af33c70ff7877eaf30d7718b9358a725.

The following code is now incorrectly rejected.

```
% cat neon.c
#include <arm_neon.h>
__attribute__((target("arch=armv8-a")))
uint64x2_t foo(uint64x2_t a, uint64x2_t b) {
  return veorq_u64(a, b);
}
% newclang --target=aarch64-linux-gnu -c neon.c
neon.c:5:10: error: always_inline function 'veorq_u64' requires target feature 'outline-atomics', but would be inlined into function 'foo' that is compiled without support for 'outline-atomics'
    5 |   return veorq_u64(a, b);
      |          ^
1 error generated.
```

"+outline-atomics" seems misleading here.


  Commit: cd94fa7e7595cbd0c22e898170d8ee9648b47285
      https://github.com/llvm/llvm-project/commit/cd94fa7e7595cbd0c22e898170d8ee9648b47285
  Author: Andrew Browne <browneee at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/lib/dfsan/dfsan_custom.cpp
    M compiler-rt/test/dfsan/sscanf.c

  Log Message:
  -----------
  [DFSan] Fix sscanf checking that ordinary characters match. (#95333)

Fixes: #94769


  Commit: d4a0154902fb9b0611ed857134b26a64a1d5ad1e
      https://github.com/llvm/llvm-project/commit/d4a0154902fb9b0611ed857134b26a64a1d5ad1e
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/TidyProvider.cpp
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/include/clang/InstallAPI/DylibVerifier.h
    M clang/lib/InstallAPI/Visitor.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M compiler-rt/test/dfsan/custom.cpp
    M compiler-rt/test/orc/TestCases/Linux/ppc64/trivial-tls-pwr10.test
    M flang/examples/FlangOmpReport/yaml_summarizer.py
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/test/Driver/mllvm_vs_mmlir.f90
    M libc/src/__support/FPUtil/x86_64/FEnvImpl.h
    M libc/src/stdio/printf_core/float_hex_converter.h
    M libc/test/src/__support/str_to_float_comparison_test.cpp
    M lld/test/wasm/data-segments.ll
    M lldb/include/lldb/Expression/DWARFExpressionList.h
    M lldb/include/lldb/Target/MemoryTagManager.h
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
    M lldb/test/API/CMakeLists.txt
    M lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
    M lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_data_bit_offset-DW_OP_stack_value.s
    M llvm/include/llvm/CodeGen/LiveRegUnits.h
    M llvm/include/llvm/CodeGen/MIRFormatter.h
    M llvm/include/llvm/MC/MCAsmInfo.h
    M llvm/include/llvm/Support/raw_socket_stream.h
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
    M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/FileCheck/FileCheck.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/MC/MCPseudoProbe.cpp
    M llvm/lib/Support/VirtualFileSystem.cpp
    M llvm/lib/Support/raw_socket_stream.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
    M llvm/lib/TargetParser/RISCVISAInfo.cpp
    M llvm/lib/TextAPI/Utils.cpp
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
    M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
    M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
    M llvm/test/CodeGen/X86/AMX/amx-greedy-ra.ll
    M llvm/test/CodeGen/X86/apx/shift-eflags.ll
    M llvm/test/CodeGen/X86/merge-consecutive-stores-nt.ll
    M llvm/test/CodeGen/X86/shift-eflags.ll
    M llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal.ll
    M llvm/test/Transforms/LoopVectorize/LoongArch/defaults.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/defaults.ll
    M llvm/test/Transforms/SeparateConstOffsetFromGEP/split-gep-or-as-add.ll
    M llvm/test/Verifier/alloc-size-failedparse.ll
    M llvm/test/tools/llvm-ar/windows-path.test
    M llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-win.test
    M llvm/tools/llvm-cov/CodeCoverage.cpp
    M llvm/tools/llvm-profgen/PerfReader.cpp
    M llvm/unittests/Support/Path.cpp
    M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
    M mlir/include/mlir/Analysis/Presburger/PresburgerSpace.h
    M mlir/include/mlir/Dialect/OpenMP/OpenMPInterfaces.h
    M mlir/lib/Analysis/Presburger/PresburgerSpace.cpp
    M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
    M mlir/lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom_prod.mlir
    M mlir/test/Target/LLVMIR/omptarget-constant-alloca-raise.mlir
    M openmp/tools/Modules/FindOpenMPTarget.cmake

  Log Message:
  -----------
  [llvm-project] Fix typo "seperate" (#95373)


  Commit: c7b5be86f00beac6d806318888c4198986b2c84c
      https://github.com/llvm/llvm-project/commit/c7b5be86f00beac6d806318888c4198986b2c84c
  Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Interfaces/TilingInterface.td

  Log Message:
  -----------
  [mlir][TilingInterface] Update documentation for `TilingInterface.td`. (#95178)


  Commit: 52d29eb2874580f0fe96e5cbb96faffbbdc432a7
      https://github.com/llvm/llvm-project/commit/52d29eb2874580f0fe96e5cbb96faffbbdc432a7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/X86/induction-costs.ll

  Log Message:
  -----------
  [LV] Add extra cost model tests with truncated inductions.

Extra test cases that caused revert of
https://github.com/llvm/llvm-project/pull/92555


  Commit: ba7d5ebe4bb2dc9b6885adf8346529e763cd6fce
      https://github.com/llvm/llvm-project/commit/ba7d5ebe4bb2dc9b6885adf8346529e763cd6fce
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M libc/test/src/math/smoke/CMakeLists.txt
    M libc/test/src/stdfix/ISqrtTest.h
    M libc/test/src/stdfix/SqrtTest.h

  Log Message:
  -----------
  [libc] Fix build breaks caused by f16sqrtf changes (#95459)

See Buildbot failures:

- https://lab.llvm.org/buildbot/#/builders/78/builds/13
- https://lab.llvm.org/buildbot/#/builders/182/builds/7


  Commit: 41587739a63f7622c36715421d215f07d79f9a7d
      https://github.com/llvm/llvm-project/commit/41587739a63f7622c36715421d215f07d79f9a7d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  -----------
  [ProfileData] Migrate to getValueArrayForSite (#95457)

This patch is a collection of one-liner migrations to
getValueArrayForSite.


  Commit: 93181db7fb6cd738bc807e510f87e3a61fb5b3e6
      https://github.com/llvm/llvm-project/commit/93181db7fb6cd738bc807e510f87e3a61fb5b3e6
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][bzl] Add missing dep

The file was added to MLIRBindingsPythonCoreNoCAPI but objects weren't.

Signed-off-by: Jacques Pienaar <jpienaar at google.com>


  Commit: 1365ce22e9a419c992cb81824f5176390de83ee6
      https://github.com/llvm/llvm-project/commit/1365ce22e9a419c992cb81824f5176390de83ee6
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [llvm-profdata] Clean up traverseAllValueSites (NFC) (#95467)

If NV == 0, nothing interesting happens after the "if" statement.  We
should just "continue" to the next value site.

While I am at it, this patch migrates a use of getValueForSite to
getValueArrayForSite.


  Commit: b6688a0b17361e1f4164f52e8d3b17defd7d432d
      https://github.com/llvm/llvm-project/commit/b6688a0b17361e1f4164f52e8d3b17defd7d432d
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/MC/MCSection.cpp

  Log Message:
  -----------
  [MC] flushPendingLabels: revert setAtom change

The setAtom call introduced by e17bc023f4e5b79f08bfc7f624f8ff0f0cf17ce4
was due to my misunderstanding of flushPendingLabels
(see https://discourse.llvm.org/t/mc-removing-aligned-bundling-support/79518).

When evaluating `.quad x-y`,
MCExpr.cpp:AttemptToFoldSymbolOffsetDifference gives different results
at parse time and layout time because the `if (FA->getAtom() ==
FB.getAtom())` condition in isSymbolRefDifferenceFullyResolvedImpl only
works when `setAtom` with a non-null pointer has been called. Calling
setAtom in flushPendingLabels does not help anything.


  Commit: 597cde155a008364c83870b24306fbae93e80cf8
      https://github.com/llvm/llvm-project/commit/597cde155a008364c83870b24306fbae93e80cf8
  Author: Angel Zhang <anzhouzhang913 at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
    M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv] Implement SPIR-V lowering for `vector.deinterleave` (#95313)

1. Added a conversion for `vector.deinterleave` to the `VectorToSPIRV`
pass.
2. Added LIT tests for the new conversion.

---------

Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>


  Commit: 27588fe2057a3e6b69c1d6e4885a7a539b3123ff
      https://github.com/llvm/llvm-project/commit/27588fe2057a3e6b69c1d6e4885a7a539b3123ff
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/include/llvm/MC/MCSectionMachO.h
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/MC/MCMachOStreamer.cpp
    M llvm/lib/MC/MCSectionMachO.cpp

  Log Message:
  -----------
  [MC] Move MCFragment::Atom to MCSectionMachO::Atoms

Mach-O's `.subsections_via_symbols` mechanism associates a fragment with
an atom (a non-temporary defined symbol). The current approach
(`MCFragment::Atom`) wastes space for other object file formats.

After #95077, `MCFragment::LayoutOrder` is only used by
`AttemptToFoldSymbolOffsetDifference`. While it could be removed, we
might explore future uses for `LayoutOrder`.

@aengelke suggests one use case: move `Atom` into MCSection. This works
because Mach-O doesn't support `.subsection`, and `LayoutOrder`, as the
index into the fragment list, is unchanged.

This patch moves MCFragment::Atom to MCSectionMachO::Atoms. `getAtom`
may be called at parse time before `Atoms` is initialized, so a bound
checking is needed to keep the hack working.

Pull Request: https://github.com/llvm/llvm-project/pull/95341


  Commit: 00ed887454f7d7522f3eac8549661e51f864a9a7
      https://github.com/llvm/llvm-project/commit/00ed887454f7d7522f3eac8549661e51f864a9a7
  Author: Aleksandr Korepanov <korepanov.sasha at gmail.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp

  Log Message:
  -----------
  [LLDB][Windows] Fix watchpoints for Windows (#95446)

Hello!

Currently, watchpoints don't work on Windows (this can be reproduced
with the existing tests). This patch fixes the related issues so that
the tests and watchpoints start working.

Here is the list of tests that are fixed by this patch (on Windows,
checked in **release/18.x** branch):
- commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py
- commands/watchpoints/multiple_hits/TestMultipleHits.py
- commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py
- commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py
- commands/watchpoints/unaligned-watchpoint/TestUnalignedWatchpoint.py
- commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py
-
commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandLLDB.py
-
commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py
-
commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py
- commands/watchpoints/watchpoint_count/TestWatchpointCount.py
- commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py
- commands/watchpoints/watchpoint_size/TestWatchpointSizes.py
- python_api/watchpoint/TestSetWatchpoint.py
- python_api/watchpoint/TestWatchpointIgnoreCount.py
- python_api/watchpoint/TestWatchpointIter.py
- python_api/watchpoint/condition/TestWatchpointConditionAPI.py
- python_api/watchpoint/watchlocation/TestTargetWatchAddress.py

---------

Co-authored-by: Jason Molenda <jmolenda at apple.com>


  Commit: 8fa7cf000aa17ca14f576dc3f5669ba7b84a05d1
      https://github.com/llvm/llvm-project/commit/8fa7cf000aa17ca14f576dc3f5669ba7b84a05d1
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp

  Log Message:
  -----------
  [HWASan] disable hwasan_symbolize_stack_uas on x86


  Commit: 3106a23155b905ea86100798d277278f5be47ebd
      https://github.com/llvm/llvm-project/commit/3106a23155b905ea86100798d277278f5be47ebd
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M libc/src/stdlib/CMakeLists.txt
    M libc/src/stdlib/freelist.h

  Log Message:
  -----------
  [libc][stdlib] Fix UB in freelist (#95330)

Some of the freelist code uses type punning which is UB in C++, namely
because we read from a union member that is not the active union member.


  Commit: 1ebda1173186c4c0ab776d1f140f903a49ace2a3
      https://github.com/llvm/llvm-project/commit/1ebda1173186c4c0ab776d1f140f903a49ace2a3
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M bolt/lib/Rewrite/LinuxKernelRewriter.cpp

  Log Message:
  -----------
  [BOLT] Fix duplicate diagnostic message (#95167)

Print .altinstructions parsing stats only once.


  Commit: 01a429c432620cad6deac99d48cf6ef96c7f86e8
      https://github.com/llvm/llvm-project/commit/01a429c432620cad6deac99d48cf6ef96c7f86e8
  Author: Arda Unal <ardau at d-matrix.ai>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Mesh/Transforms/Spmdization.cpp
    M mlir/test/Dialect/Linalg/mesh-spmdization.mlir
    M mlir/test/Dialect/Mesh/resharding-spmdization.mlir

  Log Message:
  -----------
  [mlir][mesh] Fix wrong argument passed to targetShardingInUnsplitLastAxis (#95059)

In unsplitLastAxisInResharding, wrong argument was passed when calling
targetShardingInUnsplitLastAxis.There weren't any tests to uncover this.
I added one in mesh-spmdization.mlir for Linalg and one in
resharding-spmdization.mlir for Mesh dialects.


  Commit: c54f5f67b80a41abfb1848aba480fee43b5d8245
      https://github.com/llvm/llvm-project/commit/c54f5f67b80a41abfb1848aba480fee43b5d8245
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M flang/runtime/complex-reduction.c
    M flang/runtime/complex-reduction.h

  Log Message:
  -----------
  [flang] Address missed cases for REDUCE change, fixes shared lib build (#95481)

My recent change that distinguishes pass-by-reference from pass-by-value
reduction operation functions missed the "CppReduceComplex" cases, and
also broke the shared library build-bots. Fix.


  Commit: 22ea97d7bfd65abf68a68b13bf96ad69be23df54
      https://github.com/llvm/llvm-project/commit/22ea97d7bfd65abf68a68b13bf96ad69be23df54
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/decorators.py
    M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
    M lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
    M lldb/test/Shell/helper/build.py

  Log Message:
  -----------
  [lldb] Use packaging module instead of pkg_resources (#93712)

Use the packaging [1] module for parsing version numbers, instead of
pkg_resources which is distributed with setuptools. I recently switched
over to using the latter, knowing it was deprecated (in favor of the
packaging module) because it comes with Python out of the box. Newer
versions of setuptools have removed `pkg_resources` so we have to use
packaging.

[1] https://pypi.org/project/packaging/


  Commit: 602634d70cba2c51f6177740c4a98a377d10ab6a
      https://github.com/llvm/llvm-project/commit/602634d70cba2c51f6177740c4a98a377d10ab6a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/CGProfile.cpp

  Log Message:
  -----------
  [Transforms] Migrate to a new version of getValueProfDataFromInst (#95477)

Note that the version of getValueProfDataFromInst that returns bool
has been "deprecated" since:

  commit 1e15371dd8843dfc52b9435afaa133997c1773d8
  Author: Mingming Liu <mingmingl at google.com>
  Date:   Mon Apr 1 15:14:49 2024 -0700


  Commit: 0ca05e8221d20c7bb06f59dd4eb3d486228b962a
      https://github.com/llvm/llvm-project/commit/0ca05e8221d20c7bb06f59dd4eb3d486228b962a
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_flags.inc
    M compiler-rt/lib/hwasan/hwasan_linux.cpp
    A compiler-rt/test/hwasan/TestCases/Linux/fixed-shadow.c

  Log Message:
  -----------
  Reland '[hwasan] Add fixed_shadow_base flag (#73980)' (#95445)

This was reverted in https://github.com/llvm/llvm-project/pull/95435
because it broke Android static hwasan binaries. This reland limits the
change to !SANITIZER_ANDROID.

Original commit message:
When set to non-zero, the HWASan runtime will map the shadow base at the
specified constant address.

This is particularly useful in conjunction with the existing compiler
option 'hwasan-mapping-offset', which bakes a hardcoded constant address
into the instrumentation.

---------

Co-authored-by: Vitaly Buka <vitalybuka at gmail.com>


  Commit: 41c50f0836439f4d53e7209cd9e9ce54341ed9a3
      https://github.com/llvm/llvm-project/commit/41c50f0836439f4d53e7209cd9e9ce54341ed9a3
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp

  Log Message:
  -----------
  [HWASan] comment why hwasan_symbolize_stack_uas is arm64 only


  Commit: 785dc76c6667d0ea81c8b877dbff9c1e843918d6
      https://github.com/llvm/llvm-project/commit/785dc76c6667d0ea81c8b877dbff9c1e843918d6
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    A llvm/test/CodeGen/X86/issue64826-switferror-eh.ll
    M llvm/test/CodeGen/X86/statepoint-invoke.ll
    M llvm/test/CodeGen/X86/statepoint-spill-lowering.ll

  Log Message:
  -----------
  [llvm][SelectionDAG] Fix up chains in lowerInvokeable. rdar://113994760 (#94004)

lowerInvokeable wasn't updating the returned chain after emitting the
lowerEndEH, which caused SwiftErrorVal-handling code to re-set the DAG
root, and thus accidentally skip the EH_LABEL node it was supposed to
have addeed. After fixing that, a few places needed to be adjusted that
assume the specific shape of the returned DAG.

Fixes: #64826
Fixes: rdar://113994760


  Commit: 4f8c961924c2e15eed54e5207111ceedc1da6568
      https://github.com/llvm/llvm-project/commit/4f8c961924c2e15eed54e5207111ceedc1da6568
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc

  Log Message:
  -----------
  [compiler-rt][AArch64][FMV] Use the hw.optional.arm.caps fast path (#95275)

MacOS 15.0 and iOS 18.0 added a new sysctl to fetch a bitvector of all
the hw.optional.arm.FEAT_*'s in one go. Using this has a perf advantage
over doing multiple round-trips to the kernel and back, but since it's
not present in older oses, we still need the slow fallback.


  Commit: 50ead2ee93bf1b59f35d7afda553a026b87855bb
      https://github.com/llvm/llvm-project/commit/50ead2ee93bf1b59f35d7afda553a026b87855bb
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp

  Log Message:
  -----------
  [X86][AsmParser] Avoid duplicated code in MatchAndEmit(ATT/Intel)Instruction, NFC

And VEXEncoding_* are renamed to OpcodePrefix_*.

This is in preparation for the coming pseudo rex/rex2 prefixes support.


  Commit: cb021f5e46d259876ccf0aa24db48c10369f3d61
      https://github.com/llvm/llvm-project/commit/cb021f5e46d259876ccf0aa24db48c10369f3d61
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge.ll
    M llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll

  Log Message:
  -----------
  [RISCV] Don't use SEW=16 .vf instructions to move scalar bf16 into a vector.

The instructions are only defined to operator f16 data. If the
scalar FPR register isn't properly nan-boxed, these instructions
will create a fp16 nan not a bf16 nan in the vector register.


  Commit: 836ca5bbf7d6366df7c35ec9d1f235b1ebc9744e
      https://github.com/llvm/llvm-project/commit/836ca5bbf7d6366df7c35ec9d1f235b1ebc9744e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleProfile.cpp

  Log Message:
  -----------
  [Transforms] Migrate to a new version of getValueProfDataFromInst (#95485)

Note that the version of getValueProfDataFromInst that returns bool
has been "deprecated" since:

  commit 1e15371dd8843dfc52b9435afaa133997c1773d8
  Author: Mingming Liu <mingmingl at google.com>
  Date:   Mon Apr 1 15:14:49 2024 -0700


  Commit: 75882ed4c7126b33b1dabb08775af5ee0b2c6e12
      https://github.com/llvm/llvm-project/commit/75882ed4c7126b33b1dabb08775af5ee0b2c6e12
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp

  Log Message:
  -----------
  [Codegen] (NFC) Faster algorithm for MachineBlockPlacement (#91843)

In MachineBlockPlacement, the function getFirstUnplacedBlock is
inefficient because in most cases (for usual loop CFG), this function
fails to find a candidate, and its complexity becomes O(#(loops in
function) * #(blocks in function)). This makes the compilation of very
long functions slow. This update reduces it to O(k * #(blocks in
function)) where k is the maximum loop nesting depth, by iterating
through the BlockFilter instead.


  Commit: eb1248f20a86eb1bc8a7cc61d4ce71293a6caa75
      https://github.com/llvm/llvm-project/commit/eb1248f20a86eb1bc8a7cc61d4ce71293a6caa75
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
    M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
    A llvm/test/MC/X86/apx/pseudo-rex2.s
    A llvm/test/MC/X86/pseudo-rex.s
    M llvm/test/MC/X86/x86_errors.s

  Log Message:
  -----------
  [X86][MC] Add missing support for pseudo rex/rex2 prefix in assembler

This fixes https://github.com/llvm/llvm-project/issues/95417


  Commit: 57458513a94812860f1c40faddcfc3c8f71223a4
      https://github.com/llvm/llvm-project/commit/57458513a94812860f1c40faddcfc3c8f71223a4
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll

  Log Message:
  -----------
  [RISCV] Remove unused check prefixes. NFC


  Commit: a7a1195f01037e5019f671c96ef4bca9af9bb9a7
      https://github.com/llvm/llvm-project/commit/a7a1195f01037e5019f671c96ef4bca9af9bb9a7
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/select-fp.ll
    M llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll
    M llvm/test/CodeGen/RISCV/rvv/vselect-vp.ll

  Log Message:
  -----------
  [RISCV] Remove duplicate bf16 testing. NFC

The bf16 test cases were copied to other files without the Zvfh/Zfvhmin
options. Remove the duplication by adding a few Zvfh command lines to
the bf16 files and deleting the bf16 tests from the test files for f16/f32/f64.


  Commit: 43bd7ae65af40ff3378d5a0395a058ba834ad8dd
      https://github.com/llvm/llvm-project/commit/43bd7ae65af40ff3378d5a0395a058ba834ad8dd
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp

  Log Message:
  -----------
  StreamChecker.cpp: Use isa<> (for #93408) [-Wunused-but-set-variable]


  Commit: 2efe3d7fc0e7f9594d91e73bef11d33e0796aa65
      https://github.com/llvm/llvm-project/commit/2efe3d7fc0e7f9594d91e73bef11d33e0796aa65
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/src/__support/threads/linux/CMakeLists.txt
    M libc/test/IntegrationTest/CMakeLists.txt
    M libc/test/IntegrationTest/test.cpp
    M libc/test/UnitTest/CMakeLists.txt
    M libc/test/UnitTest/HermeticTestUtils.cpp

  Log Message:
  -----------
  Reland "[libc] fix aarch64 linux full build (#95358)" (#95423)

Reverts llvm/llvm-project#95419 and Reland #95358.

This PR is full of temporal fixes. After a discussion with @lntue, it is
better to avoid further changes to the cmake infrastructure for now as a
rework to the cmake utilities will be landed in the future.


  Commit: 85e8d6275839df5b7a939c0c34c69ed39702ef7f
      https://github.com/llvm/llvm-project/commit/85e8d6275839df5b7a939c0c34c69ed39702ef7f
  Author: Aviad Cohen <aviadcohen7 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/Utils/Utils.h
    M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
    M mlir/lib/Dialect/Arith/Utils/Utils.cpp
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp
    M mlir/test/Dialect/Affine/loop-coalescing.mlir
    M mlir/test/Dialect/SCF/transform-ops.mlir

  Log Message:
  -----------
  [mlir][scf]: Expose emitNormalizedLoopBounds/denormalizeInductionVariable util functions (#94429)

Also adjusted `LoopParams` to use OpFoldResult instead of Value.


  Commit: 7ffeaf0e187b41994f63ae82e73e123b942cd16b
      https://github.com/llvm/llvm-project/commit/7ffeaf0e187b41994f63ae82e73e123b942cd16b
  Author: harishch4 <harishcse44 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/test/Lower/OpenMP/simd.f90
    A flang/test/Lower/OpenMP/simd_aarch64.f90
    A flang/test/Lower/OpenMP/simd_x86_64.f90

  Log Message:
  -----------
  [MLIR][Flang][OpenMP] Implement lowering simd aligned to MLIR (#95198)

Rebased @DominikAdamski patch: https://reviews.llvm.org/D142722

---------

Co-authored-by: Dominik Adamski <dominik.adamski at amd.com>
Co-authored-by: Tom Eccles <t at freedommail.info>


  Commit: d66084b9b8c924adacac4e5d32de02492c4478a6
      https://github.com/llvm/llvm-project/commit/d66084b9b8c924adacac4e5d32de02492c4478a6
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/vfmv.v.f.ll

  Log Message:
  -----------
  [RISCV] Remove unnecessary bf16 -mattr from vfmv.v.f.ll. NFC


  Commit: bd6568c98a50a180eabc41e9df5b896b7518c587
      https://github.com/llvm/llvm-project/commit/bd6568c98a50a180eabc41e9df5b896b7518c587
  Author: Pradeep Kumar <pradeepisro49 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
    M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
    M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
    M mlir/lib/Dialect/GPU/IR/InferIntRangeInterfaceImpls.cpp
    M mlir/test/Integration/GPU/CUDA/sm90/cga_cluster.mlir

  Log Message:
  -----------
  [MLIR][GPU] Add gpu.cluster_dim_blocks and gpu.cluster_block_id Ops (#95245)

This commit adds support for `gpu.cluster_dim_blocks` and
`gpu.cluster_block_id` Ops to represent number of blocks per cluster and
block id inside a cluster respectively. Also, fixed the description of
`gpu.cluster_dim` Op and updated the `cga_cluster.mlir` test file to use
`gpu.cluster_dim_blocks`

Co-authored-by: pradeepku <pradeepku at nvidia.com>
Co-authored-by: Guray Ozen <guray.ozen at gmail.com>


  Commit: b95446286bddc521fa92012fdb60fe0d24c63346
      https://github.com/llvm/llvm-project/commit/b95446286bddc521fa92012fdb60fe0d24c63346
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

  Log Message:
  -----------
  [RISCV] Remove partially duplicate riscv_vfmv_v_f_vl patterns.

We had specific patterns for riscv_vfmv_v_f_vl in both RISCVInstrInfoVVLPatterns.td
and RISCVInstrInfoVSDPatterns.td.

The RISCVInstrInfoVSDPatterns.td patterns could only match if the
RISCVInstrInfoVVLPatterns.td failed. As far as I can tell this
would only happen if the predicate didn't match. Tweak the predicate
so the RISCVInstrInfoVVLPatterns.td can match in more cases.


  Commit: f83d5d293dced17de175ad69de6b81503716d3ce
      https://github.com/llvm/llvm-project/commit/f83d5d293dced17de175ad69de6b81503716d3ce
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

  Log Message:
  -----------
  [RISCV] Remove vfmerge.vf patterns with bf16 types.

These patterns are no longer used because we don't generate bf16
to vector splats except for constants that can be handled with
vmerge.vi.


  Commit: 53dbc1f9f142c635e34b7fed3018f1954d0b573a
      https://github.com/llvm/llvm-project/commit/53dbc1f9f142c635e34b7fed3018f1954d0b573a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll

  Log Message:
  -----------
  [RISCV] Add vselect pattern with SelectFPImm.


  Commit: 2e7b95e4c080426e5085c38cec01176b56798534
      https://github.com/llvm/llvm-project/commit/2e7b95e4c080426e5085c38cec01176b56798534
  Author: Ziqing Luo <ziqing at udel.edu>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/SourceManager.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/lib/Basic/SourceManager.cpp
    M clang/lib/Lex/Preprocessor.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    A clang/test/Modules/safe_buffers_optout.cpp
    A clang/test/PCH/unsafe-buffer-usage-pragma-pch-complex.cpp
    A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files-2.cpp
    A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files.cpp
    A clang/test/SemaCXX/warn-unsafe-buffer-usage-pragma-pch.cpp

  Log Message:
  -----------
  [Safe Buffers] Serialize unsafe_buffer_usage pragmas  (#92031)

The commit adds serialization and de-serialization implementations for
the stored regions. Basically, the serialized representation of the
regions of a PP is a (ordered) sequence of source location encodings.
For de-serialization, regions from loaded files are stored by their ASTs.
When later one queries if a loaded location L is in an opt-out
region, PP looks up the regions of the loaded AST where L is at.

(Background if helps: a pair of `#pragma clang unsafe_buffer_usage begin/end` pragmas marks a
warning-opt-out region. The begin and end locations (opt-out regions)
are stored in preprocessor instances (PP) and will be queried by the
`-Wunsafe-buffer-usage` analyzer.)

The reported issue at upstream: https://github.com/llvm/llvm-project/issues/90501
rdar://124035402


  Commit: ebdea52930678a2f2e7fb94415121654100b8be6
      https://github.com/llvm/llvm-project/commit/ebdea52930678a2f2e7fb94415121654100b8be6
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/baremetal/CMakeLists.txt
    A libc/src/stdio/baremetal/vprintf.cpp

  Log Message:
  -----------
  [libc] Provide vprintf for baremetal (#95363)

This is similar to baremetal printf that was implemented in #94078.


  Commit: b1de42a81d838bb0c6dea7d2436820a2456c730b
      https://github.com/llvm/llvm-project/commit/b1de42a81d838bb0c6dea7d2436820a2456c730b
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt

  Log Message:
  -----------
  [libc] printf, putchar and vprintf in bareemetal entrypoints (#95436)

We now have baremetal implementations of these entrypoints.


  Commit: f2d215f572affc9ad73da07763ce1831de7f2d4d
      https://github.com/llvm/llvm-project/commit/f2d215f572affc9ad73da07763ce1831de7f2d4d
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

  Log Message:
  -----------
  [lldb][TypeSystemClang][NFCI] Factor completion logic for individual types out of GetCompleteQualType (#95402)

This patch factors out the completion logic for individual clang::Type's
into their own helper functions.

During the process I cleaned up a few assumptions (e.g., unnecessary
if-guards that could be asserts because these conditions are guaranteed
by the `clang::Type::TypeClass` switch in `GetCompleteQualType`).

This is mainly motivated by the type-completion rework proposed in
https://github.com/llvm/llvm-project/pull/95100.


  Commit: d890dda16bf65bc36b783194afbe2ebc3e709afb
      https://github.com/llvm/llvm-project/commit/d890dda16bf65bc36b783194afbe2ebc3e709afb
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.h

  Log Message:
  -----------
  [NFCI][AMDGPU] Try to use PressureDiff to Calculate RegPressure. (#94221)

PressureDiff is reliable most of the time, and it's pretty much free
compared to RPTracker. We can use it whenever there is no subregister
definitions, or physregs invovled. No subregs because PDiff doesn't take
into account lane liveness, and no Physreg because it seems to get
PhysReg liveness completely wrong. Sometimes it adds a diff, sometimes
itt doesn't - I didn't look at that one for long so maybe there is
something we can eventually do to make it better.

This allows us to save a ton of calls to RPTracker and LIS too. On a
huge IR module (100+MB), it went from about 20M calls to RPTracker in this
function down to 3.4, with the rest being PressureDiffs.

I also added an expensive check to verify correctness of PressureDiff.


  Commit: 4ab37e430d960b975bfdaf95516a39ea3468f7a1
      https://github.com/llvm/llvm-project/commit/4ab37e430d960b975bfdaf95516a39ea3468f7a1
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M clang/lib/Basic/Targets/OSTargets.h
    M clang/test/Preprocessor/init-x86.c
    M clang/test/Preprocessor/init.c

  Log Message:
  -----------
  [clang][Fuchsia] Use unsigned int for wint_t on *-fuchsia targets (#95499)

This aligns Fuchsia targets with other similar OS targets such as
Linux.  Fuchsia's libc already uses unsigned rather than the
compiler-provided __WINT_TYPE__ macro for its wint_t typedef, so
this just makes the compiler consistent with the OS's actual ABI.
The only known manifestation of the mismatch is -Wformat warnings
for %lc no matching wint_t arguments.

The closest thing I could see to existing tests for each target's
wint_t type setting was the predefine tests that check various
macros including __WINT_TYPE__ on a per-machine and/or per-OS
basis.  While the setting is done per-OS in most of the target
implementations rather than actually varying by machine, the only
existing tests for __WINT_TYPE__ are in per-machine checks that
are also wholly or partly tagged as per-OS.  x86_64 and riscv64
tests for respective *-linux-gnu targets now check for the same
definitions in the respective *-fuchsia targets.  __WINT_TYPE__
is not among the type checked in the aarch64 tests and those lack
a section that's specifically tested for aarch64-linux-gnu; if
such is added then it can similarly be made to check for most or
all of the same value on aarch64-fuchsia as aarch64-linux-gnu.
But since the actual implementation of choosing the type is done
per-OS and not per-machine for the three machines with Fuchsia
target support, the x86 and riscv64 tests are already redundantly
testing that same code and seem sufficient.


  Commit: c4a1440c149d3ea03f14fd6858b6be3a2faf9af6
      https://github.com/llvm/llvm-project/commit/c4a1440c149d3ea03f14fd6858b6be3a2faf9af6
  Author: wanglei <wanglei at loongson.cn>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M lld/ELF/Arch/LoongArch.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/Relocations.h
    A lld/test/ELF/loongarch-tlsdesc-gd-mixed.s
    A lld/test/ELF/loongarch-tlsdesc.s

  Log Message:
  -----------
  [lld][ELF] Add basic TLSDESC support for LoongArch

LoongArch does not yet implement transition from TLSDESC to LE/IE,
so TLSDESC dynamic relocation needs to be generated for each desc,
which is ultimately handled by the dynamic linker.

The test cases reference RISC-V: #79239

Reviewed By: MaskRay, SixWeining

Pull Request: https://github.com/llvm/llvm-project/pull/94451


  Commit: db08b0999d1b42391e34ac0c469b92de98e9f550
      https://github.com/llvm/llvm-project/commit/db08b0999d1b42391e34ac0c469b92de98e9f550
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    A llvm/test/CodeGen/ARM/machine-outliner-no-candidates-without-stack-fixup.ll

  Log Message:
  -----------
  [ARM][AArch64] Bail out if CandidatesWithoutStackFixups is empty (#95410)

The following code assumes that RepeatedSequenceLocs is non-empty. Bail
out if there are less than 2 candidates left, as no outlining is
possible in that case. The same check is already present in all the
other places where elements from RepeatedSequenceLocs may be dropped.

This fixes the issue reported at:
https://github.com/llvm/llvm-project/pull/93965#issuecomment-2151989716


  Commit: c947709df7859bb7285873593adab70349a5ab3e
      https://github.com/llvm/llvm-project/commit/c947709df7859bb7285873593adab70349a5ab3e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/defsym.s

  Log Message:
  -----------
  [Driver] Support -Wa,--defsym similar to -Wa,-defsym

When the integrated assembler is enabled, clangDriver implements a small
set of popular -Wa, options. "-defsym" is implemented
(https://reviews.llvm.org/D26213), but the more common "--defsym" is
not. Support "--defsym".

Close #95386


  Commit: 4942e78271e73d45e971196dc5a9769f94b30060
      https://github.com/llvm/llvm-project/commit/4942e78271e73d45e971196dc5a9769f94b30060
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/tools/llvm-exegesis/CMakeLists.txt
    M llvm/tools/llvm-exegesis/llvm-exegesis.cpp

  Log Message:
  -----------
  [llvm-exegesis] Only link/initialize supported targets (NFC) (#95421)

llvm-exegesis currently links and initializes all targets, even though
most of them are not supported by llvm-exegesis. This is particularly
unfortunate because llvm-exegesis does not support the LLVM dylib, so
llvm-exegesis essentially ends up doing a complete relink of all of
LLVM, which is not fun if you use LTO.

Instead, only link and initialize the targets that are part of
LLVM_EXEGESIS_TARGETS.


  Commit: d712ae4a21822a51817941e7007e0dd41343cde3
      https://github.com/llvm/llvm-project/commit/d712ae4a21822a51817941e7007e0dd41343cde3
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/defsym.s
    A clang/test/Misc/cc1as-defsym.s

  Log Message:
  -----------
  [Driver] Support -Wa,--defsym similar to -Wa,-defsym

Missing part in c947709df7859bb7285873593adab70349a5ab3e


  Commit: 706e1975400b3f30bd406b694bb711a7c7dbe1c4
      https://github.com/llvm/llvm-project/commit/706e1975400b3f30bd406b694bb711a7c7dbe1c4
  Author: David Green <david.green at arm.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/InitUndef.cpp
    M llvm/lib/CodeGen/MachineRegisterInfo.cpp
    M llvm/lib/Target/ARM/ARMSubtarget.cpp
    M llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
    M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
    M llvm/lib/Target/RISCV/RISCVSubtarget.cpp
    M llvm/test/CodeGen/ARM/regcoal-invalid-subrange-update.mir
    M llvm/test/CodeGen/Hexagon/bit-gen-rseq.ll
    M llvm/test/CodeGen/Hexagon/regalloc-bad-undef.mir
    M llvm/test/CodeGen/Hexagon/verify-liveness-at-def.mir
    M llvm/test/CodeGen/PowerPC/atomics-i128-ldst.ll
    M llvm/test/CodeGen/PowerPC/atomics-i128.ll
    M llvm/test/CodeGen/PowerPC/mma-outer-product.ll
    M llvm/test/CodeGen/PowerPC/ppc64-acc-regalloc.ll
    M llvm/test/CodeGen/PowerPC/subreg-killed.mir
    M llvm/test/CodeGen/RISCV/early-clobber-tied-def-subreg-liveness.ll
    M llvm/test/CodeGen/RISCV/regalloc-last-chance-recoloring-failure.ll
    M llvm/test/CodeGen/RISCV/rvv/subregister-undef-early-clobber.mir
    M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.ll
    M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.mir
    M llvm/test/CodeGen/RISCV/rvv/vrgatherei16-subreg-liveness.ll
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/spillingmove.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/subreg-liveness.mir

  Log Message:
  -----------
  [CodeGen] Remove target SubRegLiveness flags (#95437)

This removes the uses of target flags to disable subreg liveness,
relying on the `-enable-subreg-liveness` flag instead. The
`-enable-subreg-liveness` flag has been changed to take precedence over
the subtarget if set, and one use of `Subtarget->enableSubRegLiveness()`
has been changed to `MRI->subRegLivenessEnabled()` to make sure the
option properly applies.


  Commit: ae71609e91ec9f38df7e92ba3c50a1f9cebb772e
      https://github.com/llvm/llvm-project/commit/ae71609e91ec9f38df7e92ba3c50a1f9cebb772e
  Author: Andreas Jonson <andjo403 at hotmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/AArch64/lower-range-metadata-func-call.ll
    M llvm/test/CodeGen/X86/legalize-vec-assertzext.ll

  Log Message:
  -----------
  [SDAG] Lower range attribute to AssertZext (#95450)

Add support for range attributes on calls, in addition to range metadata.


  Commit: ebb5385c6ed7d6610f36b92090209c114568d796
      https://github.com/llvm/llvm-project/commit/ebb5385c6ed7d6610f36b92090209c114568d796
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/unittests/Support/MathExtrasTest.cpp

  Log Message:
  -----------
  MathExtras/test: increase coverage (#95425)

Increase test coverage, and cover possible overflow cases in preparation
for another patch optimizing for bitwidth.


  Commit: da249cad8d398939e0c608d38d0c038954941316
      https://github.com/llvm/llvm-project/commit/da249cad8d398939e0c608d38d0c038954941316
  Author: Hans <hans at hanshq.net>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/test/Driver/cl-options.c

  Log Message:
  -----------
  [clang-cl] Map /Ot to -O3 instead of -O2 (#95406)

/Ot (which is also implied by /O2) is supposed to optimize for maximum
speed, so -O3 seems like a better match.


  Commit: dfde0773fdee9301e5f2181e1dbcbb0dc3602e08
      https://github.com/llvm/llvm-project/commit/dfde0773fdee9301e5f2181e1dbcbb0dc3602e08
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll

  Log Message:
  -----------
  [SimplifyCFG] More accurate use legality check for sinking (#94462)

When sinking instructions, we have to make sure that the uses of that
instruction are consistent: If used in a phi node in the sink target,
then the phi operands have to match the sink candidates. This allows the
phi to be removed when the instruction is sunk. This case is already
handled accurately.

However, what the current code doesn't handle are uses in the same
block. These are just unconditionally accepted, even though this needs
the same consistency check for the phi node that sinking the using
instruction would introduce.

Instead, the code has another check when actually performing the
sinking, which repeats the phi check (just at a later time, where all
the later instructions have already been sunk and any new phis
introduced).

This is problematic, because it messes up the profitability heuristic.
The code will think that certain instructions will get sunk, but they
actually won't. This may result in more phi nodes being created than is
considered profitable. See the changed test for a case where we no
longer do this after this patch.

The new approach makes sure that the uses are consistent during the
initial legality check. This is based on PhiOperands, which we already
collect.

The primary motivation for this is to generalize sinking to support more
than one use, and doing that generalization is hard with the current
split checking approach.


  Commit: e83adfe59632d2e2f8ff26db33087ba7fb754485
      https://github.com/llvm/llvm-project/commit/e83adfe59632d2e2f8ff26db33087ba7fb754485
  Author: Chris B <chris.bieneman at me.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/Analysis/SPIRVConvergenceRegionAnalysis.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp

  Log Message:
  -----------
  [SPIRV] Silence unused variable warnings (#95492)

This change marks a few variable declarations as [[maybe_unused]] to
silence unused variable warnings.


  Commit: 880d37038c7bbff53ef02c9d6b01cbbc87875243
      https://github.com/llvm/llvm-project/commit/880d37038c7bbff53ef02c9d6b01cbbc87875243
  Author: Durgadoss R <durgadossr at nvidia.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/lib/AST/MicrosoftMangle.cpp
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/lib/Support/APFloat.cpp
    M llvm/unittests/ADT/APFloatTest.cpp

  Log Message:
  -----------
  [APFloat] Add APFloat support for FP4 data type (#95392)

This patch adds APFloat type support for the E2M1
FP4 datatype. The definitions for this format are
detailed in section 5.3.3 of the OCP specification,
which can be accessed here:

https://www.opencompute.org/documents/ocp-microscaling-formats-mx-v1-0-spec-final-pdf

Signed-off-by: Durgadoss R <durgadossr at nvidia.com>


  Commit: b422fa6b62160f5eeb038d816d05e039182dde56
      https://github.com/llvm/llvm-project/commit/b422fa6b62160f5eeb038d816d05e039182dde56
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/docs/SourceBasedCodeCoverage.rst
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/lib/CodeGen/MCDCState.h
    M clang/test/CoverageMapping/branch-constfolded.cpp
    M clang/test/CoverageMapping/logical.cpp
    M clang/test/CoverageMapping/mcdc-class.cpp
    M clang/test/CoverageMapping/mcdc-error-conditions.cpp
    M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
    M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
    M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
    M clang/test/CoverageMapping/mcdc-scratch-space.c
    M clang/test/CoverageMapping/mcdc-system-headers.cpp
    M clang/test/Profile/c-mcdc-class.cpp
    M clang/test/Profile/c-mcdc-logicalop-ternary.c
    M clang/test/Profile/c-mcdc-nested-ternary.c
    M clang/test/Profile/c-mcdc-not.c
    M clang/test/Profile/c-mcdc.c
    M llvm/docs/CoverageMappingFormat.rst
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
    M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext
    R llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.o
    R llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.profdata
    M llvm/test/tools/llvm-cov/Inputs/mcdc-general.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext
    M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.proftext
    M llvm/test/tools/llvm-cov/Inputs/mcdc-maxbs.o
    R llvm/test/tools/llvm-cov/mcdc-general-18.test
    M llvm/unittests/ProfileData/CoverageMappingTest.cpp

  Log Message:
  -----------
  Revert "[MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)"

This broke the lit tests on Mac:
https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/1096/

> By storing possible test vectors instead of combinations of conditions,
> the restriction is dramatically relaxed.
>
> This introduces two options to `cc1`:
>
> * `-fmcdc-max-conditions=32767`
> * `-fmcdc-max-test-vectors=2147483646`
>
> This change makes coverage mapping, profraw, and profdata incompatible
> with Clang-18.
>
> - Bitmap semantics changed. It is incompatible with previous format.
> - `BitmapIdx` in `Decision` points to the end of the bitmap.
> - Bitmap is packed per function.
> - `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.
>
> RFC:
> https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798

This reverts commit 7ead2d8c7e9114b3f23666209a1654939987cb30.


  Commit: dc726c340392d4a0f3af9dde5f34c58d98198667
      https://github.com/llvm/llvm-project/commit/dc726c340392d4a0f3af9dde5f34c58d98198667
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/test/CodeGen/instrument-objc-method.m
    M flang/test/Transforms/debug-local-var-2.f90
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/AsmParser/LLParser.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/IR/DebugProgramInstruction.cpp
    M llvm/lib/IR/Function.cpp
    M llvm/lib/IR/Module.cpp
    M llvm/tools/llvm-as/llvm-as.cpp
    M llvm/tools/llvm-dis/llvm-dis.cpp
    M llvm/tools/llvm-link/llvm-link.cpp
    M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
    M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
    M llvm/unittests/IR/DebugInfoTest.cpp
    M llvm/unittests/IR/IRBuilderTest.cpp
    M llvm/unittests/IR/InstructionsTest.cpp
    M llvm/unittests/IR/ValueTest.cpp
    M llvm/unittests/Transforms/Utils/CloningTest.cpp
    M llvm/unittests/Transforms/Utils/LocalTest.cpp

  Log Message:
  -----------
  Reapply#4 "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"

Reapplies commit c5aeca73 (and its followup commit 21396be8), which were
reverted due to missing functionality in MLIR and Flang regarding printing
debug records. This has now been added in commit 08aa511, along with support
for printing debug records in flang.

This reverts commit 2dc2290860355dd2bac3b655eea895fe30fde257.


  Commit: bd5fbab38f200c09eb5bc727b56812e53a3e9f00
      https://github.com/llvm/llvm-project/commit/bd5fbab38f200c09eb5bc727b56812e53a3e9f00
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll

  Log Message:
  -----------
  [SimplifyCFG] Add tests for sinking with multiple uses (NFC)


  Commit: d62ff7195ef880bba6d2522bf5e882e7ef28cb7f
      https://github.com/llvm/llvm-project/commit/d62ff7195ef880bba6d2522bf5e882e7ef28cb7f
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/test/Lower/OpenMP/if-clause.f90
    R flang/test/Lower/OpenMP/loop-combined.f90
    A flang/test/Lower/OpenMP/loop-compound.f90

  Log Message:
  -----------
  [Flang][OpenMP] NFC: Check omp.loop_nest in compound construct lowering (#95404)

This patch updates tests containing compound loop constructs to also
check for the `omp.loop_nest` operation. The "loop-combined.f90" test
file is renamed to "loop-compound.f90" as well, to better indicate the
types of constructs that are checked in it.


  Commit: b6b0f975a6005de530262ed1c5643d1060c86d63
      https://github.com/llvm/llvm-project/commit/b6b0f975a6005de530262ed1c5643d1060c86d63
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
    A flang/test/Lower/OpenMP/parallel-reduction-pointer-array.f90
    A flang/test/Lower/OpenMP/wsloop-reduction-pointer.f90

  Log Message:
  -----------
  [flang][OpenMP] Support reduction of POINTER variables (#95148)

Just treat them the same as ALLOCATABLE. gfortran doesn't allow POINTER
objects in a REDUCTION clause, but so far as I can tell the standard
explicitly allows it (openmp5.2 section 5.5.5).


  Commit: 32cd703da578e769787a921d76b768164a4256b6
      https://github.com/llvm/llvm-project/commit/32cd703da578e769787a921d76b768164a4256b6
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/docs/UsersManual.rst
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/test/Driver/cl-options.c

  Log Message:
  -----------
  [clang-cl] Support the /Ob3 flag

According to the docs, this was added in VS2019 and specifies more
aggressive inlining than /Ob2. Let's treat it the same as /Ob2 for now.


  Commit: 88e42c6779067c4b65624939be74db2d56ee017b
      https://github.com/llvm/llvm-project/commit/88e42c6779067c4b65624939be74db2d56ee017b
  Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/bindings/python/clang/cindex.py
    A clang/bindings/python/tests/cindex/test_enums.py
    M clang/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [libclang/python] Fix bugs in custom enum implementation and add tests (#95381)

Do not allow initialization of enum from negative IDs (e.g. from_id(-1)
currently produces the last known variant)
Rename duplicate enums: CursorKind.OMP_TEAMS_DISTRIBUTE_DIRECTIVE and
TypeKind.OBJCCLASS
Add tests to cover these cases


  Commit: ab0d01a5f0f17f20b106b0f6cc6d1b7d13cf4d65
      https://github.com/llvm/llvm-project/commit/ab0d01a5f0f17f20b106b0f6cc6d1b7d13cf4d65
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCRegisterInfo.h
    M llvm/lib/MC/MCRegisterInfo.cpp
    M llvm/test/CodeGen/ARM/constant-island-movwt.mir

  Log Message:
  -----------
  [MC] Cache MCRegAliasIterator (#93510)

AMDGPU has a lot of registers, almost 9000. Many of those registers have
aliases. For instance, SGPR0 has a ton of aliases due to the presence of
register tuples. It's even worse if you query the aliases of a register
tuple itself. A large register tuple can have hundreds of aliases
because it may include 16 registers, and each of those registers have
their own tuples as well.

The current implementation of MCRegAliasIterator is not good at this. In
some extreme cases it can iterate, 7000 more times than
necessary, just giving duplicates over and over again and using a lot of
expensive iterators.

This patch implements a cache system for MCRegAliasIterator. It does the
expensive part only once and then saves it for us so the next iterations
on that register's aliases are just a map lookup.

Furthermore, the cached data is uniqued (and sorted). Thus, this speeds
up code by both speeding up the iterator itself, but also by minimizing
the number of loop iterations users of the iterator do.


  Commit: 4bccd25467ce591869dad41c8b7c550093c20f1b
      https://github.com/llvm/llvm-project/commit/4bccd25467ce591869dad41c8b7c550093c20f1b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sve-hadd.ll

  Log Message:
  -----------
  [AArch64] LowerAVG - fallback to default expansion (#95416)

The TargetLowering::expandAVG implementations now match or are better than the AArch64 override.


  Commit: 44df1167f88cabbb4cfde816f279337379ea30b3
      https://github.com/llvm/llvm-project/commit/44df1167f88cabbb4cfde816f279337379ea30b3
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Support/Error.h
    M llvm/lib/Support/Error.cpp
    M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
    M llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
    M llvm/unittests/Support/ErrorTest.cpp

  Log Message:
  -----------
  [Error] Add non-consuming toString (#95375)

There are some places that want to convert an Error to string, but still
retain the original Error object, for example to emit a non-fatal
warning.

This currently isn't possible, because the entire Error infra is
move-based. And what people end up doing in this case is to move the
Error... twice.

This patch introduces a toStringWithoutConsuming() function to
accommodate this use case. This also requires some infrastructure that
allows visiting Errors without consuming them.


  Commit: 4f54b91842ea2ab9546459869df442f7e7fe59d6
      https://github.com/llvm/llvm-project/commit/4f54b91842ea2ab9546459869df442f7e7fe59d6
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SDPatternMatch.h
    M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp

  Log Message:
  -----------
  [SDPatternMatch] Only match ISD::SIGN_EXTEND in m_SExt (#95415)

Context: https://github.com/llvm/llvm-project/pull/95365#discussion_r1638236603

The current implementation of `m_SExt` matches both `ISD::SIGN_EXTEND` and `ISD::SIGN_EXTEND_INREG`. However, in cases where we specifically need to match _only_ `ISD::SIGN_EXTEND`, such as in the SelectionDAG graph below, this can lead to issues and unintended combinations.

```
SelectionDAG has 13 nodes:
  t0: ch,glue = EntryToken
          t2: v2i32,ch = CopyFromReg t0, Register:v2i32 %0
        t21: v2i32 = sign_extend_inreg t2, ValueType:ch:v2i8
          t4: v2i32,ch = CopyFromReg t0, Register:v2i32 %1
        t22: v2i32 = sign_extend_inreg t4, ValueType:ch:v2i8
      t23: v2i32 = avgfloors t21, t22
    t24: v2i32 = sign_extend_inreg t23, ValueType:ch:v2i8
  t15: ch,glue = CopyToReg t0, Register:v2i32 $d0, t24
  t16: ch = AArch64ISD::RET_GLUE t15, Register:v2i32 $d0, t15:1
```


  Commit: 738fcbee687a50bfa83ba30daf65bab41307211a
      https://github.com/llvm/llvm-project/commit/738fcbee687a50bfa83ba30daf65bab41307211a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/test/Transforms/SROA/phi-gep.ll

  Log Message:
  -----------
  [SROA] Preserve all GEP flags during speculation

Unlikely to matter in practice, as these GEPs are typically
promoted away.


  Commit: f1a29ec082ead82c6a4d61e515222d6bcf046a5b
      https://github.com/llvm/llvm-project/commit/f1a29ec082ead82c6a4d61e515222d6bcf046a5b
  Author: David Green <david.green at arm.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/fptoi.ll

  Log Message:
  -----------
  [AArch64] Add i128 and fp128 tests to fptoi. NFC


  Commit: 1ceede3318c29af83b219cca137f5e2c563fc871
      https://github.com/llvm/llvm-project/commit/1ceede3318c29af83b219cca137f5e2c563fc871
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp

  Log Message:
  -----------
  [AMDGPULowerBufferFatPointers] Don't try to preserve flags for constant expressions

We expect all of these ConstantExpr ctors to fold away, don't try
to preserve flags, especially as the flags are not correct.


  Commit: 71f8b441ed6a944ceb4530b49e8588dcbb1e0066
      https://github.com/llvm/llvm-project/commit/71f8b441ed6a944ceb4530b49e8588dcbb1e0066
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/docs/SourceBasedCodeCoverage.rst
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/lib/CodeGen/MCDCState.h
    M clang/test/CoverageMapping/branch-constfolded.cpp
    M clang/test/CoverageMapping/logical.cpp
    M clang/test/CoverageMapping/mcdc-class.cpp
    M clang/test/CoverageMapping/mcdc-error-conditions.cpp
    M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
    M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
    M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
    M clang/test/CoverageMapping/mcdc-scratch-space.c
    M clang/test/CoverageMapping/mcdc-system-headers.cpp
    M clang/test/Profile/c-mcdc-class.cpp
    M clang/test/Profile/c-mcdc-logicalop-ternary.c
    M clang/test/Profile/c-mcdc-nested-ternary.c
    M clang/test/Profile/c-mcdc-not.c
    M clang/test/Profile/c-mcdc.c
    M compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
    M llvm/docs/CoverageMappingFormat.rst
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
    M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext
    A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.o
    A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.profdata
    M llvm/test/tools/llvm-cov/Inputs/mcdc-general.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext
    M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.o
    M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.proftext
    M llvm/test/tools/llvm-cov/Inputs/mcdc-maxbs.o
    A llvm/test/tools/llvm-cov/mcdc-general-18.test
    M llvm/unittests/ProfileData/CoverageMappingTest.cpp

  Log Message:
  -----------
  Reapply: [MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)

By storing possible test vectors instead of combinations of conditions,
the restriction is dramatically relaxed.

This introduces two options to `cc1`:

* `-fmcdc-max-conditions=32767`
* `-fmcdc-max-test-vectors=2147483646`

This change makes coverage mapping, profraw, and profdata incompatible
with Clang-18.

- Bitmap semantics changed. It is incompatible with previous format.
- `BitmapIdx` in `Decision` points to the end of the bitmap.
- Bitmap is packed per function.
- `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.

RFC:
https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798

--
Change(s) since llvmorg-19-init-14288-g7ead2d8c7e91

- Update compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c


  Commit: b650764b16b5c8790325775ac5f87f0b1c0beca7
      https://github.com/llvm/llvm-project/commit/b650764b16b5c8790325775ac5f87f0b1c0beca7
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    A lldb/test/Shell/Expr/Inputs/objc-cast.cpp
    A lldb/test/Shell/Expr/TestObjCIDCast.test

  Log Message:
  -----------
  [lldb][test] Add test for completing ObjCObjectType (#95405)

This is a minimal reproducer for a crash where we would try to call
`DumpTypeDescription` on an incomplete type. This crash surfaced as part
of an NFC refactor of some of the logic in `GetCompleteQualType`:
```
(lldb) expr -l objc -- *(id)0x1234
Stack dump:
0.      Program arguments: ./bin/lldb a.out -o "b main" -o run -o "expr -l objc -- *(id)0x1234"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it):
0  lldb                     0x0000000102ec768c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  lldb                     0x0000000102ec6010 llvm::sys::RunSignalHandlers() + 112
2  lldb                     0x0000000102ec7fa8 SignalHandler(int) + 292
3  libsystem_platform.dylib 0x000000018c7a8c44 _sigtramp + 56
4  LLDB                     0x0000000116b2030c lldb_private::TypeSystemClang::DumpTypeDescription(void*, lldb_private::Stream&, lldb::DescriptionLevel, lldb_private::ExecutionContextScope*) + 588
5  LLDB                     0x00000001166b5124 lldb_private::CompilerType::DumpTypeDescription(lldb_private::Stream*, lldb::DescriptionLevel, lldb_private::ExecutionContextScope*) const + 228
6  LLDB                     0x0000000116d4f08c IRForTarget::CreateResultVariable(llvm::Function&) + 2076
```

rdar://129633122


  Commit: 90fd99c0795711e1cf762a02b29b0a702f86a264
      https://github.com/llvm/llvm-project/commit/90fd99c0795711e1cf762a02b29b0a702f86a264
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll

  Log Message:
  -----------
  Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)"

This reverts commit 46080abe9b136821eda2a1a27d8a13ceac349f8c.

Extra tests have been added in 52d29eb287.

Original message:
This adds a new interface to compute the cost of recipes, VPBasicBlocks,
VPRegionBlocks and VPlan, initially falling back to the legacy cost model
for all recipes. Follow-up patches will gradually migrate recipes to
compute their own costs step-by-step.

It also adds getBestPlan function to LVP which computes the cost of all
VPlans and picks the most profitable one together with the most
profitable VF.

The VPlan selected by the VPlan cost model is executed and there is an
assert to catch cases where the VPlan cost model and the legacy cost
model disagree. Even though I checked a number of different build
configurations on AArch64 and X86, there may be some differences
that have been missed.

Additional discussions and context can be found in @arcbbb's
https://github.com/llvm/llvm-project/pull/67647 and
https://github.com/llvm/llvm-project/pull/67934 which is an earlier
version of the current PR.

PR: https://github.com/llvm/llvm-project/pull/92555


  Commit: ad702e057cf7fc1ffdc0f78f563b416170ea7d57
      https://github.com/llvm/llvm-project/commit/ad702e057cf7fc1ffdc0f78f563b416170ea7d57
  Author: Harald van Dijk <harald.vandijk at codeplay.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/lib/Sema/Sema.cpp
    M clang/test/CodeGen/aarch64-targetattr-arch.c
    M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/target.c
    M clang/test/CodeGenCXX/aarch64-mangle-sve-vectors.cpp
    M clang/test/Sema/aarch64-sme2-sve2p1-diagnostics.c
    M clang/test/Sema/arm-sve-target.cpp

  Log Message:
  -----------
  [AArch64] Extend SVE diagnostics. (#94976)

The SVE diagnostics were guarded by a FD->hasBody() check that prevented
the diagnostic from being emitted for code that still triggered the
backend crashes that the errors were meant to avoid, because
FD->hasBody() returns false for a function that Clang is currently
processing. This is not done for the equivalent RISC-V code, and is not
needed for AArch64 either, so remove it.

Errors were also emitted in the wrong location, errors were emitted at
the called function's location, rather than at the caller's, which meant
that just removing the FD->hasBody() check resulted in incomprehensible
errors. Change this as well.

The aarch64-mangle-sve-vectors.cpp test was using -target-feature wrong
which was exposed as a result of these changes. Different target
features need to be passed in as different -target-feature options.

aarch64-targetattr-arch.c has a test_errors() function that needs to be
split in two. Now that svundef_s8() is diagnosed for its use of
svint8_t, the "needs target feature sve" diagnostic is no longer
emitted, but this affects all calls in the same function. To ensure we
still check this for its __crc32cd call, move that into a separate
function.

Fixes #94766.


  Commit: 0113f26fad00e4798883b02eb7a049ea545a13de
      https://github.com/llvm/llvm-project/commit/0113f26fad00e4798883b02eb7a049ea545a13de
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Subtarget.h
    M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2_lse128.ll
    M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8_1a.ll
    M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lse2_lse128.ll
    M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-v8_1a.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic-128.ll
    M llvm/test/CodeGen/AArch64/aarch64-interleaved-access-w-undef.ll
    M llvm/test/CodeGen/AArch64/aarch64-neon-vector-insert-uaddlv.ll
    M llvm/test/CodeGen/AArch64/aarch64-sysreg128.ll
    M llvm/test/CodeGen/AArch64/arm64-atomic-128.ll
    M llvm/test/CodeGen/AArch64/arm64-dup.ll
    M llvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll
    M llvm/test/CodeGen/AArch64/arm64-ld1.ll
    M llvm/test/CodeGen/AArch64/arm64-neon-copy.ll
    M llvm/test/CodeGen/AArch64/arm64-neon-copyPhysReg-tuple.ll
    M llvm/test/CodeGen/AArch64/arm64-tbl.ll
    M llvm/test/CodeGen/AArch64/arm64-zip.ll
    M llvm/test/CodeGen/AArch64/atomicrmw-xchg-fp.ll
    M llvm/test/CodeGen/AArch64/bf16-shuffle.ll
    M llvm/test/CodeGen/AArch64/build-vector-two-dup.ll
    M llvm/test/CodeGen/AArch64/complex-deinterleaving-multiuses.ll
    M llvm/test/CodeGen/AArch64/extract-vector-elt.ll
    M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
    M llvm/test/CodeGen/AArch64/fptoi.ll
    M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
    M llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll
    M llvm/test/CodeGen/AArch64/insert-subvector.ll
    M llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
    M llvm/test/CodeGen/AArch64/neon-extracttruncate.ll
    M llvm/test/CodeGen/AArch64/neon-reverseshuffle.ll
    M llvm/test/CodeGen/AArch64/neon-widen-shuffle.ll
    M llvm/test/CodeGen/AArch64/seqpairspill.mir
    M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
    M llvm/test/CodeGen/AArch64/shuffles.ll
    M llvm/test/CodeGen/AArch64/shufflevector.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-add.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtn.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-fp-dots.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-insert-mova.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-int-dots.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-max.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-min.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlall.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlals.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-rshl.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-select-sme-tileslice.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-sqdmulh.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-sub.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-vdot.ll
    M llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
    M llvm/test/CodeGen/AArch64/sve-merging-stores.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
    M llvm/test/CodeGen/AArch64/sve2-intrinsics-perm-tb.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-multivec-stores.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-sclamp.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx4.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-stores.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uclamp.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx4.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pp.ll
    M llvm/test/CodeGen/AArch64/swift-error-unreachable-use.ll
    M llvm/test/CodeGen/AArch64/tbl-loops.ll
    M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
    M llvm/test/CodeGen/AArch64/vldn_shuffle.ll

  Log Message:
  -----------
   [AArch64][SME] Enable subreg liveness tracking for AArch64 (#92142)

The SME dot instructions in these tests operate on contiguous register
tuples which use one subregister from each of the loads. When using the
strided register form for all loads, enabling subreg liveness tracking
will allow us to recognise that there is no overlap between the register
tuples used by each of the dot instructions.

This is the first in a series of patches to improve the allocation of
strided and contiguous registers for SME.


  Commit: cf4c3d98430de7e2a19ba42714db78810d04d4e8
      https://github.com/llvm/llvm-project/commit/cf4c3d98430de7e2a19ba42714db78810d04d4e8
  Author: Vikram Hegde <115221833+vikramRH at users.noreply.github.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.set.inactive.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll

  Log Message:
  -----------
  [AMDGPU] Extend llvm.amdgcn.set.inactive intrinsic to support Reg32/Reg64 types (#94457)

Missed this while handling other patches. Any comments/concerns ?


  Commit: 86dc75862398ec48ad411103770613fba9add9f5
      https://github.com/llvm/llvm-project/commit/86dc75862398ec48ad411103770613fba9add9f5
  Author: Amaury Séchet <deadalnix at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm-c/Core.h

  Log Message:
  -----------
  [llvm-c] Move LLVMAttributeIndex to a more apropriate place. NFC.


  Commit: e910f61fb1810020ab68fdf6479bde03e702e013
      https://github.com/llvm/llvm-project/commit/e910f61fb1810020ab68fdf6479bde03e702e013
  Author: agozillon <Andrew.Gozillon at amd.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/Clauses.cpp

  Log Message:
  -----------
  [Flang][OpenMP] Fix type in getBaseObject causing crashes in certain scenarios (#95472)

This typo would unfortunately cause code like the following to ICE,
where common block symbols/names are used in a map clause:

subroutine sb()
  implicit none
  integer:: b, c
  common /var/ b, c

!$omp target map(tofrom: /var/)
   b = 1
   c = 2
!$omp end target
end subroutine


  Commit: 8ab3f8ae0d39048e4bc1198514049813c6765fb6
      https://github.com/llvm/llvm-project/commit/8ab3f8ae0d39048e4bc1198514049813c6765fb6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/tools/llvm-exegesis/CMakeLists.txt

  Log Message:
  -----------
  [llvm-exegesis] Fix typos in cmake file

Fix typos introduced in #95421.


  Commit: c6b6e18c4d25305ab98b6eab752de99ea4e15344
      https://github.com/llvm/llvm-project/commit/c6b6e18c4d25305ab98b6eab752de99ea4e15344
  Author: David Truby <david.truby at arm.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/docs/Directives.md
    M flang/include/flang/Lower/PFTBuilder.h
    M flang/include/flang/Optimizer/Dialect/FIROps.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
    M flang/lib/Parser/Fortran-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/CMakeLists.txt
    A flang/lib/Semantics/canonicalize-directives.cpp
    A flang/lib/Semantics/canonicalize-directives.h
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/semantics.cpp
    A flang/test/Fir/vector-always-cfg.fir
    A flang/test/Fir/vector-always.fir
    A flang/test/Integration/vector-always.f90
    A flang/test/Lower/vector-always.f90
    M flang/test/Parser/compiler-directives.f90
    A flang/test/Semantics/loop-directives.f90

  Log Message:
  -----------
  [flang] Implement !DIR$ VECTOR ALWAYS (#93830)

This patch implements support for the VECTOR ALWAYS directive, which
forces
vectorization to occurr when possible regardless of a decision by the
cost
model. This is done by adding an attribute to the branch into the loop
in LLVM
to indicate that the loop should always be vectorized.

This patch only implements this directive on plan structured do loops 
without labels. Support for unstructured loops and array
expressions is planned for future patches.


  Commit: c81d5b11cf7caf82749638752d819a061fdf4d9e
      https://github.com/llvm/llvm-project/commit/c81d5b11cf7caf82749638752d819a061fdf4d9e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/X86/avgceils-scalar.ll
    A llvm/test/CodeGen/X86/avgceilu-scalar.ll
    A llvm/test/CodeGen/X86/avgfloors-scalar.ll
    A llvm/test/CodeGen/X86/avgflooru-scalar.ll

  Log Message:
  -----------
  [X86] Add scalar test coverage for ISD::AVG nodes on 32 and 64-bit targets


  Commit: 7e3e9d43086d21f9996a52f0d4f24e0edeb34991
      https://github.com/llvm/llvm-project/commit/7e3e9d43086d21f9996a52f0d4f24e0edeb34991
  Author: Joe Nash <joseph.nash at amd.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td

  Log Message:
  -----------
  [AMDGPU] Change getLdStRegisterOperand to !cond for better diagnostic (#95475)

If you would hit the unexpected case in these !if trees, you'd get an
error message like "error: Not a known RegisterClass! def VReg_1..."
This can happen when changing code quite indirectly related to these
class definitions. We can use !cond here, which has a builtin facility
to throw an error if no case in the !cond statement is hit.

NFC.


  Commit: 9ad102f03b350c79256011cd272f27808cb61a39
      https://github.com/llvm/llvm-project/commit/9ad102f03b350c79256011cd272f27808cb61a39
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  -----------
  [ProfileData] Migrate to getValueArrayForSite (#95493)

This patch migrates uses of getValueForSite to getValueArrayForSite.
Each hunk is self-contained, meaning that each one can be applied
independently of the others.

In the unit test, there are cases where the array length check is
performed a lot earlier than the array content check.  For now, I'm
leaving the length checks where they are.  I'll consider moving them
when I migrate uses of getNumValueDataForSite to getValueArrayForSite
in a follow-up patch.


  Commit: d5297b72aa32ad3a69563a1fcc61294282f0b379
      https://github.com/llvm/llvm-project/commit/d5297b72aa32ad3a69563a1fcc61294282f0b379
  Author: kadir çetinkaya <kadircet at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang-tools-extra/include-cleaner/lib/IncludeSpeller.cpp
    M clang-tools-extra/include-cleaner/unittests/IncludeSpellerTest.cpp
    M clang/include/clang/Testing/TestAST.h
    M clang/lib/Testing/TestAST.cpp

  Log Message:
  -----------
  [include-cleaner] Pass WorkingDir to suggestPathToFileForDiagnostics (#95114)

Addresses https://github.com/llvm/llvm-project/issues/81215.


  Commit: 08fae467e4c742e91c8fdff8519718cf2c7c9b0e
      https://github.com/llvm/llvm-project/commit/08fae467e4c742e91c8fdff8519718cf2c7c9b0e
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/aarch64-known-bits-hadd.ll
    M llvm/test/CodeGen/AArch64/avg.ll

  Log Message:
  -----------
  [DAG] fold `avgs(sext(x), sext(y))` -> `sext(avgs(x, y))` (#95365)

Follow up of #95134.

Context:
https://github.com/llvm/llvm-project/pull/95134#issuecomment-2162825594.


  Commit: db3a47c810639388c80ed173dda3623dac00ce0a
      https://github.com/llvm/llvm-project/commit/db3a47c810639388c80ed173dda3623dac00ce0a
  Author: beetrees <b at beetr.ee>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/test/CodeGen/attr-error.c
    M clang/test/CodeGen/attr-warning.c
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/DiagnosticInfo.h
    M llvm/lib/CodeGen/MachineModuleInfo.cpp
    M llvm/lib/IR/DiagnosticInfo.cpp

  Log Message:
  -----------
  Fix silent truncation of inline ASM `srcloc` cookie when going through a `DiagnosticInfoSrcMgr` (#84559)

The size of the inline ASM `srcloc` cookie was changed from 32 bits to
64 bits in [D105491](https://reviews.llvm.org/D105491). However, that
commit only updated the size of the cookie in `DiagnosticInfoInlineAsm`,
meaning that inline ASM diagnostics that are instead represented with a
`DiagnosticInfoSrcMgr` have their cookies truncated to 32 bits. This PR
replaces the remaining uses of `unsigned` to represent the cookie with
`uint64_t`, allowing the cookie to make it all the way to the diagnostic
handler without being truncated.


  Commit: 6b4760acc73394f841fb66bfd04c501826f5c7f7
      https://github.com/llvm/llvm-project/commit/6b4760acc73394f841fb66bfd04c501826f5c7f7
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp

  Log Message:
  -----------
  [AMDGPU] Make use of composeSubRegIndices. NFCI. (#95548)

Simplify SIInstrInfo::buildExtractSubReg by building one COPY with a
composed subreg index instead of two COPYs.


  Commit: 094572701dce4aaf36f4521d6cf750420d39f206
      https://github.com/llvm/llvm-project/commit/094572701dce4aaf36f4521d6cf750420d39f206
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c
    M clang/test/CodeGen/assignment-tracking/assignment-tracking.cpp
    M clang/test/CodeGen/assignment-tracking/memcpy-fragment.cpp
    M clang/test/CodeGen/assignment-tracking/nested-scope.cpp
    M clang/test/CodeGen/attr-nodebug.c
    M clang/test/CodeGen/debug-info-block-decl.c
    M clang/test/CodeGen/debug-info-block-expr.c
    M clang/test/CodeGen/debug-info-block-vars.c
    M clang/test/CodeGen/debug-info-matrix-types.c
    M clang/test/CodeGen/debug-info-vla.c
    M clang/test/CodeGen/debug-label-inline.c
    M clang/test/CodeGen/debug-label.c
    M clang/test/CodeGen/instrument-objc-method.m
    M clang/test/CodeGenCUDA/debug-info-address-class.cu
    M clang/test/CodeGenCXX/debug-info-inheriting-constructor.cpp
    M clang/test/CodeGenCXX/debug-info-nrvo.cpp
    M clang/test/CodeGenCXX/debug-info-range-for-var-names.cpp
    M clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
    M clang/test/CodeGenCXX/debug-info-structured-binding.cpp
    M clang/test/CodeGenCXX/debug-info.cpp
    M clang/test/CodeGenCXX/linetable-eh.cpp
    M clang/test/CodeGenCXX/trivial_abi_debuginfo.cpp
    M clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
    M clang/test/CodeGenObjC/debug-info-blocks.m
    M clang/test/CodeGenObjC/debug-info-nested-blocks.m
    M clang/test/CodeGenObjC/objc-fixed-enum.m
    M clang/test/CodeGenObjCXX/property-objects.mm
    M clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
    M clang/test/CodeGenSYCL/debug-info-kernel-variables.cpp
    M clang/test/OpenMP/debug-info-complex-byval.cpp
    M clang/test/OpenMP/debug-info-openmp-array.cpp
    M clang/test/OpenMP/debug_private.c
    M clang/test/OpenMP/debug_task_shared.c
    M clang/test/OpenMP/debug_threadprivate_copyin.c
    M clang/test/OpenMP/irbuilder_nested_parallel_for.c
    M clang/test/OpenMP/nested_loop_codegen.cpp
    M clang/test/OpenMP/parallel_codegen.cpp
    M clang/test/OpenMP/target_parallel_debug_codegen.cpp
    M clang/test/OpenMP/target_parallel_for_debug_codegen.cpp
    M clang/test/OpenMP/target_parallel_generic_loop_codegen-3.cpp
    M clang/test/OpenMP/taskgroup_task_reduction_codegen.cpp
    M clang/test/OpenMP/threadprivate_codegen.cpp
    M llvm/lib/IR/IRPrintingPasses.cpp
    M llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
    M llvm/test/Assembler/debug-label-bitcode.ll
    M llvm/test/Bitcode/DIExpression-aggresult.ll
    M llvm/test/Bitcode/constexpr-to-instr-metadata-2.ll
    M llvm/test/Bitcode/constexpr-to-instr-metadata.ll
    M llvm/test/Bitcode/dbg-label-record-bc.ll
    M llvm/test/Bitcode/upgrade-dbg-addr.ll
    M llvm/test/Bitcode/upgrade-dbg-value.ll
    M llvm/test/CodeGen/AArch64/dbg-declare-swift-async.ll
    M llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll
    M llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll
    M llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset-nopad.ll
    M llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset.ll
    M llvm/test/CodeGen/AArch64/stack-tagging-dbg.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-sincos.ll
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll
    M llvm/test/CodeGen/AMDGPU/si-annotate-dbg-info.ll
    M llvm/test/CodeGen/BPF/preserve-static-offset/load-arr-pai.ll
    M llvm/test/CodeGen/BPF/preserve-static-offset/load-ptr-pai.ll
    M llvm/test/CodeGen/BPF/preserve-static-offset/load-struct-pai.ll
    M llvm/test/CodeGen/BPF/preserve-static-offset/load-union-pai.ll
    M llvm/test/CodeGen/BPF/preserve-static-offset/store-pai.ll
    M llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
    M llvm/test/CodeGen/Generic/MIRStripDebug/dont-strip-real-debug-info.mir
    M llvm/test/CodeGen/X86/fast-isel-dbg-value-alloca.ll
    M llvm/test/CodeGen/X86/pr38763.ll
    M llvm/test/CodeGen/X86/select-optimize.ll
    M llvm/test/DebugInfo/AArch64/ir-outliner.ll
    M llvm/test/DebugInfo/AArch64/select-optimize-trailing-dbg-records.ll
    M llvm/test/DebugInfo/ARM/hardware-loop-phi-insertion.ll
    M llvm/test/DebugInfo/ARM/lowerbdgdeclare_vla.ll
    M llvm/test/DebugInfo/ARM/salvage-debug-info.ll
    M llvm/test/DebugInfo/ARM/sroa-complex.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/adce/no-delete.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/long-double-x87.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/nullptr-declare.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/scalable-vector.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/structured-bindings.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/var-not-alloca-sized.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/vla.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/dse/dse-after-memcpyopt-merge.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten-offset.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/inline/id.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/inline/inline-stores.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/inline/shared-alloca.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/inline/use-before-def.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/do-not-remove-redundant-dbg.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/memset.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/remove-redundant-dbg.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink-store.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/store-new-type.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/storemerge.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/licm/merge.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/licm/multi-exit.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/loop-deletion/dead-loop.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/loop-vectorize/remove-redundant-dbg.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/phi.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-block-alloca.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-store-alloca.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/store-to-part-of-alloca.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/memcpyopt/merge-stores.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/mldst-motion/diamond.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/optnone.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/roundtrip.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant-fwd-scan-linked.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/salvage-value.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/empty-block.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/speculated-store.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/slp-vectorizer/merge-scalars.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/after-inlining.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/alloca-single-slice.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/arglist.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/complex.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/fail-fragment.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag-2.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/id.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memcpy.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memmove-to-from-same-alloca.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/remove-redundant-dbg.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/rewrite.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store-2.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/store.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/unspecified-var-size.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/user-memcpy.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/var-sized-fragment.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-1.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/track-assignments.ll
    M llvm/test/DebugInfo/Generic/dbg-value-lower-linenos.ll
    M llvm/test/DebugInfo/Generic/debug_value_list.ll
    M llvm/test/DebugInfo/Generic/empty-metadata.ll
    M llvm/test/DebugInfo/Generic/inline-alloca-ordering.ll
    M llvm/test/DebugInfo/Generic/inline-dbg-values.ll
    M llvm/test/DebugInfo/Generic/instcombine-replaced-select-with-operand.ll
    M llvm/test/DebugInfo/Generic/ipsccp-remap-assign-id.ll
    M llvm/test/DebugInfo/Generic/loop-deletion-inline-var.ll
    M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-1.ll
    M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-2.ll
    M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-3.ll
    M llvm/test/DebugInfo/Generic/pr40628.ll
    M llvm/test/DebugInfo/Generic/sroa-larger.ll
    M llvm/test/DebugInfo/Generic/sroa-samesize.ll
    M llvm/test/DebugInfo/Generic/volatile-alloca.ll
    M llvm/test/DebugInfo/X86/LLVM_implicit_pointer.ll
    M llvm/test/DebugInfo/X86/array2.ll
    M llvm/test/DebugInfo/X86/codegenprep-addrsink.ll
    M llvm/test/DebugInfo/X86/codegenprep-value.ll
    M llvm/test/DebugInfo/X86/codegenprepare-rollback.ll
    M llvm/test/DebugInfo/X86/dbg-value-dropped-instcombine.ll
    M llvm/test/DebugInfo/X86/dead-store-elimination-marks-undef.ll
    M llvm/test/DebugInfo/X86/formal_parameter.ll
    M llvm/test/DebugInfo/X86/instcombine-demanded-bits-salvage.ll
    M llvm/test/DebugInfo/X86/instcombine-fold-cast-into-phi.ll
    M llvm/test/DebugInfo/X86/instcombine-instrinsics.ll
    M llvm/test/DebugInfo/X86/licm-undef-dbg-value.ll
    M llvm/test/DebugInfo/X86/mem2reg_fp80.ll
    M llvm/test/DebugInfo/X86/sroa-after-inlining.ll
    M llvm/test/DebugInfo/X86/sroasplit-1.ll
    M llvm/test/DebugInfo/X86/sroasplit-2.ll
    M llvm/test/DebugInfo/X86/sroasplit-3.ll
    M llvm/test/DebugInfo/X86/sroasplit-4.ll
    M llvm/test/DebugInfo/X86/sroasplit-dbg-declare.ll
    M llvm/test/DebugInfo/assignment-tracking/X86/hotcoldsplit.ll
    M llvm/test/DebugInfo/duplicate_dbgvalue.ll
    M llvm/test/DebugInfo/instcombine-sink-latest-assignment.ll
    M llvm/test/DebugInfo/salvage-cast-debug-info.ll
    M llvm/test/DebugInfo/salvage-duplicate-values.ll
    M llvm/test/DebugInfo/salvage-gep.ll
    M llvm/test/DebugInfo/salvage-icmp.ll
    M llvm/test/DebugInfo/salvage-limit-expr-size.ll
    M llvm/test/DebugInfo/salvage-nonconst-binop.ll
    M llvm/test/Instrumentation/AddressSanitizer/debug_info.ll
    M llvm/test/Instrumentation/AddressSanitizer/local_stack_base.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/RISCV/alloca.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca-uninteresting.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/dbg-assign-tag-offset.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/dbg-declare-tag-offset.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset-nopad.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset.ll
    M llvm/test/Linker/DbgDeclare.ll
    M llvm/test/Linker/debug-info-use-before-def.ll
    M llvm/test/Transforms/ADCE/adce-salvage-dbg-value.ll
    M llvm/test/Transforms/ADCE/debug-info-intrinsic.ll
    M llvm/test/Transforms/AggressiveInstCombine/AArch64/combine_ignore_debug.ll
    M llvm/test/Transforms/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
    M llvm/test/Transforms/BDCE/basic.ll
    M llvm/test/Transforms/BDCE/dbg-multipleuses.ll
    M llvm/test/Transforms/BDCE/pr26587.ll
    M llvm/test/Transforms/BDCE/pr41925.ll
    M llvm/test/Transforms/CallSiteSplitting/callsite-split-debug.ll
    M llvm/test/Transforms/CallSiteSplitting/callsite-split-preserve-debug.ll
    M llvm/test/Transforms/CodeExtractor/LoopExtractor_alloca.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/cttz-ctlz.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/select.ll
    M llvm/test/Transforms/CodeGenPrepare/debug-info-on-skipped-selects.ll
    M llvm/test/Transforms/CodeGenPrepare/sink-shift-and-trunc.ll
    M llvm/test/Transforms/Coroutines/coro-debug-O2.ll
    M llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll
    M llvm/test/Transforms/Coroutines/coro-debug-dbg.values-not_used_in_frame.ll
    M llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
    M llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll
    M llvm/test/Transforms/Coroutines/coro-debug-spill-dbg.declare.ll
    M llvm/test/Transforms/Coroutines/coro-debug.ll
    M llvm/test/Transforms/Coroutines/swift-async-dbg.ll
    M llvm/test/Transforms/DCE/basic.ll
    M llvm/test/Transforms/DCE/dbg-value-removal.ll
    M llvm/test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
    M llvm/test/Transforms/DeadArgElim/dbginfo-preserve-dbgloc.ll
    M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval-local.ll
    M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval.ll
    M llvm/test/Transforms/DeadStoreElimination/debuginfo.ll
    M llvm/test/Transforms/EarlyCSE/debug-info-undef.ll
    M llvm/test/Transforms/EarlyCSE/debuginfo-dce.ll
    M llvm/test/Transforms/GVN/load-through-select-dbg.ll
    M llvm/test/Transforms/GlobalOpt/deadglobal-diarglist-use.ll
    M llvm/test/Transforms/GlobalOpt/localize-constexpr-debuginfo.ll
    M llvm/test/Transforms/GlobalOpt/shrink-global-to-bool-check-debug.ll
    M llvm/test/Transforms/HotColdSplit/split-out-dbg-label.ll
    M llvm/test/Transforms/HotColdSplit/transfer-debug-info.ll
    M llvm/test/Transforms/IROutliner/legal-debug.ll
    M llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value.ll
    M llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value2.ll
    M llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll
    M llvm/test/Transforms/Inline/alloca-dbgdeclare.ll
    M llvm/test/Transforms/Inline/inline_dbg_declare.ll
    M llvm/test/Transforms/Inline/local-as-metadata-undominated-use.ll
    M llvm/test/Transforms/InstCombine/alloca-cast-debuginfo.ll
    M llvm/test/Transforms/InstCombine/assume.ll
    M llvm/test/Transforms/InstCombine/cast-mul-select.ll
    M llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll
    M llvm/test/Transforms/InstCombine/consecutive-fences.ll
    M llvm/test/Transforms/InstCombine/dbg-scalable-store-fixed-frag.ll
    M llvm/test/Transforms/InstCombine/dbg-simplify-alloca-size.ll
    M llvm/test/Transforms/InstCombine/debuginfo-dce.ll
    M llvm/test/Transforms/InstCombine/debuginfo-dce2.ll
    M llvm/test/Transforms/InstCombine/debuginfo-sink.ll
    M llvm/test/Transforms/InstCombine/debuginfo-skip.ll
    M llvm/test/Transforms/InstCombine/debuginfo-variables.ll
    M llvm/test/Transforms/InstCombine/debuginfo.ll
    M llvm/test/Transforms/InstCombine/debuginfo_add.ll
    M llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll
    M llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll
    M llvm/test/Transforms/InstCombine/lifetime.ll
    M llvm/test/Transforms/InstCombine/lower-dbg-declare.ll
    M llvm/test/Transforms/InstCombine/pr43893.ll
    M llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll
    M llvm/test/Transforms/InstCombine/sink-instruction-introduces-unnecessary-poison-value.ll
    M llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll
    M llvm/test/Transforms/InstCombine/unavailable-debug.ll
    M llvm/test/Transforms/JumpThreading/guard-split-debuginfo.ll
    M llvm/test/Transforms/JumpThreading/redundant-dbg-info.ll
    M llvm/test/Transforms/JumpThreading/thread-debug-info.ll
    M llvm/test/Transforms/LCSSA/rewrite-existing-dbg-values.ll
    M llvm/test/Transforms/LICM/dbg-value-sink.ll
    M llvm/test/Transforms/LICM/debug-value.ll
    M llvm/test/Transforms/LICM/sinking-debugify.ll
    M llvm/test/Transforms/LoopDeletion/diundef.ll
    M llvm/test/Transforms/LoopDeletion/over-defensive-undefing-dbg-values.ll
    M llvm/test/Transforms/LoopIdiom/X86/arithmetic-right-shift-until-zero.ll
    M llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll
    M llvm/test/Transforms/LoopIdiom/X86/logical-right-shift-until-zero-debuginfo.ll
    M llvm/test/Transforms/LoopIdiom/debug-line.ll
    M llvm/test/Transforms/LoopIdiom/memcpy-debugify-remarks.ll
    M llvm/test/Transforms/LoopIdiom/memset-debugify-remarks.ll
    M llvm/test/Transforms/LoopRotate/call-prepare-for-lto.ll
    M llvm/test/Transforms/LoopRotate/dbg-value-duplicates-2.ll
    M llvm/test/Transforms/LoopRotate/dbg-value-duplicates.ll
    M llvm/test/Transforms/LoopRotate/dbgvalue.ll
    M llvm/test/Transforms/LoopRotate/delete-dbg-values.ll
    M llvm/test/Transforms/LoopRotate/phi-dbgvalue.ll
    M llvm/test/Transforms/LoopStrengthReduce/X86/lsr-cond-dbg.ll
    M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
    M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-1.ll
    M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll
    M llvm/test/Transforms/LoopStrengthReduce/pr51329.ll
    M llvm/test/Transforms/LoopStrengthReduce/pr51656.ll
    M llvm/test/Transforms/LoopStrengthReduce/pr52161.ll
    M llvm/test/Transforms/LoopUnroll/debug-info.ll
    M llvm/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll
    M llvm/test/Transforms/LoopUnroll/unroll-remove-redundant-dbg.ll
    M llvm/test/Transforms/LoopVectorize/dbg-outer-loop-vect.ll
    M llvm/test/Transforms/LoopVectorize/discriminator.ll
    M llvm/test/Transforms/Mem2Reg/ConvertDebugInfo.ll
    M llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll
    M llvm/test/Transforms/Mem2Reg/dbg_declare_to_value_conversions.ll
    M llvm/test/Transforms/Mem2Reg/debug-alloca-phi-2.ll
    M llvm/test/Transforms/Mem2Reg/debug-alloca-phi.ll
    M llvm/test/Transforms/Mem2Reg/debug-alloca-vla-1.ll
    M llvm/test/Transforms/Mem2Reg/debug-alloca-vla-2.ll
    M llvm/test/Transforms/MemCpyOpt/pr37967.ll
    M llvm/test/Transforms/MergeFunc/mergefunc-preserve-debug-info.ll
    M llvm/test/Transforms/MergeFunc/no-merge-debug-thunks.ll
    M llvm/test/Transforms/ObjCARC/basic.ll
    M llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
    M llvm/test/Transforms/Reassociate/matching-binops.ll
    M llvm/test/Transforms/Reassociate/reassociate_dbgvalue_discard.ll
    M llvm/test/Transforms/Reassociate/reassociate_salvages_debug_info.ll
    M llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll
    M llvm/test/Transforms/SCCP/loadtest.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-di.ll
    M llvm/test/Transforms/SLPVectorizer/X86/debug_info.ll
    M llvm/test/Transforms/SLPVectorizer/X86/schedule_budget_debug_info.ll
    M llvm/test/Transforms/SROA/alignment.ll
    M llvm/test/Transforms/SROA/dbg-inline.ll
    M llvm/test/Transforms/SROA/dbg-single-piece.ll
    M llvm/test/Transforms/SROA/vector-promotion.ll
    M llvm/test/Transforms/SafeStack/X86/debug-loc-dynamic.ll
    M llvm/test/Transforms/SafeStack/X86/debug-loc.ll
    M llvm/test/Transforms/SafeStack/X86/debug-loc2.ll
    M llvm/test/Transforms/Scalarizer/dbginfo.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/debuginfo.ll
    M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad-debuginfo.ll
    M llvm/test/Transforms/SimplifyCFG/X86/pr39187-g.ll
    M llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll
    M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll
    M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
    M llvm/test/Transforms/SimplifyCFG/jump-threading-debuginfo.ll
    M llvm/test/Transforms/SimplifyCFG/return-merge.ll
    M llvm/test/Transforms/SimplifyCFG/speculate-dbgvalue.ll
    M llvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll
    M llvm/test/Transforms/SpeculativeExecution/PR46267.ll
    M llvm/test/Transforms/Util/Debugify/loc-only.ll
    M llvm/test/Transforms/Util/dbg-call-bitcast.ll
    M llvm/test/Transforms/Util/dbg-user-of-aext.ll
    M llvm/test/Transforms/Util/salvage-debuginfo.ll
    M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll
    M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.expected
    M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.expected
    M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.globals.expected
    M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.noglobals.expected
    M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.transitiveglobals.expected
    M mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir
    M polly/test/CodeGen/debug-intrinsics.ll

  Log Message:
  -----------
   [RemoveDIs] Print IR with debug records by default (#91724)

This patch makes the final major change of the RemoveDIs project, changing the
default IR output from debug intrinsics to debug records. This is expected to
break a large number of tests: every single one that tests for uses or
declarations of debug intrinsics and does not explicitly disable writing
records. 

If this patch has broken your downstream tests (or upstream tests on a
configuration I wasn't able to run):
1. If you need to immediately unblock a build, pass
`--write-experimental-debuginfo=false` to LLVM's option processing for all
failing tests (remember to use `-mllvm` for clang/flang to forward arguments to
LLVM).
2. For most test failures, the changes are trivial and mechanical, enough that
they can be done by script; see the migration guide for a guide on how to do
this: https://llvm.org/docs/RemoveDIsDebugInfo.html#test-updates
3. If any tests fail for reasons other than FileCheck check lines that need
updating, such as assertion failures, that is most likely a real bug with this
patch and should be reported as such.

For more information, see the recent PSA:
https://discourse.llvm.org/t/psa-ir-output-changing-from-debug-intrinsics-to-debug-records/79578


  Commit: 8e0ba08448d5935281e5afd007664d528dd672c4
      https://github.com/llvm/llvm-project/commit/8e0ba08448d5935281e5afd007664d528dd672c4
  Author: kadir çetinkaya <kadircet at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/lib/Lex/HeaderSearch.cpp
    M clang/unittests/Lex/HeaderSearchTest.cpp

  Log Message:
  -----------
  [clang][HeaderSearch] Fix handling of relative file-paths in suggestPathToFileForDiagnostics (#95121)

Normalize header-to-be-spelled using WorkingDir, similar to search paths
themselves.

Addresses https://github.com/llvm/llvm-project/issues/81215.


  Commit: b1b7643f5e9da2f64f78e024da2db208f78e0c42
      https://github.com/llvm/llvm-project/commit/b1b7643f5e9da2f64f78e024da2db208f78e0c42
  Author: Angel Zhang <angel.zhang at amd.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    A mlir/test/mlir-vulkan-runner/vector-deinterleave.mlir

  Log Message:
  -----------
  [mlir][spirv] Add integration test for `vector.deinterleave` (#95469)

This commit is dependent on #95313.


  Commit: 43e6f46936e177e47de6627a74b047ba27561b44
      https://github.com/llvm/llvm-project/commit/43e6f46936e177e47de6627a74b047ba27561b44
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [VPlan] Pre-compute cost for all instrs only feeding exit conditions.

This fixes the following buildbot failures after 90fd99c07957:
    https://lab.llvm.org/buildbot/#/builders/17/builds/47
    https://lab.llvm.org/buildbot/#/builders/168/builds/37


  Commit: 597d2f7662c31cae4c8a54cc27e2ea12833380ea
      https://github.com/llvm/llvm-project/commit/597d2f7662c31cae4c8a54cc27e2ea12833380ea
  Author: Tim Gymnich <tim at gymni.ch>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M offload/plugins-nextgen/common/include/PluginInterface.h
    M offload/plugins-nextgen/common/src/PluginInterface.cpp
    A offload/test/offloading/high_trip_count_block_limit.cpp
    M openmp/docs/design/Runtimes.rst

  Log Message:
  -----------
  [OpenMP] Add Environment Variable to disable Reuse of Blocks for High Loop Trip Counts (#89239)

Sometimes it might be beneficial to spawn more thread blocks instead of
reusing existing for multiple loop iterations.

**Alternatives considered:**

Make `DefaultNumBlocks` settable via an environment variable.

---------

Co-authored-by: Joseph Huber <huberjn at outlook.com>


  Commit: 7ad12a7c047a421400803eebae4cacc82b27be1d
      https://github.com/llvm/llvm-project/commit/7ad12a7c047a421400803eebae4cacc82b27be1d
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/ARM/2011-11-29-128bitArithmetics.ll
    M llvm/test/CodeGen/ARM/fp16-fullfp16.ll
    M llvm/test/CodeGen/ARM/fp16-promote.ll
    M llvm/test/CodeGen/ARM/vfloatintrinsics.ll
    M llvm/test/CodeGen/Thumb2/float-intrinsics-double.ll
    M llvm/test/CodeGen/Thumb2/float-intrinsics-float.ll
    M llvm/test/CodeGen/Thumb2/mve-fmath.ll

  Log Message:
  -----------
  [ARM] Add tan intrinsic lowering (#95439)

- `ARMISelLowering.cpp` - Add f16 type and neon and mve vector support
for tan


  Commit: 0774000e3294849206aac4e18adf27286b17e217
      https://github.com/llvm/llvm-project/commit/0774000e3294849206aac4e18adf27286b17e217
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll

  Log Message:
  -----------
  [AMDGPULowerBufferFatPointers] Fix offset-only ptrtoint (#95543)

For ptrtoint that truncates to the offset only, the expansion generated
a shift by the bit width, which is poison. Instead, we should return the
offset directly.

(The same problem exists for the constant expression case, but I plan to
address that separately, and more comprehensively.)


  Commit: 153fca5d6a96686917f2046b01758920fcc2b714
      https://github.com/llvm/llvm-project/commit/153fca5d6a96686917f2046b01758920fcc2b714
  Author: Benjamin Chetioui <3920784+bchetioui at users.noreply.github.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][bzl] Fix broken BUILD due to typo in `CAPITransformsObjects` in BUILD.bazel.


  Commit: 74fe1da01eb149a2234fc0f9570c84a08692e782
      https://github.com/llvm/llvm-project/commit/74fe1da01eb149a2234fc0f9570c84a08692e782
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/test/CodeGen/X86/combine-mul.ll
    M llvm/test/CodeGen/X86/combine-sdiv.ll
    M llvm/test/CodeGen/X86/combine-udiv.ll
    M llvm/test/CodeGen/X86/dagcombine-shifts.ll
    M llvm/test/CodeGen/X86/dpbusd_const.ll
    M llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll
    M llvm/test/CodeGen/X86/freeze-binary.ll
    M llvm/test/CodeGen/X86/gfni-funnel-shifts.ll
    M llvm/test/CodeGen/X86/gfni-rotates.ll
    M llvm/test/CodeGen/X86/gfni-shifts.ll
    M llvm/test/CodeGen/X86/known-never-zero.ll
    M llvm/test/CodeGen/X86/lower-vec-shift.ll
    M llvm/test/CodeGen/X86/madd.ll
    M llvm/test/CodeGen/X86/omit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll
    M llvm/test/CodeGen/X86/pmul.ll
    M llvm/test/CodeGen/X86/prefer-avx256-wide-mul.ll
    M llvm/test/CodeGen/X86/rotate-extract-vector.ll
    M llvm/test/CodeGen/X86/shrink_vmul.ll
    M llvm/test/CodeGen/X86/slow-pmulld.ll
    M llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
    M llvm/test/CodeGen/X86/srem-vector-lkk.ll
    M llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll
    M llvm/test/CodeGen/X86/urem-seteq.ll
    M llvm/test/CodeGen/X86/urem-vector-lkk.ll
    M llvm/test/CodeGen/X86/var-permute-128.ll
    M llvm/test/CodeGen/X86/var-permute-256.ll
    M llvm/test/CodeGen/X86/vec_shift6.ll
    M llvm/test/CodeGen/X86/vector-fshl-128.ll
    M llvm/test/CodeGen/X86/vector-fshl-256.ll
    M llvm/test/CodeGen/X86/vector-fshl-rot-128.ll
    M llvm/test/CodeGen/X86/vector-fshl-rot-256.ll
    M llvm/test/CodeGen/X86/vector-fshr-128.ll
    M llvm/test/CodeGen/X86/vector-fshr-256.ll
    M llvm/test/CodeGen/X86/vector-fshr-rot-128.ll
    M llvm/test/CodeGen/X86/vector-fshr-rot-256.ll
    M llvm/test/CodeGen/X86/vector-idiv-sdiv-128.ll
    M llvm/test/CodeGen/X86/vector-idiv-sdiv-256.ll
    M llvm/test/CodeGen/X86/vector-idiv-sdiv-512.ll
    M llvm/test/CodeGen/X86/vector-idiv-udiv-128.ll
    M llvm/test/CodeGen/X86/vector-idiv-udiv-256.ll
    M llvm/test/CodeGen/X86/vector-idiv-udiv-512.ll
    M llvm/test/CodeGen/X86/vector-mul.ll
    M llvm/test/CodeGen/X86/vector-rotate-128.ll
    M llvm/test/CodeGen/X86/vector-rotate-256.ll
    M llvm/test/CodeGen/X86/vector-shift-ashr-128.ll
    M llvm/test/CodeGen/X86/vector-shift-ashr-256.ll
    M llvm/test/CodeGen/X86/vector-shift-ashr-sub128.ll
    M llvm/test/CodeGen/X86/vector-shift-lshr-128.ll
    M llvm/test/CodeGen/X86/vector-shift-lshr-256.ll
    M llvm/test/CodeGen/X86/vector-shift-lshr-sub128.ll
    M llvm/test/CodeGen/X86/vector-shift-shl-128.ll
    M llvm/test/CodeGen/X86/vector-shift-shl-256.ll
    M llvm/test/CodeGen/X86/vector-shift-shl-sub128.ll
    M llvm/test/CodeGen/X86/vector-trunc-math.ll
    M llvm/test/CodeGen/X86/x86-shifts.ll

  Log Message:
  -----------
  [MC][X86] addConstantComments - add mul vXi16 comments

Based on feedback from #95403 - we use multiply by constant for various lowerings (shifts, division etc.), so its very useful to printout the constants to help understand the transform involved.

vXi16 multiplies are the easiest to add for this initial commit, but we can add other arithmetic instructions as follow ups when the need arises (I intend to add PMADDUBSW handling for #95403 next).

I've done my best to update all test checks but there are bound to be ones that got missed that will only appear when the file is regenerated.


  Commit: 9b7b1bee07ea583af7a90ed29634e3f9af22a284
      https://github.com/llvm/llvm-project/commit/9b7b1bee07ea583af7a90ed29634e3f9af22a284
  Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/AccelTable.h
    M llvm/include/llvm/DWARFLinker/Classic/DWARFLinkerCompileUnit.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
    A llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll

  Log Message:
  -----------
  [CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent (#95339)

This fixes https://github.com/llvm/llvm-project/issues/93886. The UnitID
is not
unique between CUs and TUs. This led to DW_IDX_parent to point ot an
entry for a
DIE in CU if it had the same relative offset as TU die.

Added a IsTU to the hash for parent chain.


  Commit: 0a57a20aa506c5a5a8b0a8eb45446d0747493d7c
      https://github.com/llvm/llvm-project/commit/0a57a20aa506c5a5a8b0a8eb45446d0747493d7c
  Author: Scott Egerton <9487234+ScottEgerton at users.noreply.github.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/VOPInstructions.td

  Log Message:
  -----------
  [AMDGPU] NFC: Remove duplicate VOP_DPP_Pseudo TableGen definitions (#95370)

After recent changes, VOP_DPP_Pseudo now inherits from VOP_Pseudo.
This commit removes some on the duplicate definitions in
VOP_DPP_Pseudo that are exactly the same as definitions inherited from
VOP_Pseudo.


  Commit: d462bf687548a5630f60a8afaa66120df8319e88
      https://github.com/llvm/llvm-project/commit/d462bf687548a5630f60a8afaa66120df8319e88
  Author: Rolf Morel <rolf.morel at huawei.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
    M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
    M mlir/test/Dialect/Linalg/multisize-tiling-full.mlir
    M mlir/test/Dialect/SCF/transform-loop-fuse-sibling.mlir
    M mlir/test/Dialect/Transform/ops-invalid.mlir
    M mlir/test/Dialect/Transform/ops.mlir
    M mlir/test/Dialect/Transform/test-interpreter.mlir

  Log Message:
  -----------
  [mlir][Transform] Extend transform.foreach to take multiple arguments (#93705)

Changes transform.foreach's interface to take multiple arguments, e.g.
transform.foreach %ops1, %ops2, %params : ... { ^bb0(%op1, %op2,
%param): BODY } The semantics are that the payloads for these handles
get iterated over as if the payloads have been zipped-up together - BODY
gets executed once for each such tuple. The documentation explains that
this implementation requires that the payloads have the same length.

This change also enables the target argument(s) to be any op/value/param
handle.

The added test cases demonstrate some use cases for this change.


  Commit: 9afb09e674d6195faf09431dda8a3a08886ab27d
      https://github.com/llvm/llvm-project/commit/9afb09e674d6195faf09431dda8a3a08886ab27d
  Author: David Tenty <daltenty at ibm.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp

  Log Message:
  -----------
  [libcxx][test][AIX] address more platform differences in locale tests (#94826)

This is a follow on to https://github.com/llvm/llvm-project/pull/92312,
where we address some more locale platform differences. These are:

- for locale fr_FR AIX libc expects `U202F` as `LC_MONETARY`
`thousands_sep`
- for locale zh_CN AIX libc `LC_MONETARY` has `n_sign_posn == 1`,
indicating the `negative_sign` should come before the `currency_symbol`
string


  Commit: a5985ca51dd7e0759d65fac9cb2b6a4448ebc404
      https://github.com/llvm/llvm-project/commit/a5985ca51dd7e0759d65fac9cb2b6a4448ebc404
  Author: klensy <klensy at users.noreply.github.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M mlir/test/Analysis/test-liveness.mlir
    M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
    M mlir/test/Conversion/MemRefToLLVM/convert-dynamic-memref-ops.mlir
    M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir
    M mlir/test/Dialect/AMX/roundtrip.mlir
    M mlir/test/Dialect/Affine/loop-fusion-3.mlir
    M mlir/test/Dialect/Affine/unroll.mlir
    M mlir/test/Dialect/ArmSME/tile-allocation-liveness.mlir
    M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
    M mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir
    M mlir/test/Dialect/Linalg/transform-ops.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir
    M mlir/test/Dialect/SparseTensor/sparse_reshape.mlir
    M mlir/test/Dialect/Tensor/canonicalize.mlir
    M mlir/test/Dialect/Tosa/canonicalize.mlir
    M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
    M mlir/test/Dialect/Vector/vector-dropleadunitdim-transforms.mlir
    M mlir/test/IR/parser.mlir
    M mlir/test/Target/LLVMIR/llvmir.mlir
    M mlir/test/Target/LLVMIR/openmp-llvm.mlir
    M mlir/test/Transforms/canonicalize.mlir
    M mlir/test/mlir-cpu-runner/copy.mlir
    M mlir/test/mlir-tblgen/bytecode-reserved.td
    M mlir/test/python/ir/attributes.py

  Log Message:
  -----------
  [mlir][test] Fix filecheck annotation typos [2/n] (#93476)

Few more fixes
previous: https://github.com/llvm/llvm-project/pull/92897 pr
Issues from https://github.com/llvm/llvm-project/issues/93154 unfixed.

---------

Co-authored-by: klensy <nightouser at gmail.com>


  Commit: 2d9b6a01c7a77ee76a5c279901bca1659a550499
      https://github.com/llvm/llvm-project/commit/2d9b6a01c7a77ee76a5c279901bca1659a550499
  Author: Tobias Stadler <mail at stadler-tobias.de>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h
    M llvm/lib/CodeGen/GlobalISel/Combiner.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/localizer-arm64-tti.ll

  Log Message:
  -----------
  [GlobalISel][AArch64] AArch64O0PreLegalizerCombiner: Disable fixed-point iteration (#94291)

This adds an option to CombinerInfo to limit the number of iterations in the
Combiner. This option is then used to disable fixed-point iteration for the
AArch64O0PreLegalizerCombiner. The combines there are simple enough that
code quality impact should be minimal with the current heuristics
(instructions are processed from top to bottom of the basic block,
new/changed instructions are added back to the worklist). Test changes
are due to some instructions not being DCE'd, which has no actual impact
because InstructionSelect performs DCE as well.

AArch64 CTMark O0:
-0.9% geomean compile-time (instruction count)
no change in size..text for any of the benchmarks


  Commit: 180a536665127bded6c7ef1755e9dd0edfa8802f
      https://github.com/llvm/llvm-project/commit/180a536665127bded6c7ef1755e9dd0edfa8802f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  -----------
  [ProfileData] Fix the order of tests (#95549)

Without this patch, we call getValueForSite before veryfing that we
have an expected number of value sites with getNumValueSites.

This patch fixes the order by "sinking" the call to getValueForSite.

While I am at it, this patch migrates the use of getValueForSite to
getValueArrayForSite.


  Commit: bbe9119d9cb37662faafe7fe273e792b1b70145e
      https://github.com/llvm/llvm-project/commit/bbe9119d9cb37662faafe7fe273e792b1b70145e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  -----------
  [ProfileData] Sink the length checks (#95559)

The new API getValueArrayForSite returns ArrayRef<InstrProfValueData>,
packaging the array length and contents together.

This patch sinks the array length checks just before we check the
contents.  This way, we check both the array length and contents
immediately after calling getValueArrayForSite.


  Commit: f3aceeee8a8c5fef107657dc6c4d558f3de99773
      https://github.com/llvm/llvm-project/commit/f3aceeee8a8c5fef107657dc6c4d558f3de99773
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/FMA.h
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/FMA.h
    M libc/src/__support/FPUtil/multiply_add.h
    M libc/src/__support/big_int.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/f16fmaf.h
    M libc/src/math/generic/CMakeLists.txt
    M libc/src/math/generic/expm1f.cpp
    A libc/src/math/generic/f16fmaf.cpp
    M libc/src/math/generic/fma.cpp
    M libc/src/math/generic/fmaf.cpp
    M libc/src/math/generic/range_reduction_fma.h
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/FmaTest.h
    A libc/test/src/math/f16fmaf_test.cpp
    M libc/test/src/math/fma_test.cpp
    M libc/test/src/math/fmaf_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    M libc/test/src/math/smoke/FmaTest.h
    A libc/test/src/math/smoke/f16fmaf_test.cpp
    M libc/test/src/math/smoke/fma_test.cpp
    M libc/test/src/math/smoke/fmaf_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.h

  Log Message:
  -----------
  [libc][math][c23] Add f16fmaf C23 math function (#95483)

Part of #93566.


  Commit: 2ed2975e8bd9e9e1a0f376bded1dad627d5eab4e
      https://github.com/llvm/llvm-project/commit/2ed2975e8bd9e9e1a0f376bded1dad627d5eab4e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    A llvm/test/CodeGen/RISCV/rvv/vsplats-bf16.ll

  Log Message:
  -----------
  [RISCV] Add isel patterns for bf16 riscv_vfmv_v_f_vl of FP constant.

We try not let bf16 splats through to isel, but constant folding
allows FP constants to get through. Thankfully we can handle those
using vmv.v.i or vmv.v.x.


  Commit: a4f6b7dfa42bb3e129073704a5d9544f6618d222
      https://github.com/llvm/llvm-project/commit/a4f6b7dfa42bb3e129073704a5d9544f6618d222
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M .ci/generate-buildkite-pipeline-premerge

  Log Message:
  -----------
  [lldb] Stop testing LLDB on Clang changes in pre-commit CI (#95537)

This is a temporary measure to alleviate Linux pre-commit CI waiting
times that started snowballing
[recently](https://discourse.llvm.org/t/long-wait-for-linux-presubmit-testing/79547/5).
My [initial
estimate](https://github.com/llvm/llvm-project/pull/94208#issuecomment-2155972973)
of 4 additional minutes spent per built seems to be in the right
ballpark, but looks like that was the last straw to break camel's back.
It seems that CI load got past the tipping point, and now it's not able
to burn through the queue over the night on workdays.

I don't intend to overthrow the consensus we reached in #94208, but it
shouldn't come at the expense of the whole LLVM community. I'll enable
this back as soon as we have news that we got more capacity for Linux
pre-commit CI.


  Commit: 2f5ec13761fa672cb39ff147d876c2604c08bcae
      https://github.com/llvm/llvm-project/commit/2f5ec13761fa672cb39ff147d876c2604c08bcae
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp

  Log Message:
  -----------
  [Transforms] Migrate to a new version of getValueProfDataFromInst (#95442)

Note that the version of getValueProfDataFromInst that returns bool
has been "deprecated" since:

  commit 1e15371dd8843dfc52b9435afaa133997c1773d8
  Author: Mingming Liu <mingmingl at google.com>
  Date:   Mon Apr 1 15:14:49 2024 -0700

---------

Co-authored-by: Mingming Liu <minglotus6 at gmail.com>


  Commit: c0cba5198155dba246ddd5764f57595d9bbbddef
      https://github.com/llvm/llvm-project/commit/c0cba5198155dba246ddd5764f57595d9bbbddef
  Author: Vijay Kandiah <vkandiah at nvidia.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
    M flang/test/Fir/alloc.fir
    M flang/test/Fir/boxproc.fir
    M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
    M flang/test/Fir/convert-to-llvm.fir
    M flang/test/Integration/OpenMP/copyprivate.f90
    M flang/test/Transforms/debug-local-var-2.f90

  Log Message:
  -----------
  [Flang] Hoisting constant-sized allocas at flang codegen. (#95310)

This change modifies the `AllocaOpConversion` in flang codegen to insert
constant-sized LLVM allocas at the entry block of `LLVMFuncOp` or
OpenACC/OpenMP Op, rather than in-place at the `fir.alloca`. This
effectively hoists constant-sized FIR allocas to the proper block.

When compiling the example subroutine below with `flang-new`, we get a
llvm.stacksave/stackrestore pair around a constant-sized `fir.alloca
i32`.

```
subroutine test(n)
    block
      integer :: n
      print *, n
    end block
  end subroutine test
```

Without the proposed change, downstream LLVM compilation cannot hoist
this constant-sized alloca out of the stacksave/stackrestore region
which may lead to missed downstream optimizations:

```
*** IR Dump After Safe Stack instrumentation pass (safe-stack) ***
define void @test_(ptr %0) !dbg !3 {
  %2 = call ptr @llvm.stacksave.p0(), !dbg !7
  %3 = alloca i32, i64 1, align 4, !dbg !8
  %4 = call ptr @_FortranAioBeginExternalListOutput(i32 6, ptr @_QQclX62c91d05f046c7a656e7978eb13f2821, i32 4), !dbg !9
  %5 = load i32, ptr %3, align 4, !dbg !10, !tbaa !11
  %6 = call i1 @_FortranAioOutputInteger32(ptr %4, i32 %5), !dbg !10
  %7 = call i32 @_FortranAioEndIoStatement(ptr %4), !dbg !9
  call void @llvm.stackrestore.p0(ptr %2), !dbg !15
  ret void, !dbg !16
}
```

With this change, the `llvm.alloca` is already hoisted out of the
stacksave/stackrestore region during flang codegen:

```
// -----// IR Dump After FIRToLLVMLowering (fir-to-llvm-ir) //----- //
  llvm.func @test_(%arg0: !llvm.ptr {fir.bindc_name = "n"}) attributes {fir.internal_name = "_QPtest"} {
    %0 = llvm.mlir.constant(4 : i32) : i32
    %1 = llvm.mlir.constant(1 : i64) : i64
    %2 = llvm.alloca %1 x i32 {bindc_name = "n"} : (i64) -> !llvm.ptr
    %3 = llvm.mlir.constant(6 : i32) : i32
    %4 = llvm.mlir.undef : i1
    %5 = llvm.call @llvm.stacksave.p0() {fastmathFlags = #llvm.fastmath<contract>} : () -> !llvm.ptr
    %6 = llvm.mlir.addressof @_QQclX62c91d05f046c7a656e7978eb13f2821 : !llvm.ptr
    %7 = llvm.call @_FortranAioBeginExternalListOutput(%3, %6, %0) {fastmathFlags = #llvm.fastmath<contract>} : (i32, !llvm.ptr, i32) -> !llvm.ptr
    %8 = llvm.load %2 {tbaa = [#tbaa_tag]} : !llvm.ptr -> i32
    %9 = llvm.call @_FortranAioOutputInteger32(%7, %8) {fastmathFlags = #llvm.fastmath<contract>} : (!llvm.ptr, i32) -> i1
    %10 = llvm.call @_FortranAioEndIoStatement(%7) {fastmathFlags = #llvm.fastmath<contract>} : (!llvm.ptr) -> i32
    llvm.call @llvm.stackrestore.p0(%5) {fastmathFlags = #llvm.fastmath<contract>} : (!llvm.ptr) -> ()
    llvm.return
  }
```

---------

Co-authored-by: Vijay Kandiah <vkandiah at sky6.pgi.net>


  Commit: 8b9dce333f71bc21b3534e89a41e1ea8672aa063
      https://github.com/llvm/llvm-project/commit/8b9dce333f71bc21b3534e89a41e1ea8672aa063
  Author: Haowei <haowei at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libcxx/include/__chrono/exception.h

  Log Message:
  -----------
  [libc++] Add default copy ctor to "__chrono/exception.h" (#95338)

After PR#90394, "__chrono/exception.h" will trigger
"deprecated-copy-with-user-provided-dtor" warning on Windows x64 runtime
testing with ToT Clang. This patch addresses this issue by explicitly
adding those default copy ctors.

It is a bit weird that the same warning will not happen when testing on
Linux x64 under the same condition, despite the warning flag was enabled
(with `-Wdeprecated-copy -Wdeprecated-copy-dtor`). It might be a bug.


  Commit: f808abf508a6b890b40fc2594ea36ce896bb1f37
      https://github.com/llvm/llvm-project/commit/f808abf508a6b890b40fc2594ea36ce896bb1f37
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCCodeView.h
    M llvm/include/llvm/MC/MCContext.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCCodeView.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/lib/MC/MCELFStreamer.cpp
    M llvm/lib/MC/MCMachOStreamer.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCPseudoProbe.cpp
    M llvm/lib/MC/MCWinCOFFStreamer.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  [MC] Add MCFragment allocation helpers

`allocFragment` might be changed to a placement new when the allocation
strategy changes.

`allocInitialFragment` is to deduplicate the following pattern
```
  auto *F = new MCDataFragment();
  Result->addFragment(*F);
  F->setParent(Result);
```

Pull Request: https://github.com/llvm/llvm-project/pull/95197


  Commit: c7b32341e9f885cc7e6ba4b2ff017f748a6f76ee
      https://github.com/llvm/llvm-project/commit/c7b32341e9f885cc7e6ba4b2ff017f748a6f76ee
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    A .github/workflows/libcxx-restart-preempted-jobs.yaml
    R .github/workflows/restart-preempted-libcxx-jobs.yaml

  Log Message:
  -----------
  [libc++] Rename workflow that restarts preempted jobs

All the libc++ workflows start with `libcxx-`, so use that prefix for
this job as well. Also, remove trailing whitespace from the yaml file.


  Commit: 9a92f2f742347d9b31470349f3b777ecab580ac1
      https://github.com/llvm/llvm-project/commit/9a92f2f742347d9b31470349f3b777ecab580ac1
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/lib/Basic/Diagnostic.cpp
    M clang/test/Modules/Inputs/implicit-built-Werror-using-W/convert.h
    M clang/test/Modules/implicit-built-Werror-using-W.cpp
    M clang/test/Preprocessor/pragma_diagnostic.c
    M clang/test/Sema/implicit-decl.c

  Log Message:
  -----------
  Make diagnostic pragma override -Werror=foo and DefaultError warnings

In GCC, `#pragma GCC diagnostic warning "-Wfoo"` overrides command-line
`-Werror=foo` and errors that can become warnings (pedwarn with
-pedantic-errors and permerror).

```
#pragma GCC diagnostic warning "-Wnarrowing"
int x = {4.2};
#pragma GCC diagnostic warning "-Wundef"
#if FOO
#endif

// gcc -c -Werror=undef -Werror=narrowing => two warnings
```

These diagnostics are similar to our Warning/ExtWarn/Extension
diagnostics with DefaultError. This patch ports the behavior to Clang.

Fix #93474

Pull Request: https://github.com/llvm/llvm-project/pull/93647


  Commit: 72b841d016c7403ac1f7678d25b864dac80d06dc
      https://github.com/llvm/llvm-project/commit/72b841d016c7403ac1f7678d25b864dac80d06dc
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp

  Log Message:
  -----------
  [Analysis] Migrate to a new version of getValueProfDataFromInst (#95561)

Note that the version of getValueProfDataFromInst that returns bool
has been "deprecated" since:

  commit 1e15371dd8843dfc52b9435afaa133997c1773d8
  Author: Mingming Liu <mingmingl at google.com>
  Date:   Mon Apr 1 15:14:49 2024 -0700


  Commit: b1932b8483011c2bfebbea1ef56a565634570e6b
      https://github.com/llvm/llvm-project/commit/b1932b8483011c2bfebbea1ef56a565634570e6b
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCELFStreamer.h
    M llvm/include/llvm/MC/MCSection.h
    M llvm/include/llvm/MC/MCWasmStreamer.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCELFStreamer.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/MCWasmStreamer.cpp
    M llvm/test/MC/X86/AlignedBundling/misaligned-bundle-group.s
    M llvm/test/MC/X86/AlignedBundling/misaligned-bundle.s

  Log Message:
  -----------
  [MC] Aligned bundling: remove special handling for RelaxAll

When both aligned bundling and RelaxAll are enabled, bundle padding is
directly written into fragments (https://reviews.llvm.org/D8072).
(The original motivation was memory usage, which has been achieved from
different angles with recent assembler improvement).

The code presents challenges with the work to replace fragment
representation (e.g. #94950 #95077). This patch removes the special
handling. RelaxAll still works but the behavior seems slightly different
as revealed by 2 changed tests. However, most `-mc-relax-all` tests are
unchanged.

RelaxAll used to be the default for clang -O0. This mode has significant
code size drawbacks and newer Clang doesn't use it (#90013).

---

flushPendingLabels: The FOffset parameter can be removed: pending labels
will be assigned to the incoming fragment at offset 0.

Pull Request: https://github.com/llvm/llvm-project/pull/95188


  Commit: e7e90dd1c1014b4a7ef77f74af3682168d23ddbf
      https://github.com/llvm/llvm-project/commit/e7e90dd1c1014b4a7ef77f74af3682168d23ddbf
  Author: Brian Favela <brianfavela at microsoft.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.abs.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
    M llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
    M llvm/test/CodeGen/AMDGPU/fract-match.ll
    M llvm/test/CodeGen/AMDGPU/fshr.ll
    M llvm/test/CodeGen/AMDGPU/idiv-licm.ll
    M llvm/test/CodeGen/AMDGPU/idot4u.ll
    M llvm/test/CodeGen/AMDGPU/llvm.frexp.ll
    M llvm/test/CodeGen/AMDGPU/machine-sink-temporal-divergence-swdev407790.ll
    M llvm/test/CodeGen/AMDGPU/permute_i8.ll
    M llvm/test/CodeGen/AMDGPU/reassoc-mul-add-1-to-mad.ll
    M llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
    M llvm/test/CodeGen/AMDGPU/sminmax.v2i16.ll

  Log Message:
  -----------
  [AMDGPU] Adding multiple use analysis to SIPeepholeSDWA (#94800)

Allow for multiple uses of an operand where each instruction can be
promoted to SDWA.

For instance:

; v_and_b32 v2, lit(0x0000ffff), v2
; v_and_b32 v3, 6, v2
; v_and_b32 v2, 1, v2

Can be folded to:
; v_and_b32 v3, 6, sel_lo(v2)
; v_and_b32 v2, 1, sel_lo(v2)


  Commit: b7599da44983e3921116991bc6de1f10d2c1c3d9
      https://github.com/llvm/llvm-project/commit/b7599da44983e3921116991bc6de1f10d2c1c3d9
  Author: RoseZhang03 <rosezhang at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/spec/stdc.td

  Log Message:
  -----------
  [libc] Fixed NamedType usage in Fenv HeaderSpec Types (#95487)

Issue: NamedType<"fenv_t"> and NamedType<"fexcept_t"> were used in Fenv
HeaderSpec Types section instead of the actual NamedType
Fixed: Changed to FEnvT and FExceptT


  Commit: 38fd0181a065784afdf9b170fe3988aff01aab66
      https://github.com/llvm/llvm-project/commit/38fd0181a065784afdf9b170fe3988aff01aab66
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
    M flang/include/flang/Optimizer/Builder/Runtime/Reduction.h
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
    M flang/test/Lower/Intrinsics/reduce.f90

  Log Message:
  -----------
  [flang] Lower REDUCE intrinsic for reduction op with args by value (#95353)

#95297 Updates the runtime entry points to distinguish between reduction
operation with arguments passed by value or by reference. Add lowering
to support the arguments passed by value.


  Commit: 29d857f183fe6159c3265d6cee8c87419eb615ad
      https://github.com/llvm/llvm-project/commit/29d857f183fe6159c3265d6cee8c87419eb615ad
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Optimizer/Transforms/CMakeLists.txt
    A flang/lib/Optimizer/Transforms/StackReclaim.cpp
    M flang/test/Driver/bbc-mlir-pass-pipeline.f90
    M flang/test/Driver/mlir-debug-pass-pipeline.f90
    M flang/test/Driver/mlir-pass-pipeline.f90
    M flang/test/Fir/basic-program.fir
    A flang/test/Transforms/stack-reclaime.fir

  Log Message:
  -----------
  [flang] Add stack reclaim pass to reclaim allocas in loop (#95309)

Some passes in the flang pipeline are creating `fir.alloca` operation
like `hlfir.concat`. When these allocas are located in a loop, the stack
can quickly be used too much leading to segfaults.

This behavior can be seen in
https://github.com/jacobwilliams/json-fortran/blob/master/src/tests/jf_test_36.F90

This patch insert a call to LLVM stacksave/stackrestore in the body of
the loop to reclaim the alloca in its scope.

This PR is an alternative implementation to #95173


  Commit: a43d79af782e2730b170c04db49f4c3040399d97
      https://github.com/llvm/llvm-project/commit/a43d79af782e2730b170c04db49f4c3040399d97
  Author: Peiming Liu <peiming at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/Dialect/SparseTensor/canonicalize.mlir

  Log Message:
  -----------
  [mlir][sparse] add canonicalization patterns for IterateOp. (#95569)


  Commit: eca988aa4420f33810f9830c80ff9f149b7928ff
      https://github.com/llvm/llvm-project/commit/eca988aa4420f33810f9830c80ff9f149b7928ff
  Author: Haowei Wu <haowei at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt

  Log Message:
  -----------
  Revert "[libc] printf, putchar and vprintf in bareemetal entrypoints (#95436)"

This reverts commit b1de42a81d838bb0c6dea7d2436820a2456c730b, which
breaks libc build for baremetal targets.


  Commit: 6f538f6a2d3224efda985e9eb09012fa4275ea92
      https://github.com/llvm/llvm-project/commit/6f538f6a2d3224efda985e9eb09012fa4275ea92
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll

  Log Message:
  -----------
  Revert "Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)""

This reverts commit 90fd99c0795711e1cf762a02b29b0a702f86a264.
This reverts commit 43e6f46936e177e47de6627a74b047ba27561b44.

Causes crashes, see comments on https://github.com/llvm/llvm-project/pull/92555.


  Commit: 3a47d948ba1b0ebe99ff068ddf28fe9e6043e932
      https://github.com/llvm/llvm-project/commit/3a47d948ba1b0ebe99ff068ddf28fe9e6043e932
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/include/flang/Lower/ConvertConstant.h
    M flang/lib/Lower/ConvertConstant.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/test/Lower/CUDA/cuda-data-attribute.cuf

  Log Message:
  -----------
  [flang][cuda] Propagate data attribute to global with initialization (#95504)

Global with initial value were missing the CUDA data attribute.


  Commit: e84ecf26fa5d9a4be4da078a1f85e988731308af
      https://github.com/llvm/llvm-project/commit/e84ecf26fa5d9a4be4da078a1f85e988731308af
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/PowerPC/subreg-lanemasks.mir

  Log Message:
  -----------
  [NFC][PowerPC] Add test to check lanemasks for subregisters. (#94363)

This change adds a test case to check the lane masks for a varitey of
subregisters.


  Commit: 3ecba1ad1f6d2e961948ddfdb165f22621d0788f
      https://github.com/llvm/llvm-project/commit/3ecba1ad1f6d2e961948ddfdb165f22621d0788f
  Author: Youngsuk Kim <joseph942010 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M compiler-rt/lib/memprof/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt] Remove 'memprof_meminfoblock.h' from MEMPROF_HEADERS (NFC) (#95334)

Commit 8306968b592d942cc49bde2e387061e673a9fbb7 deleted file
`compiler-rt/lib/memprof/memprof_meminfoblock.h`, but didn't remove it
from MEMPROF_HEADERS in `compiler-rt/lib/memprof/CMakeLists.txt`.

Remove unneeded leftover line in
`compiler-rt/lib/memprof/CMakeLists.txt`.

p.s.
GH #54777 reported a llvm14 build failure due to the existence of the
leftover line, but I'm unable to reproduce the build failure with llvm19
trunk.


  Commit: b6fd6d4cc53d263c586264d1476265fbdcc0ba21
      https://github.com/llvm/llvm-project/commit/b6fd6d4cc53d263c586264d1476265fbdcc0ba21
  Author: Chris B <chris.bieneman at me.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/PrettyPrinter.h
    M clang/lib/AST/TypePrinter.cpp
    M clang/test/AST/HLSL/pch.hlsl
    M clang/test/AST/HLSL/pch_with_buf.hlsl
    M clang/test/AST/HLSL/vector-alias.hlsl
    M clang/test/AST/HLSL/vector-constructors.hlsl
    M clang/test/SemaHLSL/BuiltIns/RWBuffers.hlsl
    M clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/dot-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/mad-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/vector-errors.hlsl
    M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzleErrors.hlsl
    M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzles.hlsl
    M clang/test/SemaHLSL/VectorOverloadResolution.hlsl
    M clang/test/SemaHLSL/standard_conversion_sequences.hlsl

  Log Message:
  -----------
  [HLSL] Use hlsl vector template in type printer (#95489)

In HLSL we really want to be using the HLSL vector template and other
built-in sugared spellings for some builtin types. This updates the type
printer to take an option to use HLSL type spellings.

This changes printing vector type names from:

```
T __attribute__((ext_vector_type(N)))
```
To:
```
vector<T, N>
```


  Commit: 46c8f25b0a7d664d4ef3b8d6376815a877788463
      https://github.com/llvm/llvm-project/commit/46c8f25b0a7d664d4ef3b8d6376815a877788463
  Author: Akira Hatanaka <ahatanak at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/lib/AST/Decl.cpp

  Log Message:
  -----------
  Check whether EvaluatedStmt::Value is valid in VarDecl::hasInit (#94515)

VarDecl::isNull() doesn't tell whether the VarDecl has an initializer as
methods like ensureEvaluatedStmt can create an EvaluatedStmt even when
there isn't an initializer.

Revert e1c3e16d24b5cc097ff08e9283f53319acd3f245 as the change isn't
needed anymore with this change.

See the discussion in https://github.com/llvm/llvm-project/pull/93749.


  Commit: a66e2a1988cb14ec2feadfbc3dd1ff4bd77f4be9
      https://github.com/llvm/llvm-project/commit/a66e2a1988cb14ec2feadfbc3dd1ff4bd77f4be9
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx2cIssues.csv
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp

  Log Message:
  -----------
  [libc++] Revert temporary attempt to implement LWG 4110 (#95263)

When I filed LWG4110 after the discussion in #93071, I thought it was
going to be a straightforward fix. It turns out that it isn't, so we
should stay in the state where libc++ is Standards conforming even if
that state leads to some reasonable code being rejected by the library.
Once WG21 figures out what to do with this issue and votes on it, we'll
implement it through our normal means.

This reverts f638f7b6a7c2 and 16f2aa1a2ddf.


  Commit: ade28a77ed17760bf2fde57c6571b69489b0bac0
      https://github.com/llvm/llvm-project/commit/ade28a77ed17760bf2fde57c6571b69489b0bac0
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/tool/CMakeLists.txt

  Log Message:
  -----------
  [clang-doc][cmake] Copy assets to build directory (#95187)

While we copy the asset files, like index.js, into the correct location
in the install step, tests do not have access to those resources in the
build directory.

This patch copies the contents of the clang-doc/assets directory into
the build folder, so that they can be used in testing.

Pull Request: https://github.com/llvm/llvm-project/pull/95185


  Commit: e7d563501f056d0ae54440468df04b04c10f8070
      https://github.com/llvm/llvm-project/commit/e7d563501f056d0ae54440468df04b04c10f8070
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
    R libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/types.h

  Log Message:
  -----------
  [libc++] Revert LWG3223 Broken requirements for shared_ptr converting constructors (#93071)

This reverts commit d868f0970, which was shown to break some code and we
don't know yet whether the code should be valid or not. Reverting until
we've had time to figure it out next week.


  Commit: 1551c094e8afe674eaafc20e17bcd9b2f830b7de
      https://github.com/llvm/llvm-project/commit/1551c094e8afe674eaafc20e17bcd9b2f830b7de
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
    M flang/lib/Lower/CallInterface.cpp
    M flang/test/Lower/OpenMP/declare-target-func-and-subr.f90
    M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap-enter.f90
    M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap.f90
    M flang/test/Lower/OpenMP/declare-target-implicit-tarop-cap.f90
    A flang/test/Lower/func-attrs.f90
    M flang/test/Lower/host-associated.f90

  Log Message:
  -----------
  [flang] Lower function/subroutine attribute to func op (#95468)

Keep track of the Fortran procedure attributes on the func operation.


  Commit: f6947e479e14e7904aa0b2539a95f5dfdc8f9295
      https://github.com/llvm/llvm-project/commit/f6947e479e14e7904aa0b2539a95f5dfdc8f9295
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Subtarget.h
    M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2_lse128.ll
    M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8_1a.ll
    M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lse2_lse128.ll
    M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-v8_1a.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic-128.ll
    M llvm/test/CodeGen/AArch64/aarch64-interleaved-access-w-undef.ll
    M llvm/test/CodeGen/AArch64/aarch64-neon-vector-insert-uaddlv.ll
    M llvm/test/CodeGen/AArch64/aarch64-sysreg128.ll
    M llvm/test/CodeGen/AArch64/arm64-atomic-128.ll
    M llvm/test/CodeGen/AArch64/arm64-dup.ll
    M llvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll
    M llvm/test/CodeGen/AArch64/arm64-ld1.ll
    M llvm/test/CodeGen/AArch64/arm64-neon-copy.ll
    M llvm/test/CodeGen/AArch64/arm64-neon-copyPhysReg-tuple.ll
    M llvm/test/CodeGen/AArch64/arm64-tbl.ll
    M llvm/test/CodeGen/AArch64/arm64-zip.ll
    M llvm/test/CodeGen/AArch64/atomicrmw-xchg-fp.ll
    M llvm/test/CodeGen/AArch64/bf16-shuffle.ll
    M llvm/test/CodeGen/AArch64/build-vector-two-dup.ll
    M llvm/test/CodeGen/AArch64/complex-deinterleaving-multiuses.ll
    M llvm/test/CodeGen/AArch64/extract-vector-elt.ll
    M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
    M llvm/test/CodeGen/AArch64/fptoi.ll
    M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
    M llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll
    M llvm/test/CodeGen/AArch64/insert-subvector.ll
    M llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
    M llvm/test/CodeGen/AArch64/neon-extracttruncate.ll
    M llvm/test/CodeGen/AArch64/neon-reverseshuffle.ll
    M llvm/test/CodeGen/AArch64/neon-widen-shuffle.ll
    M llvm/test/CodeGen/AArch64/seqpairspill.mir
    M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
    M llvm/test/CodeGen/AArch64/shuffles.ll
    M llvm/test/CodeGen/AArch64/shufflevector.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-add.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtn.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-fp-dots.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-insert-mova.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-int-dots.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-max.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-min.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlall.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlals.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-rshl.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-select-sme-tileslice.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-sqdmulh.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-sub.ll
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-vdot.ll
    M llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
    M llvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
    M llvm/test/CodeGen/AArch64/sve-merging-stores.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
    M llvm/test/CodeGen/AArch64/sve2-intrinsics-perm-tb.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-multivec-stores.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-sclamp.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx4.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-stores.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uclamp.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx4.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pp.ll
    M llvm/test/CodeGen/AArch64/swift-error-unreachable-use.ll
    M llvm/test/CodeGen/AArch64/tbl-loops.ll
    M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
    M llvm/test/CodeGen/AArch64/vldn_shuffle.ll

  Log Message:
  -----------
  Revert " [AArch64][SME] Enable subreg liveness tracking when SME is available" (#95574)

Reverts llvm/llvm-project#92142

For now sending this to run on CI


  Commit: 436872693a8a57487bf4510437183878d1e35cfb
      https://github.com/llvm/llvm-project/commit/436872693a8a57487bf4510437183878d1e35cfb
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M lldb/test/API/lit.cfg.py

  Log Message:
  -----------
  [lldb] Tweak Python interpreter workaround on macOS (#95582)

Avoid copying the Python interpreter when running in a virtual
environment as it will already have its own copy of the Python
interpreter. Also leave a breadcrumb that we're running with a different
Python interpreter.


  Commit: 2ecb1ab6d701b6b4ec451f2c402c80c9fb9dcb14
      https://github.com/llvm/llvm-project/commit/2ecb1ab6d701b6b4ec451f2c402c80c9fb9dcb14
  Author: Aviad Cohen <aviadcohen7 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp

  Log Message:
  -----------
  [mlir][scf]: Removed LoopParams struct and used Range instead (NFC) (#95501)


  Commit: b1f9440fa9286638bb1fe72a14d220770d1987cc
      https://github.com/llvm/llvm-project/commit/b1f9440fa9286638bb1fe72a14d220770d1987cc
  Author: Thorsten Schütt <schuett at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
    M llvm/include/llvm/CodeGen/MachineInstr.h
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/MIRParser/MILexer.cpp
    M llvm/lib/CodeGen/MIRParser/MILexer.h
    M llvm/lib/CodeGen/MIRPrinter.cpp
    M llvm/lib/CodeGen/MachineInstr.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-gep.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-switch.ll
    A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-gep-flags.ll
    M llvm/test/CodeGen/AArch64/arm64-this-return.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-return-values.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-sret.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll
    M llvm/test/CodeGen/Mips/GlobalISel/irtranslator/aggregate_struct_return.ll
    M llvm/test/CodeGen/Mips/GlobalISel/irtranslator/sret_pointer.ll
    M llvm/test/CodeGen/Mips/GlobalISel/irtranslator/var_arg.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-ilp32-ilp32f-ilp32d-common.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-lp64-lp64f-lp64d-common.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vararg.ll
    M llvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator-struct-return.ll

  Log Message:
  -----------
  [GlobalIsel] Import GEP flags (#93850)

https://github.com/llvm/llvm-project/pull/90824


  Commit: 1af1c9fb98e5c99ce2aa3a9af8ede489ea85c745
      https://github.com/llvm/llvm-project/commit/1af1c9fb98e5c99ce2aa3a9af8ede489ea85c745
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/subreg-lanemasks.mir

  Log Message:
  -----------
  [NFC][PowerPC] Update the option to -enable-subreg-liveness.


  Commit: 005758eb6b35aaf548c3a59da860ecd2465a73f0
      https://github.com/llvm/llvm-project/commit/005758eb6b35aaf548c3a59da860ecd2465a73f0
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/src/__support/fixedvector.h
    M libc/src/stdlib/CMakeLists.txt
    M libc/src/stdlib/block.h
    M libc/src/stdlib/freelist.h
    M libc/src/stdlib/freelist_heap.h
    A libc/src/stdlib/freelist_malloc.cpp
    A libc/src/stdlib/realloc.h
    M libc/test/src/stdlib/CMakeLists.txt
    M libc/test/src/stdlib/freelist_heap_test.cpp
    A libc/test/src/stdlib/freelist_malloc_test.cpp

  Log Message:
  -----------
  [libc][stdlib] Make the FreeListHeap constant-initializable (#95453)

This refactors some of the FreeListHeap, FreeList, and Block classes to
have constexpr ctors so we can constinit a global allocator that does
not require running some global function or global ctor to initialize.
This is needed to prevent worrying about initialization order and any
other module-ctor can invoke malloc without worry.


  Commit: cc7a18c18011d1e0c70187ceb60e3e69bf7cd0ee
      https://github.com/llvm/llvm-project/commit/cc7a18c18011d1e0c70187ceb60e3e69bf7cd0ee
  Author: Jeremy Day <jeremy at thebrowser.company>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Support/CMakeLists.txt

  Log Message:
  -----------
  Set Support system_libs if WIN32, not just MSVC or MINGW (#95505)

The previous check was false when compiling with `clang++`, which
prevented `ntdll` from being specified as a link library, causing an
undefined symbol error when trying to resolve `RtlGetLastNtStatus`.
Since we always want to link these libraries on Windows, the check can
be simplified to just `if( WIN32 )`.


  Commit: c63b9a5af72a7d83d936c12ae4bc79828c073edf
      https://github.com/llvm/llvm-project/commit/c63b9a5af72a7d83d936c12ae4bc79828c073edf
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/test/Interpreter/inline-virtual.cpp
    M clang/unittests/Interpreter/InterpreterTest.cpp

  Log Message:
  -----------
  [clang-interp] Use -fno-sized-deallocation in two tests (#95546)

At least on my Windows machine, these two tests fail due to not being
able to look up `??3 at YAXPEAX_K@Z` (which is
`void __cdecl operator delete(void *, unsigned __int64)` in demangled)
after 130e93cc26ca. Since they don't test anything related to sized
deallocation, just disable sized allocation for them.

Possibly fixes #95451.


  Commit: 445fc51800d391d0c912d8c6c918b016e0604319
      https://github.com/llvm/llvm-project/commit/445fc51800d391d0c912d8c6c918b016e0604319
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M lldb/test/Shell/SymbolFile/DWARF/x86/apple-index-is-used.cpp

  Log Message:
  -----------
  [lldb][test] Force dwarf4 usage in test requiring it (#95449)

This test is explicitly checking for dwarf 4 behavior on Apple
platforms, so we should explicitly use the dwarf4 flag.

Related to https://github.com/llvm/llvm-project/pull/95164


  Commit: feed66f3eae5006bb05e6cb34801930fd940daa8
      https://github.com/llvm/llvm-project/commit/feed66f3eae5006bb05e6cb34801930fd940daa8
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
    A clang/include/clang/InstallAPI/DirectoryScanner.h
    M clang/include/clang/InstallAPI/HeaderFile.h
    A clang/include/clang/InstallAPI/Library.h
    M clang/include/clang/InstallAPI/MachO.h
    M clang/lib/InstallAPI/CMakeLists.txt
    A clang/lib/InstallAPI/DirectoryScanner.cpp
    A clang/lib/InstallAPI/Library.cpp
    M clang/test/InstallAPI/asm.test
    M clang/test/InstallAPI/basic.test
    M clang/test/InstallAPI/binary-attributes.test
    M clang/test/InstallAPI/cpp.test
    M clang/test/InstallAPI/diagnostics-dsym.test
    A clang/test/InstallAPI/directory-scanning-dylib.test
    A clang/test/InstallAPI/directory-scanning-frameworks.test
    M clang/test/InstallAPI/functions.test
    M clang/test/InstallAPI/variables.test
    M clang/tools/clang-installapi/Options.cpp
    M clang/tools/clang-installapi/Options.h

  Log Message:
  -----------
  [InstallAPI] Pick up input headers by directory traversal (#94508)

Match TAPI behavior and allow input headers to be resolved via a passed
directory, which is expected to be a library sitting in a build
directory.


  Commit: 53c93a33be8cc78c35eccbe75053344fc9b2346b
      https://github.com/llvm/llvm-project/commit/53c93a33be8cc78c35eccbe75053344fc9b2346b
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/clang/lib/InstallAPI/BUILD.gn

  Log Message:
  -----------
  [gn build] Port feed66f3eae5


  Commit: 4184d33369a9dce391977220683e3f1975bf1fc9
      https://github.com/llvm/llvm-project/commit/4184d33369a9dce391977220683e3f1975bf1fc9
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/include/clang/Format/Format.h
    M clang/include/clang/Frontend/PrecompiledPreamble.h
    M clang/include/clang/Frontend/SerializedDiagnosticReader.h
    M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp

  Log Message:
  -----------
  [Clang][NFC] Avoid opening namespace std (#95470)

Never opening `namespace std` avoids even the possibility of introducing
new symbols as well as making the code a bit shorter by removing
unnecessary boiler plate.


  Commit: 38d8f6e58430357856926498185b2b221afc1d2c
      https://github.com/llvm/llvm-project/commit/38d8f6e58430357856926498185b2b221afc1d2c
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/src/stdio/putchar.h

  Log Message:
  -----------
  [libc] Remove unnecessary include from putchar.h (#95576)

The putchar header was including the public stdio.h. It doesn't need to
do that and it was causing build failures for downstream baremetal users
so this patch fixes it.


  Commit: cccc43725798de5371eb893f11f3940e6a954a0f
      https://github.com/llvm/llvm-project/commit/cccc43725798de5371eb893f11f3940e6a954a0f
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/src/__support/blockstore.h

  Log Message:
  -----------
  [libc] add LIBC_INLINE annotations to BlockStore (#95573)

Add the LIBC_INLINE annotation to all the functions in blockstore.


  Commit: 41fecca97b77a80926cb1b1a83c8af3c90d354bd
      https://github.com/llvm/llvm-project/commit/41fecca97b77a80926cb1b1a83c8af3c90d354bd
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/config/config.json
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/api.td
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/configure.rst
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/pthread_rwlock_t.h
    M libc/include/pthread.h.def
    M libc/spec/posix.td
    M libc/spec/spec.td
    M libc/src/__support/macros/attributes.h
    M libc/src/__support/threads/linux/CMakeLists.txt
    A libc/src/__support/threads/linux/rwlock.h
    M libc/src/pthread/CMakeLists.txt
    A libc/src/pthread/pthread_rwlock_destroy.cpp
    A libc/src/pthread/pthread_rwlock_destroy.h
    A libc/src/pthread/pthread_rwlock_init.cpp
    A libc/src/pthread/pthread_rwlock_init.h
    A libc/src/pthread/pthread_rwlock_rdlock.cpp
    A libc/src/pthread/pthread_rwlock_rdlock.h
    A libc/src/pthread/pthread_rwlock_timedrdlock.cpp
    A libc/src/pthread/pthread_rwlock_timedrdlock.h
    A libc/src/pthread/pthread_rwlock_timedwrlock.cpp
    A libc/src/pthread/pthread_rwlock_timedwrlock.h
    A libc/src/pthread/pthread_rwlock_tryrdlock.cpp
    A libc/src/pthread/pthread_rwlock_tryrdlock.h
    A libc/src/pthread/pthread_rwlock_trywrlock.cpp
    A libc/src/pthread/pthread_rwlock_trywrlock.h
    A libc/src/pthread/pthread_rwlock_unlock.cpp
    A libc/src/pthread/pthread_rwlock_unlock.h
    A libc/src/pthread/pthread_rwlock_wrlock.cpp
    A libc/src/pthread/pthread_rwlock_wrlock.h
    M libc/test/integration/src/pthread/CMakeLists.txt
    A libc/test/integration/src/pthread/pthread_rwlock_test.cpp

  Log Message:
  -----------
  [libc] add rwlock (#94156)


  Commit: a506279e5c5d5668e66b0749c26a93d8d373931a
      https://github.com/llvm/llvm-project/commit/a506279e5c5d5668e66b0749c26a93d8d373931a
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
    M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
    M flang/lib/Optimizer/Transforms/StackArrays.cpp
    M mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h
    M mlir/include/mlir/Transforms/Passes.h
    M mlir/include/mlir/Transforms/Passes.td
    M mlir/include/mlir/Transforms/RegionUtils.h
    M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
    M mlir/lib/Transforms/Utils/RegionUtils.cpp
    M mlir/test/Dialect/SPIRV/Transforms/canonicalize.mlir
    M mlir/test/Pass/run-reproducer.mlir
    M mlir/test/Transforms/canonicalize-block-merge.mlir
    M mlir/test/Transforms/canonicalize-dce.mlir
    M mlir/test/Transforms/canonicalize.mlir
    M mlir/test/Transforms/test-canonicalize.mlir

  Log Message:
  -----------
  [mlir] Do not merge blocks during canonicalization by default (#95057)

This is a heavy process, and it can trigger a massive explosion in
adding block arguments. While potentially reducing the code size, the
resulting merged blocks with arguments are hiding some of the def-use
chain and can even hinder some further analyses/optimizations: a merge
block does not have it's own path-sensitive context, instead the context
is merged from all the predecessors.

Previous behavior can be restored by passing:

  {test-convergence region-simplify=aggressive}

to the canonicalize pass.


  Commit: 2f18381b905ab3a7872ac518bf19f6f3afb333df
      https://github.com/llvm/llvm-project/commit/2f18381b905ab3a7872ac518bf19f6f3afb333df
  Author: Vijay Kandiah <vkandiah at nvidia.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CMakeLists.txt

  Log Message:
  -----------
  [flang] Fix shared libs build for alloca change. (#95597)

My recent change broke shared library builds. This update to flang CodeGen CMakeLists.txt fixes shared builds.


  Commit: 2146d12eb9401d488ad916fc9227b5f24bcfa5c4
      https://github.com/llvm/llvm-project/commit/2146d12eb9401d488ad916fc9227b5f24bcfa5c4
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/src/__support/macros/attributes.h

  Log Message:
  -----------
  [libc] fix preferred_type attribute detection (#95599)


  Commit: 7091dd277a1e2349f33390be9f3ccf21bff39003
      https://github.com/llvm/llvm-project/commit/7091dd277a1e2349f33390be9f3ccf21bff39003
  Author: Tim Gymnich <tim at gymni.ch>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/abs_i16.ll

  Log Message:
  -----------
  [AMDGPU] Fix lowering of abs for i16 vectors with more than 2 elements (#95413)

fixes #94606

Expansion of `ABS` for `i16` vectors with more than 2 elements is
currently falling back to scalarization of the vector.
This PR adds a custom lowering for `ABS` on `i16` vectors that splits
the vector into multiple `<2 x i 16>` vectors.


  Commit: e7acb3792b8ba971bda2c9564ed26c2a60a2ddbc
      https://github.com/llvm/llvm-project/commit/e7acb3792b8ba971bda2c9564ed26c2a60a2ddbc
  Author: Angel Zhang <anzhouzhang913 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    R mlir/test/mlir-vulkan-runner/vector-deinterleave.mlir

  Log Message:
  -----------
  Revert "[mlir][spirv] Add integration test for `vector.deinterleave`" (#95607)

Reverts llvm/llvm-project#95469 because using literals instead of
`arith.constant` as indices broke the tests.


  Commit: 40a72f8cc414726a8be234a260650fd62354da21
      https://github.com/llvm/llvm-project/commit/40a72f8cc414726a8be234a260650fd62354da21
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-multiply-recurrences.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll

  Log Message:
  -----------
  [VPlan] Support extracting any lane of uniform value.

If the value we are extracting a lane from is uniform, only the first
lane will be set. Return lane 0 for any requested lane.

This fixes a crash when trying to extract the last lane for a
first-order recurrence resume value.

Fixes https://github.com/llvm/llvm-project/issues/95520.


  Commit: 6355fb45a5433d90a3f1a342920ff56a7fee7e16
      https://github.com/llvm/llvm-project/commit/6355fb45a5433d90a3f1a342920ff56a7fee7e16
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/test/CodeGen/RISCV/half-intrinsics.ll
    M llvm/test/CodeGen/WebAssembly/simd-unsupported.ll
    M llvm/test/Transforms/LoopVectorize/intrinsic.ll

  Log Message:
  -----------
  [CodeGen] Support vectors across all backends (#95518)

Add a default f16 type promotion


  Commit: 19ad7a046b5cf435ba95c100170fc0e36231d620
      https://github.com/llvm/llvm-project/commit/19ad7a046b5cf435ba95c100170fc0e36231d620
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Utility/SupportFile.h

  Log Message:
  -----------
  [lldb] Fix the semantics of SupportFile equivalence (#95606)

Currently, two SupportFiles with the same FileSpec are considered
different if one of them has a Checksum and the other doesn't. However,
this is overly strict. It's totally valid to mix LineTables that do and
do not contain Checksums. This patch makes it so that the Checksum is
only compared if both SupportFiles have a valid Checksum.


  Commit: f00f11bf860cd7c4fe030cd43cc7e0d94825ca10
      https://github.com/llvm/llvm-project/commit/f00f11bf860cd7c4fe030cd43cc7e0d94825ca10
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/src/__support/threads/linux/rwlock.h
    M libc/test/integration/src/pthread/pthread_rwlock_test.cpp

  Log Message:
  -----------
  [libc] fix build errors (#95600)

Bitfield conversion problem tested at: https://godbolt.org/z/dxjhs5Ghr


  Commit: 3d25e5ae996d709cf1496f0c6823f6a82f51831e
      https://github.com/llvm/llvm-project/commit/3d25e5ae996d709cf1496f0c6823f6a82f51831e
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/ReturnConstRefFromParameterCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/return-const-ref-from-parameter.cpp

  Log Message:
  -----------
  [clang-tidy] avoid false positive when overload for bugprone-return-const-ref-from-parameter (#95434)

Fixes: #90274


  Commit: 76b64aeb88925ec7eea43a388f937bc4f248ef87
      https://github.com/llvm/llvm-project/commit/76b64aeb88925ec7eea43a388f937bc4f248ef87
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  -----------
  [ProfileData] Migrate to a new version of getValueProfDataFromInst (#95568)

Note that the version of getValueProfDataFromInst that returns bool
has been "deprecated" since:

  commit 1e15371dd8843dfc52b9435afaa133997c1773d8
  Author: Mingming Liu <mingmingl at google.com>
  Date:   Mon Apr 1 15:14:49 2024 -0700


  Commit: 8f7d30abb243d5383171861bd5ee443d95b2a338
      https://github.com/llvm/llvm-project/commit/8f7d30abb243d5383171861bd5ee443d95b2a338
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  -----------
  [ProfileData] Sink the length checks (#95604)

The new API getValueArrayForSite returns ArrayRef<InstrProfValueData>,
packaging the array length and contents together.

This patch sinks the array length checks just before we check the
contents.  This way, we check both the array length and contents
immediately after calling getValueArrayForSite.


  Commit: c091dd48008ba6d85aee68227077ee05daeb7ca7
      https://github.com/llvm/llvm-project/commit/c091dd48008ba6d85aee68227077ee05daeb7ca7
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/src/__support/threads/linux/rwlock.h
    M libc/src/pthread/pthread_rwlock_timedrdlock.cpp
    M libc/src/pthread/pthread_rwlock_timedwrlock.cpp
    M libc/test/integration/src/pthread/CMakeLists.txt
    M libc/test/integration/src/pthread/pthread_rwlock_test.cpp

  Log Message:
  -----------
  [libc] fix build errors (#95613)


  Commit: 93ffe1792fd9a985b96fee1105b399b5196a15bc
      https://github.com/llvm/llvm-project/commit/93ffe1792fd9a985b96fee1105b399b5196a15bc
  Author: Kavan Bickerstaff <kavanbickerstaff at googlemail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-invalid.mlir

  Log Message:
  -----------
  [mlir][tosa] Only match rfft2d of floats in linalg conversion (#93432)

This prevents an assertion being triggered by the cast to FloatType.

Fixes https://github.com/llvm/llvm-project/issues/92064


  Commit: 98b117e4355d2ba7b672014aafc41b3f646fc72c
      https://github.com/llvm/llvm-project/commit/98b117e4355d2ba7b672014aafc41b3f646fc72c
  Author: Haowei <haowei at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt

  Log Message:
  -----------
  Reapply "[libc] printf, putchar and vprintf in bareemetal entrypoints… (#95619)

This reverts commit eca988aa4420f33810f9830c80ff9f149b7928ff. The
underlying libc issue was fixed by PR#95576.

The original PR is #95436 , which adds printf, putchar and vprintf in
bareemetal entrypoints


  Commit: 0b24b4706982907799c838d80e06b3aa08420549
      https://github.com/llvm/llvm-project/commit/0b24b4706982907799c838d80e06b3aa08420549
  Author: Xu Zhang <simonzgx at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/posix.td
    M libc/src/__support/File/linux/file.cpp
    M libc/src/__support/File/linux/file.h
    A libc/src/__support/OSUtil/fcntl.h
    M libc/src/__support/OSUtil/linux/CMakeLists.txt
    A libc/src/__support/OSUtil/linux/fcntl.cpp
    M libc/src/fcntl/linux/CMakeLists.txt
    M libc/src/fcntl/linux/fcntl.cpp
    M libc/src/stdio/CMakeLists.txt
    A libc/src/stdio/fdopen.h
    M libc/src/stdio/linux/CMakeLists.txt
    A libc/src/stdio/linux/fdopen.cpp
    M libc/test/src/fcntl/fcntl_test.cpp
    M libc/test/src/stdio/CMakeLists.txt
    A libc/test/src/stdio/fdopen_test.cpp

  Log Message:
  -----------
  [libc] Add the implementation of the fdopen function (#94186)

Fixes #93711 .
This patch implements the ``fdopen`` function. Given that ``fdopen`` 
internally calls ``fcntl``, the implementation of ``fcntl`` has been
moved to the ``__support/OSUtil``, where it serves as an internal public
function.


  Commit: daac13fb8bd180479068df777f9b848e29a88315
      https://github.com/llvm/llvm-project/commit/daac13fb8bd180479068df777f9b848e29a88315
  Author: Vijay Kandiah <vkandiah at nvidia.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/test/Lower/PowerPC/ppc-mma-assemble-disassemble.f90
    M flang/test/Lower/PowerPC/ppc-mma-outer-product-1.f90
    M flang/test/Lower/PowerPC/ppc-mma-outer-product-2.f90
    M flang/test/Lower/PowerPC/ppc-pwr10-vec-intrinsics.f90
    M flang/test/Lower/PowerPC/ppc-vector-types.f90

  Log Message:
  -----------
  [flang] Fixing PPC lit failure due to alloca reordering. (#95621)

This change fixes the PowerPC lit tests that are failing due to the
recent change to hoist constant-sized allocas at flang codegen. Three of
these changed lit tests are entirely rewritten to use variables instead
of numbered LLVM IR.


  Commit: 7042fcc6389c6c103d501b6f39988eafed0d9b5b
      https://github.com/llvm/llvm-project/commit/7042fcc6389c6c103d501b6f39988eafed0d9b5b
  Author: Ivy Zhang <yan3.zhang at intel.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
    M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
    M mlir/test/Dialect/Arith/canonicalize.mlir
    M mlir/test/Dialect/Arith/emulate-unsupported-floats.mlir

  Log Message:
  -----------
  [MLIR][Arith][Resubmit] add fastMathAttr on arith::extf and arith::truncf (#95346)

Add an `fastMathAttr` on `arith::extf` and `arith::truncf`. If these two
ops are inserted by some promotion passes (like legalize-to-f32 /
emulate-unsupported-floats), they will be labeled as
`FastMathFlags::contract`, denoting that they can be then `eliminated by
canonicalizer`.

The `elimination` can help improve performance, while may introduce some
numerical differences.


  Commit: 84e9401a7f848ebf3268a0ad1d7e36b8223afbc4
      https://github.com/llvm/llvm-project/commit/84e9401a7f848ebf3268a0ad1d7e36b8223afbc4
  Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/abs_i16.ll

  Log Message:
  -----------
  [AMDGPU] Fix lit failure (#95620)

Lit test in
https://github.com/llvm/llvm-project/commit/7091dd277a1e2349f33390be9f3ccf21bff39003
was not updated for
https://github.com/llvm/llvm-project/commit/e7e90dd1c1014b4a7ef77f74af3682168d23ddbf


  Commit: cfbed2c0e6110878e6174067e2fb8013fc512620
      https://github.com/llvm/llvm-project/commit/cfbed2c0e6110878e6174067e2fb8013fc512620
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Support/CMakeLists.txt
    A llvm/lib/Support/SipHash.cpp
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/SipHashTest.cpp

  Log Message:
  -----------
  [Support] Import SipHash c reference implementation. (#94393)

This brings the unmodified SipHash reference implementation:
  https://github.com/veorq/SipHash
which has been very graciously licensed under our llvm license
(Apache-2.0 WITH LLVM-exception) by Jean-Philippe Aumasson.

SipHash is a lightweight hash function optimized for speed on short
messages. We use it as part of the AArch64 ptrauth ABI (in arm64e and
ELF PAuth) to generate discriminators based on language identifiers and
mangled names.

This commit brings the unmodified reference implementation and tests
as of f26d35e, specifically siphash.c and vectors.h, as SipHash.cpp and
SipHashTest.cpp.

Next, we will integrate it properly into libSupport, with a wrapping API
suited for the ptrauth use-case.


  Commit: 577c3f114b7c342ea6d8b69d3c4f22ce26d96b13
      https://github.com/llvm/llvm-project/commit/577c3f114b7c342ea6d8b69d3c4f22ce26d96b13
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    A llvm/include/llvm/Support/SipHash.h
    M llvm/lib/Support/CMakeLists.txt
    M llvm/lib/Support/SipHash.cpp
    M llvm/unittests/Support/CMakeLists.txt
    M llvm/unittests/Support/SipHashTest.cpp

  Log Message:
  -----------
  [Support] Integrate SipHash.cpp into libSupport.  (#94394)

Start building it as part of the library, with some minor
tweaks compared to the reference implementation:
- clang-format to match libSupport
- remove tracing support
- add file header
- templatize cROUNDS/dROUNDS, as well as 8B/16B result length
- replace assert with static_assert
- use LLVM_FALLTHROUGH

This also exports interfaces for SipHash-2-4-64/-128, and
tests them using the reference test vectors.


  Commit: 2693811195567d12dbadc5a8e2da48e2ebe8fca8
      https://github.com/llvm/llvm-project/commit/2693811195567d12dbadc5a8e2da48e2ebe8fca8
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn

  Log Message:
  -----------
  [gn build] Port cfbed2c0e611


  Commit: 2b33591386e855cf82a4104092e1a1d2888f32b1
      https://github.com/llvm/llvm-project/commit/2b33591386e855cf82a4104092e1a1d2888f32b1
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/test/Misc/target-invalid-cpu-note.c
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/Target/AArch64/AArch64Processors.td
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [llvm][AArch64] Support -mcpu=apple-m4 (#95478)


  Commit: a0cef2bf71c5fb7a643656371d8e6cc58271fbe6
      https://github.com/llvm/llvm-project/commit/a0cef2bf71c5fb7a643656371d8e6cc58271fbe6
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Processors.td
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [llvm][AArch64] Rearrange Apple CPUs by generation, not product class. NFC (#95579)


  Commit: 61069bd5a3954076018ed30c77094d6259bcbc90
      https://github.com/llvm/llvm-project/commit/61069bd5a3954076018ed30c77094d6259bcbc90
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Support/SipHash.h
    M llvm/lib/Support/SipHash.cpp
    M llvm/unittests/Support/SipHashTest.cpp

  Log Message:
  -----------
  [Support] Add SipHash-based 16-bit ptrauth ABI-stable hash. (#93902)

This finally wraps the now-lightly-modified SipHash C reference
implementation, for the main interface we need (16-bit ptrauth
discriminators).

The exact algorithm is the little-endian interpretation of the
non-doubled (i.e. 64-bit) result of applying a SipHash-2-4 using the
constant seed `b5d4c9eb79104a796fec8b1b428781d4` (big-endian), with the
result reduced by modulo to the range of non-zero discriminators (i.e.
`(rawHash % 65535) + 1`).

By "stable" we mean that the result of this hash algorithm will the same
across different compiler versions and target platforms.

The 16-bit hashes are used extensively for the AArch64 ptrauth ABI,
because AArch64 can efficiently load a 16-bit immediate into the high
bits of a register without disturbing the remainder of the value, which
serves as a nice blend operation.

16 bits is also sufficiently compact to not inflate a loader relocation.
We disallow zero to guarantee a different discriminator from the places
in the ABI that use a constant zero.

Co-authored-by: John McCall <rjmccall at apple.com>


  Commit: 8f74725731bf431fb97929e1dd962e9a0db20865
      https://github.com/llvm/llvm-project/commit/8f74725731bf431fb97929e1dd962e9a0db20865
  Author: Fred Grim <fgrim at apple.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Utility/ProcessInfo.h
    M lldb/source/Host/linux/Host.cpp
    M lldb/source/Utility/ProcessInfo.cpp
    M lldb/unittests/Host/linux/HostTest.cpp

  Log Message:
  -----------
  [lldb] Adds additional fields to ProcessInfo (#91544)

To implement SaveCore for elf binaries we need to populate some
additional fields in the prpsinfo struct. Those fields are the nice
value of the process whose core is to be taken as well as a boolean flag
indicating whether or not that process is a zombie. This commit adds
those as well as tests to ensure that the values are consistent with
expectations


  Commit: 6f5dfbd73a2867019d52be546a89d4fb4224b83d
      https://github.com/llvm/llvm-project/commit/6f5dfbd73a2867019d52be546a89d4fb4224b83d
  Author: Ryan Beltran <rp.beltran at yahoo.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libc/src/__support/CPP/bit.h

  Log Message:
  -----------
  [libc][__support][bit] Switch popcount to Brian Kernighan’s Algorithm (#95625)


  Commit: d7e4813a324f2e33726dec8c9a599cb342f0bde3
      https://github.com/llvm/llvm-project/commit/d7e4813a324f2e33726dec8c9a599cb342f0bde3
  Author: Aviad Cohen <aviadcohen7 at gmail.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/SCF/IR/SCF.cpp

  Log Message:
  -----------
  [mlir][scf]: Copy old attributes of old ForOp in replaceWithAdditionalYields (#95502)


  Commit: 904c53d53e7abc3916a679832ec4fa6e521e09b9
      https://github.com/llvm/llvm-project/commit/904c53d53e7abc3916a679832ec4fa6e521e09b9
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/lib/AST/Interp/Descriptor.h
    M clang/lib/AST/Interp/Pointer.cpp
    M clang/lib/AST/Interp/Pointer.h
    M clang/lib/AST/Interp/Program.cpp
    M clang/test/AST/Interp/cxx98.cpp
    M clang/unittests/AST/Interp/Descriptor.cpp

  Log Message:
  -----------
  [clang][Interp] Use different inline descriptors for global variables

Most of the InlineDescriptor fields were unused for global variables.
But more importantly, we need to differentiate between global variables
that are uninitialized because they didn't have an initializer when we
originally created them, and ones that are uninitialized because they
DID have an initializer, but evaluating it failed.


  Commit: cddb9ce04e68d876de895d39d60b6af34d569012
      https://github.com/llvm/llvm-project/commit/cddb9ce04e68d876de895d39d60b6af34d569012
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Format/UnwrappedLineParser.h
    M clang/unittests/Format/FormatTestComments.cpp

  Log Message:
  -----------
  [clang-format] Don't over-indent comment below unbraced body (#95354)

Fixes #45002.


  Commit: 675d8d629dbdc794a78d885511eacbabc7929f8a
      https://github.com/llvm/llvm-project/commit/675d8d629dbdc794a78d885511eacbabc7929f8a
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CGExprScalar.cpp
    A clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp

  Log Message:
  -----------
  (New) Add option to generate additional debug info for expression dereferencing pointer to pointers (#95298)

This is a different implementation to #94100, which has been reverted.

When -fdebug-info-for-profiling is specified, for any Load expression if
the pointer operand is not a declared variable, clang will emit debug
info describing the type of the pointer operand (which can be an
intermediate expr)


  Commit: 7b6447a1574a1b852dfd8bff57ad4c48548c0102
      https://github.com/llvm/llvm-project/commit/7b6447a1574a1b852dfd8bff57ad4c48548c0102
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/Function.h
    M clang/lib/AST/Interp/Interp.h
    M clang/test/AST/Interp/lambda.cpp

  Log Message:
  -----------
  [clang][Interp] Fix calling lambdas with explicit instance pointers...

...via a function pointer.


  Commit: bb3091a6f3fb2b983fc3e0f539ff1d979ea470ac
      https://github.com/llvm/llvm-project/commit/bb3091a6f3fb2b983fc3e0f539ff1d979ea470ac
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/test/AST/Interp/cxx23.cpp
    M clang/test/AST/Interp/lambda.cpp

  Log Message:
  -----------
  [clang][Interp][test] Move explicit object parameter test to cxx23.cpp

It needs C++2b.


  Commit: 7c6d0d26b1792fdf437b3e33b98c55fee9b06516
      https://github.com/llvm/llvm-project/commit/7c6d0d26b1792fdf437b3e33b98c55fee9b06516
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ADT/IntervalTree.h
    M llvm/include/llvm/ExecutionEngine/Orc/Core.h
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/Analysis/Delinearization.cpp
    M llvm/lib/Analysis/ImportedFunctionsInliningStatistics.cpp
    M llvm/lib/Analysis/StackSafetyAnalysis.cpp
    M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
    M llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/RegisterCoalescer.cpp
    M llvm/lib/CodeGen/SplitKit.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCParser/MasmParser.cpp
    M llvm/lib/MCA/HardwareUnits/RegisterFile.cpp
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    M llvm/lib/Target/NVPTX/NVVMReflect.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
    M llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp
    M llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
    M llvm/tools/llvm-nm/llvm-nm.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm] Use llvm::unique (NFC) (#95628)


  Commit: 8cc6a2469c95f0815487c442495a829c337913c4
      https://github.com/llvm/llvm-project/commit/8cc6a2469c95f0815487c442495a829c337913c4
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/test/ELF/libsearch.s

  Log Message:
  -----------
  [ELF] -r: force -Bstatic

In GNU ld, -r forces -Bstatic and has precedence over -Bdynamic: -lfoo
probes libfoo.a but not libfoo.so, even if -Bdynamic is in effect. Our
behavior currently matches gold and probes libfoo.so. Since we don't
have strong opinion on the exact behavior, let's just follow GNU ld and
also unify the reason we report the "attempted static link of dynamic
object " error.

Close #94958


  Commit: 0a9a5f989ff1bcea96bef54e05acdaa633e657e2
      https://github.com/llvm/llvm-project/commit/0a9a5f989ff1bcea96bef54e05acdaa633e657e2
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/DSInstructions.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-atomicrmw.ll
    M llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll

  Log Message:
  -----------
  AMDGPU: Legalize atomicrmw fadd for v2f16/v2bf16 for local memory (#95393)

Make this legal for gfx940 and gfx12


  Commit: 5021e6dd548323e1169be3d466d440009e6d1f8e
      https://github.com/llvm/llvm-project/commit/5021e6dd548323e1169be3d466d440009e6d1f8e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-agent.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-system.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-agent.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-system.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-fp-vector.ll

  Log Message:
  -----------
  AMDGPU: Handle legal v2f16/v2bf16 atomicrmw fadd for global/flat (#95394)

Unlike the existing fadd cases, choose to ignore the requirement for
amdgpu-unsafe-fp-atomics in case of fine-grained memory access. This
is to minimize migration pain to the new atomic control metadata. This
should not break any users, as the atomic intrinsics are still
directly consumed, and clang does not yet produce vector FP atomicrmw.


  Commit: 23c1b488fee99ac598203b6c3972be3b404dfbbe
      https://github.com/llvm/llvm-project/commit/23c1b488fee99ac598203b6c3972be3b404dfbbe
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.h
    M llvm/lib/Target/ARM/ARMInstrInfo.td
    M llvm/lib/Target/ARM/ARMInstrThumb.td
    M llvm/lib/Target/ARM/ARMInstrThumb2.td

  Log Message:
  -----------
  [ARM] Remove duplicate custom SDag node (NFCI) (#93419)

ARMISD::SUBS is a duplicate of ARMISD::SUBC.
The node was introduced in 5745b6ac. This patch replaces SUBS with SUBC
and reverts changes in *.td files.


  Commit: bfd95a003139a8f930874b2234c3cab545d504a1
      https://github.com/llvm/llvm-project/commit/bfd95a003139a8f930874b2234c3cab545d504a1
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Support/MathExtras.h
    M llvm/unittests/Support/MathExtrasTest.cpp

  Log Message:
  -----------
  MathExtras: rewrite some methods to never overflow (#95556)

Rewrite divideCeil, divideNearest, divideFloorSigned, and
divideCeilSigned to never overflow.


  Commit: 17712f501c63998e67178e817ee64612cd1daae3
      https://github.com/llvm/llvm-project/commit/17712f501c63998e67178e817ee64612cd1daae3
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/EvaluationResult.cpp
    M clang/test/AST/Interp/cxx20.cpp

  Log Message:
  -----------
  [clang][Interp] Fix checking null pointers for initialization


  Commit: 47f8b85b3d81ed3578cb3b8f80d69ce307e0c883
      https://github.com/llvm/llvm-project/commit/47f8b85b3d81ed3578cb3b8f80d69ce307e0c883
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp

  Log Message:
  -----------
  [Debug Info] Fix debug info ptr to ptr test (#95637)

Fix test case in #95298 because another recent submitted patch removed
llvm.dbg intrinsics, updated test case accordingly


  Commit: 27bebc11611bd87390cb715ea2723276cb69341e
      https://github.com/llvm/llvm-project/commit/27bebc11611bd87390cb715ea2723276cb69341e
  Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp

  Log Message:
  -----------
  [GISel] Unify multiple instances of getTypeForLLT (NFC) (#95577)

Multiple static instances of this utility function have been found in
different GlobalISel files.
Unifying them by adding an instance in utils.cpp.


  Commit: 5e9fcb9572d7d63aa3b540226bea128e81765f91
      https://github.com/llvm/llvm-project/commit/5e9fcb9572d7d63aa3b540226bea128e81765f91
  Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.s.buffer.load.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll

  Log Message:
  -----------
  [AMDGPU][GISel] Use datalayout alignment for buffer-load legalization (#95578)

It matches the legalization of buffer loads similar to the SelectionDAG.


  Commit: a78c104a238566d5ba1c89384087c57668c306ae
      https://github.com/llvm/llvm-project/commit/a78c104a238566d5ba1c89384087c57668c306ae
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp

  Log Message:
  -----------
  [clang-tidy]fix false positives of the result of std::move() is used as rvalue for performance-move-const-arg (#95633)

Fixes: #86404

---------

Co-authored-by: Danny Mösch <danny.moesch at icloud.com>


  Commit: 9476671dc3fa13b1cd39f5de796f501539441a21
      https://github.com/llvm/llvm-project/commit/9476671dc3fa13b1cd39f5de796f501539441a21
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/test/CodeGen/X86/combine-mul.ll
    M llvm/test/CodeGen/X86/gfni-shifts.ll
    M llvm/test/CodeGen/X86/pmul.ll
    M llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
    M llvm/test/CodeGen/X86/vector-fshr-128.ll
    M llvm/test/CodeGen/X86/vector-fshr-256.ll
    M llvm/test/CodeGen/X86/vector-fshr-512.ll
    M llvm/test/CodeGen/X86/vector-idiv-sdiv-128.ll
    M llvm/test/CodeGen/X86/vector-idiv-sdiv-256.ll
    M llvm/test/CodeGen/X86/vector-idiv-sdiv-512.ll
    M llvm/test/CodeGen/X86/vector-idiv-udiv-128.ll
    M llvm/test/CodeGen/X86/vector-idiv-udiv-256.ll
    M llvm/test/CodeGen/X86/vector-idiv-udiv-512.ll
    M llvm/test/CodeGen/X86/vector-mul.ll
    M llvm/test/CodeGen/X86/vector-shift-shl-128.ll
    M llvm/test/CodeGen/X86/vector-shift-shl-256.ll
    M llvm/test/CodeGen/X86/vector-shift-shl-512.ll

  Log Message:
  -----------
  [X86] Lower vXi8 multiplies by constant using PMADDUBSW on SSSE3+ targets (#95403)

As discussed on #90748 - we can avoid unpacks/extensions from vXi8 to vXi16 by using PMADDUBSW instead and packing the vXi16 results back together.


  Commit: 3e8f2170bb7772abdc6215de0dc07c3f9bd51df5
      https://github.com/llvm/llvm-project/commit/3e8f2170bb7772abdc6215de0dc07c3f9bd51df5
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Handle AddressSpaceConversion casts

Ignore them. No test yet, but this will be useful in a future commit.


  Commit: 8e954541581270c497cc961b08eff69dc41bc18d
      https://github.com/llvm/llvm-project/commit/8e954541581270c497cc961b08eff69dc41bc18d
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/test/AST/Interp/vectors.cpp
    M clang/test/CodeGenOpenCLCXX/constexpr.clcpp

  Log Message:
  -----------
  [clang][Interp] Support ExtVectorElementExprs


  Commit: 7d06bdcdfc0ef97fbc63d7a6b821070d160a64cd
      https://github.com/llvm/llvm-project/commit/7d06bdcdfc0ef97fbc63d7a6b821070d160a64cd
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

  Log Message:
  -----------
  [RISCV] Use isCompatible when we need runtime VSETVLIInfo equality. NFC (#94340)

In VSETVLIInfo we define == as lattice equality, e.g. unknown == unknown
and invalid == invalid. We need this to check if the information at a
block's entry or exit has changed.

However I think we may have been conflating it with the notion that the
state of VL and VTYPE are the same, which isn't the case for two
unknowns, and potentially in an upcoming patch where we don't know the
value of an AVL register (see #93796)

This patch switches over the use in emitVSETVLIs to use isCompatible
with all fields demanded, since we need VL and VTYPE to be known equal
at runtime rather than just the VSETVLIInfos to be the same.

This should be NFC for now we shouldn't reach here with an unknown
state. But it's needed if we're to introduce the notion of an AVLReg
with a nullptr ValNo, which will need this non-reflexive equality.
Specifically, hasSameAVL should return false for this case, but ==
should return true.


  Commit: d46207645714620c95b2274a8a0996e5fcc24e92
      https://github.com/llvm/llvm-project/commit/d46207645714620c95b2274a8a0996e5fcc24e92
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [x86] Fix -Wunused-value in X86ISelLowering.cpp (NFC)

llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp:28530:16:
error: left operand of comma operator has no effect [-Werror,-Wunused-value]
        return VT, DAG.getNode(ISD::OR, dl, VT, RLo, DAG.getBitcast(VT, RHi));
               ^~
1 error generated.


  Commit: b381d1e059823d432f67bc18b8a2d47570958aed
      https://github.com/llvm/llvm-project/commit/b381d1e059823d432f67bc18b8a2d47570958aed
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/combine-pmadd.ll

  Log Message:
  -----------
  [X86] Add test showing failure to constant fold (V)PMADDWD nodes


  Commit: f857ed623ca2536968804ecb6e7ad3b686e09700
      https://github.com/llvm/llvm-project/commit/f857ed623ca2536968804ecb6e7ad3b686e09700
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/combine-pmadd.ll

  Log Message:
  -----------
  [X86] computeKnownBitsForTargetNode - add handling for (V)PMADDWD nodes


  Commit: 29b0d5755409639cf061667233125fb75d624b7c
      https://github.com/llvm/llvm-project/commit/29b0d5755409639cf061667233125fb75d624b7c
  Author: Ian Anderson <iana at apple.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/include/clang/Lex/HeaderSearch.h
    M clang/lib/Lex/HeaderSearch.cpp
    M clang/unittests/Lex/HeaderSearchTest.cpp

  Log Message:
  -----------
  [clang][modules] HeaderSearch::MarkFileModuleHeader sets textual headers' HeaderFileInfo non-external when it shouldn't (#89005)

HeaderSearch::MarkFileModuleHeader is no longer properly checking for
no-changes, and so sets the HeaderFileInfo for every `textual header` to
non-external.


  Commit: 961dd1ae5ea216024af3aa7d43a57c6b45a023ec
      https://github.com/llvm/llvm-project/commit/961dd1ae5ea216024af3aa7d43a57c6b45a023ec
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/RISCV/avgceils.ll
    A llvm/test/CodeGen/RISCV/avgceilu.ll
    A llvm/test/CodeGen/RISCV/avgfloors.ll
    A llvm/test/CodeGen/RISCV/avgflooru.ll

  Log Message:
  -----------
  [RISCV] Add scalar type test coverage for ISD::AVG nodes

Forked from the equivalent X86 tests


  Commit: 7cb5faf6da5a6f6335aca8a2532e5320ec434458
      https://github.com/llvm/llvm-project/commit/7cb5faf6da5a6f6335aca8a2532e5320ec434458
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/docs/UsersManual.rst
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/cl-options.c

  Log Message:
  -----------
  [Clang][Driver] Expose `-fno-eliminate-unused-debug-types` to clang-cl (#95259)

This is used to set DebugInfoKind to "UnusedTypeInfo". This helps in the
context of Unreal Engine and NATVIS files that reference unused
otherwise `static constexpr` class members. See
https://udn.unrealengine.com/s/question/0D5QP00000N012h0AB/fname-debug-visualizer-fails-to-work-with-the-clang-compiler

This partially fixes https://github.com/llvm/llvm-project/issues/46924


  Commit: 95b77d90aae10725ea692e120aac083ef1c1297d
      https://github.com/llvm/llvm-project/commit/95b77d90aae10725ea692e120aac083ef1c1297d
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-agent.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-system.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-agent.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-system.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-fp-vector.ll

  Log Message:
  -----------
  Revert "AMDGPU: Handle legal v2f16/v2bf16 atomicrmw fadd for global/flat (#95394)"

This reverts commit 5021e6dd548323e1169be3d466d440009e6d1f8e.
Breaks tests, see https://github.com/llvm/llvm-project/pull/95394#issuecomment-2169394503


  Commit: 417cd33f6d155d6d16ea29e9bcd81bb4708c9cfa
      https://github.com/llvm/llvm-project/commit/417cd33f6d155d6d16ea29e9bcd81bb4708c9cfa
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/combine-pmadd.ll

  Log Message:
  -----------
  [X86] Add test showing failure to constant fold (V)PMADDUBSW nodes


  Commit: 0938cdbfbd946e4033b070ec4fbd9dfd790eb91a
      https://github.com/llvm/llvm-project/commit/0938cdbfbd946e4033b070ec4fbd9dfd790eb91a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/combine-pmadd.ll

  Log Message:
  -----------
  [X86] computeKnownBitsForTargetNode - add handling for (V)PMADDUBSW nodes


  Commit: f3b4c00304ef3aa737097684502a419b5e89d4e9
      https://github.com/llvm/llvm-project/commit/f3b4c00304ef3aa737097684502a419b5e89d4e9
  Author: Fabian Mora <fmora.dev at gmail.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp

  Log Message:
  -----------
  [mlir][gpu] Add builder to `gpu.launch_func` (#95541)

This patch adds a builder to `gpu.launch_func` allowing it to be created
using `SymbolRefAttr` instead of `GPUFuncOp`. This allows creating
`launch_func` when only a `gpu.binary` is present, instead of the full
`gpu.module {...}`.


  Commit: e48f211ab8dc4f48cf27a2b08d58eb3fb73460d9
      https://github.com/llvm/llvm-project/commit/e48f211ab8dc4f48cf27a2b08d58eb3fb73460d9
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Disables a failing test. (#95659)

The test fails depending on the timezone database used. Disable it for
now so it can be properly investigated later.


  Commit: ef01c75d467df92b8c659307595aa74ed2290cd8
      https://github.com/llvm/llvm-project/commit/ef01c75d467df92b8c659307595aa74ed2290cd8
  Author: Shivam Gupta <shivam98.tkg at gmail.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M lldb/source/Utility/Scalar.cpp

  Log Message:
  -----------
  [lldb] Remove dead code block (NFC) (#94775)

The check that max_bit_pos == sign_bit_pos conflicts with the check that
sign_bit_pos < max_bit_pos in the block surrounding it.

Originally found by cppcheck - 
lldb/source/Utility/Scalar.cpp:756:23: warning: Opposite inner 'if'
condition leads to a dead code block. [oppositeInnerCondition]

Fixes #85985


  Commit: 355e4a9e56c644f24fc10f780cb2fc68b660d0a0
      https://github.com/llvm/llvm-project/commit/355e4a9e56c644f24fc10f780cb2fc68b660d0a0
  Author: Hua Tian <akiratian at tencent.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/WindowScheduler.cpp
    A llvm/test/CodeGen/Hexagon/swp-ws-weak-dep.mir

  Log Message:
  -----------
  [llvm][CodeGen] Fix failure in window scheduler caused by weak dependencies (#95636)

This commit addresses an issue where weak dependencies trigger an
assertion in the window scheduler under certain conditions.


  Commit: 213e308633e533f74f04269766989bb89fde0921
      https://github.com/llvm/llvm-project/commit/213e308633e533f74f04269766989bb89fde0921
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/combine-mul.ll

  Log Message:
  -----------
  [DAG] Fold Y = sra (X, size(X)-1); mul (or (Y, 1), X) -> (abs X)

Similar to InstCombine implementation except we don't have to handle the NSW/is_int_min_poison case.


  Commit: 50e222fa27bb636a392a6d6065f03a5469526ebf
      https://github.com/llvm/llvm-project/commit/50e222fa27bb636a392a6d6065f03a5469526ebf
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineSink.cpp

  Log Message:
  -----------
  [MachineSink] Use SmallDenseMap (NFC) (#95676)

The use of SmallDenseMap saves 0.39% of heap allocations during the
compilation of a large preprocessed file, namely X86ISelLowering.cpp,
for the X86 target.


  Commit: 7c0c9d640dac33ac9c7f0997c736dce023b84a2e
      https://github.com/llvm/llvm-project/commit/7c0c9d640dac33ac9c7f0997c736dce023b84a2e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
    A llvm/test/Transforms/LoopVectorize/PowerPC/exit-branch-cost.ll

  Log Message:
  -----------
  [LV] Add tests with multiple conditions feedin exit branches.

Test cases for the recent buildbot failures:
        https://lab.llvm.org/buildbot/#/builders/17/builds/47
        https://lab.llvm.org/buildbot/#/builders/168/builds/37


  Commit: f05b15b21b46835efeb88eb8bfd456e82582722c
      https://github.com/llvm/llvm-project/commit/f05b15b21b46835efeb88eb8bfd456e82582722c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/JumpThreading.h
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp

  Log Message:
  -----------
  [JumpThreading] Use SmallPtrSet (NFC) (#95674)

The use of SmallPtrSet here saves 0.66% of heap allocations during
the compilation of a large preprocessed file, namely
X86ISelLowering.cpp, for the X86 target.


  Commit: ecea8371ff03c15fb3dc27ee4108b98335fd2d63
      https://github.com/llvm/llvm-project/commit/ecea8371ff03c15fb3dc27ee4108b98335fd2d63
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h

  Log Message:
  -----------
  [TargetLibraryInfo] Use std::move (NFC) (#95671)

The std::move here saves 0.11% of heap allocations during the
compilation of a large preprocessed file, namely X86ISelLowering.cpp,
for the X86 target.


  Commit: 85a7bba7d28365ff98dae74f20ebf9f53d42023a
      https://github.com/llvm/llvm-project/commit/85a7bba7d28365ff98dae74f20ebf9f53d42023a
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/test/Profile/c-mcdc.c
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
    M llvm/unittests/IR/IntrinsicsTest.cpp

  Log Message:
  -----------
  Cleanup MC/DC intrinsics for #82448 (#95496)

3rd arg of `tvbitmap.update` was made unused. Remove 3rd arg.

Sweep `condbitmap.update`, since it is no longer used.


  Commit: dcbe0d43b56fbc44a42914ad335f036fdb58dfe8
      https://github.com/llvm/llvm-project/commit/dcbe0d43b56fbc44a42914ad335f036fdb58dfe8
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/performance/inefficient-vector-operation.cpp

  Log Message:
  -----------
  [clang-tidy] fix false negatives for performance-inefficient-vector-operation (#95667)

Fixes: #95596
Avoid false negatives caused by different variable definition type and
variable initial value type in loop initialization expression.


  Commit: 22530e7985083032fe708848abb88b77be78e5ce
      https://github.com/llvm/llvm-project/commit/22530e7985083032fe708848abb88b77be78e5ce
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/arith-int-codesize.ll
    M llvm/test/Analysis/CostModel/X86/arith-int-latency.ll
    M llvm/test/Analysis/CostModel/X86/arith-int-sizelatency.ll
    M llvm/test/Analysis/CostModel/X86/arith-int.ll
    M llvm/test/Analysis/CostModel/X86/rem-codesize.ll
    M llvm/test/Analysis/CostModel/X86/rem-latency.ll
    M llvm/test/Analysis/CostModel/X86/rem-sizelatency.ll
    M llvm/test/Analysis/CostModel/X86/rem.ll
    M llvm/test/Analysis/CostModel/X86/slm-arith-costs.ll
    M llvm/test/Transforms/VectorCombine/X86/extract-binop-inseltpoison.ll
    M llvm/test/Transforms/VectorCombine/X86/extract-binop.ll

  Log Message:
  -----------
  [CostModel][X86] Update vXi8 mul costs for AVX512BW/AVX2/AVX1/SSE

Later levels were inheriting some of the worst case costs from SSE/AVX1 etc.

Based off llvm-mca numbers from the check_cost_tables.py script in https://github.com/RKSimon/llvm-scripts

Cleanup prep work for #90748


  Commit: a74a86cd4b301959f8f57a22aa33a7152143bb7f
      https://github.com/llvm/llvm-project/commit/a74a86cd4b301959f8f57a22aa33a7152143bb7f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h

  Log Message:
  -----------
  [TargetLibraryInfo] Use the default move constructor/assignment operator (#95685)

commit ecea8371ff03c15fb3dc27ee4108b98335fd2d63
  Author: Kazu Hirata <kazu at google.com>
  Date:   Sat Jun 15 14:02:42 2024 -0700

added std::move to the move constructor and assignment operator, but
we can just use = default to have the compiler to generate them.

As expected, the number of heap allocations is virtually unchanged.


  Commit: c44d52823b4fe8f3aa98fc034f9fcc69b98ef6a0
      https://github.com/llvm/llvm-project/commit/c44d52823b4fe8f3aa98fc034f9fcc69b98ef6a0
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/StackColoring.cpp

  Log Message:
  -----------
  [StackColoring] Declare BitVector outside the loop (#95688)

The StackColoring pass creates two instances of BitVector per basic
block until the fixed point is reached.  Each instance may involve a
heap allocation depending on its size.

This patch declares them outside the loop, saving 1.40% of heap
allocations during the compilation of CGBuiltin.cpp.ii, a preprocessed
version of CGBuiltin.cpp.


  Commit: 630a6dd687ab4ec2038fc957fc8722c983aa4147
      https://github.com/llvm/llvm-project/commit/630a6dd687ab4ec2038fc957fc8722c983aa4147
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleZnver4.td
    M llvm/test/tools/llvm-mca/X86/Znver4/resources-avx2.s
    M llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512bwvl.s
    M llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512vl.s

  Log Message:
  -----------
  [X86] Fix throughput of AVX2/AVX512VL vector extension/truncations

These should only consume 1cy on either of the 2 pipes (only zmm ops should double pump) - matches AMD SoG + uops.info

Noticed while updating costs for #90748


  Commit: edabb5c12ed9312c3366286a69e881f625102a85
      https://github.com/llvm/llvm-project/commit/edabb5c12ed9312c3366286a69e881f625102a85
  Author: Gábor Horváth <xazax.hun at gmail.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M clang/docs/CommandGuide/clang.rst
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/Driver/ToolChain.h
    M clang/test/Coverage/targets.c
    M clang/test/Driver/arc.c
    M clang/test/Driver/arclite-link.c
    M clang/test/Driver/darwin-objc-defaults.m
    M clang/test/Driver/darwin-stdlib-dont-pass-in-c.c
    M clang/test/Driver/darwin-stdlib.cpp
    M clang/test/Driver/darwin-version.c
    M clang/test/Driver/darwin-xarch.c
    M clang/test/Driver/fsanitize.c
    M clang/test/Driver/macos-apple-silicon-slice-link-libs-darwin-only.cpp
    M clang/test/Driver/sanitizer-ld.c
    M clang/test/Driver/stack-protector.c
    M clang/test/Index/TestClassForwardDecl.m
    M clang/test/Index/c-index-api-loadTU-test.m
    M clang/test/Index/c-index-getCursor-test.m
    M clang/tools/scan-build/libexec/ccc-analyzer

  Log Message:
  -----------
  [clang] Clean up macOS version flags (#95374)

The -mmacos-version-min flag is preferred over -mmacosx-version-min.
This patch updates the tests and documentation to make this clear and
also adds the missing logic to scan build to handle the new flag.

Fixes #86376.

Co-authored-by: Gabor Horvath <gaborh at apple.com>


  Commit: f4ce3448be9c47c61755197173a6a9e9b612dff8
      https://github.com/llvm/llvm-project/commit/f4ce3448be9c47c61755197173a6a9e9b612dff8
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M compiler-rt/lib/profile/InstrProfilingFile.c

  Log Message:
  -----------
  Reformat


  Commit: d442bf043537fd4bc0c2fc5a4d77337b0d482ea9
      https://github.com/llvm/llvm-project/commit/d442bf043537fd4bc0c2fc5a4d77337b0d482ea9
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M compiler-rt/lib/profile/InstrProfilingFile.c

  Log Message:
  -----------
  mmapForContinuousMode: Calculate FileOffsetToBitmap from FileOffsetToCounters. NFC.


  Commit: 5548ea34341e9d0ae645719c34b466ca3b9eaa5a
      https://github.com/llvm/llvm-project/commit/5548ea34341e9d0ae645719c34b466ca3b9eaa5a
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/SemaTemplate/instantiate-local-class.cpp

  Log Message:
  -----------
  [Clang] Instantiate local constexpr functions eagerly (#95660)

We had a code path in `Sema::MarkFunctionReferenced()` that deferred
local lambda instantiation even for constexprs. This resulted in any
calls to them referring to function decls that lack bodies and hence
failures at constant evaluation.

The issue doesn't occur when the lambda has no explicit return type
because the return type deduction requires instantiation.

Fixes https://github.com/llvm/llvm-project/issues/35052
Fixes https://github.com/llvm/llvm-project/issues/94849


  Commit: 1644a31ae93177e1d046878a480ce95484882b2b
      https://github.com/llvm/llvm-project/commit/1644a31ae93177e1d046878a480ce95484882b2b
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/arm_sve.td
    M clang/include/clang/Basic/arm_sve_sme_incl.td
    M clang/include/clang/Sema/SemaARM.h
    M clang/lib/Sema/SemaARM.cpp
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qrshr.c
    M clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
    M clang/test/Sema/aarch64-sme-intrinsics/acle_sme_target.c
    R clang/test/Sema/aarch64-sme2-sve2p1-diagnostics.c
    A clang/test/Sema/aarch64-streaming-sme-or-nonstreaming-sve-builtins.c
    M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
    M clang/utils/TableGen/SveEmitter.cpp

  Log Message:
  -----------
  [Clang][AArch64] Generalise streaming mode checks for builtins. (#93802)

PR #76975 added 'IsStreamingOrSVE2p1' to emit a diagnostic when a builtin marked
with 'IsStreamingOrSVE2p1' is used in a non-streaming function that is not
compiled with `+sve2p1`.

The problem is a bit more complex than only this case. For example, we've marked
lots of builtins with 'IsStreamingCompatible', meaning it can be used in either
streaming, streaming-compatible or non-streaming functions. But the code in
SemaChecking, doesn't check the appropriate target guards. This issue becomes
relevant when SVE builtins are only available in streaming mode, e.g. when
compiling for SME without SVE.

If we were to add the appropriate target guards, we'd have to add many more
combinations, e.g.:
  IsStreamingSMEOrSVE
  IsStreamingSME2OrSVE2
  IsStreamingSMEOrSVE2p1
  IsStreamingSME2OrSVE2p1
  etc.

To avoid having to add more combinations (and avoid having to add more in the
future for new extensions), we use a single 'IsSVEOrStreamingSVE' flag for all
builtins that are available in streaming mode for the appropriate SME flags, or
in non-streaming mode for the appropriate SVE flags, or both.  The code in
SemaChecking will then verify for which mode (or both) the builtin would be
defined, given the target features of the function/compilation unit.

For example:

  'svclamp' is enabled under FEAT_SVE2p1 and FEAT_SME2

* When we compile for SVE2p1 and SME (but not SME2), the builtin is undefined
  behaviour when called from a streaming function.

* When we compile for SME2 and SVE2 (but not SVE2p1), the builtin is undefined
  behaviour when called from a non-streaming function.

* When we compile for _both_ SVE2p1 and SME2, the builtin can be used in either
  mode (non-streaming, streaming or streaming-compatible)


  Commit: 907e73936fcf76b856348aa27bf0c85151d32563
      https://github.com/llvm/llvm-project/commit/907e73936fcf76b856348aa27bf0c85151d32563
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd.ll

  Log Message:
  -----------
  AMDGPU: Don't use amdgpu_ps for some atomic tests

The default calling convention requires fewer shuffling moves and shrinks
the test output.


  Commit: 55696dba2353bcc5a99165134b1d7d15abc51577
      https://github.com/llvm/llvm-project/commit/55696dba2353bcc5a99165134b1d7d15abc51577
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd_nortn.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd_rtn.ll

  Log Message:
  -----------
  AMDGPU: Expand raw ptr buffer atomic fadd tests

These were only checking the no return versions on gfx908


  Commit: 570f36229aab50d2bc433bfb120869b33c8db076
      https://github.com/llvm/llvm-project/commit/570f36229aab50d2bc433bfb120869b33c8db076
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd.v2bf16.ll

  Log Message:
  -----------
  AMDGPU: Fix legalization for llvm.amdgcn.raw.buffer.atomic.fadd.v2bf16

We somehow ended up with llvm.amdgcn.raw.ptr.buffer.atomic.fadd, and
llvm.amdgcn.raw.buffer.ptr.atomic.fadd.v2bf16 intrinsic definitions, despite
the second being the canonical mangling for the first intrinsic with v2bf16.
This requires us to handle it as a separate case. Surprisingly, cases
generating the regular 1st intrinsic with bfloat end up getting ID'd as
the second. The selection is still broken for the gfx9 cases.


  Commit: 9f69e116a55dbd36e2f4fde38317de7262c88d7c
      https://github.com/llvm/llvm-project/commit/9f69e116a55dbd36e2f4fde38317de7262c88d7c
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [VPlan] Use VPTransformState::UF in vectorizeInterleaveGroup (NFCI).

Bring implementations of vectorizeInterleaveGroup in line with other
recipes' execute by using VPTransformState::UF.


  Commit: 67285feffd6708e6db36c11faf95eeab449e797a
      https://github.com/llvm/llvm-project/commit/67285feffd6708e6db36c11faf95eeab449e797a
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M libcxx/utils/ci/run-buildbot

  Log Message:
  -----------
  [libcxx] [ci] Simplify the mingw x86_64 configs (#95609)

Since switching the Windows CI environment over to GitHub Actions
runners, the mingw tests run in a setup where the default compiler
binary is a mingw-targeting compiler, so we don't need to specify a
custom executable name.

For the i686 tests, we still specify a custom compiler name, in order to
target i686 instead of x86_64.


  Commit: a106131a34ed87f597c78183ada56f01fd17641d
      https://github.com/llvm/llvm-project/commit/a106131a34ed87f597c78183ada56f01fd17641d
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/TokenAnnotator.h
    M clang/lib/Format/UnwrappedLineFormatter.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Handle AttributeMacro before access modifiers (#95634)

Closes #95094.


  Commit: fe9aef05c2dcfbde6e29e2edb2d49e29a54bea4d
      https://github.com/llvm/llvm-project/commit/fe9aef05c2dcfbde6e29e2edb2d49e29a54bea4d
  Author: pointhex <1111artem1111 at gmail.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/Format.cpp
    M clang/unittests/Format/ConfigParseTest.cpp

  Log Message:
  -----------
  [clang-format] Add DiagHandler parameter to format::getStyle() (#91317)

It allows to control of error output for the function.

Closes #94205.

---------

Co-authored-by: Owen Pan <owenpiano at gmail.com>


  Commit: d340f6283a3d242bad190ed9b95baa03e5607639
      https://github.com/llvm/llvm-project/commit/d340f6283a3d242bad190ed9b95baa03e5607639
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang][NFC] Update C++ DR issues list


  Commit: fbac6977820a341ab3dd7e1f0a2d8881e0161c49
      https://github.com/llvm/llvm-project/commit/fbac6977820a341ab3dd7e1f0a2d8881e0161c49
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

  Log Message:
  -----------
  [Transforms] Replace incorrect uses of m_Deferred with m_Specific (#95719)

The values have been bound already, so use m_Specific.


  Commit: 527e7328607ea0a55855e53a59c5030a7d07a554
      https://github.com/llvm/llvm-project/commit/527e7328607ea0a55855e53a59c5030a7d07a554
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M clang/unittests/Format/ConfigParseTest.cpp

  Log Message:
  -----------
  [clang-format][NFC] Suppress diagnostic noise in GetStyleOfFile test


  Commit: 470d59d6565f564701e1a1c194aeea4903d6baa1
      https://github.com/llvm/llvm-project/commit/470d59d6565f564701e1a1c194aeea4903d6baa1
  Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    A llvm/test/Transforms/Reassociate/dropping_debugloc_the_neg.ll

  Log Message:
  -----------
  [DebugInfo][Reassociate] Fix missing debug location drop (#95355)

Fix #95343 .


  Commit: ef18986b2033a44e69b7c3553a356e9037ac1413
      https://github.com/llvm/llvm-project/commit/ef18986b2033a44e69b7c3553a356e9037ac1413
  Author: sstwcw <su3e8a96kzlver at posteo.net>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTestVerilog.cpp

  Log Message:
  -----------
  [clang-format] Handle Verilog delay control (#95703)

I made a mistake when I tried to make the code handle the backtick
character like the hash character.  The code did not recognize the delay
control structure.  It caused net names in the declaration to be aligned
to the type name instead of the first net name.

new

```Verilog
wire logic #0 mynet, //
              mynet1;
```

old

```Verilog
wire logic #0 mynet, //
     mynet1;
```


  Commit: 15bb02650e26875c48889053d6a9697444583721
      https://github.com/llvm/llvm-project/commit/15bb02650e26875c48889053d6a9697444583721
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ASTWriter.h
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/CodeGen/CGVTables.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/test/CodeGenCXX/modules-vtable.cppm
    A clang/test/CodeGenCXX/pr70585.cppm

  Log Message:
  -----------
  [C++20] [Modules] [Itanium ABI] Generate the vtable in the module unit of dynamic classes (#75912)

Close https://github.com/llvm/llvm-project/issues/70585 and reflect
https://github.com/itanium-cxx-abi/cxx-abi/issues/170.

The significant change of the patch is: for dynamic classes attached to
module units, we generate the vtable to the attached module units
directly and the key functions for such classes is meaningless.


  Commit: e4e350e85b377e424299d26937cc60ea6868900c
      https://github.com/llvm/llvm-project/commit/e4e350e85b377e424299d26937cc60ea6868900c
  Author: Shivam Gupta <shivam98.tkg at gmail.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M lldb/source/Interpreter/Options.cpp

  Log Message:
  -----------
  [LLDB] Remove dead code (NFC) (#95713)

The dead code is caught by PVS studio analyzer -
https://pvs-studio.com/en/blog/posts/cpp/1126/, fragment N12.

Warning message -
V523 The 'then' statement is equivalent to the 'else' statement.
Options.cpp 1212


  Commit: b7b3d1798db98c0f7071e4557e860a6fd5847602
      https://github.com/llvm/llvm-project/commit/b7b3d1798db98c0f7071e4557e860a6fd5847602
  Author: Poseydon42 <vvmposeydon at gmail.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/uscmp.ll

  Log Message:
  -----------
  [InstSimplify] Implement simple folds for `ucmp`/`scmp` intrinsics (#95601)

This patch adds folds for the cases where both operands are the same or
where it can be established that the first operand is less than, equal
to, or greater than the second operand.


  Commit: 1d4e857acdd93a659387b9799fa262cce2370fb0
      https://github.com/llvm/llvm-project/commit/1d4e857acdd93a659387b9799fa262cce2370fb0
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    A llvm/test/Transforms/InstCombine/avg-lsb.ll
    M llvm/test/Transforms/InstCombine/lshr.ll

  Log Message:
  -----------
  [InstCombine] simplify average of lsb (#95684)

close: #94737
alive2: https://alive2.llvm.org/ce/z/WF_7mX

In this patch, we combine `(X + Y) / 2` into `(X & Y)` only when both X
and Y are less than or equal to 1.


  Commit: ede27d8d391e3917a5aa25be7903cabde4303a66
      https://github.com/llvm/llvm-project/commit/ede27d8d391e3917a5aa25be7903cabde4303a66
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll

  Log Message:
  -----------
  [SimplifyCFG] Add support for sinking instructions with multiple uses (#95521)

Sinking currently only supports instructions that have zero or one uses.
Extend this to handle instructions with any number of uses, as long as
all uses are consistent (i.e. the "same" for all sinking candidates).

After #94462 this is basically just a matter of looping over all uses
instead of checking the first one only.


  Commit: 5fe7f7364abcabe34f9bf157e5e6a6fa4fa0248a
      https://github.com/llvm/llvm-project/commit/5fe7f7364abcabe34f9bf157e5e6a6fa4fa0248a
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/AArch64.h
    A clang/test/Driver/aarch64-fixed-register-global.c
    A clang/test/Sema/aarch64-fixed-global-register.c

  Log Message:
  -----------
  [clang][AArch64] Add validation for Global Register Variable. (#94271)

Fixes: #76426


  Commit: 9b933e9c94031287d326a02276e2e09aecb17b57
      https://github.com/llvm/llvm-project/commit/9b933e9c94031287d326a02276e2e09aecb17b57
  Author: Ralf Jung <post at ralfj.de>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  LangRef: getelementptr: inbounds is about the object the pointer is 'based on' (#95650)

As discussed in
https://discourse.llvm.org/t/getelementptr-inbounds-inbounds-of-which-allocation/79024,
we need the pointer to be inbounds of *the* allocated object the pointer
is based on, not just any allocated object.


  Commit: 5ef768d22bb33d9ab59a8ba9abe747bed9e068a2
      https://github.com/llvm/llvm-project/commit/5ef768d22bb33d9ab59a8ba9abe747bed9e068a2
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/ReplaceConstant.h
    M llvm/lib/IR/ReplaceConstant.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-constants.ll

  Log Message:
  -----------
  [AMDGPULowerBufferFatPointers] Expand const exprs using fat pointers (#95558)

Expand all constant expressions that use fat pointers upfront, so that
the rewriting logic only has to deal with instructions and not the
constant expression variants as well.

My primary motivation is to remove the creation of illegal constant
expressions (mul and shl) from this pass, but this also cuts down quite
a bit on the amount of duplicate logic.


  Commit: 525318e5dc18fb4e6ec4f4dc4c7bcf92d31aa815
      https://github.com/llvm/llvm-project/commit/525318e5dc18fb4e6ec4f4dc4c7bcf92d31aa815
  Author: Vikash Gupta <35700483+vg0204 at users.noreply.github.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-vgpr-lanes-usage.mir

  Log Message:
  -----------
  [AMDGPU][LIT] Added a MIR LIT showing the SGPR spills (#94584)

This MIR test case is added to seek the consumption of VGPR lanes being
used for SGPR spills during si-lower-sgpr-spills pass of AMDGPU pass
pipeline. Basically, in this pass, stack slots are mapped to available
VGPR lanes for spilling purpose, thus ending the need for stack slots.

In current scenario, each new SGPR spill goes into new VGPR lanes as,
being mapped from its distinct stack slots assigned during SGPR
allocation pass. It can be clearly seen in the added test case.


  Commit: 94a6b9c63ec683957c1d5f520666308ac70584ec
      https://github.com/llvm/llvm-project/commit/94a6b9c63ec683957c1d5f520666308ac70584ec
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp

  Log Message:
  -----------
  [RISCV] Remove getOffsetOfLocalArea() (#93765)

For RISC-V, it's always 0 and I don't see any reason we will
change it in the future.


  Commit: 6c2d3a62b5a0ffe74f66b3e8ea6f8f9a0ca40d14
      https://github.com/llvm/llvm-project/commit/6c2d3a62b5a0ffe74f66b3e8ea6f8f9a0ca40d14
  Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
  Date:   2024-06-18 (Tue, 18 Jun 2024)

  Changed paths:
    M .ci/generate-buildkite-pipeline-premerge
    M .ci/monolithic-linux.sh
    A .github/workflows/ci-post-commit-analyzer-run.py
    A .github/workflows/ci-post-commit-analyzer.yml
    M .github/workflows/containers/github-action-ci/stage1.Dockerfile
    M .github/workflows/docs.yml
    M .github/workflows/libclang-python-tests.yml
    M .github/workflows/libcxx-build-and-test.yaml
    A .github/workflows/libcxx-restart-preempted-jobs.yaml
    M .github/workflows/llvm-project-tests.yml
    M .github/workflows/pr-code-format.yml
    M .github/workflows/release-binaries.yml
    M .github/workflows/release-documentation.yml
    M .github/workflows/release-doxygen.yml
    R .github/workflows/restart-preempted-libcxx-jobs.yaml
    A bolt/include/bolt/Core/GDBIndex.h
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/include/bolt/Rewrite/DWARFRewriter.h
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Core/CMakeLists.txt
    A bolt/lib/Core/GDBIndex.cpp
    M bolt/lib/Passes/PLTCall.cpp
    M bolt/lib/Passes/VeneerElimination.cpp
    M bolt/lib/Profile/BoltAddressTranslation.cpp
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
    A bolt/test/AArch64/plt-call.test
    A bolt/test/Inputs/plt-tailcall.c
    M bolt/test/X86/linux-alt-instruction.s
    A bolt/test/X86/plt-call.test
    M clang-tools-extra/clang-doc/tool/CMakeLists.txt
    M clang-tools-extra/clang-query/QueryParser.cpp
    M clang-tools-extra/clang-tidy/bugprone/MultiLevelImplicitPointerConversionCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/ReturnConstRefFromParameterCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.h
    M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
    M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
    M clang-tools-extra/clang-tidy/misc/HeaderIncludeCycleCheck.cpp
    M clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
    A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
    A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.h
    M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.h
    M clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
    M clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp
    M clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
    M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
    M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
    M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
    M clang-tools-extra/clang-tidy/readability/MathMissingParenthesesCheck.cpp
    M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
    M clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
    M clang-tools-extra/clangd/FindSymbols.cpp
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/clangd/SemanticHighlighting.cpp
    M clang-tools-extra/clangd/TidyProvider.cpp
    M clang-tools-extra/clangd/XRefs.cpp
    M clang-tools-extra/clangd/index/remote/CMakeLists.txt
    M clang-tools-extra/clangd/refactor/Rename.cpp
    M clang-tools-extra/clangd/unittests/PreambleTests.cpp
    M clang-tools-extra/clangd/unittests/XRefsTests.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-expression.rst
    A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.ArrayDelete.rst
    A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/security.SetgidSetuidOrder.rst
    A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/unix.Stream.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
    M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
    M clang-tools-extra/docs/clang-tidy/checks/modernize/use-designated-initializers.rst
    M clang-tools-extra/include-cleaner/lib/IncludeSpeller.cpp
    M clang-tools-extra/include-cleaner/lib/LocateSymbol.cpp
    M clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp
    M clang-tools-extra/include-cleaner/unittests/IncludeSpellerTest.cpp
    M clang-tools-extra/pseudo/lib/CMakeLists.txt
    M clang-tools-extra/pseudo/lib/cxx/CMakeLists.txt
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/multi-level-implicit-pointer-conversion.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/return-const-ref-from-parameter.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-2.c
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-any-pointer.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func.h
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_cpp.inc
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_h.inc
    A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/var.h
    A clang-tools-extra/test/clang-tidy/checkers/misc/header-include-cycle.self.cpp
    M clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp
    A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
    A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-var.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-designated-initializers.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance/inefficient-vector-operation.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-copy-initialization.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
    A clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion-cxx20.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/math-missing-parentheses.cpp
    M clang-tools-extra/unittests/clang-tidy/DeclRefExprUtilsTest.cpp
    M clang/CMakeLists.txt
    M clang/bindings/python/clang/cindex.py
    A clang/bindings/python/tests/cindex/test_enums.py
    M clang/cmake/caches/CrossWinToARMLinux.cmake
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M clang/cmake/caches/Release.cmake
    M clang/docs/APINotes.rst
    M clang/docs/CommandGuide/clang.rst
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/docs/SourceBasedCodeCoverage.rst
    M clang/docs/UsersManual.rst
    M clang/docs/analyzer/checkers.rst
    M clang/docs/tools/clang-formatted-files.txt
    M clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/ASTUnresolvedSet.h
    M clang/include/clang/AST/CommentCommands.td
    M clang/include/clang/AST/CommentParser.h
    M clang/include/clang/AST/DeclAccessPair.h
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/AST/PrettyPrinter.h
    M clang/include/clang/AST/TemplateBase.h
    M clang/include/clang/AST/TemplateName.h
    M clang/include/clang/AST/Type.h
    M clang/include/clang/AST/UnresolvedSet.h
    M clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/Builtins.td
    M clang/include/clang/Basic/BuiltinsAMDGPU.def
    M clang/include/clang/Basic/BuiltinsWebAssembly.def
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Basic/Cuda.h
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
    M clang/include/clang/Basic/DiagnosticOptions.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/Features.def
    M clang/include/clang/Basic/Sanitizers.def
    M clang/include/clang/Basic/SourceManager.h
    M clang/include/clang/Basic/arm_sve.td
    M clang/include/clang/Basic/arm_sve_sme_incl.td
    M clang/include/clang/Basic/riscv_vector.td
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Driver/SanitizerArgs.h
    M clang/include/clang/Driver/ToolChain.h
    M clang/include/clang/Format/Format.h
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/include/clang/Frontend/PrecompiledPreamble.h
    M clang/include/clang/Frontend/SerializedDiagnosticReader.h
    A clang/include/clang/InstallAPI/DirectoryScanner.h
    M clang/include/clang/InstallAPI/DylibVerifier.h
    M clang/include/clang/InstallAPI/HeaderFile.h
    A clang/include/clang/InstallAPI/Library.h
    M clang/include/clang/InstallAPI/MachO.h
    M clang/include/clang/Lex/HeaderSearch.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Sema/Initialization.h
    M clang/include/clang/Sema/SemaARM.h
    M clang/include/clang/Sema/SemaHLSL.h
    M clang/include/clang/Sema/SemaObjC.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ASTWriter.h
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
    M clang/include/clang/Testing/TestAST.h
    M clang/include/clang/Tooling/Syntax/Tokens.h
    M clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTDumper.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/ASTStructuralEquivalence.cpp
    M clang/lib/AST/CMakeLists.txt
    M clang/lib/AST/CommentParser.cpp
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/AST/DeclCXX.cpp
    M clang/lib/AST/Expr.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/lib/AST/Interp/Context.cpp
    M clang/lib/AST/Interp/Context.h
    M clang/lib/AST/Interp/Descriptor.cpp
    M clang/lib/AST/Interp/Descriptor.h
    M clang/lib/AST/Interp/Disasm.cpp
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/EvaluationResult.cpp
    M clang/lib/AST/Interp/Function.cpp
    M clang/lib/AST/Interp/Function.h
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/InterpFrame.cpp
    M clang/lib/AST/Interp/InterpStack.cpp
    M clang/lib/AST/Interp/InterpStack.h
    A clang/lib/AST/Interp/MemberPointer.cpp
    A clang/lib/AST/Interp/MemberPointer.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/lib/AST/Interp/Pointer.cpp
    M clang/lib/AST/Interp/Pointer.h
    M clang/lib/AST/Interp/PrimType.cpp
    M clang/lib/AST/Interp/PrimType.h
    M clang/lib/AST/Interp/Program.cpp
    M clang/lib/AST/Mangle.cpp
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/AST/ParentMap.cpp
    M clang/lib/AST/StmtPrinter.cpp
    M clang/lib/AST/TemplateBase.cpp
    M clang/lib/AST/TemplateName.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/Analysis/CFG.cpp
    M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
    M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
    M clang/lib/Basic/Cuda.cpp
    M clang/lib/Basic/Diagnostic.cpp
    M clang/lib/Basic/SourceManager.cpp
    M clang/lib/Basic/Targets.cpp
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/AArch64.h
    M clang/lib/Basic/Targets/LoongArch.h
    M clang/lib/Basic/Targets/NVPTX.cpp
    M clang/lib/Basic/Targets/OSTargets.h
    M clang/lib/Basic/Targets/SPIR.cpp
    M clang/lib/Basic/Targets/SPIR.h
    M clang/lib/CodeGen/CGBlocks.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGClass.cpp
    M clang/lib/CodeGen/CGCleanup.cpp
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDeclCXX.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGExprComplex.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/CodeGen/CGObjCGNU.cpp
    M clang/lib/CodeGen/CGObjCMac.cpp
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/lib/CodeGen/CGStmt.cpp
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/CodeGen/CGVTables.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/CodeGen/MCDCState.h
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/lib/Driver/ToolChains/Arch/ARM.cpp
    M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/TokenAnnotator.h
    M clang/lib/Format/UnwrappedLineFormatter.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Format/UnwrappedLineParser.h
    M clang/lib/Index/CommentToXML.cpp
    M clang/lib/Index/IndexBody.cpp
    M clang/lib/InstallAPI/CMakeLists.txt
    A clang/lib/InstallAPI/DirectoryScanner.cpp
    A clang/lib/InstallAPI/Library.cpp
    M clang/lib/InstallAPI/Visitor.cpp
    M clang/lib/Interpreter/Interpreter.cpp
    M clang/lib/Lex/HeaderSearch.cpp
    M clang/lib/Lex/Lexer.cpp
    M clang/lib/Lex/PPMacroExpansion.cpp
    M clang/lib/Lex/Preprocessor.cpp
    M clang/lib/Parse/ParseStmt.cpp
    M clang/lib/Sema/AnalysisBasedWarnings.cpp
    M clang/lib/Sema/Scope.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaAMDGPU.cpp
    M clang/lib/Sema/SemaARM.cpp
    M clang/lib/Sema/SemaAvailability.cpp
    M clang/lib/Sema/SemaCUDA.cpp
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
    R clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
    M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
    A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
    A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.h
    M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/lib/StaticAnalyzer/Core/MemRegion.cpp
    M clang/lib/Testing/TestAST.cpp
    M clang/lib/Tooling/Syntax/Tokens.cpp
    M clang/test/AST/HLSL/pch.hlsl
    M clang/test/AST/HLSL/pch_with_buf.hlsl
    M clang/test/AST/HLSL/vector-alias.hlsl
    M clang/test/AST/HLSL/vector-constructors.hlsl
    M clang/test/AST/Interp/arrays.cpp
    M clang/test/AST/Interp/builtin-align-cxx.cpp
    M clang/test/AST/Interp/c.c
    M clang/test/AST/Interp/complex.cpp
    M clang/test/AST/Interp/const-eval.c
    M clang/test/AST/Interp/cxx11.cpp
    M clang/test/AST/Interp/cxx20.cpp
    M clang/test/AST/Interp/cxx23.cpp
    A clang/test/AST/Interp/cxx26.cpp
    M clang/test/AST/Interp/cxx98.cpp
    M clang/test/AST/Interp/eval-order.cpp
    M clang/test/AST/Interp/lambda.cpp
    M clang/test/AST/Interp/literals.cpp
    A clang/test/AST/Interp/memberpointers.cpp
    M clang/test/AST/Interp/opencl.cl
    M clang/test/AST/Interp/records.cpp
    M clang/test/AST/Interp/references.cpp
    M clang/test/AST/Interp/vectors.cpp
    M clang/test/AST/ast-dump-ctad-alias.cpp
    M clang/test/AST/ast-dump-default-init-json.cpp
    M clang/test/AST/ast-dump-default-init.cpp
    M clang/test/AST/ast-dump-template-decls.cpp
    M clang/test/AST/ast-dump-using-template.cpp
    M clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
    M clang/test/Analysis/casts.c
    M clang/test/Analysis/cxx-uninitialized-object.cpp
    A clang/test/Analysis/fread.c
    M clang/test/Analysis/lifetime-extended-regions.cpp
    A clang/test/Analysis/pointer-sub.c
    M clang/test/Analysis/ptr-arith.c
    R clang/test/Analysis/sizeofpointer.c
    M clang/test/C/drs/dr1xx.c
    M clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp
    M clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p6-cxx11.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p2-0x.cpp
    M clang/test/CXX/drs/cwg16xx.cpp
    M clang/test/CXX/drs/cwg18xx.cpp
    M clang/test/CXX/drs/cwg2xx.cpp
    M clang/test/CXX/drs/cwg4xx.cpp
    M clang/test/CXX/special/class.temporary/p6.cpp
    M clang/test/CXX/temp/temp.decls/temp.friend/p1.cpp
    M clang/test/CXX/temp/temp.spec/no-body.cpp
    M clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vcpopv.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vcpopv.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vcpopv.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vcpopv.c
    M clang/test/CodeGen/X86/math-builtins.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qrshr.c
    M clang/test/CodeGen/aarch64-targetattr-arch.c
    M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/target.c
    M clang/test/CodeGen/assignment-tracking/assignment-tracking.cpp
    M clang/test/CodeGen/assignment-tracking/memcpy-fragment.cpp
    M clang/test/CodeGen/assignment-tracking/nested-scope.cpp
    M clang/test/CodeGen/attr-error.c
    M clang/test/CodeGen/attr-nodebug.c
    M clang/test/CodeGen/attr-warning.c
    M clang/test/CodeGen/builtins-wasm.c
    M clang/test/CodeGen/constrained-math-builtins.c
    M clang/test/CodeGen/debug-info-block-decl.c
    M clang/test/CodeGen/debug-info-block-expr.c
    M clang/test/CodeGen/debug-info-block-vars.c
    M clang/test/CodeGen/debug-info-matrix-types.c
    M clang/test/CodeGen/debug-info-packed-struct.c
    M clang/test/CodeGen/debug-info-vla.c
    M clang/test/CodeGen/debug-label-inline.c
    M clang/test/CodeGen/debug-label.c
    M clang/test/CodeGen/instrument-objc-method.m
    M clang/test/CodeGen/math-libcalls.c
    M clang/test/CodeGen/paren-list-agg-init.cpp
    A clang/test/CodeGen/sanitize-numerical-stability-attr.cpp
    M clang/test/CodeGen/target-data.c
    A clang/test/CodeGen/voidptr-vaarg.c
    A clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
    A clang/test/CodeGenCUDA/builtins-unsafe-atomics-spirv-amdgcn-gfx90a.cu
    M clang/test/CodeGenCUDA/cuda-builtin-vars.cu
    M clang/test/CodeGenCUDA/debug-info-address-class.cu
    M clang/test/CodeGenCUDA/long-double.cu
    M clang/test/CodeGenCUDA/managed-var.cu
    A clang/test/CodeGenCUDA/spirv-amdgcn-bf16.cu
    M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
    M clang/test/CodeGenCXX/aarch64-mangle-sve-vectors.cpp
    M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp
    M clang/test/CodeGenCXX/control-flow-in-stmt-expr.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-references.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
    M clang/test/CodeGenCXX/cxx11-initializer-array-new.cpp
    M clang/test/CodeGenCXX/debug-info-inheriting-constructor.cpp
    M clang/test/CodeGenCXX/debug-info-nrvo.cpp
    M clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
    M clang/test/CodeGenCXX/debug-info-range-for-var-names.cpp
    M clang/test/CodeGenCXX/debug-info-struct-align.cpp
    M clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
    M clang/test/CodeGenCXX/debug-info-structured-binding.cpp
    M clang/test/CodeGenCXX/debug-info.cpp
    A clang/test/CodeGenCXX/inline-then-fold-variadics.cpp
    M clang/test/CodeGenCXX/linetable-eh.cpp
    M clang/test/CodeGenCXX/modules-vtable.cppm
    M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
    M clang/test/CodeGenCXX/partial-destruction.cpp
    M clang/test/CodeGenCXX/pointers-to-data-members.cpp
    A clang/test/CodeGenCXX/pr70585.cppm
    A clang/test/CodeGenCXX/spirv-amdgcn-float16.cpp
    M clang/test/CodeGenCXX/template-param-objects-linkage.cpp
    M clang/test/CodeGenCXX/temporaries.cpp
    M clang/test/CodeGenCXX/trivial_abi_debuginfo.cpp
    M clang/test/CodeGenCXX/value-init.cpp
    A clang/test/CodeGenCXX/windows-instantiate-dllexport-template-specialization.cpp
    M clang/test/CodeGenCoroutines/coro-suspend-cleanups.cpp
    M clang/test/CodeGenHIP/hipspv-addr-spaces.cpp
    A clang/test/CodeGenHIP/spirv-amdgcn-ballot.cpp
    A clang/test/CodeGenHIP/spirv-amdgcn-dpp-const-fold.hip
    A clang/test/CodeGenHIP/spirv-amdgcn-half.hip
    M clang/test/CodeGenHLSL/convergence/for.hlsl
    M clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
    M clang/test/CodeGenObjC/arc-ternary-op.m
    M clang/test/CodeGenObjC/arc.m
    M clang/test/CodeGenObjC/debug-info-blocks.m
    M clang/test/CodeGenObjC/debug-info-nested-blocks.m
    M clang/test/CodeGenObjC/encode-test-3.m
    M clang/test/CodeGenObjC/objc-fixed-enum.m
    M clang/test/CodeGenObjCXX/arc-exceptions.mm
    M clang/test/CodeGenObjCXX/property-objects.mm
    M clang/test/CodeGenOpenCL/amdgcn-flat-scratch-name.cl
    M clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
    M clang/test/CodeGenOpenCL/amdgpu-features.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
    M clang/test/CodeGenOpenCL/builtins-f16.cl
    M clang/test/CodeGenOpenCL/inline-asm-amdgcn.cl
    M clang/test/CodeGenOpenCLCXX/constexpr.clcpp
    M clang/test/CodeGenSYCL/debug-info-kernel-variables.cpp
    M clang/test/Coverage/targets.c
    M clang/test/CoverageMapping/branch-constfolded.cpp
    M clang/test/CoverageMapping/logical.cpp
    M clang/test/CoverageMapping/mcdc-class.cpp
    M clang/test/CoverageMapping/mcdc-error-conditions.cpp
    M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
    M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
    M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
    M clang/test/CoverageMapping/mcdc-scratch-space.c
    M clang/test/CoverageMapping/mcdc-system-headers.cpp
    A clang/test/Driver/aarch64-fixed-register-global.c
    M clang/test/Driver/aarch64-mac-cpus.c
    M clang/test/Driver/aarch64-mcpu.c
    A clang/test/Driver/aarch64-oryon-1.c
    M clang/test/Driver/amdgpu-macros.cl
    M clang/test/Driver/amdgpu-mcpu.cl
    M clang/test/Driver/amdgpu-openmp-toolchain.c
    A clang/test/Driver/apple-os-triples.c
    R clang/test/Driver/appletvos-version-min.c
    M clang/test/Driver/arc.c
    M clang/test/Driver/arclite-link.c
    A clang/test/Driver/baremetal-ld.c
    M clang/test/Driver/cl-options.c
    M clang/test/Driver/darwin-objc-defaults.m
    M clang/test/Driver/darwin-stdlib-dont-pass-in-c.c
    M clang/test/Driver/darwin-stdlib.cpp
    M clang/test/Driver/darwin-version.c
    M clang/test/Driver/darwin-xarch.c
    M clang/test/Driver/debug-options.c
    M clang/test/Driver/defsym.s
    R clang/test/Driver/driverkit-version-min.c
    M clang/test/Driver/fsanitize.c
    M clang/test/Driver/gcc-param.c
    R clang/test/Driver/ios-version-min.c
    R clang/test/Driver/loongarch-default-features.c
    A clang/test/Driver/loongarch-features.c
    M clang/test/Driver/macos-apple-silicon-slice-link-libs-darwin-only.cpp
    M clang/test/Driver/riscv-arch.c
    M clang/test/Driver/sanitizer-ld.c
    M clang/test/Driver/spirv-toolchain.cl
    M clang/test/Driver/stack-protector.c
    M clang/test/Driver/warning-options.cpp
    R clang/test/Driver/watchos-version-min.c
    M clang/test/Index/TestClassForwardDecl.m
    M clang/test/Index/c-index-api-loadTU-test.m
    M clang/test/Index/c-index-getCursor-test.m
    M clang/test/Index/comment-to-html-xml-conversion.cpp
    M clang/test/InstallAPI/asm.test
    M clang/test/InstallAPI/basic.test
    M clang/test/InstallAPI/binary-attributes.test
    M clang/test/InstallAPI/cpp.test
    M clang/test/InstallAPI/diagnostics-dsym.test
    A clang/test/InstallAPI/directory-scanning-dylib.test
    A clang/test/InstallAPI/directory-scanning-frameworks.test
    M clang/test/InstallAPI/functions.test
    M clang/test/InstallAPI/variables.test
    M clang/test/Interpreter/inline-virtual.cpp
    A clang/test/Interpreter/pretty-print.c
    M clang/test/Lexer/cxx2c-raw-strings.cpp
    A clang/test/Lexer/has_feature_numerical_stability_sanitizer.cpp
    A clang/test/Misc/cc1as-defsym.s
    M clang/test/Misc/target-invalid-cpu-note.c
    M clang/test/Modules/Inputs/implicit-built-Werror-using-W/convert.h
    M clang/test/Modules/implicit-built-Werror-using-W.cpp
    A clang/test/Modules/safe_buffers_optout.cpp
    M clang/test/OpenMP/debug-info-complex-byval.cpp
    M clang/test/OpenMP/debug-info-openmp-array.cpp
    M clang/test/OpenMP/debug_private.c
    M clang/test/OpenMP/debug_task_shared.c
    M clang/test/OpenMP/debug_threadprivate_copyin.c
    M clang/test/OpenMP/distribute_firstprivate_codegen.cpp
    M clang/test/OpenMP/distribute_lastprivate_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
    M clang/test/OpenMP/distribute_private_codegen.cpp
    M clang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/distribute_simd_private_codegen.cpp
    A clang/test/OpenMP/error_unsupport_feature.c
    M clang/test/OpenMP/for_firstprivate_codegen.cpp
    M clang/test/OpenMP/for_lastprivate_codegen.cpp
    M clang/test/OpenMP/for_private_codegen.cpp
    M clang/test/OpenMP/for_reduction_codegen.cpp
    M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
    M clang/test/OpenMP/irbuilder_nested_parallel_for.c
    M clang/test/OpenMP/nested_loop_codegen.cpp
    M clang/test/OpenMP/parallel_codegen.cpp
    M clang/test/OpenMP/parallel_copyin_codegen.cpp
    M clang/test/OpenMP/parallel_firstprivate_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/parallel_private_codegen.cpp
    M clang/test/OpenMP/parallel_reduction_codegen.cpp
    M clang/test/OpenMP/sections_firstprivate_codegen.cpp
    M clang/test/OpenMP/sections_lastprivate_codegen.cpp
    M clang/test/OpenMP/sections_private_codegen.cpp
    M clang/test/OpenMP/sections_reduction_codegen.cpp
    M clang/test/OpenMP/simd_private_taskloop_codegen.cpp
    M clang/test/OpenMP/single_firstprivate_codegen.cpp
    M clang/test/OpenMP/single_private_codegen.cpp
    M clang/test/OpenMP/target_parallel_debug_codegen.cpp
    M clang/test/OpenMP/target_parallel_for_debug_codegen.cpp
    M clang/test/OpenMP/target_parallel_generic_loop_codegen-3.cpp
    M clang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_private_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
    M clang/test/OpenMP/target_teams_generic_loop_private_codegen.cpp
    M clang/test/OpenMP/taskgroup_task_reduction_codegen.cpp
    M clang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
    M clang/test/OpenMP/teams_distribute_private_codegen.cpp
    M clang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
    M clang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
    M clang/test/OpenMP/teams_firstprivate_codegen.cpp
    M clang/test/OpenMP/teams_generic_loop_private_codegen.cpp
    M clang/test/OpenMP/teams_private_codegen.cpp
    M clang/test/OpenMP/threadprivate_codegen.cpp
    M clang/test/PCH/cxx_paren_init.cpp
    A clang/test/PCH/unsafe-buffer-usage-pragma-pch-complex.cpp
    A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files-2.cpp
    A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files.cpp
    M clang/test/Preprocessor/aarch64-target-features.c
    M clang/test/Preprocessor/hash_builtin.cpp
    M clang/test/Preprocessor/init-x86.c
    M clang/test/Preprocessor/init.c
    M clang/test/Preprocessor/pragma_diagnostic.c
    M clang/test/Preprocessor/predefined-macros-no-warnings.c
    M clang/test/Preprocessor/predefined-macros.c
    M clang/test/Preprocessor/riscv-target-features.c
    M clang/test/Profile/c-mcdc-class.cpp
    M clang/test/Profile/c-mcdc-logicalop-ternary.c
    M clang/test/Profile/c-mcdc-nested-ternary.c
    M clang/test/Profile/c-mcdc-not.c
    M clang/test/Profile/c-mcdc.c
    A clang/test/Sema/aarch64-fixed-global-register.c
    M clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
    M clang/test/Sema/aarch64-sme-intrinsics/acle_sme_target.c
    R clang/test/Sema/aarch64-sme2-sve2p1-diagnostics.c
    A clang/test/Sema/aarch64-streaming-sme-or-nonstreaming-sve-builtins.c
    M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
    M clang/test/Sema/arm-sve-target.cpp
    A clang/test/Sema/attr-availability-macosx.cpp
    A clang/test/Sema/builtin-spirv-amdgcn-atomic-inc-dec-failure.cpp
    M clang/test/Sema/constexpr-void-cast.c
    A clang/test/Sema/debug-93066.cpp
    M clang/test/Sema/exprs.c
    M clang/test/Sema/implicit-decl.c
    A clang/test/Sema/inline-asm-validate-spirv-amdgcn.cl
    M clang/test/Sema/va_arg_x86_32.c
    M clang/test/SemaCUDA/allow-int128.cu
    M clang/test/SemaCUDA/amdgpu-f128.cu
    M clang/test/SemaCUDA/float16.cu
    M clang/test/SemaCUDA/fp16-arg-return.cu
    A clang/test/SemaCUDA/function-redclare.cu
    A clang/test/SemaCUDA/spirv-amdgcn-atomic-ops.cu
    M clang/test/SemaCXX/PR8755.cpp
    M clang/test/SemaCXX/attr-weak.cpp
    M clang/test/SemaCXX/complex-folding.cpp
    M clang/test/SemaCXX/constant-expression-cxx14.cpp
    M clang/test/SemaCXX/constexpr-default-arg.cpp
    A clang/test/SemaCXX/constexpr-return-non-void-cxx2b.cpp
    M clang/test/SemaCXX/cxx0x-initializer-references.cpp
    M clang/test/SemaCXX/cxx11-default-member-initializers.cpp
    M clang/test/SemaCXX/eval-crashes.cpp
    M clang/test/SemaCXX/for-range-examples.cpp
    M clang/test/SemaCXX/integer-overflow.cpp
    M clang/test/SemaCXX/ms-const-member-expr.cpp
    M clang/test/SemaCXX/nullptr_in_arithmetic_ops.cpp
    M clang/test/SemaCXX/using-decl-templates.cpp
    A clang/test/SemaCXX/warn-unsafe-buffer-usage-pragma-pch.cpp
    M clang/test/SemaHLSL/BuiltIns/RWBuffers.hlsl
    M clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/dot-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/mad-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/vector-errors.hlsl
    M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzleErrors.hlsl
    M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzles.hlsl
    M clang/test/SemaHLSL/VectorOverloadResolution.hlsl
    M clang/test/SemaHLSL/standard_conversion_sequences.hlsl
    M clang/test/SemaObjCXX/sel-address.mm
    M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx908-param.cl
    M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx90a-param.cl
    M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx940-param.cl
    M clang/test/SemaOpenCL/builtins-amdgcn-gfx940-err.cl
    M clang/test/SemaTemplate/cwg2398.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp
    M clang/test/SemaTemplate/instantiate-local-class.cpp
    M clang/test/SemaTemplate/template-id-expr.cpp
    M clang/tools/clang-format/ClangFormat.cpp
    M clang/tools/clang-installapi/Options.cpp
    M clang/tools/clang-installapi/Options.h
    M clang/tools/clang-repl/CMakeLists.txt
    M clang/tools/driver/cc1as_main.cpp
    M clang/tools/scan-build/libexec/ccc-analyzer
    M clang/unittests/AST/CMakeLists.txt
    M clang/unittests/AST/CommentParser.cpp
    M clang/unittests/AST/Interp/Descriptor.cpp
    M clang/unittests/AST/Interp/toAPValue.cpp
    A clang/unittests/AST/ProfilingTest.cpp
    M clang/unittests/AST/StructuralEquivalenceTest.cpp
    A clang/unittests/Analysis/FlowSensitive/ASTOpsTest.cpp
    M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
    M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
    M clang/unittests/Format/ConfigParseTest.cpp
    M clang/unittests/Format/FormatTest.cpp
    M clang/unittests/Format/FormatTestComments.cpp
    M clang/unittests/Format/FormatTestVerilog.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp
    M clang/unittests/Interpreter/InterpreterTest.cpp
    M clang/unittests/Lex/HeaderSearchTest.cpp
    M clang/unittests/Tooling/Syntax/TokensTest.cpp
    M clang/utils/TableGen/SveEmitter.cpp
    M clang/utils/perf-training/CMakeLists.txt
    M clang/www/analyzer/alpha_checks.html
    M clang/www/cxx_dr_status.html
    M compiler-rt/lib/builtins/CMakeLists.txt
    M compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
    M compiler-rt/lib/builtins/atomic.c
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/android.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/freebsd.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/fuchsia.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/mrs.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/sysauxv.inc
    M compiler-rt/lib/builtins/cpu_model/aarch64/hwcap.inc
    M compiler-rt/lib/dfsan/dfsan_custom.cpp
    M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
    M compiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
    M compiler-rt/lib/gwp_asan/tests/harness.cpp
    M compiler-rt/lib/gwp_asan/tests/harness.h
    M compiler-rt/lib/gwp_asan/tests/late_init.cpp
    M compiler-rt/lib/hwasan/hwasan_linux.cpp
    M compiler-rt/lib/memprof/CMakeLists.txt
    M compiler-rt/lib/profile/InstrProfilingFile.c
    M compiler-rt/lib/sanitizer_common/sanitizer_bitvector.h
    M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
    M compiler-rt/lib/scudo/standalone/primary64.h
    M compiler-rt/lib/xray/tests/unit/function_call_trie_test.cpp
    M compiler-rt/lib/xray/tests/unit/profile_collector_test.cpp
    M compiler-rt/lib/xray/tests/unit/segmented_array_test.cpp
    M compiler-rt/lib/xray/tests/unit/test_helpers.cpp
    M compiler-rt/lib/xray/xray_fdr_logging.cpp
    M compiler-rt/lib/xray/xray_function_call_trie.h
    M compiler-rt/lib/xray/xray_profile_collector.cpp
    M compiler-rt/lib/xray/xray_profiling.cpp
    M compiler-rt/lib/xray/xray_segmented_array.h
    M compiler-rt/test/dfsan/custom.cpp
    M compiler-rt/test/dfsan/release_shadow_space.c
    A compiler-rt/test/dfsan/sscanf.c
    A compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
    M compiler-rt/test/lit.common.cfg.py
    A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-nonlazy-class.S
    A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol-ref.S
    A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol.S
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-nonlazy-class.S
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol-ref.S
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol.S
    M compiler-rt/test/orc/TestCases/Linux/ppc64/trivial-tls-pwr10.test
    M compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
    M compiler-rt/test/tsan/custom_mutex4.cpp
    M compiler-rt/test/tsan/custom_mutex5.cpp
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
    M flang/cmake/modules/AddFlangOffloadRuntime.cmake
    M flang/docs/Directives.md
    M flang/docs/Extensions.md
    M flang/examples/FlangOmpReport/yaml_summarizer.py
    M flang/include/flang/Evaluate/check-expression.h
    M flang/include/flang/Lower/ConvertConstant.h
    M flang/include/flang/Lower/PFTBuilder.h
    M flang/include/flang/Lower/Support/Utils.h
    M flang/include/flang/Optimizer/Builder/BoxValue.h
    M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    M flang/include/flang/Optimizer/Builder/Runtime/Inquiry.h
    M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
    M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
    M flang/include/flang/Optimizer/Builder/Runtime/Reduction.h
    A flang/include/flang/Optimizer/CodeGen/DescriptorModel.h
    M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
    M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
    M flang/include/flang/Optimizer/Dialect/FIRAttr.td
    M flang/include/flang/Optimizer/Dialect/FIROps.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/include/flang/Parser/provenance.h
    M flang/include/flang/Parser/token-sequence.h
    M flang/include/flang/Runtime/inquiry.h
    M flang/include/flang/Runtime/numeric.h
    M flang/include/flang/Runtime/reduce.h
    M flang/include/flang/Semantics/symbol.h
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Evaluate/check-expression.cpp
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Frontend/CMakeLists.txt
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/CallInterface.cpp
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Lower/ConvertConstant.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/Clauses.cpp
    M flang/lib/Lower/OpenMP/Clauses.h
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
    M flang/lib/Lower/OpenMP/DataSharingProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
    M flang/lib/Lower/OpenMP/Utils.cpp
    M flang/lib/Lower/OpenMP/Utils.h
    M flang/lib/Lower/PFTBuilder.cpp
    M flang/lib/Optimizer/Builder/HLFIRTools.cpp
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Inquiry.cpp
    M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
    M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
    M flang/lib/Optimizer/CodeGen/CMakeLists.txt
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    R flang/lib/Optimizer/CodeGen/DescriptorModel.h
    M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
    M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
    M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
    M flang/lib/Optimizer/Dialect/FIRAttr.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
    M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
    M flang/lib/Optimizer/Transforms/CMakeLists.txt
    M flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
    M flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp
    M flang/lib/Optimizer/Transforms/FunctionAttr.cpp
    M flang/lib/Optimizer/Transforms/StackArrays.cpp
    A flang/lib/Optimizer/Transforms/StackReclaim.cpp
    M flang/lib/Optimizer/Transforms/VScaleAttr.cpp
    M flang/lib/Parser/Fortran-parsers.cpp
    M flang/lib/Parser/expr-parsers.cpp
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/lib/Parser/program-parsers.cpp
    M flang/lib/Parser/provenance.cpp
    M flang/lib/Parser/token-parsers.h
    M flang/lib/Parser/token-sequence.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/CMakeLists.txt
    A flang/lib/Semantics/canonicalize-directives.cpp
    A flang/lib/Semantics/canonicalize-directives.h
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/scope.cpp
    M flang/lib/Semantics/semantics.cpp
    M flang/lib/Semantics/symbol.cpp
    M flang/runtime/complex-reduction.c
    M flang/runtime/complex-reduction.h
    M flang/runtime/inquiry.cpp
    M flang/runtime/numeric-templates.h
    M flang/runtime/numeric.cpp
    M flang/runtime/reduce.cpp
    M flang/test/Analysis/AliasAnalysis/alias-analysis-9.fir
    M flang/test/Driver/bbc-mlir-pass-pipeline.f90
    M flang/test/Driver/mlir-debug-pass-pipeline.f90
    M flang/test/Driver/mlir-pass-pipeline.f90
    M flang/test/Driver/mllvm_vs_mmlir.f90
    M flang/test/Fir/alloc.fir
    M flang/test/Fir/basic-program.fir
    M flang/test/Fir/boxproc.fir
    M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
    M flang/test/Fir/convert-to-llvm.fir
    A flang/test/Fir/loop03.fir
    M flang/test/Fir/rebox_assumed_rank_codegen.fir
    A flang/test/Fir/vector-always-cfg.fir
    A flang/test/Fir/vector-always.fir
    M flang/test/Integration/OpenMP/copyprivate.f90
    A flang/test/Integration/debug-assumed-shape-array.f90
    A flang/test/Integration/vector-always.f90
    M flang/test/Lower/CUDA/cuda-data-attribute.cuf
    A flang/test/Lower/CUDA/cuda-kernel-do-reduction.cuf
    A flang/test/Lower/HLFIR/assumed-rank-calls.f90
    A flang/test/Lower/HLFIR/assumed-rank-inquiries-2.f90
    A flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90
    M flang/test/Lower/HLFIR/assumed-rank-inquiries.f90
    M flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
    M flang/test/Lower/HLFIR/elemental-result-length.f90
    M flang/test/Lower/HLFIR/select-rank.f90
    R flang/test/Lower/Intrinsics/Todo/reduce.f90
    A flang/test/Lower/Intrinsics/erfc_scaled.f90
    A flang/test/Lower/Intrinsics/reduce.f90
    M flang/test/Lower/Intrinsics/ubound01.f90
    A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-allocatable.f90
    A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-multiple-variables.f90
    A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-simple.f90
    M flang/test/Lower/OpenMP/Todo/reduction-derived-type-field.f90
    M flang/test/Lower/OpenMP/critical.f90
    M flang/test/Lower/OpenMP/declare-target-func-and-subr.f90
    M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap-enter.f90
    M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap.f90
    M flang/test/Lower/OpenMP/declare-target-implicit-tarop-cap.f90
    A flang/test/Lower/OpenMP/distribute.f90
    M flang/test/Lower/OpenMP/function-filtering-2.f90
    M flang/test/Lower/OpenMP/if-clause.f90
    R flang/test/Lower/OpenMP/loop-combined.f90
    A flang/test/Lower/OpenMP/loop-compound.f90
    M flang/test/Lower/OpenMP/map-component-ref.f90
    A flang/test/Lower/OpenMP/parallel-reduction-pointer-array.f90
    M flang/test/Lower/OpenMP/simd.f90
    A flang/test/Lower/OpenMP/simd_aarch64.f90
    A flang/test/Lower/OpenMP/simd_x86_64.f90
    A flang/test/Lower/OpenMP/wsloop-reduction-pointer.f90
    M flang/test/Lower/PowerPC/ppc-mma-assemble-disassemble.f90
    M flang/test/Lower/PowerPC/ppc-mma-outer-product-1.f90
    M flang/test/Lower/PowerPC/ppc-mma-outer-product-2.f90
    M flang/test/Lower/PowerPC/ppc-pwr10-vec-intrinsics.f90
    M flang/test/Lower/PowerPC/ppc-vector-types.f90
    A flang/test/Lower/func-attrs.f90
    M flang/test/Lower/host-associated.f90
    A flang/test/Lower/loops3.f90
    A flang/test/Lower/pre-fir-tree09.f90
    A flang/test/Lower/vector-always.f90
    M flang/test/Parser/compiler-directives.f90
    A flang/test/Parser/recovery01.f90
    A flang/test/Parser/recovery02.f90
    M flang/test/Preprocessing/directive-contin-with-pp.F90
    A flang/test/Preprocessing/ff-args.h
    A flang/test/Preprocessing/ff-include-args.F
    M flang/test/Semantics/OpenMP/reduction09.f90
    A flang/test/Semantics/OpenMP/reduction14.f90
    M flang/test/Semantics/bind-c15.f90
    M flang/test/Semantics/bind-c16.f90
    M flang/test/Semantics/call10.f90
    A flang/test/Semantics/cuf16.cuf
    M flang/test/Semantics/declarations02.f90
    M flang/test/Semantics/elemental01.f90
    A flang/test/Semantics/loop-directives.f90
    M flang/test/Semantics/null01.f90
    M flang/test/Transforms/debug-90683.fir
    A flang/test/Transforms/debug-assumed-shape-array.fir
    M flang/test/Transforms/debug-complex-1.fir
    M flang/test/Transforms/debug-fixed-array-type.fir
    M flang/test/Transforms/debug-line-table-existing.fir
    M flang/test/Transforms/debug-line-table-inc-file.fir
    M flang/test/Transforms/debug-line-table-inc-same-file.fir
    M flang/test/Transforms/debug-line-table.fir
    M flang/test/Transforms/debug-local-var-2.f90
    M flang/test/Transforms/debug-module-1.fir
    A flang/test/Transforms/stack-reclaime.fir
    M flang/unittests/Runtime/Inquiry.cpp
    M flang/unittests/Runtime/Numeric.cpp
    M flang/unittests/Runtime/Reduction.cpp
    M libc/cmake/modules/LLVMLibCObjectRules.cmake
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt
    M libc/config/config.json
    M libc/config/gpu/entrypoints.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/api.td
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/config/windows/entrypoints.txt
    M libc/docs/c23.rst
    M libc/docs/configure.rst
    M libc/docs/math/index.rst
    M libc/hdr/types/CMakeLists.txt
    A libc/hdr/types/atexithandler_t.h
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-macros/float16-macros.h
    M libc/include/llvm-libc-macros/limits-macros.h
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/pthread_rwlock_t.h
    M libc/include/pthread.h.def
    M libc/spec/posix.td
    M libc/spec/spec.td
    M libc/spec/stdc.td
    M libc/src/__support/CPP/bit.h
    M libc/src/__support/FPUtil/BasicOperations.h
    M libc/src/__support/FPUtil/FMA.h
    M libc/src/__support/FPUtil/FPBits.h
    M libc/src/__support/FPUtil/NormalFloat.h
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/FMA.h
    M libc/src/__support/FPUtil/generic/FMod.h
    M libc/src/__support/FPUtil/generic/sqrt.h
    M libc/src/__support/FPUtil/multiply_add.h
    M libc/src/__support/FPUtil/x86_64/FEnvImpl.h
    M libc/src/__support/File/linux/file.cpp
    M libc/src/__support/File/linux/file.h
    A libc/src/__support/OSUtil/fcntl.h
    M libc/src/__support/OSUtil/linux/CMakeLists.txt
    A libc/src/__support/OSUtil/linux/fcntl.cpp
    M libc/src/__support/big_int.h
    M libc/src/__support/blockstore.h
    M libc/src/__support/fixedvector.h
    M libc/src/__support/macros/attributes.h
    M libc/src/__support/threads/linux/CMakeLists.txt
    A libc/src/__support/threads/linux/rwlock.h
    M libc/src/fcntl/linux/CMakeLists.txt
    M libc/src/fcntl/linux/fcntl.cpp
    M libc/src/math/CMakeLists.txt
    A libc/src/math/f16fmaf.h
    A libc/src/math/f16sqrtf.h
    A libc/src/math/fmaximum_mag_numf16.h
    A libc/src/math/fmaximum_magf16.h
    A libc/src/math/fmaximum_numf16.h
    A libc/src/math/fmaximumf16.h
    A libc/src/math/fminimum_mag_numf16.h
    A libc/src/math/fminimum_magf16.h
    A libc/src/math/fminimum_numf16.h
    A libc/src/math/fminimumf16.h
    A libc/src/math/fmodf16.h
    A libc/src/math/fmul.h
    A libc/src/math/frexpf16.h
    M libc/src/math/generic/CMakeLists.txt
    M libc/src/math/generic/acosf.cpp
    M libc/src/math/generic/acoshf.cpp
    M libc/src/math/generic/asinf.cpp
    M libc/src/math/generic/asinhf.cpp
    M libc/src/math/generic/expm1f.cpp
    A libc/src/math/generic/f16fmaf.cpp
    A libc/src/math/generic/f16sqrtf.cpp
    M libc/src/math/generic/fma.cpp
    M libc/src/math/generic/fmaf.cpp
    A libc/src/math/generic/fmaximum_mag_numf16.cpp
    A libc/src/math/generic/fmaximum_magf16.cpp
    A libc/src/math/generic/fmaximum_numf16.cpp
    A libc/src/math/generic/fmaximumf16.cpp
    A libc/src/math/generic/fminimum_mag_numf16.cpp
    A libc/src/math/generic/fminimum_magf16.cpp
    A libc/src/math/generic/fminimum_numf16.cpp
    A libc/src/math/generic/fminimumf16.cpp
    A libc/src/math/generic/fmodf16.cpp
    A libc/src/math/generic/fmul.cpp
    A libc/src/math/generic/frexpf16.cpp
    M libc/src/math/generic/hypotf.cpp
    A libc/src/math/generic/ilogbf16.cpp
    A libc/src/math/generic/llogbf16.cpp
    A libc/src/math/generic/logbf16.cpp
    A libc/src/math/generic/modff16.cpp
    A libc/src/math/generic/nanf16.cpp
    M libc/src/math/generic/powf.cpp
    M libc/src/math/generic/range_reduction_fma.h
    A libc/src/math/generic/remainderf16.cpp
    A libc/src/math/generic/remquof128.cpp
    A libc/src/math/generic/remquof16.cpp
    M libc/src/math/generic/sqrt.cpp
    M libc/src/math/generic/sqrtf.cpp
    M libc/src/math/generic/sqrtf128.cpp
    M libc/src/math/generic/sqrtl.cpp
    A libc/src/math/generic/totalorderf16.cpp
    A libc/src/math/generic/totalordermagf16.cpp
    A libc/src/math/ilogbf16.h
    A libc/src/math/llogbf16.h
    A libc/src/math/logbf16.h
    A libc/src/math/modff16.h
    A libc/src/math/nanf16.h
    A libc/src/math/remainderf16.h
    A libc/src/math/remquof128.h
    A libc/src/math/remquof16.h
    A libc/src/math/totalorderf16.h
    A libc/src/math/totalordermagf16.h
    M libc/src/pthread/CMakeLists.txt
    A libc/src/pthread/pthread_rwlock_destroy.cpp
    A libc/src/pthread/pthread_rwlock_destroy.h
    A libc/src/pthread/pthread_rwlock_init.cpp
    A libc/src/pthread/pthread_rwlock_init.h
    A libc/src/pthread/pthread_rwlock_rdlock.cpp
    A libc/src/pthread/pthread_rwlock_rdlock.h
    A libc/src/pthread/pthread_rwlock_timedrdlock.cpp
    A libc/src/pthread/pthread_rwlock_timedrdlock.h
    A libc/src/pthread/pthread_rwlock_timedwrlock.cpp
    A libc/src/pthread/pthread_rwlock_timedwrlock.h
    A libc/src/pthread/pthread_rwlock_tryrdlock.cpp
    A libc/src/pthread/pthread_rwlock_tryrdlock.h
    A libc/src/pthread/pthread_rwlock_trywrlock.cpp
    A libc/src/pthread/pthread_rwlock_trywrlock.h
    A libc/src/pthread/pthread_rwlock_unlock.cpp
    A libc/src/pthread/pthread_rwlock_unlock.h
    A libc/src/pthread/pthread_rwlock_wrlock.cpp
    A libc/src/pthread/pthread_rwlock_wrlock.h
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/baremetal/CMakeLists.txt
    A libc/src/stdio/baremetal/printf.cpp
    A libc/src/stdio/baremetal/putchar.cpp
    A libc/src/stdio/baremetal/vprintf.cpp
    A libc/src/stdio/fdopen.h
    M libc/src/stdio/generic/CMakeLists.txt
    A libc/src/stdio/generic/printf.cpp
    A libc/src/stdio/generic/vprintf.cpp
    M libc/src/stdio/linux/CMakeLists.txt
    A libc/src/stdio/linux/fdopen.cpp
    R libc/src/stdio/printf.cpp
    M libc/src/stdio/printf_core/float_hex_converter.h
    M libc/src/stdio/putchar.h
    R libc/src/stdio/vprintf.cpp
    M libc/src/stdlib/CMakeLists.txt
    A libc/src/stdlib/at_quick_exit.cpp
    A libc/src/stdlib/at_quick_exit.h
    M libc/src/stdlib/atexit.cpp
    M libc/src/stdlib/atexit.h
    A libc/src/stdlib/block.h
    A libc/src/stdlib/exit_handler.cpp
    A libc/src/stdlib/exit_handler.h
    M libc/src/stdlib/free.h
    A libc/src/stdlib/freelist.h
    A libc/src/stdlib/freelist_heap.h
    A libc/src/stdlib/freelist_malloc.cpp
    M libc/src/stdlib/quick_exit.cpp
    A libc/src/stdlib/realloc.h
    M libc/test/IntegrationTest/CMakeLists.txt
    M libc/test/IntegrationTest/test.cpp
    M libc/test/UnitTest/CMakeLists.txt
    M libc/test/UnitTest/FPMatcher.h
    M libc/test/UnitTest/HermeticTestUtils.cpp
    M libc/test/integration/src/pthread/CMakeLists.txt
    A libc/test/integration/src/pthread/pthread_rwlock_test.cpp
    M libc/test/src/__support/CMakeLists.txt
    M libc/test/src/__support/FPUtil/CMakeLists.txt
    M libc/test/src/__support/FPUtil/dyadic_float_test.cpp
    M libc/test/src/__support/big_int_test.cpp
    M libc/test/src/__support/fixedvector_test.cpp
    M libc/test/src/__support/str_to_float_comparison_test.cpp
    M libc/test/src/fcntl/fcntl_test.cpp
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/CeilTest.h
    M libc/test/src/math/FloorTest.h
    M libc/test/src/math/FmaTest.h
    M libc/test/src/math/RIntTest.h
    M libc/test/src/math/RoundEvenTest.h
    M libc/test/src/math/RoundTest.h
    M libc/test/src/math/RoundToIntegerTest.h
    M libc/test/src/math/TruncTest.h
    A libc/test/src/math/ceilf16_test.cpp
    M libc/test/src/math/exhaustive/CMakeLists.txt
    M libc/test/src/math/exhaustive/exhaustive_test.h
    A libc/test/src/math/exhaustive/f16sqrtf_test.cpp
    A libc/test/src/math/f16fmaf_test.cpp
    A libc/test/src/math/floorf16_test.cpp
    M libc/test/src/math/fma_test.cpp
    M libc/test/src/math/fmaf_test.cpp
    A libc/test/src/math/llrintf16_test.cpp
    A libc/test/src/math/llroundf16_test.cpp
    A libc/test/src/math/lrintf16_test.cpp
    A libc/test/src/math/lroundf16_test.cpp
    M libc/test/src/math/performance_testing/BinaryOpSingleOutputPerf.h
    M libc/test/src/math/performance_testing/CMakeLists.txt
    A libc/test/src/math/performance_testing/fmodf16_perf.cpp
    A libc/test/src/math/rintf16_test.cpp
    A libc/test/src/math/roundevenf16_test.cpp
    A libc/test/src/math/roundf16_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    M libc/test/src/math/smoke/FMaxTest.h
    M libc/test/src/math/smoke/FMaximumMagNumTest.h
    M libc/test/src/math/smoke/FMaximumMagTest.h
    M libc/test/src/math/smoke/FMaximumNumTest.h
    M libc/test/src/math/smoke/FMaximumTest.h
    M libc/test/src/math/smoke/FMinTest.h
    M libc/test/src/math/smoke/FMinimumMagNumTest.h
    M libc/test/src/math/smoke/FMinimumMagTest.h
    M libc/test/src/math/smoke/FMinimumNumTest.h
    M libc/test/src/math/smoke/FMinimumTest.h
    M libc/test/src/math/smoke/FModTest.h
    A libc/test/src/math/smoke/FMulTest.h
    M libc/test/src/math/smoke/FmaTest.h
    M libc/test/src/math/smoke/FrexpTest.h
    M libc/test/src/math/smoke/ILogbTest.h
    M libc/test/src/math/smoke/LogbTest.h
    M libc/test/src/math/smoke/ModfTest.h
    M libc/test/src/math/smoke/RemQuoTest.h
    M libc/test/src/math/smoke/SqrtTest.h
    A libc/test/src/math/smoke/TotalOrderMagTest.h
    A libc/test/src/math/smoke/TotalOrderTest.h
    A libc/test/src/math/smoke/f16fmaf_test.cpp
    A libc/test/src/math/smoke/f16sqrtf_test.cpp
    M libc/test/src/math/smoke/fma_test.cpp
    M libc/test/src/math/smoke/fmaf_test.cpp
    A libc/test/src/math/smoke/fmaximum_mag_numf16_test.cpp
    A libc/test/src/math/smoke/fmaximum_magf16_test.cpp
    A libc/test/src/math/smoke/fmaximum_numf16_test.cpp
    A libc/test/src/math/smoke/fmaximumf16_test.cpp
    A libc/test/src/math/smoke/fminimum_mag_numf16_test.cpp
    A libc/test/src/math/smoke/fminimum_magf16_test.cpp
    A libc/test/src/math/smoke/fminimum_numf16_test.cpp
    A libc/test/src/math/smoke/fminimumf16_test.cpp
    A libc/test/src/math/smoke/fmodf16_test.cpp
    A libc/test/src/math/smoke/fmul_test.cpp
    A libc/test/src/math/smoke/frexpf16_test.cpp
    A libc/test/src/math/smoke/ilogbf16_test.cpp
    A libc/test/src/math/smoke/llogbf16_test.cpp
    A libc/test/src/math/smoke/logbf16_test.cpp
    A libc/test/src/math/smoke/modff16_test.cpp
    A libc/test/src/math/smoke/nanf16_test.cpp
    A libc/test/src/math/smoke/remquof128_test.cpp
    A libc/test/src/math/smoke/remquof16_test.cpp
    A libc/test/src/math/smoke/totalorderf16_test.cpp
    A libc/test/src/math/smoke/totalordermagf16_test.cpp
    A libc/test/src/math/truncf16_test.cpp
    M libc/test/src/stdfix/ISqrtTest.h
    M libc/test/src/stdfix/SqrtTest.h
    M libc/test/src/stdio/CMakeLists.txt
    A libc/test/src/stdio/fdopen_test.cpp
    M libc/test/src/stdlib/CMakeLists.txt
    A libc/test/src/stdlib/at_quick_exit_test.cpp
    A libc/test/src/stdlib/block_test.cpp
    A libc/test/src/stdlib/freelist_heap_test.cpp
    A libc/test/src/stdlib/freelist_malloc_test.cpp
    A libc/test/src/stdlib/freelist_test.cpp
    M libc/utils/MPFRWrapper/CMakeLists.txt
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.h
    M libclc/CMakeLists.txt
    M libcxx/.clang-tidy
    M libcxx/benchmarks/algorithms/pstl.stable_sort.bench.cpp
    M libcxx/cmake/caches/Generic-msan.cmake
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/Hardening.rst
    M libcxx/docs/ReleaseNotes/18.rst
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/docs/Status/Cxx20.rst
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/docs/Status/Cxx23Papers.csv
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/docs/TestingLibcxx.rst
    M libcxx/docs/UsingLibcxx.rst
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__algorithm/pstl.h
    R libcxx/include/__algorithm/pstl_frontend_dispatch.h
    M libcxx/include/__algorithm/simd_utils.h
    M libcxx/include/__atomic/atomic_sync.h
    A libcxx/include/__chrono/exception.h
    M libcxx/include/__chrono/time_zone.h
    A libcxx/include/__chrono/zoned_time.h
    M libcxx/include/__configuration/abi.h
    M libcxx/include/__format/escaped_output_table.h
    M libcxx/include/__format/width_estimation_table.h
    M libcxx/include/__functional/bind.h
    M libcxx/include/__mdspan/extents.h
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/include/__numeric/pstl.h
    A libcxx/include/__pstl/backend.h
    A libcxx/include/__pstl/backend_fwd.h
    A libcxx/include/__pstl/backends/default.h
    M libcxx/include/__pstl/backends/libdispatch.h
    M libcxx/include/__pstl/backends/serial.h
    M libcxx/include/__pstl/backends/std_thread.h
    R libcxx/include/__pstl/configuration.h
    R libcxx/include/__pstl/configuration_fwd.h
    M libcxx/include/__pstl/cpu_algos/any_of.h
    M libcxx/include/__pstl/cpu_algos/fill.h
    M libcxx/include/__pstl/cpu_algos/find_if.h
    M libcxx/include/__pstl/cpu_algos/for_each.h
    M libcxx/include/__pstl/cpu_algos/merge.h
    M libcxx/include/__pstl/cpu_algos/stable_sort.h
    M libcxx/include/__pstl/cpu_algos/transform.h
    M libcxx/include/__pstl/cpu_algos/transform_reduce.h
    A libcxx/include/__pstl/dispatch.h
    A libcxx/include/__pstl/handle_exception.h
    M libcxx/include/__type_traits/promote.h
    M libcxx/include/barrier
    M libcxx/include/chrono
    M libcxx/include/deque
    M libcxx/include/memory
    M libcxx/include/module.modulemap
    M libcxx/include/regex
    M libcxx/include/string
    M libcxx/include/version
    M libcxx/modules/std/chrono.inc
    M libcxx/modules/std/memory.inc
    M libcxx/src/CMakeLists.txt
    M libcxx/src/atomic.cpp
    M libcxx/src/barrier.cpp
    A libcxx/src/chrono_exception.cpp
    M libcxx/src/filesystem/operations.cpp
    M libcxx/src/time_zone.cpp
    M libcxx/test/libcxx/algorithms/pstl.iterator-requirements.verify.cpp
    R libcxx/test/libcxx/algorithms/pstl.robust_against_customization_points_not_working.pass.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_strong.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_strong_explicit.depr_in_cxx20.verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_weak.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_weak_explicit.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_exchange.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_exchange_explicit.verify.depr_in_cxx20..cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_is_lock_free.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_load.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_load_explicit.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_store.depr_in_cxx20..verify.cpp
    R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_store_explicit.depr_in_cxx20..verify.cpp
    M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.exception/time.zone.exception.ambig/assert.ctor.pass.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.exception/time.zone.exception.nonexist/assert.ctor.pass.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.timezone/choose.pass.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_local.pass.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys.pass.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys_choose.pass.cpp
    M libcxx/test/libcxx/transitive_includes/cxx03.csv
    M libcxx/test/libcxx/transitive_includes/cxx11.csv
    M libcxx/test/libcxx/transitive_includes/cxx14.csv
    M libcxx/test/libcxx/transitive_includes/cxx17.csv
    M libcxx/test/libcxx/transitive_includes/cxx20.csv
    M libcxx/test/libcxx/transitive_includes/cxx23.csv
    M libcxx/test/libcxx/transitive_includes/cxx26.csv
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp
    M libcxx/test/std/experimental/simd/simd.class/simd_copy.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
    A libcxx/test/std/re/re.alg/re.alg.replace/zero_length_matches.pass.cpp
    M libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp
    M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/default.pass.cpp
    M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/default.pass.cpp
    M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/default.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.ambig/ctor.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.ambig/types.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.nonexist/ctor.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.nonexist/types.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/sys_info.zdump.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_local.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys_choose.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtraits/const_time_zone_default_zone.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtraits/const_time_zone_locate_zone.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtraits/types.compile.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.funsigned-char.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_strong.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_strong_explicit.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_weak.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_weak_explicit.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_exchange.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_exchange_explicit.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_is_lock_free.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load_explicit.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_store.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_store_explicit.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
    R libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/types.h
    M libcxx/utils/ci/docker-compose.yml
    M libcxx/utils/ci/run-buildbot
    M libcxx/utils/generate_escaped_output_table.py
    M libcxx/utils/generate_feature_test_macro_components.py
    M libcxx/utils/generate_width_estimation_table.py
    M libcxxabi/src/aix_state_tab_eh.inc
    M libunwind/test/floatregister.pass.cpp
    M libunwind/test/forceunwind.pass.cpp
    M libunwind/test/signal_unwind.pass.cpp
    M libunwind/test/unwind_leaffunction.pass.cpp
    M lld/COFF/Symbols.h
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/Arch/LoongArch.cpp
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/InputFiles.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/Options.td
    M lld/ELF/Relocations.cpp
    M lld/ELF/Relocations.h
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    M lld/ELF/Writer.cpp
    M lld/MachO/ObjC.cpp
    M lld/MachO/ObjC.h
    M lld/MachO/SyntheticSections.cpp
    M lld/MachO/UnwindInfoSection.cpp
    M lld/docs/ReleaseNotes.rst
    M lld/docs/ld.lld.1
    M lld/test/ELF/aarch64-reloc-pauth.s
    M lld/test/ELF/build-id.s
    M lld/test/ELF/comdat.s
    M lld/test/ELF/fatlto/fatlto.test
    M lld/test/ELF/libsearch.s
    M lld/test/ELF/linkerscript/memory-nonalloc-no-warn.test
    M lld/test/ELF/linkerscript/sections-nonalloc.s
    M lld/test/ELF/linkerscript/sections.s
    A lld/test/ELF/loongarch-tlsdesc-gd-mixed.s
    A lld/test/ELF/loongarch-tlsdesc.s
    M lld/test/ELF/relocatable-comdat.s
    M lld/test/MachO/arm64-reloc-pointer-to-got.s
    M lld/test/MachO/compact-unwind-both-local-and-dylib-personality.s
    M lld/test/MachO/compact-unwind.s
    M lld/test/MachO/dead-strip.s
    M lld/test/MachO/invalid/compact-unwind-personalities.s
    M lld/test/MachO/objc-category-merging-minimal.s
    M lld/test/wasm/data-segments.ll
    M lld/wasm/Config.h
    M lld/wasm/Driver.cpp
    M lld/wasm/Options.td
    M lldb/bindings/interface/SBCommandInterpreterRunOptionsDocstrings.i
    M lldb/bindings/python/python-typemaps.swig
    M lldb/bindings/python/python-wrapper.swig
    M lldb/examples/python/crashlog.py
    M lldb/include/lldb/API/SBCommandInterpreter.h
    M lldb/include/lldb/API/SBCommandInterpreterRunOptions.h
    M lldb/include/lldb/Core/ValueObject.h
    M lldb/include/lldb/Core/ValueObjectConstResult.h
    M lldb/include/lldb/Core/ValueObjectConstResultCast.h
    M lldb/include/lldb/Core/ValueObjectConstResultChild.h
    M lldb/include/lldb/Core/ValueObjectConstResultImpl.h
    M lldb/include/lldb/Core/ValueObjectRegister.h
    M lldb/include/lldb/Core/ValueObjectVTable.h
    M lldb/include/lldb/Expression/DWARFExpressionList.h
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/include/lldb/Target/MemoryTagManager.h
    M lldb/include/lldb/Utility/ConstString.h
    M lldb/include/lldb/Utility/ProcessInfo.h
    M lldb/include/lldb/Utility/RegularExpression.h
    M lldb/include/lldb/Utility/Scalar.h
    M lldb/include/lldb/Utility/SupportFile.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/packages/Python/lldbsuite/test/decorators.py
    M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
    M lldb/source/API/SBBreakpoint.cpp
    M lldb/source/API/SBCommandInterpreterRunOptions.cpp
    M lldb/source/API/SBTarget.cpp
    M lldb/source/API/SBValue.cpp
    M lldb/source/Breakpoint/Breakpoint.cpp
    M lldb/source/Breakpoint/BreakpointIDList.cpp
    M lldb/source/Commands/CommandObjectThread.cpp
    M lldb/source/Core/ValueObject.cpp
    M lldb/source/Core/ValueObjectConstResult.cpp
    M lldb/source/Core/ValueObjectConstResultCast.cpp
    M lldb/source/Core/ValueObjectConstResultChild.cpp
    M lldb/source/Core/ValueObjectConstResultImpl.cpp
    M lldb/source/Core/ValueObjectRegister.cpp
    M lldb/source/Core/ValueObjectVTable.cpp
    M lldb/source/Expression/DWARFExpression.cpp
    M lldb/source/Host/linux/Host.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Interpreter/Options.cpp
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
    M lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
    M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
    M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/source/Target/Statistics.cpp
    M lldb/source/Target/ThreadPlanStepOverRange.cpp
    M lldb/source/Utility/ProcessInfo.cpp
    M lldb/source/Utility/RegularExpression.cpp
    M lldb/source/Utility/Scalar.cpp
    M lldb/test/API/CMakeLists.txt
    M lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py
    M lldb/test/API/commands/target/basic/Makefile
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/Makefile
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/main.cpp
    M lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py
    M lldb/test/API/functionalities/target-new-solib-notifications/Makefile
    M lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py
    A lldb/test/API/functionalities/target-new-solib-notifications/a.cpp
    A lldb/test/API/functionalities/target-new-solib-notifications/b.cpp
    A lldb/test/API/functionalities/target-new-solib-notifications/c.cpp
    A lldb/test/API/functionalities/target-new-solib-notifications/d.cpp
    M lldb/test/API/functionalities/target-new-solib-notifications/main.cpp
    A lldb/test/API/functionalities/type_types/Makefile
    A lldb/test/API/functionalities/type_types/TestFindTypes.py
    A lldb/test/API/functionalities/type_types/main.cpp
    M lldb/test/API/lang/c/global_variables/Makefile
    M lldb/test/API/lang/cpp/char8_t/Makefile
    M lldb/test/API/lang/cpp/class_static/TestStaticVariables.py
    M lldb/test/API/lit.cfg.py
    A lldb/test/API/macosx/delay-init-dependency/Makefile
    A lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
    A lldb/test/API/macosx/delay-init-dependency/foo.c
    A lldb/test/API/macosx/delay-init-dependency/main.c
    A lldb/test/API/python_api/interpreter/TestCommandOverrideCallback.py
    M lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py
    M lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
    M lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
    M lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
    M lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
    M lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
    M lldb/test/API/tools/lldb-server/TestPtyServer.py
    M lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
    A lldb/test/Shell/Expr/Inputs/objc-cast.cpp
    A lldb/test/Shell/Expr/TestObjCIDCast.test
    M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/app_specific_backtrace_crashlog.test
    M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/interactive_crashlog_invalid_target.test
    M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/interactive_crashlog_json.test
    M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/interactive_crashlog_legacy.test
    M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/last_exception_backtrace_crashlog.test
    M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/lit.local.cfg
    M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/skipped_status_interactive_crashlog.test
    R lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test
    M lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_data_bit_offset-DW_OP_stack_value.s
    M lldb/test/Shell/SymbolFile/DWARF/x86/apple-index-is-used.cpp
    A lldb/test/Shell/SymbolFile/DWARF/x86/debug-names-signature.s
    A lldb/test/Shell/SymbolFile/DWARF/x86/debug-names-static-constexpr-member.s
    A lldb/test/Shell/SymbolFile/DWARF/x86/simple-template-names-context.cpp
    M lldb/test/Shell/helper/build.py
    M lldb/tools/debugserver/source/JSON.cpp
    M lldb/unittests/Host/linux/HostTest.cpp
    M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
    M lldb/unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp
    M lldb/unittests/Utility/ConstStringTest.cpp
    M llvm/CMakeLists.txt
    M llvm/bindings/ocaml/llvm/llvm.ml
    M llvm/bindings/ocaml/llvm/llvm.mli
    M llvm/bindings/ocaml/llvm/llvm_ocaml.c
    M llvm/cmake/config.guess
    M llvm/docs/AMDGPUUsage.rst
    M llvm/docs/AssignmentTracking.md
    M llvm/docs/Benchmarking.rst
    M llvm/docs/BranchWeightMetadata.rst
    M llvm/docs/CommandGuide/lit.rst
    M llvm/docs/CompileCudaWithLLVM.rst
    M llvm/docs/CoverageMappingFormat.rst
    M llvm/docs/GettingStarted.rst
    M llvm/docs/GettingStartedVS.rst
    M llvm/docs/HowToUpdateDebugInfo.rst
    M llvm/docs/InstrRefDebugInfo.md
    M llvm/docs/LangRef.rst
    M llvm/docs/MIRLangRef.rst
    M llvm/docs/Passes.rst
    M llvm/docs/RISCVUsage.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/docs/RemoveDIsDebugInfo.md
    M llvm/docs/SPIRVUsage.rst
    M llvm/docs/Security.rst
    M llvm/docs/SourceLevelDebugging.rst
    M llvm/docs/TableGen/BackGuide.rst
    M llvm/docs/TestSuiteGuide.md
    M llvm/docs/TestingGuide.rst
    M llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst
    M llvm/examples/BrainF/BrainF.cpp
    M llvm/examples/BrainF/BrainFDriver.cpp
    M llvm/include/llvm-c/Core.h
    M llvm/include/llvm/ADT/APFloat.h
    A llvm/include/llvm/ADT/DynamicAPInt.h
    M llvm/include/llvm/ADT/IntervalTree.h
    A llvm/include/llvm/ADT/SlowDynamicAPInt.h
    M llvm/include/llvm/Analysis/CGSCCPassManager.h
    M llvm/include/llvm/Analysis/CodeMetrics.h
    M llvm/include/llvm/Analysis/LazyCallGraph.h
    M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
    M llvm/include/llvm/Analysis/LoopInfo.h
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/include/llvm/Analysis/VecFuncs.def
    M llvm/include/llvm/AsmParser/LLParser.h
    M llvm/include/llvm/AsmParser/LLToken.h
    M llvm/include/llvm/BinaryFormat/Dwarf.def
    M llvm/include/llvm/BinaryFormat/Dwarf.h
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/include/llvm/Bitcode/LLVMBitCodes.h
    M llvm/include/llvm/CodeGen/AccelTable.h
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h
    M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/include/llvm/CodeGen/LiveRegUnits.h
    M llvm/include/llvm/CodeGen/MIRFormatter.h
    M llvm/include/llvm/CodeGen/MachineDominators.h
    M llvm/include/llvm/CodeGen/MachineFunction.h
    M llvm/include/llvm/CodeGen/MachineInstr.h
    M llvm/include/llvm/CodeGen/MachinePassManager.h
    M llvm/include/llvm/CodeGen/MachinePipeliner.h
    M llvm/include/llvm/CodeGen/MachinePostDominators.h
    M llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h
    M llvm/include/llvm/CodeGen/ModuloSchedule.h
    A llvm/include/llvm/CodeGen/RegAllocFast.h
    M llvm/include/llvm/CodeGen/SDPatternMatch.h
    M llvm/include/llvm/CodeGen/ScheduleDAG.h
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
    A llvm/include/llvm/CodeGen/WindowScheduler.h
    M llvm/include/llvm/CodeGenTypes/MachineValueType.h
    M llvm/include/llvm/DWARFLinker/Classic/DWARFLinkerCompileUnit.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
    M llvm/include/llvm/ExecutionEngine/Orc/Core.h
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
    M llvm/include/llvm/Frontend/Directive/DirectiveBase.td
    M llvm/include/llvm/Frontend/OpenACC/ACC.td
    M llvm/include/llvm/Frontend/OpenMP/OMP.td
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/include/llvm/IR/Attributes.td
    M llvm/include/llvm/IR/CallingConv.h
    M llvm/include/llvm/IR/ConstantFold.h
    M llvm/include/llvm/IR/ConstrainedOps.def
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/include/llvm/IR/DiagnosticInfo.h
    M llvm/include/llvm/IR/IRBuilderFolder.h
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/include/llvm/IR/IntrinsicsRISCV.td
    M llvm/include/llvm/IR/MDBuilder.h
    M llvm/include/llvm/IR/ProfDataUtils.h
    M llvm/include/llvm/IR/PseudoProbe.h
    M llvm/include/llvm/IR/ReplaceConstant.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/MC/MCAsmInfo.h
    M 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/MCContext.h
    M llvm/include/llvm/MC/MCELFStreamer.h
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/include/llvm/MC/MCInst.h
    M llvm/include/llvm/MC/MCObjectStreamer.h
    M llvm/include/llvm/MC/MCRegisterInfo.h
    M llvm/include/llvm/MC/MCSection.h
    M llvm/include/llvm/MC/MCSectionMachO.h
    M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
    M llvm/include/llvm/MC/MCWasmStreamer.h
    M llvm/include/llvm/ObjectYAML/DWARFYAML.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/include/llvm/Passes/PassBuilder.h
    M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/include/llvm/ProfileData/InstrProfReader.h
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/include/llvm/ProfileData/MemProfReader.h
    M llvm/include/llvm/ProfileData/SampleProfWriter.h
    M llvm/include/llvm/Support/CodeGen.h
    M llvm/include/llvm/Support/Endian.h
    M llvm/include/llvm/Support/Error.h
    M llvm/include/llvm/Support/GenericLoopInfoImpl.h
    M llvm/include/llvm/Support/KnownBits.h
    M llvm/include/llvm/Support/MathExtras.h
    A llvm/include/llvm/Support/SipHash.h
    M llvm/include/llvm/Support/raw_socket_stream.h
    M llvm/include/llvm/TableGen/DirectiveEmitter.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/include/llvm/Target/TargetOptions.h
    M llvm/include/llvm/Target/TargetSelectionDAG.td
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/include/llvm/TargetParser/ARMTargetParser.def
    M llvm/include/llvm/TargetParser/TargetParser.h
    M llvm/include/llvm/TargetParser/X86TargetParser.def
    A llvm/include/llvm/Transforms/IPO/ExpandVariadics.h
    M llvm/include/llvm/Transforms/Scalar/JumpThreading.h
    M llvm/include/llvm/Transforms/Utils/UnrollLoop.h
    A llvm/include/llvm/Transforms/Vectorize/LoopIdiomVectorize.h
    M llvm/lib/Analysis/CGSCCPassManager.cpp
    M llvm/lib/Analysis/CodeMetrics.cpp
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Analysis/Delinearization.cpp
    M llvm/lib/Analysis/ImportedFunctionsInliningStatistics.cpp
    M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Analysis/LazyCallGraph.cpp
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Analysis/LoopInfo.cpp
    M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
    M llvm/lib/Analysis/StackSafetyAnalysis.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/AsmParser/LLLexer.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/BinaryFormat/Dwarf.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
    M llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
    M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/CommandFlags.cpp
    M llvm/lib/CodeGen/EarlyIfConversion.cpp
    M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
    M llvm/lib/CodeGen/GlobalISel/Combiner.cpp
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/CombinerHelperVectorOps.cpp
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/lib/CodeGen/InitUndef.cpp
    M llvm/lib/CodeGen/InlineSpiller.cpp
    M llvm/lib/CodeGen/LLVMTargetMachine.cpp
    M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
    M llvm/lib/CodeGen/LiveDebugVariables.cpp
    M llvm/lib/CodeGen/LiveIntervals.cpp
    M llvm/lib/CodeGen/MIRParser/MILexer.cpp
    M llvm/lib/CodeGen/MIRParser/MILexer.h
    M llvm/lib/CodeGen/MIRPrinter.cpp
    M llvm/lib/CodeGen/MIRSampleProfile.cpp
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp
    M llvm/lib/CodeGen/MachineCSE.cpp
    M llvm/lib/CodeGen/MachineCombiner.cpp
    M llvm/lib/CodeGen/MachineDominanceFrontier.cpp
    M llvm/lib/CodeGen/MachineDominators.cpp
    M llvm/lib/CodeGen/MachineInstr.cpp
    M llvm/lib/CodeGen/MachineLICM.cpp
    M llvm/lib/CodeGen/MachineLoopInfo.cpp
    M llvm/lib/CodeGen/MachineModuleInfo.cpp
    M llvm/lib/CodeGen/MachineOutliner.cpp
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    M llvm/lib/CodeGen/MachinePostDominators.cpp
    M llvm/lib/CodeGen/MachineRegionInfo.cpp
    M llvm/lib/CodeGen/MachineRegisterInfo.cpp
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/lib/CodeGen/ModuloSchedule.cpp
    M llvm/lib/CodeGen/PHIElimination.cpp
    M llvm/lib/CodeGen/PeepholeOptimizer.cpp
    M llvm/lib/CodeGen/PostRASchedulerList.cpp
    M llvm/lib/CodeGen/PrologEpilogInserter.cpp
    M llvm/lib/CodeGen/RegAllocBasic.cpp
    M llvm/lib/CodeGen/RegAllocFast.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.h
    M llvm/lib/CodeGen/RegAllocPBQP.cpp
    M llvm/lib/CodeGen/RegisterCoalescer.cpp
    M llvm/lib/CodeGen/ReplaceWithVeclib.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/CodeGen/ShrinkWrap.cpp
    M llvm/lib/CodeGen/SplitKit.cpp
    M llvm/lib/CodeGen/StackColoring.cpp
    M llvm/lib/CodeGen/StackSlotColoring.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/lib/CodeGen/TargetOptionsImpl.cpp
    M llvm/lib/CodeGen/UnreachableBlockElim.cpp
    A llvm/lib/CodeGen/WindowScheduler.cpp
    M llvm/lib/CodeGen/XRayInstrumentation.cpp
    M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
    M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
    M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
    M llvm/lib/ExecutionEngine/Orc/Shared/ObjectFormats.cpp
    M llvm/lib/FileCheck/FileCheck.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/IR/ConstantRange.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/Core.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/IR/DebugProgramInstruction.cpp
    M llvm/lib/IR/DiagnosticInfo.cpp
    M llvm/lib/IR/Function.cpp
    M llvm/lib/IR/IRPrintingPasses.cpp
    M llvm/lib/IR/Instruction.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/MDBuilder.cpp
    M llvm/lib/IR/Metadata.cpp
    M llvm/lib/IR/Module.cpp
    M llvm/lib/IR/ProfDataUtils.cpp
    M llvm/lib/IR/PseudoProbe.cpp
    M llvm/lib/IR/ReplaceConstant.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCCodeView.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/lib/MC/MCELFStreamer.cpp
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/MC/MCMachOStreamer.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCParser/MasmParser.cpp
    M llvm/lib/MC/MCPseudoProbe.cpp
    M llvm/lib/MC/MCRegisterInfo.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/MCSectionMachO.cpp
    M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
    M llvm/lib/MC/MCWasmStreamer.cpp
    M llvm/lib/MC/MCWinCOFFStreamer.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/lib/MCA/HardwareUnits/RegisterFile.cpp
    M llvm/lib/ObjCopy/ELF/ELFObject.h
    M llvm/lib/Object/ELFObjectFile.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    M llvm/lib/ProfileData/MemProf.cpp
    M llvm/lib/ProfileData/MemProfReader.cpp
    M llvm/lib/ProfileData/SampleProfWriter.cpp
    M llvm/lib/Support/APFloat.cpp
    M llvm/lib/Support/BLAKE3/blake3.c
    M llvm/lib/Support/CMakeLists.txt
    M llvm/lib/Support/CodeGenCoverage.cpp
    A llvm/lib/Support/DynamicAPInt.cpp
    M llvm/lib/Support/Error.cpp
    M llvm/lib/Support/KnownBits.cpp
    A llvm/lib/Support/SipHash.cpp
    A llvm/lib/Support/SlowDynamicAPInt.cpp
    M llvm/lib/Support/VirtualFileSystem.cpp
    M llvm/lib/Support/raw_socket_stream.cpp
    M llvm/lib/Target/AArch64/AArch64.h
    M llvm/lib/Target/AArch64/AArch64.td
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64CallingConvention.td
    M llvm/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
    M llvm/lib/Target/AArch64/AArch64ConditionOptimizer.cpp
    M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
    M llvm/lib/Target/AArch64/AArch64FastISel.cpp
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64InstrFormats.td
    M llvm/lib/Target/AArch64/AArch64InstrGISel.td
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    R llvm/lib/Target/AArch64/AArch64LoopIdiomTransform.cpp
    R llvm/lib/Target/AArch64/AArch64LoopIdiomTransform.h
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
    R llvm/lib/Target/AArch64/AArch64PassRegistry.def
    M llvm/lib/Target/AArch64/AArch64Processors.td
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
    M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
    A llvm/lib/Target/AArch64/AArch64SchedOryon.td
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.h
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
    M llvm/lib/Target/AArch64/CMakeLists.txt
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.h
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
    M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelDivergenceLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInsertSingleUseVDST.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankSelect.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
    M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/DSInstructions.td
    M llvm/lib/Target/AMDGPU/EvergreenInstructions.td
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/GCNProcessors.td
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp
    M llvm/lib/Target/AMDGPU/R600MachineCFGStructurizer.cpp
    M llvm/lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
    M llvm/lib/Target/AMDGPU/R600Packetizer.cpp
    M llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
    M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
    M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
    M llvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
    M llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
    M llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp
    M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
    M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
    A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.cpp
    A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.h
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.h
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.h
    M llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp
    M llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
    A llvm/lib/Target/AMDGPU/Utils/SIDefinesUtils.h
    M llvm/lib/Target/AMDGPU/VOP1Instructions.td
    M llvm/lib/Target/AMDGPU/VOP2Instructions.td
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td
    M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
    M llvm/lib/Target/AMDGPU/VOPCInstructions.td
    M llvm/lib/Target/AMDGPU/VOPInstructions.td
    M llvm/lib/Target/ARC/ARCBranchFinalize.cpp
    M llvm/lib/Target/ARC/ARCOptAddrMode.cpp
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
    M llvm/lib/Target/ARM/ARMFeatures.td
    M llvm/lib/Target/ARM/ARMFrameLowering.cpp
    M llvm/lib/Target/ARM/ARMFrameLowering.h
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.h
    M llvm/lib/Target/ARM/ARMInstrInfo.td
    M llvm/lib/Target/ARM/ARMInstrNEON.td
    M llvm/lib/Target/ARM/ARMInstrThumb.td
    M llvm/lib/Target/ARM/ARMInstrThumb2.td
    M llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
    M llvm/lib/Target/ARM/ARMProcessors.td
    M llvm/lib/Target/ARM/ARMSubtarget.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
    M llvm/lib/Target/ARM/MVETPAndVPTOptimisationsPass.cpp
    M llvm/lib/Target/AVR/AVRInstrInfo.td
    M llvm/lib/Target/BPF/BPFInstrInfo.td
    M llvm/lib/Target/CSKY/CSKYConstantIslandPass.cpp
    M llvm/lib/Target/Hexagon/HexagonBitSimplify.cpp
    M llvm/lib/Target/Hexagon/HexagonConstExtenders.cpp
    M llvm/lib/Target/Hexagon/HexagonCopyHoisting.cpp
    M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
    M llvm/lib/Target/Hexagon/HexagonExpandCondsets.cpp
    M llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonGenInsert.cpp
    M llvm/lib/Target/Hexagon/HexagonGenMemAbsolute.cpp
    M llvm/lib/Target/Hexagon/HexagonGenPredicate.cpp
    M llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
    M llvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp
    M llvm/lib/Target/Hexagon/HexagonRDFOpt.cpp
    M llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
    M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/LoongArch/CMakeLists.txt
    M llvm/lib/Target/LoongArch/LoongArch.h
    A llvm/lib/Target/LoongArch/LoongArchDeadRegisterDefinitions.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
    M llvm/lib/Target/M68k/M68kInstrAtomics.td
    M llvm/lib/Target/Mips/Mips64InstrInfo.td
    M llvm/lib/Target/Mips/MipsInstrInfo.td
    M llvm/lib/Target/Mips/MipsOptimizePICCall.cpp
    M llvm/lib/Target/Mips/MipsPostLegalizerCombiner.cpp
    M llvm/lib/Target/NVPTX/NVPTX.h
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
    M llvm/lib/Target/NVPTX/NVPTXUtilities.h
    M llvm/lib/Target/NVPTX/NVVMIntrRange.cpp
    M llvm/lib/Target/NVPTX/NVVMReflect.cpp
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
    M llvm/lib/Target/PowerPC/PPCCTRLoopsVerify.cpp
    M llvm/lib/Target/PowerPC/PPCFastISel.cpp
    M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
    M llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
    M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
    M llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVPostLegalizerCombiner.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVPreLegalizerCombiner.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoA.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZa.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
    M llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
    M llvm/lib/Target/RISCV/RISCVSubtarget.cpp
    M llvm/lib/Target/RISCV/RISCVSystemOperands.td
    M llvm/lib/Target/SPIRV/Analysis/SPIRVConvergenceRegionAnalysis.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
    M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVDuplicatesTracker.h
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.h
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
    M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
    M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
    M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
    M llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
    M llvm/lib/Target/SPIRV/SPIRVUtils.cpp
    M llvm/lib/Target/SPIRV/SPIRVUtils.h
    M llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.h
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
    M llvm/lib/Target/Sparc/Sparc.td
    M llvm/lib/Target/Sparc/SparcASITags.td
    M llvm/lib/Target/Sparc/SparcInstr64Bit.td
    M llvm/lib/Target/Sparc/SparcInstrAliases.td
    M llvm/lib/Target/Sparc/SparcInstrInfo.td
    A llvm/lib/Target/Sparc/SparcPrefetchTags.td
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
    M llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp
    M llvm/lib/Target/VE/VEInstrInfo.td
    M llvm/lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
    M llvm/lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    M llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
    M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
    M llvm/lib/Target/X86/X86FastPreTileConfig.cpp
    M llvm/lib/Target/X86/X86FastTileConfig.cpp
    M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86InstrAMX.td
    M llvm/lib/Target/X86/X86InstrCompiler.td
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86InstrMisc.td
    M llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
    M llvm/lib/Target/X86/X86LowerAMXType.cpp
    M llvm/lib/Target/X86/X86LowerTileCopy.cpp
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/lib/Target/X86/X86MachineFunctionInfo.cpp
    M llvm/lib/Target/X86/X86MachineFunctionInfo.h
    M llvm/lib/Target/X86/X86PreTileConfig.cpp
    M llvm/lib/Target/X86/X86SchedIceLake.td
    M llvm/lib/Target/X86/X86SchedSkylakeServer.td
    M llvm/lib/Target/X86/X86ScheduleZnver4.td
    M llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp
    M llvm/lib/Target/X86/X86TargetMachine.cpp
    M llvm/lib/Target/X86/X86TargetMachine.h
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/lib/Target/X86/X86TileConfig.cpp
    M llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp
    M llvm/lib/TargetParser/Host.cpp
    M llvm/lib/TargetParser/RISCVISAInfo.cpp
    M llvm/lib/TargetParser/TargetParser.cpp
    M llvm/lib/TargetParser/X86TargetParser.cpp
    M llvm/lib/TextAPI/Utils.cpp
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/IPO/CMakeLists.txt
    A llvm/lib/Transforms/IPO/ExpandVariadics.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    M llvm/lib/Transforms/IPO/Inliner.cpp
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/lib/Transforms/Instrumentation/CGProfile.cpp
    M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
    M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
    M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
    M llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
    M llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
    M llvm/lib/Transforms/Utils/CodeExtractor.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/lib/Transforms/Utils/LibCallsShrinkWrap.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/LoopPeel.cpp
    M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
    M llvm/lib/Transforms/Utils/LoopUnroll.cpp
    M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/lib/Transforms/Vectorize/CMakeLists.txt
    A llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Analysis/CostModel/X86/abs-sizelatency.ll
    M llvm/test/Analysis/CostModel/X86/arith-int-codesize.ll
    M llvm/test/Analysis/CostModel/X86/arith-int-latency.ll
    M llvm/test/Analysis/CostModel/X86/arith-int-sizelatency.ll
    M llvm/test/Analysis/CostModel/X86/arith-int.ll
    M llvm/test/Analysis/CostModel/X86/rem-codesize.ll
    M llvm/test/Analysis/CostModel/X86/rem-latency.ll
    M llvm/test/Analysis/CostModel/X86/rem-sizelatency.ll
    M llvm/test/Analysis/CostModel/X86/rem.ll
    M llvm/test/Analysis/CostModel/X86/slm-arith-costs.ll
    M llvm/test/Analysis/StackSafetyAnalysis/ipa-alias.ll
    M llvm/test/Analysis/StackSafetyAnalysis/ipa.ll
    M llvm/test/Analysis/UniformityAnalysis/AMDGPU/llvm.amdgcn.buffer.atomic.ll
    M llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
    M llvm/test/Assembler/debug-label-bitcode.ll
    M llvm/test/Assembler/fp-intrinsics-attr.ll
    M llvm/test/Bindings/OCaml/core.ml
    M llvm/test/Bindings/llvm-c/debug_info.ll
    M llvm/test/Bindings/llvm-c/debug_info_new_format.ll
    M llvm/test/Bitcode/DIExpression-aggresult.ll
    M llvm/test/Bitcode/compatibility.ll
    M llvm/test/Bitcode/constexpr-to-instr-metadata-2.ll
    M llvm/test/Bitcode/constexpr-to-instr-metadata.ll
    M llvm/test/Bitcode/dbg-label-record-bc.ll
    M llvm/test/Bitcode/upgrade-dbg-addr.ll
    M llvm/test/Bitcode/upgrade-dbg-value.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-gep.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-switch.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-vscale.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-gep-flags.ll
    A llvm/test/CodeGen/AArch64/GlobalISel/legalize-tan.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/localizer-arm64-tti.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/regbank-fp-use-def.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-fp-loads.mir
    M llvm/test/CodeGen/AArch64/aarch64-known-bits-hadd.ll
    M llvm/test/CodeGen/AArch64/aarch64-wide-mul.ll
    A llvm/test/CodeGen/AArch64/addp-shuffle.ll
    M llvm/test/CodeGen/AArch64/arm64-2011-10-18-LdStOptBug.ll
    M llvm/test/CodeGen/AArch64/arm64-ldp-cluster.ll
    M llvm/test/CodeGen/AArch64/arm64-redzone.ll
    M llvm/test/CodeGen/AArch64/arm64-this-return.ll
    M llvm/test/CodeGen/AArch64/arm64-uzp.ll
    M llvm/test/CodeGen/AArch64/arm64-vhadd.ll
    A llvm/test/CodeGen/AArch64/avg.ll
    M llvm/test/CodeGen/AArch64/complex-deinterleaving-reductions-predicated-scalable.ll
    M llvm/test/CodeGen/AArch64/complex-deinterleaving-reductions-scalable.ll
    M llvm/test/CodeGen/AArch64/complex-deinterleaving-reductions.ll
    M llvm/test/CodeGen/AArch64/dbg-declare-swift-async.ll
    M llvm/test/CodeGen/AArch64/f16-instructions.ll
    M llvm/test/CodeGen/AArch64/fast-isel-runtime-libcall.ll
    M llvm/test/CodeGen/AArch64/fast-regalloc-empty-bb-with-liveins.mir
    M llvm/test/CodeGen/AArch64/fcvt-fixed.ll
    M llvm/test/CodeGen/AArch64/fdiv-const.ll
    M llvm/test/CodeGen/AArch64/fp-intrinsics-fp16.ll
    M llvm/test/CodeGen/AArch64/fp-intrinsics.ll
    M llvm/test/CodeGen/AArch64/fptoi.ll
    M llvm/test/CodeGen/AArch64/frem-power2.ll
    A llvm/test/CodeGen/AArch64/icmp-cst.ll
    M llvm/test/CodeGen/AArch64/illegal-float-ops.ll
    M llvm/test/CodeGen/AArch64/insert-extend.ll
    M llvm/test/CodeGen/AArch64/lower-range-metadata-func-call.ll
    A llvm/test/CodeGen/AArch64/machine-outliner-sort-per-priority.ll
    A llvm/test/CodeGen/AArch64/machine-outliner-sort-per-priority.mir
    M llvm/test/CodeGen/AArch64/neon-dotreduce.ll
    A llvm/test/CodeGen/AArch64/neon-extmul.ll
    A llvm/test/CodeGen/AArch64/outlining-with-streaming-mode-changes.ll
    A llvm/test/CodeGen/AArch64/ptrauth-reloc.ll
    M llvm/test/CodeGen/AArch64/replace-with-veclib-armpl.ll
    M llvm/test/CodeGen/AArch64/replace-with-veclib-sleef-scalable.ll
    M llvm/test/CodeGen/AArch64/replace-with-veclib-sleef.ll
    M llvm/test/CodeGen/AArch64/sme-call-streaming-compatible-to-normal-fn-wihout-sme-attr.ll
    M llvm/test/CodeGen/AArch64/sme-disable-gisel-fisel.ll
    M llvm/test/CodeGen/AArch64/sme-lazy-save-call.ll
    M llvm/test/CodeGen/AArch64/sme-pstate-sm-changing-call-disable-coalescing.ll
    M llvm/test/CodeGen/AArch64/sme-streaming-body-streaming-compatible-interface.ll
    M llvm/test/CodeGen/AArch64/sme-streaming-body.ll
    M llvm/test/CodeGen/AArch64/sme-streaming-compatible-interface.ll
    M llvm/test/CodeGen/AArch64/sme-streaming-interface.ll
    M llvm/test/CodeGen/AArch64/sme-streaming-mode-changing-call-disable-stackslot-scavenging.ll
    M llvm/test/CodeGen/AArch64/sme-support-routines-calling-convention.ll
    A llvm/test/CodeGen/AArch64/sme-vg-to-stack.ll
    M llvm/test/CodeGen/AArch64/sms-acceptable-loop3.mir
    M llvm/test/CodeGen/AArch64/sms-acceptable-loop4.mir
    A llvm/test/CodeGen/AArch64/sms-mve1.mir
    A llvm/test/CodeGen/AArch64/sms-mve10.mir
    A llvm/test/CodeGen/AArch64/sms-mve11.mir
    A llvm/test/CodeGen/AArch64/sms-mve12.mir
    A llvm/test/CodeGen/AArch64/sms-mve2.mir
    A llvm/test/CodeGen/AArch64/sms-mve3.mir
    A llvm/test/CodeGen/AArch64/sms-mve4.mir
    A llvm/test/CodeGen/AArch64/sms-mve5.mir
    A llvm/test/CodeGen/AArch64/sms-mve6.mir
    A llvm/test/CodeGen/AArch64/sms-mve7.mir
    A llvm/test/CodeGen/AArch64/sms-mve8.mir
    A llvm/test/CodeGen/AArch64/sms-mve9.mir
    A llvm/test/CodeGen/AArch64/sms-unacceptable-loop3.mir
    M llvm/test/CodeGen/AArch64/sms-unpipeline-insts2.mir
    M llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll
    M llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll
    M llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset-nopad.ll
    M llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset.ll
    M llvm/test/CodeGen/AArch64/stack-tagging-dbg.ll
    M llvm/test/CodeGen/AArch64/streaming-compatible-memory-ops.ll
    M llvm/test/CodeGen/AArch64/sve-fixed-length-permute-zip-uzp-trn.ll
    M llvm/test/CodeGen/AArch64/sve-hadd.ll
    M llvm/test/CodeGen/AArch64/sve-lsrchain.ll
    M llvm/test/CodeGen/AArch64/vec-libcalls.ll
    M llvm/test/CodeGen/AArch64/vecreduce-add.ll
    M llvm/test/CodeGen/AArch64/vecreduce-fmax-legalization.ll
    M llvm/test/CodeGen/AArch64/vecreduce-fmin-legalization.ll
    M llvm/test/CodeGen/AArch64/zext-to-tbl.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-atomicrmw.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-return-values.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-sret.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.s.buffer.load.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.abs.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.set.inactive.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
    A llvm/test/CodeGen/AMDGPU/abs_i16.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fold-binop-select.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-sincos.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu.private-memory.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-es.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-gs.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-hs.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-ls.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-vs.ll
    A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
    A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
    A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
    A llvm/test/CodeGen/AMDGPU/buffer-intrinsic-mmo-type.ll
    M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
    M llvm/test/CodeGen/AMDGPU/buffer-schedule.ll
    A llvm/test/CodeGen/AMDGPU/build_vector-r600.ll
    M llvm/test/CodeGen/AMDGPU/build_vector.ll
    M llvm/test/CodeGen/AMDGPU/bypass-div.ll
    M llvm/test/CodeGen/AMDGPU/clamp-modifier.ll
    M llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
    M llvm/test/CodeGen/AMDGPU/directive-amdgcn-target.ll
    M llvm/test/CodeGen/AMDGPU/div_i128.ll
    M llvm/test/CodeGen/AMDGPU/div_v2i128.ll
    M llvm/test/CodeGen/AMDGPU/elf-header-flags-mach.ll
    A llvm/test/CodeGen/AMDGPU/expand-variadic-call.ll
    M llvm/test/CodeGen/AMDGPU/extract-load-i1.ll
    M llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
    A llvm/test/CodeGen/AMDGPU/fabs-r600.ll
    M llvm/test/CodeGen/AMDGPU/fabs.ll
    R llvm/test/CodeGen/AMDGPU/fail-select-buffer-atomic-fadd.ll
    M llvm/test/CodeGen/AMDGPU/fast-ra-kills-vcc.mir
    M llvm/test/CodeGen/AMDGPU/fast-regalloc-bundles.mir
    M llvm/test/CodeGen/AMDGPU/fastregalloc-illegal-subreg-physreg.mir
    M llvm/test/CodeGen/AMDGPU/fastregalloc-self-loop-heuristic.mir
    M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.v2f16.ll
    A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
    A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
    A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
    A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fsub.ll
    M llvm/test/CodeGen/AMDGPU/fmaximum3.ll
    M llvm/test/CodeGen/AMDGPU/fminimum3.ll
    A llvm/test/CodeGen/AMDGPU/fneg-fabs-r600.ll
    M llvm/test/CodeGen/AMDGPU/fneg-fabs.f64.ll
    M llvm/test/CodeGen/AMDGPU/fneg-fabs.ll
    M llvm/test/CodeGen/AMDGPU/fneg.ll
    M llvm/test/CodeGen/AMDGPU/fold-int-pow2-with-fmul-or-fdiv.ll
    R llvm/test/CodeGen/AMDGPU/force-store-sc0-sc1.ll
    M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx940.ll
    M llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
    M llvm/test/CodeGen/AMDGPU/fract-match.ll
    M llvm/test/CodeGen/AMDGPU/fshr.ll
    A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
    A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
    A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
    A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
    A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fsub.ll
    R llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
    M llvm/test/CodeGen/AMDGPU/idiv-licm.ll
    M llvm/test/CodeGen/AMDGPU/idot4u.ll
    M llvm/test/CodeGen/AMDGPU/indirect-call.ll
    M llvm/test/CodeGen/AMDGPU/insert-singleuse-vdst.mir
    M llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll
    M llvm/test/CodeGen/AMDGPU/itofp.i128.bf.ll
    M llvm/test/CodeGen/AMDGPU/itofp.i128.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.csub.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.fadd.gfx90a.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.fadd.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.atomic.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load-last-use.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.dwordx3.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.format.d16.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.format.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.dwordx3.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.d16.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.sc.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.vol.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.atomic.csub.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.atomic.fadd.gfx90a.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.atomic.fadd.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.atomic.fadd.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd.v2bf16.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd_nortn.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd_rtn.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.bf16.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.bf16.xfail.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.xfail.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.atomic.fadd.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.tbuffer.store.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.d16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.dwordx3.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.d16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.dwordx3.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.ll
    M llvm/test/CodeGen/AMDGPU/llvm.frexp.ll
    M llvm/test/CodeGen/AMDGPU/llvm.maximum.f16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.maximum.f32.ll
    M llvm/test/CodeGen/AMDGPU/llvm.maximum.f64.ll
    M llvm/test/CodeGen/AMDGPU/llvm.minimum.f16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.minimum.f32.ll
    M llvm/test/CodeGen/AMDGPU/llvm.minimum.f64.ll
    M llvm/test/CodeGen/AMDGPU/llvm.r600.read.local.size.ll
    A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll
    A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmax.ll
    A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
    A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fsub.ll
    R llvm/test/CodeGen/AMDGPU/local-atomics-fp.ll
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-constants.ll
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll
    M llvm/test/CodeGen/AMDGPU/machine-sink-temporal-divergence-swdev407790.ll
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-lastuse.ll
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-global-lastuse.ll
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-private-lastuse.ll
    M llvm/test/CodeGen/AMDGPU/occupancy-levels.ll
    M llvm/test/CodeGen/AMDGPU/packed-op-sel.ll
    M llvm/test/CodeGen/AMDGPU/permute_i8.ll
    M llvm/test/CodeGen/AMDGPU/private-memory-r600.ll
    M llvm/test/CodeGen/AMDGPU/promote-alloca-strip-abi-opt-attributes.ll
    M llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-icmp.ll
    M llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.mir
    M llvm/test/CodeGen/AMDGPU/ptrmask.ll
    M llvm/test/CodeGen/AMDGPU/reassoc-mul-add-1-to-mad.ll
    M llvm/test/CodeGen/AMDGPU/rem_i128.ll
    M llvm/test/CodeGen/AMDGPU/sdiv.ll
    M llvm/test/CodeGen/AMDGPU/sdiv64.ll
    M llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
    A llvm/test/CodeGen/AMDGPU/select-phi-s16-fp.ll
    M llvm/test/CodeGen/AMDGPU/si-annotate-dbg-info.ll
    A llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-vgpr-lanes-usage.mir
    M llvm/test/CodeGen/AMDGPU/sminmax.v2i16.ll
    M llvm/test/CodeGen/AMDGPU/spill-agpr.mir
    M llvm/test/CodeGen/AMDGPU/spill192.mir
    M llvm/test/CodeGen/AMDGPU/spill224.mir
    M llvm/test/CodeGen/AMDGPU/spill288.mir
    M llvm/test/CodeGen/AMDGPU/spill320.mir
    M llvm/test/CodeGen/AMDGPU/spill352.mir
    M llvm/test/CodeGen/AMDGPU/spill384.mir
    M llvm/test/CodeGen/AMDGPU/srem64.ll
    M llvm/test/CodeGen/AMDGPU/unexpected-reg-unit-state.mir
    M llvm/test/CodeGen/AMDGPU/uniform-phi-with-undef.ll
    M llvm/test/CodeGen/AMDGPU/unsupported-calls.ll
    M llvm/test/CodeGen/AMDGPU/vector-alloca-bitcast.ll
    M llvm/test/CodeGen/AMDGPU/wqm.ll
    A llvm/test/CodeGen/AMDGPU/xor-r600.ll
    M llvm/test/CodeGen/AMDGPU/xor.ll
    M llvm/test/CodeGen/ARM/2011-11-29-128bitArithmetics.ll
    A llvm/test/CodeGen/ARM/apple-version-min.ll
    M llvm/test/CodeGen/ARM/build-attributes.ll
    M llvm/test/CodeGen/ARM/constant-island-movwt.mir
    M llvm/test/CodeGen/ARM/cortexr52-misched-basic.ll
    M llvm/test/CodeGen/ARM/fp-intrinsics.ll
    M llvm/test/CodeGen/ARM/fp16-fullfp16.ll
    M llvm/test/CodeGen/ARM/fp16-promote.ll
    M llvm/test/CodeGen/ARM/frame-chain-reserved-fp.ll
    M llvm/test/CodeGen/ARM/frame-chain.ll
    M llvm/test/CodeGen/ARM/frem-power2.ll
    M llvm/test/CodeGen/ARM/lsr-scale-addr-mode.ll
    M llvm/test/CodeGen/ARM/machine-outliner-calls.mir
    M llvm/test/CodeGen/ARM/machine-outliner-default.mir
    A llvm/test/CodeGen/ARM/machine-outliner-no-candidates-without-stack-fixup.ll
    M llvm/test/CodeGen/ARM/machine-outliner-stack-fixup-arm.mir
    M llvm/test/CodeGen/ARM/machine-outliner-stack-fixup-thumb.mir
    M llvm/test/CodeGen/ARM/misched-fp-basic.ll
    M llvm/test/CodeGen/ARM/misched-int-basic-thumb2.mir
    M llvm/test/CodeGen/ARM/misched-int-basic.mir
    A llvm/test/CodeGen/ARM/neon_vabd.ll
    M llvm/test/CodeGen/ARM/proc-resource-sched.ll
    M llvm/test/CodeGen/ARM/regalloc-fast-rewrite-implicits.mir
    M llvm/test/CodeGen/ARM/regcoal-invalid-subrange-update.mir
    M llvm/test/CodeGen/ARM/single-issue-r52.mir
    M llvm/test/CodeGen/ARM/useaa.ll
    M llvm/test/CodeGen/ARM/vaba.ll
    M llvm/test/CodeGen/ARM/vabd.ll
    M llvm/test/CodeGen/ARM/vdiv_combine.ll
    M llvm/test/CodeGen/ARM/vector-store.ll
    M llvm/test/CodeGen/ARM/vfloatintrinsics.ll
    M llvm/test/CodeGen/BPF/preserve-static-offset/load-arr-pai.ll
    M llvm/test/CodeGen/BPF/preserve-static-offset/load-ptr-pai.ll
    M llvm/test/CodeGen/BPF/preserve-static-offset/load-struct-pai.ll
    M llvm/test/CodeGen/BPF/preserve-static-offset/load-union-pai.ll
    M llvm/test/CodeGen/BPF/preserve-static-offset/store-pai.ll
    M llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
    M llvm/test/CodeGen/Generic/MIRStripDebug/dont-strip-real-debug-info.mir
    M llvm/test/CodeGen/Hexagon/bit-gen-rseq.ll
    M llvm/test/CodeGen/Hexagon/regalloc-bad-undef.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-dead-def.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-exp-dbg.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-exp.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-fail-0.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-fail-1.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-fail-2.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-meta-instr.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-sqrt.mir
    A llvm/test/CodeGen/Hexagon/swp-ws-weak-dep.mir
    M llvm/test/CodeGen/Hexagon/verify-liveness-at-def.mir
    M llvm/test/CodeGen/LoongArch/calling-conv-lp64d.ll
    M llvm/test/CodeGen/LoongArch/calling-conv-lp64s.ll
    M llvm/test/CodeGen/LoongArch/can-not-realign-stack.ll
    A llvm/test/CodeGen/LoongArch/emutls.ll
    A llvm/test/CodeGen/LoongArch/fp16-promote.ll
    M llvm/test/CodeGen/LoongArch/global-address.ll
    M llvm/test/CodeGen/LoongArch/intrinsic-la64.ll
    M llvm/test/CodeGen/LoongArch/intrinsic.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-fp.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/br.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/load-store.ll
    M llvm/test/CodeGen/LoongArch/jump-table.ll
    A llvm/test/CodeGen/LoongArch/machinelicm-address-pseudos.ll
    M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
    M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll
    M llvm/test/CodeGen/LoongArch/register-coalescer-crash-pr79718.mir
    M llvm/test/CodeGen/LoongArch/sextw-removal.ll
    M llvm/test/CodeGen/LoongArch/vararg.ll
    M llvm/test/CodeGen/LoongArch/vector-fp-imm.ll
    M llvm/test/CodeGen/MIR/Generic/runPass.mir
    M llvm/test/CodeGen/Mips/GlobalISel/irtranslator/aggregate_struct_return.ll
    M llvm/test/CodeGen/Mips/GlobalISel/irtranslator/sret_pointer.ll
    M llvm/test/CodeGen/Mips/GlobalISel/irtranslator/var_arg.ll
    A llvm/test/CodeGen/NVPTX/intr-range.ll
    M llvm/test/CodeGen/NVPTX/intrinsic-old.ll
    M llvm/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll
    M llvm/test/CodeGen/PowerPC/atomics-i128-ldst.ll
    M llvm/test/CodeGen/PowerPC/atomics-i128.ll
    M llvm/test/CodeGen/PowerPC/ctrloop-constrained-fp.ll
    M llvm/test/CodeGen/PowerPC/frameaddr.ll
    A llvm/test/CodeGen/PowerPC/merge-private.ll
    M llvm/test/CodeGen/PowerPC/mma-outer-product.ll
    M llvm/test/CodeGen/PowerPC/ppc64-acc-regalloc.ll
    M llvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll
    M llvm/test/CodeGen/PowerPC/spill-nor0.mir
    M llvm/test/CodeGen/PowerPC/subreg-killed.mir
    A llvm/test/CodeGen/PowerPC/subreg-lanemasks.mir
    M llvm/test/CodeGen/PowerPC/toc-data-common.ll
    M llvm/test/CodeGen/PowerPC/toc-data.ll
    A llvm/test/CodeGen/PowerPC/tocdata-firm-alignment.ll
    M llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-half.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-ilp32-ilp32f-ilp32d-common.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-lp64-lp64f-lp64d-common.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vararg.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-rv32-libcall.mir
    A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-rv64-libcall.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/merge-unmerge-rv32.mir
    M llvm/test/CodeGen/RISCV/attributes.ll
    A llvm/test/CodeGen/RISCV/avgceils.ll
    A llvm/test/CodeGen/RISCV/avgceilu.ll
    A llvm/test/CodeGen/RISCV/avgfloors.ll
    A llvm/test/CodeGen/RISCV/avgflooru.ll
    M llvm/test/CodeGen/RISCV/double-intrinsics-strict.ll
    M llvm/test/CodeGen/RISCV/early-clobber-tied-def-subreg-liveness.ll
    M llvm/test/CodeGen/RISCV/float-intrinsics-strict.ll
    M llvm/test/CodeGen/RISCV/half-intrinsics.ll
    A llvm/test/CodeGen/RISCV/pr95271.ll
    A llvm/test/CodeGen/RISCV/pr95284.ll
    M llvm/test/CodeGen/RISCV/regalloc-last-chance-recoloring-failure.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/select-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/subregister-undef-early-clobber.mir
    A llvm/test/CodeGen/RISCV/rvv/trunc-select-to-max-usat.ll
    M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.ll
    M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.mir
    M llvm/test/CodeGen/RISCV/rvv/vfmv.v.f.ll
    A llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/vrgatherei16-subreg-liveness.ll
    A llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll
    M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll
    A llvm/test/CodeGen/RISCV/rvv/vselect-vp-bf16.ll
    A llvm/test/CodeGen/RISCV/rvv/vsplats-bf16.ll
    A llvm/test/CodeGen/RISCV/xcvmem.ll
    M llvm/test/CodeGen/RISCV/zalrsc-d-intrinsic.ll
    M llvm/test/CodeGen/RISCV/zalrsc-w-intrinsic.ll
    M llvm/test/CodeGen/SPIRV/event-wait-ptr-type.ll
    M llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_usm_storage_classes/intel-usm-addrspaces.ll
    M llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_subgroup_rotate/subgroup-rotate.ll
    A llvm/test/CodeGen/SPIRV/keep-tracked-const.ll
    A llvm/test/CodeGen/SPIRV/optimizations/switch-condition-type.ll
    M llvm/test/CodeGen/SPIRV/passes/SPIRVEmitIntrinsics-no-divergent-spv_assign_ptr_type.ll
    M llvm/test/CodeGen/SPIRV/passes/SPIRVEmitIntrinsics-no-duplicate-spv_assign_type.ll
    A llvm/test/CodeGen/SPIRV/pointers/duplicate-type-ptr-def.ll
    A llvm/test/CodeGen/SPIRV/pointers/type-deduce-global-dup.ll
    A llvm/test/CodeGen/SPIRV/pointers/type-deduce-simple-for.ll
    M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-break.ll
    M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-convergence-in-break.ll
    M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-multiple-break.ll
    A llvm/test/CodeGen/SPIRV/transcoding/OpGenericCastToPtr.ll
    M llvm/test/CodeGen/SPIRV/transcoding/OpGroupAllAny.ll
    A llvm/test/CodeGen/SPIRV/transcoding/OpGroupAsyncCopy-strided.ll
    A llvm/test/CodeGen/SPIRV/transcoding/bitcast-diff-addrspace.ll
    M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_arithmetics.ll
    M llvm/test/CodeGen/SPIRV/transcoding/check_ro_qualifier.ll
    M llvm/test/CodeGen/SPIRV/transcoding/group_ops.ll
    M llvm/test/CodeGen/SPIRV/transcoding/sub_group_non_uniform_vote.ll
    A llvm/test/CodeGen/SPIRV/trunc-nonstd-bitwidth.ll
    M llvm/test/CodeGen/SystemZ/regalloc-fast-invalid-kill-flag.mir
    M llvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll
    M llvm/test/CodeGen/Thumb/frame-access.ll
    M llvm/test/CodeGen/Thumb/frame-chain-reserved-fp.ll
    M llvm/test/CodeGen/Thumb/frame-chain.ll
    M llvm/test/CodeGen/Thumb/high-reg-clobber.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/spillingmove.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/subreg-liveness.mir
    M llvm/test/CodeGen/Thumb2/float-intrinsics-double.ll
    M llvm/test/CodeGen/Thumb2/float-intrinsics-float.ll
    M llvm/test/CodeGen/Thumb2/high-reg-spill.mir
    M llvm/test/CodeGen/Thumb2/mve-fmath.ll
    M llvm/test/CodeGen/Thumb2/mve-laneinterleaving.ll
    M llvm/test/CodeGen/Thumb2/mve-tailpred-vptblock.ll
    A llvm/test/CodeGen/WebAssembly/expand-variadic-call.ll
    M llvm/test/CodeGen/WebAssembly/libcalls.ll
    M llvm/test/CodeGen/WebAssembly/simd-arith.ll
    M llvm/test/CodeGen/WebAssembly/simd-unsupported.ll
    A llvm/test/CodeGen/WebAssembly/vararg-frame.ll
    M llvm/test/CodeGen/X86/2008-06-16-SubregsBug.ll
    M llvm/test/CodeGen/X86/AMX/amx-fastconfig-phi.mir
    M llvm/test/CodeGen/X86/AMX/amx-fastconfig-phi2.mir
    M llvm/test/CodeGen/X86/AMX/amx-fastconfig-phi4.mir
    M llvm/test/CodeGen/X86/AMX/amx-fastconfig-spill.mir
    M llvm/test/CodeGen/X86/AMX/amx-fastconfig.mir
    M llvm/test/CodeGen/X86/AMX/amx-fastpreconfig.mir
    M llvm/test/CodeGen/X86/AMX/amx-greedy-ra.ll
    M llvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator-struct-return.ll
    M llvm/test/CodeGen/X86/abs.ll
    A llvm/test/CodeGen/X86/apple-version-min.ll
    M llvm/test/CodeGen/X86/apx/shift-eflags.ll
    M llvm/test/CodeGen/X86/asm-label.ll
    M llvm/test/CodeGen/X86/atomic-fp.ll
    M llvm/test/CodeGen/X86/avg.ll
    A llvm/test/CodeGen/X86/avgceils-scalar.ll
    M llvm/test/CodeGen/X86/avgceils.ll
    A llvm/test/CodeGen/X86/avgceilu-scalar.ll
    M llvm/test/CodeGen/X86/avgceilu.ll
    A llvm/test/CodeGen/X86/avgfloors-scalar.ll
    M llvm/test/CodeGen/X86/avgfloors.ll
    A llvm/test/CodeGen/X86/avgflooru-scalar.ll
    M llvm/test/CodeGen/X86/avgflooru.ll
    M llvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
    M llvm/test/CodeGen/X86/avx512fp16-fminimum-fmaximum.ll
    M llvm/test/CodeGen/X86/bug47278-eflags-error.mir
    M llvm/test/CodeGen/X86/bug47278.mir
    M llvm/test/CodeGen/X86/callbr-asm-outputs-regallocfast.mir
    M llvm/test/CodeGen/X86/change-unsafe-fp-math.ll
    M llvm/test/CodeGen/X86/combine-mul.ll
    M llvm/test/CodeGen/X86/combine-pmadd.ll
    M llvm/test/CodeGen/X86/combine-sdiv.ll
    M llvm/test/CodeGen/X86/combine-udiv.ll
    M llvm/test/CodeGen/X86/dagcombine-shifts.ll
    M llvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll
    M llvm/test/CodeGen/X86/dpbusd_const.ll
    M llvm/test/CodeGen/X86/early-ifcvt-remarks.ll
    M llvm/test/CodeGen/X86/fast-isel-dbg-value-alloca.ll
    M llvm/test/CodeGen/X86/fastregalloc-selfloop.mir
    M llvm/test/CodeGen/X86/fastregalloc-tied-undef.mir
    M llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll
    M llvm/test/CodeGen/X86/fp-intrinsics.ll
    M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll
    M llvm/test/CodeGen/X86/fp128-libcalls-strict.ll
    M llvm/test/CodeGen/X86/fp80-strict-libcalls.ll
    M llvm/test/CodeGen/X86/freeze-binary.ll
    M llvm/test/CodeGen/X86/gfni-funnel-shifts.ll
    M llvm/test/CodeGen/X86/gfni-rotates.ll
    M llvm/test/CodeGen/X86/gfni-shifts.ll
    M llvm/test/CodeGen/X86/is_fpclass.ll
    A llvm/test/CodeGen/X86/issue64826-switferror-eh.ll
    M llvm/test/CodeGen/X86/known-never-zero.ll
    A llvm/test/CodeGen/X86/legalize-ins-ext-vec-elt.ll
    M llvm/test/CodeGen/X86/legalize-vec-assertzext.ll
    M llvm/test/CodeGen/X86/lower-vec-shift.ll
    M llvm/test/CodeGen/X86/lsr-overflow.ll
    M llvm/test/CodeGen/X86/madd.ll
    A llvm/test/CodeGen/X86/memfold-mov32r0.ll
    M llvm/test/CodeGen/X86/merge-consecutive-stores-nt.ll
    M llvm/test/CodeGen/X86/min-legal-vector-width.ll
    M llvm/test/CodeGen/X86/omit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll
    M llvm/test/CodeGen/X86/pmul.ll
    M llvm/test/CodeGen/X86/pr38539.ll
    M llvm/test/CodeGen/X86/pr38763.ll
    A llvm/test/CodeGen/X86/pr94824.ll
    A llvm/test/CodeGen/X86/pr95274.ll
    A llvm/test/CodeGen/X86/pr95278.ll
    M llvm/test/CodeGen/X86/prefer-avx256-wide-mul.ll
    M llvm/test/CodeGen/X86/regalloc-fast-missing-live-out-spill.mir
    M llvm/test/CodeGen/X86/rotate-extract-vector.ll
    M llvm/test/CodeGen/X86/select-optimize.ll
    A llvm/test/CodeGen/X86/select-phi-s16-fp.ll
    M llvm/test/CodeGen/X86/shift-eflags.ll
    M llvm/test/CodeGen/X86/shrink-compare-pgso.ll
    M llvm/test/CodeGen/X86/shrink-compare.ll
    M llvm/test/CodeGen/X86/shrink_vmul.ll
    M llvm/test/CodeGen/X86/slow-pmulld.ll
    M llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
    M llvm/test/CodeGen/X86/srem-vector-lkk.ll
    M llvm/test/CodeGen/X86/statepoint-fastregalloc.mir
    M llvm/test/CodeGen/X86/statepoint-invoke.ll
    M llvm/test/CodeGen/X86/statepoint-spill-lowering.ll
    M llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll
    M llvm/test/CodeGen/X86/urem-seteq.ll
    M llvm/test/CodeGen/X86/urem-vector-lkk.ll
    M llvm/test/CodeGen/X86/var-permute-128.ll
    M llvm/test/CodeGen/X86/var-permute-256.ll
    M llvm/test/CodeGen/X86/vec_shift6.ll
    M llvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
    M llvm/test/CodeGen/X86/vector-fshl-128.ll
    M llvm/test/CodeGen/X86/vector-fshl-256.ll
    M llvm/test/CodeGen/X86/vector-fshl-rot-128.ll
    M llvm/test/CodeGen/X86/vector-fshl-rot-256.ll
    M llvm/test/CodeGen/X86/vector-fshr-128.ll
    M llvm/test/CodeGen/X86/vector-fshr-256.ll
    M llvm/test/CodeGen/X86/vector-fshr-512.ll
    M llvm/test/CodeGen/X86/vector-fshr-rot-128.ll
    M llvm/test/CodeGen/X86/vector-fshr-rot-256.ll
    M llvm/test/CodeGen/X86/vector-idiv-sdiv-128.ll
    M llvm/test/CodeGen/X86/vector-idiv-sdiv-256.ll
    M llvm/test/CodeGen/X86/vector-idiv-sdiv-512.ll
    M llvm/test/CodeGen/X86/vector-idiv-udiv-128.ll
    M llvm/test/CodeGen/X86/vector-idiv-udiv-256.ll
    M llvm/test/CodeGen/X86/vector-idiv-udiv-512.ll
    M llvm/test/CodeGen/X86/vector-mul.ll
    M llvm/test/CodeGen/X86/vector-rotate-128.ll
    M llvm/test/CodeGen/X86/vector-rotate-256.ll
    M llvm/test/CodeGen/X86/vector-shift-ashr-128.ll
    M llvm/test/CodeGen/X86/vector-shift-ashr-256.ll
    M llvm/test/CodeGen/X86/vector-shift-ashr-sub128.ll
    M llvm/test/CodeGen/X86/vector-shift-lshr-128.ll
    M llvm/test/CodeGen/X86/vector-shift-lshr-256.ll
    M llvm/test/CodeGen/X86/vector-shift-lshr-sub128.ll
    M llvm/test/CodeGen/X86/vector-shift-shl-128.ll
    M llvm/test/CodeGen/X86/vector-shift-shl-256.ll
    M llvm/test/CodeGen/X86/vector-shift-shl-512.ll
    M llvm/test/CodeGen/X86/vector-shift-shl-sub128.ll
    M llvm/test/CodeGen/X86/vector-trunc-math.ll
    M llvm/test/CodeGen/X86/virtreg-physreg-def-regallocfast.mir
    M llvm/test/CodeGen/X86/vshift-6.ll
    M llvm/test/CodeGen/X86/widen-load-of-small-alloca.ll
    M llvm/test/CodeGen/X86/x86-shifts.ll
    M llvm/test/DebugInfo/AArch64/ir-outliner.ll
    M llvm/test/DebugInfo/AArch64/select-optimize-trailing-dbg-records.ll
    M llvm/test/DebugInfo/ARM/hardware-loop-phi-insertion.ll
    M llvm/test/DebugInfo/ARM/lowerbdgdeclare_vla.ll
    M llvm/test/DebugInfo/ARM/salvage-debug-info.ll
    M llvm/test/DebugInfo/ARM/sroa-complex.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/adce/no-delete.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/long-double-x87.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/nullptr-declare.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/scalable-vector.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/structured-bindings.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/var-not-alloca-sized.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/vla.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/dse/dse-after-memcpyopt-merge.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten-offset.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/inline/id.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/inline/inline-stores.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/inline/shared-alloca.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/inline/use-before-def.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/do-not-remove-redundant-dbg.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/memset.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/remove-redundant-dbg.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink-store.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/store-new-type.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/storemerge.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/licm/merge.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/licm/multi-exit.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/loop-deletion/dead-loop.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/loop-vectorize/remove-redundant-dbg.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/phi.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-block-alloca.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-store-alloca.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/store-to-part-of-alloca.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/memcpyopt/merge-stores.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/mldst-motion/diamond.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/optnone.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/roundtrip.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant-fwd-scan-linked.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/salvage-value.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/empty-block.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/speculated-store.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/slp-vectorizer/merge-scalars.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/after-inlining.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/alloca-single-slice.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/arglist.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/complex.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/fail-fragment.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag-2.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/id.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memcpy.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memmove-to-from-same-alloca.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/remove-redundant-dbg.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/rewrite.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store-2.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/store.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/unspecified-var-size.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/user-memcpy.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/var-sized-fragment.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-1.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll
    M llvm/test/DebugInfo/Generic/assignment-tracking/track-assignments.ll
    M llvm/test/DebugInfo/Generic/dbg-value-lower-linenos.ll
    M llvm/test/DebugInfo/Generic/debug_value_list.ll
    M llvm/test/DebugInfo/Generic/empty-metadata.ll
    M llvm/test/DebugInfo/Generic/inline-alloca-ordering.ll
    M llvm/test/DebugInfo/Generic/inline-dbg-values.ll
    M llvm/test/DebugInfo/Generic/instcombine-replaced-select-with-operand.ll
    M llvm/test/DebugInfo/Generic/ipsccp-remap-assign-id.ll
    M llvm/test/DebugInfo/Generic/loop-deletion-inline-var.ll
    M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-1.ll
    M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-2.ll
    M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-3.ll
    M llvm/test/DebugInfo/Generic/pr40628.ll
    M llvm/test/DebugInfo/Generic/sroa-larger.ll
    M llvm/test/DebugInfo/Generic/sroa-samesize.ll
    M llvm/test/DebugInfo/Generic/volatile-alloca.ll
    A llvm/test/DebugInfo/X86/DW_OP_LLVM_extract_bits.ll
    M llvm/test/DebugInfo/X86/LLVM_implicit_pointer.ll
    M llvm/test/DebugInfo/X86/array2.ll
    M llvm/test/DebugInfo/X86/codegenprep-addrsink.ll
    M llvm/test/DebugInfo/X86/codegenprep-value.ll
    M llvm/test/DebugInfo/X86/codegenprepare-rollback.ll
    M llvm/test/DebugInfo/X86/dbg-value-dropped-instcombine.ll
    M llvm/test/DebugInfo/X86/dead-store-elimination-marks-undef.ll
    A llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll
    M llvm/test/DebugInfo/X86/formal_parameter.ll
    M llvm/test/DebugInfo/X86/instcombine-demanded-bits-salvage.ll
    M llvm/test/DebugInfo/X86/instcombine-fold-cast-into-phi.ll
    M llvm/test/DebugInfo/X86/instcombine-instrinsics.ll
    M llvm/test/DebugInfo/X86/licm-undef-dbg-value.ll
    M llvm/test/DebugInfo/X86/mem2reg_fp80.ll
    A llvm/test/DebugInfo/X86/sdag-order.ll
    M llvm/test/DebugInfo/X86/sroa-after-inlining.ll
    M llvm/test/DebugInfo/X86/sroasplit-1.ll
    M llvm/test/DebugInfo/X86/sroasplit-2.ll
    M llvm/test/DebugInfo/X86/sroasplit-3.ll
    M llvm/test/DebugInfo/X86/sroasplit-4.ll
    M llvm/test/DebugInfo/X86/sroasplit-dbg-declare.ll
    M llvm/test/DebugInfo/assignment-tracking/X86/hotcoldsplit.ll
    M llvm/test/DebugInfo/debug_frame_symbol.ll
    M llvm/test/DebugInfo/duplicate_dbgvalue.ll
    A llvm/test/DebugInfo/dwarfdump-loclist-basetyperef.test
    M llvm/test/DebugInfo/instcombine-sink-latest-assignment.ll
    M llvm/test/DebugInfo/salvage-cast-debug-info.ll
    M llvm/test/DebugInfo/salvage-duplicate-values.ll
    M llvm/test/DebugInfo/salvage-gep.ll
    M llvm/test/DebugInfo/salvage-icmp.ll
    M llvm/test/DebugInfo/salvage-limit-expr-size.ll
    M llvm/test/DebugInfo/salvage-nonconst-binop.ll
    M llvm/test/DebugInfo/symbolize-gnu-debuglink-fallback.test
    M llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
    M llvm/test/Feature/fp-intrinsics.ll
    M llvm/test/Instrumentation/AddressSanitizer/calls-only-smallfn.ll
    M llvm/test/Instrumentation/AddressSanitizer/calls-only.ll
    M llvm/test/Instrumentation/AddressSanitizer/debug_info.ll
    M llvm/test/Instrumentation/AddressSanitizer/local_stack_base.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/RISCV/alloca.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca-uninteresting.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/dbg-assign-tag-offset.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/dbg-declare-tag-offset.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset-nopad.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/stack-safety-analysis.ll
    M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
    M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
    A llvm/test/Instrumentation/MemorySanitizer/PowerPC/kernel-ppc64le.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/avx2-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll
    M llvm/test/LTO/X86/triple-init2.ll
    M llvm/test/Linker/DbgDeclare.ll
    M llvm/test/Linker/debug-info-use-before-def.ll
    M llvm/test/MC/AMDGPU/gfx1150_asm_features.s
    M llvm/test/MC/AMDGPU/hsa-sym-expr-failure.s
    M llvm/test/MC/ARM/dfb-neg.s
    M llvm/test/MC/ARM/dfb.s
    A llvm/test/MC/ARM/invalid-armv8r.s
    M llvm/test/MC/ARM/thumb-hints.s
    R llvm/test/MC/AsmParser/layout-interdependency.s
    M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vbuffer_mubuf.txt
    M llvm/test/MC/Disassembler/ARM/dfb-thumb.txt
    M llvm/test/MC/Disassembler/Sparc/sparc-v9-asi.txt
    M llvm/test/MC/Disassembler/Sparc/sparc-v9.txt
    M llvm/test/MC/Disassembler/X86/apx/rex2-format.txt
    R llvm/test/MC/ELF/empty-twice.ll
    A llvm/test/MC/ELF/layout-interdependency.s
    A llvm/test/MC/ELF/relax-recompute-align.s
    M llvm/test/MC/ELF/subsection-if.s
    A llvm/test/MC/ELF/twice.ll
    R llvm/test/MC/MachO/relax-recompute-align.s
    M llvm/test/MC/RISCV/attribute-arch.s
    M llvm/test/MC/RISCV/hypervisor-csr-names.s
    M llvm/test/MC/RISCV/insn.s
    M llvm/test/MC/RISCV/insn_c.s
    M llvm/test/MC/RISCV/machine-csr-names.s
    M llvm/test/MC/RISCV/relocations.s
    M llvm/test/MC/RISCV/rvi-aliases-valid.s
    M llvm/test/MC/RISCV/rvv/vsetvl.s
    M llvm/test/MC/RISCV/supervisor-csr-names.s
    M llvm/test/MC/Sparc/sparc-relocations.s
    M llvm/test/MC/Sparc/sparc64-ctrl-instructions.s
    M llvm/test/MC/Sparc/sparcv9-instructions.s
    M llvm/test/MC/WebAssembly/reloc-pic64.s
    M llvm/test/MC/WebAssembly/simd-encodings.s
    M llvm/test/MC/X86/AlignedBundling/misaligned-bundle-group.s
    M llvm/test/MC/X86/AlignedBundling/misaligned-bundle.s
    A llvm/test/MC/X86/apx/pseudo-rex2.s
    M llvm/test/MC/X86/apx/rex2-format-att.s
    M llvm/test/MC/X86/apx/rex2-format-intel.s
    A llvm/test/MC/X86/pseudo-rex.s
    M llvm/test/MC/X86/x86_errors.s
    M llvm/test/Object/AMDGPU/elf-header-flags-mach.yaml
    M llvm/test/Other/can-execute.txt
    M llvm/test/Other/cgscc-refscc-mutation-order.ll
    M llvm/test/Other/constant-fold-gep.ll
    M llvm/test/Other/devirt-invalidated.ll
    M llvm/test/Other/lit-unicode.txt
    M llvm/test/TableGen/HasNoUse.td
    M llvm/test/TableGen/directive1.td
    M llvm/test/TableGen/directive2.td
    M llvm/test/Transforms/ADCE/adce-salvage-dbg-value.ll
    M llvm/test/Transforms/ADCE/debug-info-intrinsic.ll
    M llvm/test/Transforms/AggressiveInstCombine/AArch64/combine_ignore_debug.ll
    M llvm/test/Transforms/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i8.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
    M llvm/test/Transforms/Attributor/nonnull.ll
    M llvm/test/Transforms/BDCE/basic.ll
    M llvm/test/Transforms/BDCE/dbg-multipleuses.ll
    M llvm/test/Transforms/BDCE/pr26587.ll
    M llvm/test/Transforms/BDCE/pr41925.ll
    M llvm/test/Transforms/CallSiteSplitting/callsite-split-debug.ll
    M llvm/test/Transforms/CallSiteSplitting/callsite-split-preserve-debug.ll
    M llvm/test/Transforms/CodeExtractor/LoopExtractor_alloca.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/cttz-ctlz.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/select.ll
    M llvm/test/Transforms/CodeGenPrepare/debug-info-on-skipped-selects.ll
    M llvm/test/Transforms/CodeGenPrepare/sink-shift-and-trunc.ll
    A llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll
    M llvm/test/Transforms/Coroutines/coro-debug-O2.ll
    M llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll
    M llvm/test/Transforms/Coroutines/coro-debug-dbg.values-not_used_in_frame.ll
    M llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
    M llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll
    M llvm/test/Transforms/Coroutines/coro-debug-spill-dbg.declare.ll
    M llvm/test/Transforms/Coroutines/coro-debug.ll
    M llvm/test/Transforms/Coroutines/swift-async-dbg.ll
    M llvm/test/Transforms/DCE/basic.ll
    M llvm/test/Transforms/DCE/dbg-value-removal.ll
    M llvm/test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
    M llvm/test/Transforms/DeadArgElim/dbginfo-preserve-dbgloc.ll
    M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval-local.ll
    M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval.ll
    M llvm/test/Transforms/DeadStoreElimination/debuginfo.ll
    M llvm/test/Transforms/EarlyCSE/debug-info-undef.ll
    M llvm/test/Transforms/EarlyCSE/debuginfo-dce.ll
    A llvm/test/Transforms/ExpandVariadics/expand-va-intrinsic-split-linkage.ll
    A llvm/test/Transforms/ExpandVariadics/expand-va-intrinsic-split-simple.ll
    A llvm/test/Transforms/ExpandVariadics/indirect-calls.ll
    A llvm/test/Transforms/ExpandVariadics/intrinsics.ll
    A llvm/test/Transforms/ExpandVariadics/invoke.ll
    A llvm/test/Transforms/ExpandVariadics/pass-byval-byref.ll
    A llvm/test/Transforms/ExpandVariadics/pass-indirect.ll
    A llvm/test/Transforms/ExpandVariadics/pass-integers.ll
    M llvm/test/Transforms/GVN/load-through-select-dbg.ll
    M llvm/test/Transforms/GlobalOpt/deadglobal-diarglist-use.ll
    M llvm/test/Transforms/GlobalOpt/localize-constexpr-debuginfo.ll
    M llvm/test/Transforms/GlobalOpt/shrink-global-to-bool-check-debug.ll
    M llvm/test/Transforms/HotColdSplit/split-out-dbg-label.ll
    M llvm/test/Transforms/HotColdSplit/transfer-debug-info.ll

  Log Message:
  -----------
  Add cases in getTgtMemIntrinsic and fix lewering issues

Created using spr 1.3.6-beta.1


Compare: https://github.com/llvm/llvm-project/compare/7b008d4b7ba7...6c2d3a62b5a0

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