[all-commits] [llvm/llvm-project] ac17fb: [VPlan] Add test for printing FOR with live-out.

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Jun 4 16:50:30 PDT 2024


  Branch: refs/heads/users/aaupov/spr/main.boltbat-add-support-for-three-way-split-functions
  Home:   https://github.com/llvm/llvm-project
  Commit: ac17fbc07682c40a08a429cd061a2c57662570a4
      https://github.com/llvm/llvm-project/commit/ac17fbc07682c40a08a429cd061a2c57662570a4
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-25 (Sat, 25 May 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/vplan-printing.ll

  Log Message:
  -----------
  [VPlan] Add test for printing FOR with live-out.

Add additional test coverage for printing VPlans with a first-order
recurrence with its result used outside the loop.


  Commit: 7b4865582299294455bc816358fd88a9c6e5e0be
      https://github.com/llvm/llvm-project/commit/7b4865582299294455bc816358fd88a9c6e5e0be
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M offload/DeviceRTL/include/Utils.h
    M offload/DeviceRTL/src/Mapping.cpp
    M offload/DeviceRTL/src/Utils.cpp
    A offload/test/offloading/ompx_bare_shfl_down_sync.cpp
    M openmp/runtime/src/include/ompx.h.var

  Log Message:
  -----------
  Reapply "[OpenMP][OMPX] Add shfl_down_sync (#93311)"

This reverts commit 9b31cc71d66064dfaf2afabf4a835211321bb4a0.


  Commit: cf9eeb67e553137c979dca50bbf912acea8889a5
      https://github.com/llvm/llvm-project/commit/cf9eeb67e553137c979dca50bbf912acea8889a5
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M offload/DeviceRTL/include/Utils.h
    M offload/DeviceRTL/src/Mapping.cpp
    M offload/DeviceRTL/src/Utils.cpp
    R offload/test/offloading/ompx_bare_shfl_down_sync.cpp
    M openmp/runtime/src/include/ompx.h.var

  Log Message:
  -----------
  Revert "Reapply "[OpenMP][OMPX] Add shfl_down_sync (#93311)""

This reverts commit 7b4865582299294455bc816358fd88a9c6e5e0be.


  Commit: 70d6e7c09fd1a79ca5c2c2deeb72e6b0e1e80a52
      https://github.com/llvm/llvm-project/commit/70d6e7c09fd1a79ca5c2c2deeb72e6b0e1e80a52
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/SemaCXX/source_location.cpp

  Log Message:
  -----------
  [Clang] Rewrite SourceLocExpr in default args (#93383)

In order for their dependency to be computed correctly, SourceLocExpr
should refer to the context in which they are used.

Fixes #92680


  Commit: 5220b7bea8b01f46e9f7326b9c9a7e550e8451d1
      https://github.com/llvm/llvm-project/commit/5220b7bea8b01f46e9f7326b9c9a7e550e8451d1
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/lib/AST/Interp/Context.cpp
    M clang/test/AST/Interp/objc.mm

  Log Message:
  -----------
  [clang][Interp] Handle objc strings


  Commit: d0bb91739022e1f15b1ec9a6fd7fc92cd0f95444
      https://github.com/llvm/llvm-project/commit/d0bb91739022e1f15b1ec9a6fd7fc92cd0f95444
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

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

  Log Message:
  -----------
  [clang][Interp] Handle ObjCBoxedExprs


  Commit: 331eb8a0047504f3ae2cdf2d6c60b93e5d0543f1
      https://github.com/llvm/llvm-project/commit/331eb8a0047504f3ae2cdf2d6c60b93e5d0543f1
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/lib/Target/X86/X86InstrConditionalCompare.td
    M llvm/lib/Target/X86/X86InstrFragments.td
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86InstrInfo.h
    A llvm/test/CodeGen/X86/apx/ccmp.ll
    A llvm/test/CodeGen/X86/apx/ctest.ll

  Log Message:
  -----------
  [X86][CodeGen] Support lowering for CCMP/CTEST (#91747)

DAG combine for `CCMP` and `CTESTrr`:

```
and/or(setcc(cc0, flag0), setcc(cc1, sub (X, Y)))
->
setcc(cc1, ccmp(X, Y, ~cflags/cflags, cc0/~cc0, flag0))

and/or(setcc(cc0, flag0), setcc(cc1, cmp (X, 0)))
 ->
setcc(cc1, ctest(X, X, ~cflags/cflags, cc0/~cc0, flag0))
```
 where `cflags` is determined by `cc1`.

Generic DAG combine:
```
cmp(setcc(cc, X), 0)
brcond ne
->
X
brcond cc

sub(setcc(cc, X), 1)
brcond ne
->
X
brcond ~cc
```

Post DAG transform:  `ANDrr/rm + CTESTrr -> CTESTrr/CTESTmr`


Pattern match for `CTESTri`:
```
X= and A, B
ctest(X, X, cflags, cc0/, flag0)
->
ctest(A, B, cflags, cc0/, flag0)
```

`CTESTmi` is already handled by the memory folding mechanism in MIR.


  Commit: a4a436672a2c179274e07aeb68e9acd6f483a653
      https://github.com/llvm/llvm-project/commit/a4a436672a2c179274e07aeb68e9acd6f483a653
  Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaExpr.cpp

  Log Message:
  -----------
  [clang] In Sema use new parentEvaluationContext function (#93338)

Fixes #93284


  Commit: cda5790e38af5da3ad455eddab36ef16bf3e8104
      https://github.com/llvm/llvm-project/commit/cda5790e38af5da3ad455eddab36ef16bf3e8104
  Author: Krzysztof Pszeniczny <kpszeniczny at google.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/test/Transforms/Inline/access-attributes-prop.ll

  Log Message:
  -----------
  [Inliner] Don't propagate memory attributes to byval params (#93381)

Memory restrictions for params to the inlined function do not apply to
the copies logically made when that function further passes its own
params as byval.

In other words, imagine that `@foo()` calls `@bar(ptr readonly %p)`
which in turn calls `@baz(ptr byval("...") %p)` (passing the same `%p`).
This is fully legal - `baz` is allowed to modify its copy of the object
referenced by `%p` because the argument is passed by value. However,
when inlining `@bar` into `@foo`, we can't say that the callsite is now
`@baz(ptr readonly byval("...") %p)`, as this would mean that `@baz` is
not allowed to modify it's copy of the object pointed to by `%p`.
LangRef says: "The copy is considered to belong to the caller not the
callee (for example, readonly functions should not write to byval
parameters)".

This fixes a miscompile introduced by PR #89024 in a program in the
Google codebase.


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

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

  Log Message:
  -----------
  [RISCV] Fix tablegen indentation. NFC


  Commit: f28085aac2b2202f911911a6f6e459a9fd099460
      https://github.com/llvm/llvm-project/commit/f28085aac2b2202f911911a6f6e459a9fd099460
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp

  Log Message:
  -----------
  Fix the warning in RefCntblBaseVirtualDtorChecker.cpp:61 (#93403)


  Commit: 1d3329c2e82166be9b60921a8a571ed3c279c028
      https://github.com/llvm/llvm-project/commit/1d3329c2e82166be9b60921a8a571ed3c279c028
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/Thumb/shift-and.ll

  Log Message:
  -----------
  [Thumb] Resolve FIXME: Transform "(and (shl x, c2), c1)" into "(shl (and x, c1>>c2), c2)" (#82120)

Transform "(and (shl x, c2), c1)" into "(shl (and x, c1>>c2), c2)" if
"c1 >> c2" is a cheaper immediate than "c1" using
HasLowerConstantMaterializationCost


  Commit: 70bf1396517be14a92bc69dcb0bf44179c937d93
      https://github.com/llvm/llvm-project/commit/70bf1396517be14a92bc69dcb0bf44179c937d93
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp

  Log Message:
  -----------
  [Legalizer] Check full condition for UMIN and UMAX just like the code below does for SMIN and SMAX (#87932)


  Commit: 972f297f712d822208ceae7546c516cd3696e4b1
      https://github.com/llvm/llvm-project/commit/972f297f712d822208ceae7546c516cd3696e4b1
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

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

  Log Message:
  -----------
  Resolve TODO: Use TokenFactor for inline memset (#87002)

We can rewrite this as a TokenFactor like memcpy is.


  Commit: bb02bf78946a1833ea081a763f69b4f0304dd276
      https://github.com/llvm/llvm-project/commit/bb02bf78946a1833ea081a763f69b4f0304dd276
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

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

  Log Message:
  -----------
  [Support] Refactor getN1Bits so it does not work around any g++ bug (#78933)

This also folds better than the previous version as well.

Proof:
https://alive2.llvm.org/ce/z/6uwy95


  Commit: c6ce9372084b5469ebfc10b0e88c63dd9f890a47
      https://github.com/llvm/llvm-project/commit/c6ce9372084b5469ebfc10b0e88c63dd9f890a47
  Author: Brian Cain <bcain at quicinc.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonISelLowering.h
    M llvm/lib/Target/Hexagon/HexagonPatterns.td
    A llvm/test/CodeGen/Hexagon/readsteadycounter.ll

  Log Message:
  -----------
  [Hexagon] Implement @llvm.readsteadycounter() (#93247)

This commit was inspired by @kparzysz's ab57c2bad3dc ([Hexagon]
Implement @llvm.readcyclecounter(), 2017-02-22)


  Commit: 6d484965ca96b616c3cce0d08eed358b97dbc39b
      https://github.com/llvm/llvm-project/commit/6d484965ca96b616c3cce0d08eed358b97dbc39b
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

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

  Log Message:
  -----------
  [InstCombine] lshr (mul (X, 2^N + 1)), N -> add (X, lshr(X, N)) (#92907)

Alive2 Proofs:
https://alive2.llvm.org/ce/z/eSinJY
https://alive2.llvm.org/ce/z/vyKvde
https://alive2.llvm.org/ce/z/dRFsfV


  Commit: 6e14583c53c8b1950e502a7fa282d7e00ad2df4a
      https://github.com/llvm/llvm-project/commit/6e14583c53c8b1950e502a7fa282d7e00ad2df4a
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
    M llvm/test/CodeGen/ARM/constant-island-movwt.mir
    M llvm/test/CodeGen/ARM/constant-islands-split-IT.mir

  Log Message:
  -----------
  [ARM][NFC] Use addLiveIns method instead of manually adding live-ins (#87560)

Do this instead of reimplementing addLiveIns which does the exact same thing.


  Commit: 64bba2178f4c3af821e1aee9c5b86b77e030dd70
      https://github.com/llvm/llvm-project/commit/64bba2178f4c3af821e1aee9c5b86b77e030dd70
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/test/Transforms/InstCombine/shl-bo.ll

  Log Message:
  -----------
  [InstCombine] Propagate disjoint flags during shl-binop transform (#91333)

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


  Commit: 0f8a74732aa352e5e6dfbf74a53f015b772c5743
      https://github.com/llvm/llvm-project/commit/0f8a74732aa352e5e6dfbf74a53f015b772c5743
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

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

  Log Message:
  -----------
  [AArch64][NFC] Switch to LiveRegUnits (#87313)


  Commit: 558c51968f8f8252128f38a2b860c9ae0a86edba
      https://github.com/llvm/llvm-project/commit/558c51968f8f8252128f38a2b860c9ae0a86edba
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZPostRewrite.cpp

  Log Message:
  -----------
  [SystemZ] LivePhysRegs to LiveRegUnits (NFC) (#85162)

More conversions from LivePhysRegs to LiveRegUnits


  Commit: c42c32088bdb03e39ed24f4800a447d4cbb788f2
      https://github.com/llvm/llvm-project/commit/c42c32088bdb03e39ed24f4800a447d4cbb788f2
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

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

  Log Message:
  -----------
  [InstCombine] Add reverse of ((X << nuw Z) sub nuw Y) >>u exact Z --> X sub nuw (Y >>u exact Z) (#91386)

This is the same fold as ((X << nuw Z) sub nuw Y) >>u exact Z --> X sub
nuw (Y >>u exact Z), which we already have and approved in the codebase, but with the sub operands
swapped.

Proof it works in reverse, so we could have a wider generalization of this pattern: https://alive2.llvm.org/ce/z/2cRcdx


  Commit: 686600b521aa3ca5fb9f015d25636067e2c5c9fa
      https://github.com/llvm/llvm-project/commit/686600b521aa3ca5fb9f015d25636067e2c5c9fa
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/scev-predicate-reasoning.ll

  Log Message:
  -----------
  [LV] Add test showing missed removal of implied predicate.

Tests for https://github.com/llvm/llvm-project/pull/93397


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

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Transforms/LoopVectorize/scev-predicate-reasoning.ll

  Log Message:
  -----------
  [SCEV] Don't add predicates already implied by UnionPredicate. (#93397)

Update SCEVUnionPredicate::add to only add predicates from another union
predicate, if they aren't alread implied by the union predicate we add
them to.

Note that there exists logic elsewhere to avoid adding predicates if
they are already implied, but this logic misses cases when only some
predicates of a union predicate are implied by the current set of
predicates.

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


  Commit: bafda89a0944d947fc4b3b5663185e07a397ac30
      https://github.com/llvm/llvm-project/commit/bafda89a0944d947fc4b3b5663185e07a397ac30
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

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

  Log Message:
  -----------
  [X86] Use generic CPU tuning when tune-cpu is empty (#83631)


  Commit: eeb2f72a493368d892653203feec03ce484bf17c
      https://github.com/llvm/llvm-project/commit/eeb2f72a493368d892653203feec03ce484bf17c
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  [SelectionDAG][X86] Fix the assertion failure in Release build after #91747 (#93434)

In #91747, we changed the SDNode from `X86ISD::SUB` (FROM) to
`X86ISD::CCMP`
(TO) in the DAGCombine. The value type of `X86ISD::SUB` can be `i8, i32`
while the value type of `X86ISD::CCMP` is i32. This breaks the
assumption
that the value type should match after the combine and triggers the
error

```
SelectionDAG.cpp:10942: void
llvm::SelectionDAG::transferDbgValues(llvm::SDValue, llvm::SDValue,
unsigned int, unsigned int, bool): Assertion `FromNode && ToNode &&
"Can't modify dbg values"' failed.
```

when running tests

llvm/test/CodeGen/X86/apx/ccmp.ll
llvm/test/CodeGen/X86/apx/ctest.ll

in Release build when LLVM_ENABLE_ASSERTIONS is on.

In this patch, we fix it by creating a merged value.


  Commit: cbd8031baa62f20d8513f084104180f9d49d763d
      https://github.com/llvm/llvm-project/commit/cbd8031baa62f20d8513f084104180f9d49d763d
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  Revert "[X86] Use generic CPU tuning when tune-cpu is empty" (#93436)

Reverts llvm/llvm-project#83631

Using `HasX86_64` is incorrect.


  Commit: 9027ee63f9d8b02d3ef3d5815d98027a8b513997
      https://github.com/llvm/llvm-project/commit/9027ee63f9d8b02d3ef3d5815d98027a8b513997
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86EncodingOptimizationForImmediate.def
    A llvm/test/MC/X86/apx/ccmp-reloc.s

  Log Message:
  -----------
  [X86][MC] Support encoding optimization & assembler relaxation about immediate operands for CCMP (#85175)


  Commit: 5b146246c4dcb3eb903199144cfd63f4dbc8bf26
      https://github.com/llvm/llvm-project/commit/5b146246c4dcb3eb903199144cfd63f4dbc8bf26
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  [X86][DAGCombine] Remove the predicate hasCCMP() in combineX86SubCmpForFlags, NFCI

No update for non-APX tests.

This patch resolves TODO in #91747.


  Commit: e73e4951b20c70f24354e2a2820876c818dcaee3
      https://github.com/llvm/llvm-project/commit/e73e4951b20c70f24354e2a2820876c818dcaee3
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/include/clang/Serialization/ASTReader.h
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  [NFC] Fix typo unalighed_decl_id_t

It should be unalignhed_decl_id_t


  Commit: b590ba73a76609bace9949ea8195d2ee8213cb3f
      https://github.com/llvm/llvm-project/commit/b590ba73a76609bace9949ea8195d2ee8213cb3f
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  [NFC] Rename 'DependentModules'  in ModuleFile to `TransitiveImports`

Required in the review process of https://github.com/llvm/llvm-project/pull/92083


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

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

  Log Message:
  -----------
  Revert "[InstCombine] Add reverse of ((X << nuw Z) sub nuw Y) >>u exact Z --> X sub nuw (Y >>u exact Z) (#91386)"

This reverts commit c42c32088bdb03e39ed24f4800a447d4cbb788f2.

PR merged without review.


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

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZPostRewrite.cpp

  Log Message:
  -----------
  Revert "[SystemZ] LivePhysRegs to LiveRegUnits (NFC) (#85162)"

This reverts commit 558c51968f8f8252128f38a2b860c9ae0a86edba.

PR merged without review.


  Commit: 84314d0ae49628e17667a2d927cb835ecf3d62b8
      https://github.com/llvm/llvm-project/commit/84314d0ae49628e17667a2d927cb835ecf3d62b8
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  Revert "[AArch64][NFC] Switch to LiveRegUnits (#87313)"

This reverts commit 0f8a74732aa352e5e6dfbf74a53f015b772c5743.

PR merged without approval.


  Commit: 9378d74e567b1148331d0e91ac82788d122b51b1
      https://github.com/llvm/llvm-project/commit/9378d74e567b1148331d0e91ac82788d122b51b1
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
    M llvm/test/CodeGen/ARM/constant-island-movwt.mir
    M llvm/test/CodeGen/ARM/constant-islands-split-IT.mir

  Log Message:
  -----------
  Revert "[ARM][NFC] Use addLiveIns method instead of manually adding live-ins (#87560)"

This reverts commit 6e14583c53c8b1950e502a7fa282d7e00ad2df4a.

PR merged without review.


  Commit: 83370e4878aa96489d9a60cb10431e271d6aea1a
      https://github.com/llvm/llvm-project/commit/83370e4878aa96489d9a60cb10431e271d6aea1a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  Revert "[InstCombine] lshr (mul (X, 2^N + 1)), N -> add (X, lshr(X, N)) (#92907)"

This reverts commit 6d484965ca96b616c3cce0d08eed358b97dbc39b.

PR merged without review.


  Commit: 15c8ba4c3b92871278ccc385a696c26c4747711d
      https://github.com/llvm/llvm-project/commit/15c8ba4c3b92871278ccc385a696c26c4747711d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  Revert "[Support] Refactor getN1Bits so it does not work around any g++ bug (#78933)"

This reverts commit bb02bf78946a1833ea081a763f69b4f0304dd276.

PR merged without review.


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

  Changed paths:
    M llvm/lib/WindowsManifest/WindowsManifestMerger.cpp

  Log Message:
  -----------
  [WindowsManifestMerger] Remove deprecated call to xmlKeepBlanksDefault (#93139)

This function has been deprecated in favor of the XML_PARSE_NOBLANKS
option. The code already uses the option, so remove the call. If this
call served some additional purpose, then it wasn't tested.

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


  Commit: 1c046ca3f3254944483251bdc9c843e72d7f7796
      https://github.com/llvm/llvm-project/commit/1c046ca3f3254944483251bdc9c843e72d7f7796
  Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp

  Log Message:
  -----------
  [lldb] Fixed PlatformPOSIX::DoLoadImage() in case of the Windows host (#93345)

Do not denormalize the path. This patch fixes #93092.

BTW, it would be great to be able to pass the style or triple to
SBFileSpec. Currently it is impossible to create a posix SBFileSpec on
the Windows host.


  Commit: 9f85bc834b07ebfec9e5e02deb9255a0f6ec5cc7
      https://github.com/llvm/llvm-project/commit/9f85bc834b07ebfec9e5e02deb9255a0f6ec5cc7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
    A llvm/test/CodeGen/PowerPC/mergeable-string-pool-pr92991.ll

  Log Message:
  -----------
  [PPCMergeStringPool] Only replace constant once (#92996)

In #88846 I changed this code to use RAUW to perform the replacement
instead of manual updates -- but kept the outer loop, which means we try
to perform RAUW once per user. However, some of the users might be freed
by the RAUW operation, resulting in use-after-free.

The case where this happens is constant users where the replacement
might result in the destruction of the original constant.

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


  Commit: 80b78f5fb30c43cd88f0d096081bc7f1509b0110
      https://github.com/llvm/llvm-project/commit/80b78f5fb30c43cd88f0d096081bc7f1509b0110
  Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/fold-scalar-load-crash.ll

  Log Message:
  -----------
  [RISCV] Update fold-scalar-load-crash.ll

So that the loop won't be hoisted completely.


  Commit: f31b197d9df141effd439de8be51ce24f3e8f200
      https://github.com/llvm/llvm-project/commit/f31b197d9df141effd439de8be51ce24f3e8f200
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/unittests/StaticAnalyzer/MemRegionDescriptiveNameTest.cpp

  Log Message:
  -----------
  [analyzer] Fix a test issue in mingw configurations (#92737)

On Windows, long is always 32 bit, thus one can't use long for casting
pointers to integers, on 64 bit architectures.

Instead use long long, which should be large enough.

This avoids errors like "error: cast from pointer to smaller type 'long'
loses information" in this testcase.

This condition only seems to be an error in mingw mode; in MSVC mode
(clang-cl), this is only a warning.


  Commit: 243ffbdf8b25285d04ee4393e86094312cb7c64f
      https://github.com/llvm/llvm-project/commit/243ffbdf8b25285d04ee4393e86094312cb7c64f
  Author: eaeltsin <109593613+eaeltsin at users.noreply.github.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/test/Transforms/DeadStoreElimination/simple.ll

  Log Message:
  -----------
  [DSE] Check write location in IsRedundantStore (#93400)

Fix https://github.com/llvm/llvm-project/issues/93298.


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

  Changed paths:
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [clang] NFC: add a test case for TemplateName canonical type print issue


  Commit: 76b9d38934572909ffc8c8ef4cd45407f22e6ea7
      https://github.com/llvm/llvm-project/commit/76b9d38934572909ffc8c8ef4cd45407f22e6ea7
  Author: Balázs Kéri <balazs.keri at ericsson.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/docs/analyzer/checkers.rst
    M clang/lib/StaticAnalyzer/Checkers/PutenvStackArrayChecker.cpp
    M clang/test/Analysis/putenv-stack-array.c

  Log Message:
  -----------
  [clang][analyzer] PutenvStackArrayChecker: No warning from 'main' (#93299)


  Commit: 7429950d840b8fec3d9a48d00e612a3240c2be83
      https://github.com/llvm/llvm-project/commit/7429950d840b8fec3d9a48d00e612a3240c2be83
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/test/CodeCompletion/member-access.cpp

  Log Message:
  -----------
  [clang][CodeComplete] Recurse into the subexpression of deref operator in getApproximateType (#93404)

The issue with the previous implementation bc31be7 was that
getApproximateType could potentially return a null QualType for a
dereferencing operator, which is not what its caller wants.


  Commit: 2b78c641525b7cea9dec8125b7f5cd06d7ce8fff
      https://github.com/llvm/llvm-project/commit/2b78c641525b7cea9dec8125b7f5cd06d7ce8fff
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  [flang] add API to copy and update descriptors for assumed ranks (#93305)

When passing assumed-rank around, the lower bounds, dynamic type and
attribute must sometimes be updated to match the dummy attributes. See
https://github.com/llvm/llvm-project/blob/main/flang/docs/AssumedRank.md#annex-1---descriptor-temporary-for-the-dummy-arguments
for more details.

Doing it inline would require generating many instructions and block CFG
at the LLVM IR dialect level in codegen. Go for a simple runtime API
instead.
A matching fir.rebox_assumed_rank operation will be created and will
allow for easier future optimizations when inlining is done in FIR.


  Commit: 43fd244b3d5c08bfd3aad0913b0fe84339842f4e
      https://github.com/llvm/llvm-project/commit/43fd244b3d5c08bfd3aad0913b0fe84339842f4e
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    A llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
    A llvm/lib/Target/AMDGPU/AMDGPUSplitModule.h
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
    M llvm/lib/Target/AMDGPU/CMakeLists.txt
    A llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize-with-call.ll
    A llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize.ll
    A llvm/test/tools/llvm-split/AMDGPU/debug-name-hiding.ll
    A llvm/test/tools/llvm-split/AMDGPU/kernels-alias-dependencies.ll
    A llvm/test/tools/llvm-split/AMDGPU/kernels-cost-ranking.ll
    A llvm/test/tools/llvm-split/AMDGPU/kernels-dependencies.ll
    A llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-duplication.ll
    A llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-external.ll
    A llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-indirect.ll
    A llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-overridable.ll
    A llvm/test/tools/llvm-split/AMDGPU/kernels-global-variables-noexternal.ll
    A llvm/test/tools/llvm-split/AMDGPU/kernels-global-variables.ll
    A llvm/test/tools/llvm-split/AMDGPU/kernels-load-balancing.ll
    A llvm/test/tools/llvm-split/AMDGPU/kernels-no-dependencies.ll
    A llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging.ll
    A llvm/test/tools/llvm-split/AMDGPU/lit.local.cfg

  Log Message:
  -----------
  Reland "[AMDGPU] Add AMDGPU-specific module splitting (#89245)"

(with fix for ubsan)

This enables the --lto-partitions option to work more consistently.

This module splitting logic is fully aware of AMDGPU modules and their
specificities and takes advantage of
them to split modules in a way that avoids compilation issue (such as
resource usage being incorrectly represented).

This also includes a logging system that's more elaborate than just
LLVM_DEBUG which allows
printing logs to uniquely named files, and optionally with all value
names hidden so they can be safely shared without leaking informatiton
about the source. Logs can also be enabled through an environment
variable, which avoids the sometimes complicated process of passing a
-mllvm option all the way from clang driver to the offload linker that
handles full LTO codegen.


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

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 43fd244b3d5c


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

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

  Log Message:
  -----------
  [flang] add fir.rebox_assumed_rank operation (#93334)

As described in https://github.com/llvm/llvm-project/blob/main/flang/docs/AssumedRank.md,
add an operation to make copies of assumed-rank descriptors where lower
bounds, attributes, or dynamic type may have been changed.


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

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
    A flang/include/flang/Optimizer/Builder/Runtime/Support.h
    M flang/include/flang/Optimizer/Dialect/FIRType.h
    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/Builder/CMakeLists.txt
    A flang/lib/Optimizer/Builder/Runtime/Support.cpp
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    A flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
    M flang/lib/Optimizer/Transforms/CMakeLists.txt
    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/Fir/rebox_assumed_rank_codegen.fir

  Log Message:
  -----------
  [flang] add FIR to FIR pass to lower assumed-rank operations (#93344)

Add pass to lower assumed-rank operations. The current patch adds
codegen for fir.rebox_assumed_rank. It will be the pass lowering
fir.select_rank.
    
fir.rebox_assumed_rank is lowered to a call to CopyAndUpdateDescriptor
runtime API.
    
Note that the lowering ends-up allocating two new descriptors at the
LLVM level (one alloca created by the pass for the CopyAndUpdateDescriptor
result descriptor argument, the second one is created by the fir.load
of the result descriptor in codegen).
LLVM is currently unable to properly optimize and merge those allocas.
The "nocapture" attribute added to CopyAndUpdateDescriptor arguments
gives part of the information to LLVM, but the fir.load codegen of
descriptors must be updated to use llvm.memcpy instead of
llvm.load+store to allow LLVM to optimize it. This will be done in later patch.


  Commit: c1ac6d2dd4ad3b15756d53b4b294843de4c141c2
      https://github.com/llvm/llvm-project/commit/c1ac6d2dd4ad3b15756d53b4b294843de4c141c2
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/Basic/BuiltinsAMDGPU.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/test/CodeGenCXX/builtin-amdgcn-fence.cpp
    M clang/test/SemaOpenCL/builtins-amdgcn-error.cl
    M llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-global.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-local.ll

  Log Message:
  -----------
  [AMDGPU] Add amdgpu-as MMRA for fences (#78572)

Using MMRAs, allow `builtin_amdgcn_fence` to emit fences that only
target one or more address spaces, instead of fencing all address spaces
at once.

This is done through a `amdgpu-as` MMRA. Currently focused on OpenCL
fences, but can very easily support more AS names and codegen on more
than just fences.


  Commit: 7a28a5b3fee6c78ad59af79a3d03c00db153c49f
      https://github.com/llvm/llvm-project/commit/7a28a5b3fee6c78ad59af79a3d03c00db153c49f
  Author: kadir çetinkaya <kadircet at google.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/SemaCXX/overload-template.cpp

  Log Message:
  -----------
  [clang][Sema] Fix crash when diagnosing candidates with parameter packs (#93079)

Prevent OOB access by not printing target parameter range when there's a
pack in the function parameters.

Fixes https://github.com/llvm/llvm-project/issues/93076.
Fixes https://github.com/llvm/llvm-project/issues/76354.
Fixes https://github.com/llvm/llvm-project/issues/70191.


  Commit: 4447461bc4802d4ead02db61c5276c142df3fd0c
      https://github.com/llvm/llvm-project/commit/4447461bc4802d4ead02db61c5276c142df3fd0c
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/SemaCXX/recovery-expr-type.cpp

  Log Message:
  -----------
  [clang][Interp] Don't try to dereference a null type


  Commit: 1e6a82b8ef19abdc45fc72c309b0bef6cb6eda72
      https://github.com/llvm/llvm-project/commit/1e6a82b8ef19abdc45fc72c309b0bef6cb6eda72
  Author: Mirko Brkušanin <Mirko.Brkusanin at amd.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    A llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.load.tfe.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.load.tfe.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.load.tfe.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.load.tfe.ll

  Log Message:
  -----------
  [AMDGPU] Legalize and select raw/struct_buffer_load with tfe (#93310)


  Commit: 8def1288d226008fe7a9128f1d81d6dfa172387e
      https://github.com/llvm/llvm-project/commit/8def1288d226008fe7a9128f1d81d6dfa172387e
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/include/llvm/ADT/GenericUniformityImpl.h

  Log Message:
  -----------
  [UniformityAnalysis] Use DenseSet for DivergentValues (#93455)

Values are small, and std::set is just unnecessarily expensive. It stood
out in some quick performance profiling. DenseSet is a better
alternative in this case.


  Commit: 0183b58e292d9d7004fabc92bd0da10eba5666db
      https://github.com/llvm/llvm-project/commit/0183b58e292d9d7004fabc92bd0da10eba5666db
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/SemaCXX/overload-decl.cpp

  Log Message:
  -----------
  [Clang] Correctly diagnose a static function overloading a non-static function (#93460)

Regression in clang 18 introduced by af4751738db89a1

Fixes #93456


  Commit: 8760d4ba4cb12d5cac2469f26cd09a2b3acd3c50
      https://github.com/llvm/llvm-project/commit/8760d4ba4cb12d5cac2469f26cd09a2b3acd3c50
  Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M mlir/lib/Dialect/EmitC/IR/EmitC.cpp

  Log Message:
  -----------
  [mlir][EmitC] Update comment (NFC)


  Commit: 6af4118f1557eb7ac07147607bd23e90c5bf2b35
      https://github.com/llvm/llvm-project/commit/6af4118f1557eb7ac07147607bd23e90c5bf2b35
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M flang/include/flang/Lower/AbstractConverter.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
    M flang/lib/Lower/OpenMP/DataSharingProcessor.h
    M flang/lib/Lower/OpenMP/Decomposer.cpp
    M flang/lib/Lower/OpenMP/Decomposer.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/test/Lower/OpenMP/Todo/omp-default-clause-inner-loop.f90
    M flang/test/Lower/OpenMP/copyin.f90
    M flang/test/Lower/OpenMP/critical.f90
    M flang/test/Lower/OpenMP/default-clause.f90
    M flang/test/Lower/OpenMP/hlfir-seqloop-parallel.f90
    M flang/test/Lower/OpenMP/hlfir-wsloop.f90
    M flang/test/Lower/OpenMP/lastprivate-iv.f90
    M flang/test/Lower/OpenMP/parallel-lastprivate-clause-scalar.f90
    M flang/test/Lower/OpenMP/parallel-private-clause-fixes.f90
    M flang/test/Lower/OpenMP/parallel-private-clause.f90
    M flang/test/Lower/OpenMP/parallel-reduction-allocatable-array.f90
    M flang/test/Lower/OpenMP/parallel-reduction3.f90
    M flang/test/Lower/OpenMP/parallel-wsloop-firstpriv.f90
    M flang/test/Lower/OpenMP/parallel-wsloop.f90
    M flang/test/Lower/OpenMP/stop-stmt-in-region.f90
    M flang/test/Lower/OpenMP/target.f90
    M flang/test/Lower/OpenMP/unstructured.f90
    M flang/test/Lower/OpenMP/wsloop-collapse.f90
    M flang/test/Lower/OpenMP/wsloop-monotonic.f90
    M flang/test/Lower/OpenMP/wsloop-nonmonotonic.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-add-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-add.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-allocatable.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array-assumed-shape.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array2.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-iand-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-iand.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-ieor-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-ieor.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-ior-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-ior.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-and-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-and.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-or-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-or.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-min.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-min2.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-mul-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-mul.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-multiple-clauses.f90
    M flang/test/Lower/OpenMP/wsloop-variable.f90
    M flang/test/Lower/OpenMP/wsloop.f90

  Log Message:
  -----------
   Reapply #91116 with fix (#93160)

This PR contains 2 commits:
1. A commit to reapply changes introduced #91116 (was reverted earlier
due to test suite failures)
2. A commit containing a possible solution for the issue causing the
test suite failures. In particular, it introduces a simple symbol
visitor class to keep track of the current active OMP construct and
marking this active construct as the scope defining the symbol being
visisted.


  Commit: a487616cbf542826d0ba1e7d0dabedca33a27de8
      https://github.com/llvm/llvm-project/commit/a487616cbf542826d0ba1e7d0dabedca33a27de8
  Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVNSink.cpp
    A llvm/test/Transforms/GVNSink/sink-common-code-dbg.ll
    M llvm/test/Transforms/GVNSink/sink-ignore-dbg-intrinsics.ll

  Log Message:
  -----------
  [DebugInfo][GVNSink] Merging debug locations of sinked instructions (#92859)

Fix #85069 .


  Commit: b1e329a3f54fbe55fa61c124f94cc6c8509e5423
      https://github.com/llvm/llvm-project/commit/b1e329a3f54fbe55fa61c124f94cc6c8509e5423
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Explicitly define PrimType values

So I don't have to count them down all the time.


  Commit: 6a197b35db0805e77d5103382b5b516ca0c2db1d
      https://github.com/llvm/llvm-project/commit/6a197b35db0805e77d5103382b5b516ca0c2db1d
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  [clang][Interp] Fix returning references to functions

Previously, we pushed a pointer to the stack and later tried to use
it as if it was a function pointer, which doesn't work.


  Commit: 21ee27877a87185199d150f9a49f2d3337bad86e
      https://github.com/llvm/llvm-project/commit/21ee27877a87185199d150f9a49f2d3337bad86e
  Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/Sema/atomic-ops.c

  Log Message:
  -----------
  [Clang] Issue an error when an atomic builtin is called with a pointer to a zero-size object (#91057)

When an atomic builtin is called with a pointer to an object of size
zero, an arithmetic exception gets thrown because there is a modulo
operation with the objects size in codegen.

Diagnose this in sema instead.

Fixes #90330.


  Commit: 670259466b238176ac302c8dedf806d2b2be7e0c
      https://github.com/llvm/llvm-project/commit/670259466b238176ac302c8dedf806d2b2be7e0c
  Author: Rouzbeh <rouzbeh.paktinat1 at huawei.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Analysis/LoopCacheAnalysis.cpp
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/LoopnestFixedSize.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/compute-cost.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/loads-store.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/matmul.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/matvecmul.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/multi-store.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/single-store.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/stencil.ll
    M llvm/test/Analysis/LoopCacheAnalysis/compute-cost.ll
    A llvm/test/Analysis/LoopCacheAnalysis/interchange-cost-beneficial.ll
    M llvm/test/Transforms/LoopInterchange/pr43176-move-to-new-latch.ll

  Log Message:
  -----------
  [LoopCacheAnalysis] Fix loop cache cost to always round the cost up to the nearest integer number (#88915)

Currently loop cache analysis uses following formula to evaluate cost of
an RefGroup for a consecutive memory access:

`RefCost=(TripCount*Stride)/CLS`

This cost evaluates to zero when `TripCount*Stride` is smaller than
cache-line-size. This results in wrong cost value for a loop and
misleads loopInterchange decisions as shown in [this
case](https://llvm.godbolt.org/z/jTz1vn4hn).

This patch fixes the problem by rounding the cost to 1 once this problem
happens.


  Commit: 5e140c8a17889a4cc677edee9f5db618dca70535
      https://github.com/llvm/llvm-project/commit/5e140c8a17889a4cc677edee9f5db618dca70535
  Author: Sirraide <aeternalmail at gmail.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/test/Parser/MicrosoftExtensions.cpp
    M clang/test/Sema/builtin-assume.c
    M clang/test/Sema/stmtexprs.c
    M clang/test/SemaCXX/cxx23-assume.cpp

  Log Message:
  -----------
  [Clang] [NFC] Clarify assume diagnostic (#93077)

Currently, if the argument to `__builtin_assume` and friends contains
side-effects, we issue the following diagnostic:
```
<source>:1:34: warning: the argument to '__builtin_assume' has side 
effects that will be discarded [-Wassume]
    1 | void f(int x) { __builtin_assume(x++); }
      |                                  
```
The issue here is that this diagnostic misrepresents what is actually
happening: not only do we discard the side-effects of the expression,
but we also don’t even emit any assumption information at all because
the backend is not equipped to deal with eliminating side-effects in
cases such as this.

This has caused some confusion (see #91612) beacuse the current wording
of the warning suggests that, sensibly, only the side-effects of the
expression, and not the assumption itself, will be discarded.

This pr updates the diagnostic to state what is actually happening: that
the assumption has no effect at all because its argument contains
side-effects:
```
<source>:1:34: warning: assumption is ignored because it contains 
(potential) side-effects [-Wassume]
    1 | void f(int x) { __builtin_assume(x++); }
      |                                  
```

I’ve deliberately included ‘(potential)’ here because even expressions
that only contain potential side-effects (e.g. `true ? x : x++` or a
call to a function that is pure, but we don’t know that it is) cause the
assumption to be discarded. This, too, has caused some confusion because
it was erroneously assumed that Clang would e.g. infer that a function
call is pure and not discard the assumption as a result when that isn’t
the case.

This is intended to be temporary; we should revert back to the original
diagnostic once we have proper support for assumptions with side-effects
in the backend (in which case the side-effects will still be discarded,
but the assumption won’t)

This fixes #91612.


  Commit: 49b760ff2c7da60f4308708f56688ca99874605f
      https://github.com/llvm/llvm-project/commit/49b760ff2c7da60f4308708f56688ca99874605f
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  [clang][Interp] Fix calling virtual CXXOperatorCallExprs


  Commit: 8cdecd4d3aedea7bc5f27d1f69da216100cb2815
      https://github.com/llvm/llvm-project/commit/8cdecd4d3aedea7bc5f27d1f69da216100cb2815
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/AsmParser/LLToken.h
    M llvm/include/llvm/Bitcode/LLVMBitCodes.h
    M llvm/include/llvm/IR/Constants.h
    A llvm/include/llvm/IR/GEPNoWrapFlags.h
    M llvm/include/llvm/IR/Instructions.h
    M llvm/include/llvm/IR/Operator.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/AsmParser/LLLexer.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/Instruction.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/Operator.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
    M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
    M llvm/lib/Transforms/Utils/FunctionComparator.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/test/Assembler/flags.ll
    M llvm/test/Transforms/InstCombine/freeze.ll
    M llvm/test/Transforms/SimplifyCFG/HoistCode.ll
    M llvm/test/tools/llvm-reduce/reduce-flags.ll
    M llvm/tools/llvm-reduce/deltas/ReduceInstructionFlags.cpp

  Log Message:
  -----------
  [IR] Add getelementptr nusw and nuw flags (#90824)

This implements the `nusw` and `nuw` flags for `getelementptr` as
proposed at
https://discourse.llvm.org/t/rfc-add-nusw-and-nuw-flags-for-getelementptr/78672.

The three possible flags are encapsulated in the new `GEPNoWrapFlags`
class. Currently this class has a ctor from bool, interpreted as the
InBounds flag. This ctor should be removed in the future, as code gets
migrated to handle all flags.

There are a few places annotated with `TODO(gep_nowrap)`, where I've had
to touch code but opted to not infer or precisely preserve the new
flags, so as to keep this as NFC as possible and make sure any changes
of that kind get test coverage when they are made.


  Commit: 714aee31e10020fbe2169bdca088545be4bfa4ae
      https://github.com/llvm/llvm-project/commit/714aee31e10020fbe2169bdca088545be4bfa4ae
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorInterleave.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M mlir/test/Dialect/Vector/ops.mlir
    M mlir/test/Dialect/Vector/vector-interleave-lowering-transforms.mlir
    M mlir/test/Dialect/Vector/vector-interleave-to-shuffle.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-interleave.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/test-interleave.mlir

  Log Message:
  -----------
  [mlir][vector] Add result type to `interleave` assembly format (#93392)

This is to make it more obvious for what the result type is, especially
with some less trivial cases like 0-d inputs resulting in 1-d inputs or
interaction with scalable vector types. Note that `vector.deinterleave`
uses the same format with explicit result type.

Also improve examples and clean up surrounding code.


  Commit: 3d1145a51009c56a4d46792dea51da75a1153951
      https://github.com/llvm/llvm-project/commit/3d1145a51009c56a4d46792dea51da75a1153951
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    R libcxx/include/libcxx.imp

  Log Message:
  -----------
  [libc++] Remove libcxx/include/libcxx.imp

This was committed by mistake. We don't store that file in the source
tree anymore, we only generate it upon installation.


  Commit: 5fb38307f372555cd22fd09ace86c3b1ccd2abb9
      https://github.com/llvm/llvm-project/commit/5fb38307f372555cd22fd09ace86c3b1ccd2abb9
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/CMakeLists.txt

  Log Message:
  -----------
  [clang-tools-extra] Remove redundant FOLDER property. NFC.

This should have been removed from #89744 to address a review comment.


  Commit: 48c988cfcbb25243700178bad43d106ae7ef2cb4
      https://github.com/llvm/llvm-project/commit/48c988cfcbb25243700178bad43d106ae7ef2cb4
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/SemaCXX/overloaded-operator.cpp

  Log Message:
  -----------
  [Clang] Only non-overloaded dereference expressions  are lvalues (#93457)

Fix a regression introduced by #88740

Fixes #92275


  Commit: 4b5e0a1d12f0d624852c6d7c82207647ed5282aa
      https://github.com/llvm/llvm-project/commit/4b5e0a1d12f0d624852c6d7c82207647ed5282aa
  Author: Sirraide <aeternalmail at gmail.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaTemplateVariadic.cpp
    A clang/test/SemaCXX/attribute-pack-expansion.cpp

  Log Message:
  -----------
  [Clang] [Sema] Diagnose unexpanded parameter packs in attributes (#93482)

Call `DiagnoseUnexpandedParameterPack` when we parse an expression
argument to an attribute and check for implicit code in the
`CollectUnexpandedParameterPacksVisitor` so we can actually find
unexpanded packs in attributes that end up applied to lambda call
operators.

This fixes #93269.


  Commit: 34388f986af1289492d043b56b6cba17468d1f8d
      https://github.com/llvm/llvm-project/commit/34388f986af1289492d043b56b6cba17468d1f8d
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_function_alt.ll
    A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_function_alt.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_function_alt.s
    A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/amdgpu_function_alt.test
    M llvm/utils/UpdateTestChecks/asm.py
    M llvm/utils/update_llc_test_checks.py

  Log Message:
  -----------
  update_llc_test_checks: better support for non-llc tools (#93135)

A full downstream fork can already hack up update_llc_test_checks.py to
support custom tools that output assembly.

An out-of-tree frontend which is meant to build against upstream
llvm-project cannot do this, and so providing additional arguments to
support a non-standard tool is useful.

This also makes a minor adjustment to the regular expression for
matching AMDGPU functions when fewer comments are enabled, which happens
to be the case for our out-of-tree shader compiler (which motivated this
change).


  Commit: d3ce1078186389ce39505f06c2a0100dce9187a5
      https://github.com/llvm/llvm-project/commit/d3ce1078186389ce39505f06c2a0100dce9187a5
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M libcxx/test/libcxx/lit.local.cfg
    M libcxx/utils/libcxx/test/dsl.py

  Log Message:
  -----------
  [libcxx] [test] Use `shlex.quote()` to fix Python 3.13 compatibility (#93376)

Replace the use of `pipes.quote()` with `shlex.quote()` to fix
compatibility with Python 3.13. The former was always an undocumented
alias to the latter, and the `pipes` module was removed completely in
Python 3.13.

Fixes #93375


  Commit: 67aec0cd62d607b4e5b7198769be061454ce67b3
      https://github.com/llvm/llvm-project/commit/67aec0cd62d607b4e5b7198769be061454ce67b3
  Author: Peter Rong <peterrong96 at gmail.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/LowerSwitch.cpp
    A llvm/test/Transforms/LowerSwitch/93152.ll

  Log Message:
  -----------
  [LowerSwitch] Use unsigned integer for range comparison (#93237)

Commit 1db51d8eb2 switched from int64_t to `APInt` to prevent high precision integer overflow.
However, when comparing the "range" of switch cases, we should switch to unsigned integer to prevent overflow.
This patch fixes https://github.com/llvm/llvm-project/issues/93152. 
Some test cases are added.

Signed-off-by: Peter Rong <PeterRong96 at gmail.com>


  Commit: 9bbd5de8c8f73ca8bc705be48d8677d1a2838d26
      https://github.com/llvm/llvm-project/commit/9bbd5de8c8f73ca8bc705be48d8677d1a2838d26
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M lld/test/ELF/arm-gotoff.s

  Log Message:
  -----------
  [ELF,test] Simplify arm-gotoff.s and fix check prefixes


  Commit: 855eef2abd81cb8c7543d4748353d5e378fdd4c2
      https://github.com/llvm/llvm-project/commit/855eef2abd81cb8c7543d4748353d5e378fdd4c2
  Author: Benoit Jacob <jacob.benoit.1 at gmail.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  [bazel] Add missing dependency for `llvm-tblgen` (#93486)


  Commit: 59c6bd156cc8b42758ce90909615748e21c6eee2
      https://github.com/llvm/llvm-project/commit/59c6bd156cc8b42758ce90909615748e21c6eee2
  Author: David Green <david.green at arm.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/add_reduce.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/begin-vpt-without-inst.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/biquad-cascade-default.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/biquad-cascade-optsize-strd-lr.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/biquad-cascade-optsize.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/cmplx_cong.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/cond-mov.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/count_dominates_start.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/ctlz-non-zeros.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/disjoint-vcmp.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-ignore-vctp.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/end-positive-offset.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/extract-element.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/incorrect-sub-16.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/incorrect-sub-32.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/incorrect-sub-8.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-1.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-2.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-3.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpsel-1.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpsel-2.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/invariant-qreg.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-chain-store.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-chain.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-itercount.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-mov.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-random.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/iv-two-vcmp-reordered.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/iv-two-vcmp.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/iv-vcmp.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/livereg-no-loop-def.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-copy-chain.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-copy-prev-iteration.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-liveout.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/lstp-insertion-position.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/massive.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/matrix-debug.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/matrix.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-after-dls.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-after-dlstp.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-lr-terminator.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/move-def-before-start.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/move-start-after-def.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/multi-block-cond-iter-count.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/multi-cond-iter-count.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/multiblock-massive.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/multiple-do-loops.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/no-dec-cbnz.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/no-dec-reorder.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/no-dec.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/no-vpsel-liveout.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/non-masked-load.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/non-masked-store.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/out-of-range-cbz.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/predicated-invariant.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/predicated-liveout.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/reductions-vpt-liveout.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/remove-elem-moves.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/revert-while.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/revertcallearly.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/safe-def-no-mov.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/safe-retaining.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/size-limit.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-debug.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-vpt-debug.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/subreg-liveness.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unpredicated-max.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unrolled-and-vector.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-cpsr-loop-def.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-cpsr-loop-use.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-retaining.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-use-after.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vaddv.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vcmp-vpst-combination-across-blocks.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-add-operand-liveout.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-in-vpt-2.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-in-vpt.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-subi3.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-subri.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-subri12.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp16-reduce.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vector_spill_in_loop.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vmaxmin_vpred_r.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vmldava_in_vpt.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vpt-block-debug.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vpt-blocks.mir
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/while.mir

  Log Message:
  -----------
  [ARM] Regnerate LowOverheadLoop tests. NFC


  Commit: f114eddb1923289b696f1b0980cc22c4dbaafa22
      https://github.com/llvm/llvm-project/commit/f114eddb1923289b696f1b0980cc22c4dbaafa22
  Author: David Tenty <daltenty at ibm.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp

  Log Message:
  -----------
  [libcxx][test][AIX] Fix the thousands_sep expectation for fr_FR locales (#92312)

Similar to some other platforms, AIX uses ' ' for non-wide characters
and U202F for wide characters, so this change opts into those paths for
AIX as well.


  Commit: a5b7c36bda22f6b2a1e2f20ba6959c66308cb66a
      https://github.com/llvm/llvm-project/commit/a5b7c36bda22f6b2a1e2f20ba6959c66308cb66a
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
    M llvm/test/CodeGen/AArch64/sign-return-address-tailcall.ll

  Log Message:
  -----------
  [AArch64][PAC] Fix creating check instructions for BBs without an epilog (#92508)

`AArch64PAuth::checkAuthenticatedRegister()` splits the basic block
containing the tail call instruction to add check instructions, assuming
at least one more instruction before the call. This assumption is
incorrect in cases where some execution paths lead to the termination
block without creating the stack frame. This patch rearranges the
creation of the checks so that the prior splitting is not required.


  Commit: e406d5ed9cb3878152d21088115143568ad8a057
      https://github.com/llvm/llvm-project/commit/e406d5ed9cb3878152d21088115143568ad8a057
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__algorithm/pstl.h
    R libcxx/include/__algorithm/pstl_any_all_none_of.h
    R libcxx/include/__algorithm/pstl_copy.h
    R libcxx/include/__algorithm/pstl_count.h
    R libcxx/include/__algorithm/pstl_equal.h
    R libcxx/include/__algorithm/pstl_fill.h
    R libcxx/include/__algorithm/pstl_find.h
    R libcxx/include/__algorithm/pstl_for_each.h
    R libcxx/include/__algorithm/pstl_generate.h
    R libcxx/include/__algorithm/pstl_is_partitioned.h
    R libcxx/include/__algorithm/pstl_merge.h
    R libcxx/include/__algorithm/pstl_move.h
    R libcxx/include/__algorithm/pstl_replace.h
    R libcxx/include/__algorithm/pstl_rotate_copy.h
    R libcxx/include/__algorithm/pstl_sort.h
    R libcxx/include/__algorithm/pstl_stable_sort.h
    R libcxx/include/__algorithm/pstl_transform.h
    A libcxx/include/__numeric/pstl.h
    R libcxx/include/__numeric/pstl_reduce.h
    R libcxx/include/__numeric/pstl_transform_reduce.h
    M libcxx/include/algorithm
    M libcxx/include/module.modulemap
    M libcxx/include/numeric

  Log Message:
  -----------
  [libc++][pstl] Merge all frontend functions for the PSTL (#89219)

This is an intermediate step towards the PSTL dispatching mechanism
rework. It will make it a lot easier to track the upcoming front-end
changes. After the rework, there are basically no implementation details
in the front-end, so the definition of each algorithm will become much
simpler. Otherwise, it wouldn't make sense to define all the algorithms
in the same header.


  Commit: 434ee06d77613df23a2ece62a62bcd62c13121d2
      https://github.com/llvm/llvm-project/commit/434ee06d77613df23a2ece62a62bcd62c13121d2
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

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


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

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/WhitespaceManager.cpp
    M clang/unittests/Format/ConfigParseTest.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Add LeftWithLastLine to AlignEscapedNewlines option (#93402)

Closes #92999.


  Commit: 1de1ee9cbabd641d50c5d2ac416392494b4ed30b
      https://github.com/llvm/llvm-project/commit/1de1ee9cbabd641d50c5d2ac416392494b4ed30b
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M .ci/generate-buildkite-pipeline-premerge
    M .ci/monolithic-linux.sh
    R clang/utils/ci/buildkite-pipeline.yml

  Log Message:
  -----------
  [clang][ci] Move libc++ testing into the main PR pipeline (#93318)

Following the discussion in
https://github.com/llvm/llvm-project/pull/93233#issuecomment-2127920882,
this patch merges `clang-ci` pipeline into main `GitHub Pull Requests`
pipeline. `clang-ci` enables additional test coverage for Clang by
compiling it, and then using it to compile and test libc++, libc++abi,
and libunwind in C++03, C++26, and Clang Modules modes.

Additional work we skip and total time savings we should see:
1. Checking out the repo to generate the clang-ci pipeline (2 minutes)
2. Building Clang (3.5 minutes)
3. Uploading the artifacts once, then downloading them 3 times and
unpacking 3 times (0.5 minutes)

Note that because previously-split jobs for each mode are now under a
single Linux job, it now takes around 8 minutes more see the Linux CI
results despite total time savings.

The primary goal of this patch is to reduce the load of CI by removing
duplicated work. I consider this goal achieved. I could keep the job
parallelism we had (3 libc++ jobs depending on a main Linux job), but I
don't consider it worth the effort and opportunity cost, because
parallelism is not helping once the pool of builders is fully
subscribed.


  Commit: 435ea21c897f94b5a3777a9f152e4c5bb4a371a3
      https://github.com/llvm/llvm-project/commit/435ea21c897f94b5a3777a9f152e4c5bb4a371a3
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  [Driver] Remove unneeded *-linux-gnu after D158183

As the comment added by a07727199db0525e9d2df41e466a2a1611b3c8e1
suggests, these `*Triples` lists should shrink over time.

https://reviews.llvm.org/D158183 allows *-unknown-linux-gnu to detect
*-linux-gnu. If we additionally allow x86_64-unknown-linux-gnu
-m32/-mx32 to detect x86_64-linux-gnu, we can mostly remove these
*-linux-gnu elements.


  Commit: 1708de1abd512696cec383fee9381c3b498014dc
      https://github.com/llvm/llvm-project/commit/1708de1abd512696cec383fee9381c3b498014dc
  Author: Ricky Zhou <ricky at rzhou.org>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M compiler-rt/lib/xray/xray_trampoline_x86_64.S

  Log Message:
  -----------
  [XRay][compiler-rt][x86_64] Preserve flags in x86_64 trampolines. (#89452)

Previously, some xray trampolines would modify condition codes (before
saving/after restoring flags) due to stack alignment instructions, which
use add/sub.

I am not aware of issues that this causes in practice (outside of the
situation described in https://github.com/llvm/llvm-project/pull/89364,
which is only problematic due to a different bug). Nevertheless, it
seems nicer and less error-prone for xray instrumentation to be as
unobstrusive/preserve as much state as possible.


  Commit: 21a39dfb17a4931d99d9a6d561d596c841d9197a
      https://github.com/llvm/llvm-project/commit/21a39dfb17a4931d99d9a6d561d596c841d9197a
  Author: Ricky Zhou <ricky at rzhou.org>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M compiler-rt/lib/xray/xray_buffer_queue.h

  Log Message:
  -----------
  [XRay][compiler-rt] Fix oob memory access in FDR BufferQueue iterator (#90940)

Before this change, the FDR BufferQueue iterator could access oob memory
due to checks of the form `!Buffers[Offset].Used && Offset != Max`. This
allows access to `Buffers[Max]`, which is past the end of the `Buffers`
array. This can lead to crashes when that memory is not mapped. Fix this
by testing `Offset != Max` first.


  Commit: 57c10fa564af44a5b236bc642c540d715b04448c
      https://github.com/llvm/llvm-project/commit/57c10fa564af44a5b236bc642c540d715b04448c
  Author: Angel Zhang <angel.zhang at amd.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M mlir/lib/Conversion/VectorToSPIRV/CMakeLists.txt
    M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
    M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][spirv] Add vector.interleave to spirv.VectorShuffle conversion (#93240)

- Add `vector.interleave` to `spirv.VectorShuffle` conversion
- Remove the `vector.interleave` to `vector.shuffle` conversion from
`populateVectorToSPIRVPatterns` and CMake/Bazel dependencies

---------

Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>


  Commit: 8b037862b6eabe2efd4b0dcfdb6768484cd10564
      https://github.com/llvm/llvm-project/commit/8b037862b6eabe2efd4b0dcfdb6768484cd10564
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/test/Transforms/LoopVectorize/outer_loop_test1.ll

  Log Message:
  -----------
  [VPlan] Preserve DT (and SCEV) in VPlan-native path (#93287)

As a follow-up to b2f65e80, use the DTU to also update and preserve
the DT in the native path. This should also allow preserving SCEV in the
native path

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


  Commit: a4f75ec730ee573fc35a51264a907b1f05b53e3b
      https://github.com/llvm/llvm-project/commit/a4f75ec730ee573fc35a51264a907b1f05b53e3b
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/lib/Serialization/ASTWriter.cpp
    A clang/test/Modules/no-implicit-declarations.cppm

  Log Message:
  -----------
  [C++20] [Modules] Don't record implicitly declarations to BMI by default (#93459)

I found we may insert unused implciit declarations like AArch SVE
declarations by default on AArch64 due to we will insert that by
default. But it should be completely redundant and this patch tries to
remove that.


  Commit: 0f08ef1b66cb3de81a10a237624e3e173b0c7c68
      https://github.com/llvm/llvm-project/commit/0f08ef1b66cb3de81a10a237624e3e173b0c7c68
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    A llvm/test/Analysis/LoopAccessAnalysis/early-exit-runtime-checks.ll

  Log Message:
  -----------
  [LAA] Add tests  with various early exits.


  Commit: 9ca2d60213790642d21dfbea4a1bbe4d23e56063
      https://github.com/llvm/llvm-project/commit/9ca2d60213790642d21dfbea4a1bbe4d23e56063
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/test/Driver/m68k-features.cpp
    M clang/test/Driver/m68k-macros.cpp
    M clang/test/Driver/m68k-sub-archs.cpp
    M clang/test/Driver/masm.c
    M clang/test/Driver/masm.s
    M clang/test/Driver/mbackchain.c
    M clang/test/Driver/mcount.c
    M clang/test/Driver/mdouble.c
    M clang/test/Driver/memtag-stack.c
    M clang/test/Driver/mfentry.c
    M clang/test/Driver/mglobal-merge.c
    M clang/test/Driver/mingw-implicit-extension-windows.c
    M clang/test/Driver/mingw-libgcc.c
    M clang/test/Driver/mingw-msvcrt.c
    M clang/test/Driver/mingw-sanitizers.c
    M clang/test/Driver/mingw-sysroot.cpp
    M clang/test/Driver/mingw-windowsapp.c
    M clang/test/Driver/mingw.cpp
    M clang/test/Driver/mips-abi.c
    M clang/test/Driver/mips-abicalls-error.c
    M clang/test/Driver/mips-abicalls-warning.c
    M clang/test/Driver/mips-as.c
    M clang/test/Driver/mips-features.c
    M clang/test/Driver/mips-float.c
    M clang/test/Driver/mips-gpopt-warning.c
    M clang/test/Driver/mips-ias-Wa.s
    M clang/test/Driver/mips-integrated-as.s
    M clang/test/Driver/mips-mabs-warning.c
    M clang/test/Driver/mlong-double-128.c
    M clang/test/Driver/mlong-double-64.c
    M clang/test/Driver/module-output.cppm
    M clang/test/Driver/ms-bitfields.c
    M clang/test/Driver/msan.c
    M clang/test/Driver/msc-version.c
    M clang/test/Driver/msp430-hwmult.c
    M clang/test/Driver/msvc-compiler-rt.c
    M clang/test/Driver/msvc-static-rtti.cpp
    M clang/test/Driver/msvc-triple.c
    M clang/test/Driver/msvc_forward.c
    M clang/test/Driver/objc-encode-cxx-class-template-spec.m
    M clang/test/Driver/openbsd.cpp
    M clang/test/Driver/opencl.cl

  Log Message:
  -----------
  [Driver][test] Replace legacy -target with --target=

Similar to previous cleanup.

While changing mips* tests, change some -no-integrated-as to the
recommended -fno-integrated-as.


  Commit: 5eea4f44250e9af0f21a573d982fd84573c77826
      https://github.com/llvm/llvm-project/commit/5eea4f44250e9af0f21a573d982fd84573c77826
  Author: alx32 <103613512+alx32 at users.noreply.github.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td
    M lld/MachO/SyntheticSections.cpp
    M lld/test/MachO/stabs-icf.s

  Log Message:
  -----------
  [lld-macho] Add flag --keep-icf-stabs to LLD for MachO (#93137)

This change adds the `--keep-icf-stabs` which, when specified, preserves
symbols that were folded by ICF in the binary's stabs entries.
This allows `dsymutil` to process debug information for the folded
symbols.


  Commit: 94d5f01ecbc26d5c8d28d4406f77a7c966e38ef5
      https://github.com/llvm/llvm-project/commit/94d5f01ecbc26d5c8d28d4406f77a7c966e38ef5
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/apx/ccmp-flags-copy-lowering.mir

  Log Message:
  -----------
  [X86][CodeGen][test] Add `dead` modifier for eflags w/o users, NFCI

This is for the coming NF (no flags update) support in flag copy
lowering.


  Commit: 988cee7f96d6ba56dd465b9b2f3cfade3b6e2a3f
      https://github.com/llvm/llvm-project/commit/988cee7f96d6ba56dd465b9b2f3cfade3b6e2a3f
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang-tools-extra/clangd/unittests/ClangdTests.cpp

  Log Message:
  -----------
  [unittest] Fix target triple


  Commit: 12b0ef5dade664fb24cb4e627f1c391d937c0925
      https://github.com/llvm/llvm-project/commit/12b0ef5dade664fb24cb4e627f1c391d937c0925
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-27 (Mon, 27 May 2024)

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

  Log Message:
  -----------
  [X86] Simplify BB->getParent(). NFC


  Commit: 179fb2e51e08d7eec1844dd07c01d396728a1d0f
      https://github.com/llvm/llvm-project/commit/179fb2e51e08d7eec1844dd07c01d396728a1d0f
  Author: Ricky Zhou <ricky at rzhou.org>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/test/CodeGen/X86/xray-custom-log.ll

  Log Message:
  -----------
  [XRay][X86] Fix stack alignment for custom event calls (#89360)

Calls to @llvm.xray.{custom,typed}event are lowered to an nop sled that
can be
patched with a call to an instrumentation function at runtime. Prior to
this
change, x86 codegen did not guarantee that these patched calls run with
the
appropriate stack alignment (particularly in leaf functions, where
normal stack
alignment assumptions may not hold).

This leads to crashes on x86, as the custom event hook can end up using
SSE
instructions that assume a 16-byte aligned stack.

Fix this by wrapping custom event hooks in CALLSEQ_START/CALLSEQ_END as
done for
regular function calls. One downside of this approach is that on
functions whose
stacks aren't already aligned, we may end up running stack alignment
fixup
instructions even when instrumentation is disabled. An alternative could
be to
make the custom event assembly trampolines stack-alignment-agnostic.
This was
the case in the past, but

https://github.com/llvm/llvm-project/commit/b46c89892fe25bec197fd30f09b3a312da126422
removed this due to complexity in maintaining CFI directives for these
stack
adjustments. Since we are already willing to pay the call argument setup
cost
for custom hooks when instrumentation is disabled, I am hoping that an
extra
push/pop in this hopefully uncommon unaligned stack case is tolerable.


  Commit: fcffea06fdf3876dc48170d5577d7454d7303792
      https://github.com/llvm/llvm-project/commit/fcffea06fdf3876dc48170d5577d7454d7303792
  Author: Ricky Zhou <ricky at rzhou.org>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/test/CodeGen/X86/xray-tail-call-sled.ll

  Log Message:
  -----------
  [XRay][X86] Handle conditional calls when lowering patchable tail calls (#89364)

xray instruments tail call function exits by inserting a nop sled before
the tail call. When tracing is enabled, the nop sled is replaced with a
call to `__xray_FunctionTailExit()`. This currently does not work for
conditional tail calls, as the instrumentation assumes that the tail
call will be unconditional. This causes two issues:
 - `__xray_FunctionTailExit()` is inappropately called even when the
   tail call is not taken.
 - `__xray_FunctionTailExit()`'s prologue/epilogue adjusts the stack
   pointer with add/sub instructions. This clobbers condition flags,
   which can flip the condition used for the tail call, leading to
   incorrect program behavior.

Fix this by rewriting conditional calls when lowering patchable tail
calls.

With this change, a conditional patchable tail call like:
```
  je target
```

Will be lowered to:
```
  jne .fallthrough
  .p2align 1, ..
.Lxray_sled_N:
  SLED_CODE
  jmp target
.fallthrough:
```


  Commit: 5c7c1f6aba467b1c5a51d58fc591314ecd7147ce
      https://github.com/llvm/llvm-project/commit/5c7c1f6aba467b1c5a51d58fc591314ecd7147ce
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp.ll

  Log Message:
  -----------
   [InstCombine] Try the flipped strictness of predicate in `foldICmpShlConstant` (#92773)

This patch extends the transform `(icmp pred iM (shl iM %v, N), C) ->
(icmp pred i(M-N) (trunc %v iM to i(M-N)), (trunc (C>>N))` to handle
icmps with the flipped strictness of predicate.

See the following case:
```
icmp ult i64 (shl X, 32), 8589934593 ->
icmp ule i64 (shl X, 32), 8589934592 ->
icmp ule i32 (trunc X, i32), 2 ->
icmp ult i32 (trunc X, i32), 3
```

Fixes the regression introduced by
https://github.com/llvm/llvm-project/pull/86111#issuecomment-2098203152.

Alive2 proofs: https://alive2.llvm.org/ce/z/-sp5n3

`nuw` cannot be propagated as we always use `ashr` here. I don't see the
value of fixing this (see the test `test_icmp_shl_nuw`).


  Commit: 2b21c6875ff93f6082a36ecc8e14d61c56b78f6f
      https://github.com/llvm/llvm-project/commit/2b21c6875ff93f6082a36ecc8e14d61c56b78f6f
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/apx/flags-copy-lowering.mir
    M llvm/test/CodeGen/X86/flags-copy-lowering.mir

  Log Message:
  -----------
  [X86][test] Simplify tests for flag copy lowering, NFCI


  Commit: 698058fd2bcbe9966f56eb132ae8741cd89f1048
      https://github.com/llvm/llvm-project/commit/698058fd2bcbe9966f56eb132ae8741cd89f1048
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    R llvm/test/CodeGen/X86/apx/ccmp-flags-copy-lowering.mir
    M llvm/test/CodeGen/X86/apx/flags-copy-lowering.mir
    M llvm/test/CodeGen/X86/flags-copy-lowering.mir

  Log Message:
  -----------
  [X86][test] Update tests for flag copy lowering, NFCI

1. Merge apx/ccmp-flags-copy-lowering.mir into
   apx/flags-copy-lowering.mir
2. Update check lines for flags-copy-lowering.mir by script

This is for the coming NF (no flags update) support in flag copy
lowering.


  Commit: 0e73bbd3450cca0bb383335fae4120f08da5be7b
      https://github.com/llvm/llvm-project/commit/0e73bbd3450cca0bb383335fae4120f08da5be7b
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    A llvm/test/CodeGen/AMDGPU/promote-alloca-budget-exhausted.ll

  Log Message:
  -----------
  [AMDGPU][PromoteAlloca] Don't stop when an alloca is too big to promote (#93466)

When I rewrote this, I made a mistake in the control flow. I thought we
could just stop promoting if an alloca is too big to vectorize, but we
can't. Other allocas in the list may be promotable and fit within the
budget.

Fixes SWDEV-455343


  Commit: 42c4027729ac7dbfb732a361ab8085d4af0a7a0a
      https://github.com/llvm/llvm-project/commit/42c4027729ac7dbfb732a361ab8085d4af0a7a0a
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
    M llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-indirect.ll

  Log Message:
  -----------
  [AMDGPU][SplitModule] Keep looking for more dependencies after finding an indirect call (#93480)

This is just something I noticed while going over this pass logic one
more time and didn't cause issues (yet). If we find an indirect call, we
stop looking assuming we added all functions to the list, but if not all
functions in the module were indirectly callable, some may still be
missing.

Just to be safe, keep looking until we did everything we could to find
dependencies, so we don't accidentally miss one.


  Commit: 34ba1c043af0c3bbcbc1c9e66fbcc6509e4b8e9d
      https://github.com/llvm/llvm-project/commit/34ba1c043af0c3bbcbc1c9e66fbcc6509e4b8e9d
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/test/Modules/no-implicit-declarations.cppm

  Log Message:
  -----------
  [NFC] [Serialization] Emit Name for DECL_EXPORT


  Commit: a0fdb38a7648f4e2b7c86e2212d7887ac996a57a
      https://github.com/llvm/llvm-project/commit/a0fdb38a7648f4e2b7c86e2212d7887ac996a57a
  Author: donald chen <62002319+cxy-1993 at users.noreply.github.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp

  Log Message:
  -----------
  [mlir][linalg] Add more precise memory effects to linalg op (#92079)

This patch add more precise memory effect to linalg op. Including the
following points:
1. Remove the read side effects for operands that are not used.
2. Set the effect for all side effects to "full".


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

  Changed paths:
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp

  Log Message:
  -----------
  [ARM] Remove static variables from ARMLowOverheadLoops. NFC

VPTState was holding static state, and acting as both the info in a VPTBlock
and the overall state of all the blocks in the loop. This has been split up
into a class (VPTBlock) to hold the instructions of one block, and VPTState
that holds the overall state. The PredicatedInsts is also made into a
map<MachineInstr *, SetVector<MachineInstr *>>, as the double-storing of MI
inside a unique pointer is unneeded.


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

  Changed paths:
    M mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir

  Log Message:
  -----------
  [mlir][ArmSME] NFC: -force-streaming-compatible-sve rename fixup (#93177)

-force-streaming-compatible-sve was renamed in #92774 but this test was
missed, no longer required so removing.


  Commit: 9aa56db6a8d5ef0e70b82387df857da5fffa310a
      https://github.com/llvm/llvm-project/commit/9aa56db6a8d5ef0e70b82387df857da5fffa310a
  Author: JP Lehr <JanPatrick.Lehr at amd.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  Revert "[Driver] Remove unneeded *-linux-gnu after D158183"

This broke several buildbots:
https://lab.llvm.org/buildbot/#/builders/193
https://lab.llvm.org/buildbot/#/builders/259
https://lab.llvm.org/staging/#/builders/185
https://lab.llvm.org/staging/#/builders/140

This reverts commit 435ea21c897f94b5a3777a9f152e4c5bb4a371a3.


  Commit: 7cdd53dacdfd9eef3d46ecddde872c71ec4292a1
      https://github.com/llvm/llvm-project/commit/7cdd53dacdfd9eef3d46ecddde872c71ec4292a1
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M lldb/unittests/CMakeLists.txt
    A lldb/unittests/ValueObject/CMakeLists.txt
    A lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp

  Log Message:
  -----------
  [lldb][Test] Add C++ tests for DumpValueObjectOptions and enums (#93158)

DumpValueObjectOptions can only be created and modified from C++. This
means it's currently only testable from Python by calling some command
that happens to use one, and even so, you can't pick which options get
chosen.

So we have decent coverage for the major options that way, but I want to
add more niche options that will be harder to test from Python (register
field options).

So this change adds some "unit tests", though it's stretching the
definition to the point it's more "test written in C++". So we can test
future options in isolation.

Since I want to add options specific to enums, that's all it covers.
There is a test class that sets up the type system so it will be easy to
test other types in future (e.g. structs, which register fields also
use).


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

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

  Log Message:
  -----------
  [X86] getGatherScatterOpCost- remove unnecessary extra brackets. NFC.


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

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

  Log Message:
  -----------
  [DAG] Use auto* for cast/dyn_cast results (style). NFC.


  Commit: 4d3284cadfa0dc9850d58b97e943481a30c39c1b
      https://github.com/llvm/llvm-project/commit/4d3284cadfa0dc9850d58b97e943481a30c39c1b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/ConstProp/poison.ll

  Log Message:
  -----------
  [ConstFold] Add test for incorrect gep inbounds of undef fold (NFC)

If the offset is zero, then returning poison here is not correct.


  Commit: 1383cb6e648ba9f4516fa2317f948116c4f35c10
      https://github.com/llvm/llvm-project/commit/1383cb6e648ba9f4516fa2317f948116c4f35c10
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/poison.ll

  Log Message:
  -----------
  [ConstFold] Fix incorrect gep inbounds of undef fold

gep inbounds of undef can only be folded to poison if we know
that the offset is non-zero. I don't think precise handling here
is important, so just drop the inbounds special case. This matches
what InstSimplify does.


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

  Changed paths:
    M clang/include/clang/Interpreter/Interpreter.h
    M clang/lib/Interpreter/Interpreter.cpp
    M clang/test/Interpreter/execute.cpp
    M clang/test/Interpreter/inline-virtual.cpp
    M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp

  Log Message:
  -----------
  [clang-repl] Set up executor implicitly to account for init PTUs  (#84758)

Until now the IncrExecutor was created lazily on the first execution
request. In order to process the PTUs that come from initialization, we
have to do it upfront implicitly.


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

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

  Log Message:
  -----------
  [X86] isHorizontalBinOp - always create HADD/SUB if it will be merged with another existing HADD/SUB

Fixes some more cases from #34072 where undemanded vector elements prevent HADD/SUB being matched on slow targets


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll

  Log Message:
  -----------
  [VectorCombine] Add constant splat handling for shuffleToIdentity (#92797)

This just adds splat constants, which can be treated like any other
splat which hopefully makes them very simple. It does not try to handle
more complex constant vectors yet, just the more common splats.


  Commit: 2fc510643747dc70abdf8f2f7efcc7763d1392cb
      https://github.com/llvm/llvm-project/commit/2fc510643747dc70abdf8f2f7efcc7763d1392cb
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Arith/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Linalg/Passes.h
    M mlir/include/mlir/Dialect/Linalg/Passes.td
    M mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Vector/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Vector/Transforms/Passes.td
    R mlir/lib/Dialect/Arith/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
    R mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/Shape/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/Tensor/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/Vector/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
    M mlir/test/Dialect/Arith/bufferize.mlir
    M mlir/test/Dialect/Linalg/bufferize.mlir
    M mlir/test/Dialect/Shape/bufferize.mlir
    M mlir/test/Dialect/SparseTensor/sparse_lower.mlir
    M mlir/test/Dialect/SparseTensor/sparse_lower_col.mlir
    M mlir/test/Dialect/SparseTensor/sparse_lower_inplace.mlir
    M mlir/test/Dialect/Tensor/bufferize.mlir
    M mlir/test/Dialect/Vector/bufferize-invalid.mlir
    M mlir/test/Dialect/Vector/bufferize.mlir

  Log Message:
  -----------
  [mlir] Remove dialect specific bufferization passes (#93488)

These passes have been depreciated for a long time and replaced by
one-shot bufferization. These passes are also unsafe because they do not
check for read-after-write conflicts.


  Commit: cbed9a64491d82d6c4a3a7d0cd97cdee32ff2301
      https://github.com/llvm/llvm-project/commit/cbed9a64491d82d6c4a3a7d0cd97cdee32ff2301
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
    M clang/test/SemaCXX/cxx23-assume-disabled.cpp

  Log Message:
  -----------
  [clang][Interp] Fix ignoring assumptions


  Commit: 39848d0a98e25abca950639ed6248b70cbcb5c02
      https://github.com/llvm/llvm-project/commit/39848d0a98e25abca950639ed6248b70cbcb5c02
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Arith/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Linalg/Passes.h
    M mlir/include/mlir/Dialect/Linalg/Passes.td
    M mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Vector/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Vector/Transforms/Passes.td
    A mlir/lib/Dialect/Arith/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
    A mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/Shape/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/Tensor/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/Vector/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
    M mlir/test/Dialect/Arith/bufferize.mlir
    M mlir/test/Dialect/Linalg/bufferize.mlir
    M mlir/test/Dialect/Shape/bufferize.mlir
    M mlir/test/Dialect/SparseTensor/sparse_lower.mlir
    M mlir/test/Dialect/SparseTensor/sparse_lower_col.mlir
    M mlir/test/Dialect/SparseTensor/sparse_lower_inplace.mlir
    M mlir/test/Dialect/Tensor/bufferize.mlir
    M mlir/test/Dialect/Vector/bufferize-invalid.mlir
    M mlir/test/Dialect/Vector/bufferize.mlir

  Log Message:
  -----------
  Revert "[mlir] Remove dialect specific bufferization passes" (#93528)

Reverts llvm/llvm-project#93488

Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/220/builds/39911


  Commit: 12271710da72a11d3cccc958a2824fe269363c34
      https://github.com/llvm/llvm-project/commit/12271710da72a11d3cccc958a2824fe269363c34
  Author: Lukacma <Marian.Lukac at arm.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/include/clang/Basic/arm_sve.td
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
    A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll

  Log Message:
  -----------
  [AArch64][SME] Add intrinsics for multi-vector BFCLAMP (#88251)

According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics

```
  svbfloat16x2_t svclamp[_single_bf16_x2](svbfloat16x2_t zd, svbfloat16_t zn,
                                        svbfloat16_t zm)  __arm_streaming;

  svbfloat16x4_t svclamp[_single_bf16_x4](svbfloat16x4_t zd, svbfloat16_t zn,
                                        svbfloat16_t zm)  __arm_streaming;
```
These are available only  if __ARM_FEATURE_SME_B16B16 is enabled.


  Commit: d46e37348ec3f8054b10bcbbe7c11149d7f61031
      https://github.com/llvm/llvm-project/commit/d46e37348ec3f8054b10bcbbe7c11149d7f61031
  Author: Ralender <Tyker1 at outlook.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/docs/ProgrammersManual.rst
    M llvm/include/llvm/Support/DebugCounter.h
    M llvm/lib/Support/DebugCounter.cpp
    M llvm/lib/Transforms/Scalar/NewGVN.cpp
    M llvm/test/Analysis/ValueTracking/assume-queries-counter.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/counter-fallback.ll
    M llvm/test/CodeGen/AMDGPU/waitcnt-debug.mir
    M llvm/test/CodeGen/X86/dag-combine-counter.ll
    M llvm/test/Other/X86/debugcounter-divrempairs.ll
    M llvm/test/Other/X86/debugcounter-partiallyinlinelibcalls.ll
    M llvm/test/Other/debugcounter-dce.ll
    M llvm/test/Other/debugcounter-earlycse.ll
    M llvm/test/Other/debugcounter-newgvn.ll
    M llvm/test/Other/debugcounter-predicateinfo.ll
    M llvm/test/Other/print-debug-counter.ll
    M llvm/test/Transforms/DeadStoreElimination/debug-counter.ll
    M llvm/test/Transforms/Util/assume-builder-counter.ll
    A llvm/tools/reduce-chunk-list/CMakeLists.txt
    A llvm/tools/reduce-chunk-list/reduce-chunk-list.cpp
    M llvm/unittests/Support/DebugCounterTest.cpp

  Log Message:
  -----------
  [DebugCounter] Add support for non-continous ranges. (#89470)


  Commit: 42b4be6d7b896fcf2ef16818862a5be3e98ca791
      https://github.com/llvm/llvm-project/commit/42b4be6d7b896fcf2ef16818862a5be3e98ca791
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    R clang/utils/ci/run-buildbot

  Log Message:
  -----------
  [clang][NFC] Remove `utils/ci/run-buildbot` script

A follow up for #93318. Discussion happened at https://github.com/llvm/llvm-project/pull/93318#discussion_r1616281934


  Commit: d67200e0842e972abbd1fd3e48a5b13d717bcbd6
      https://github.com/llvm/llvm-project/commit/d67200e0842e972abbd1fd3e48a5b13d717bcbd6
  Author: Lukacma <Marian.Lukac at arm.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/include/clang/Basic/arm_sve.td
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
    R clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll

  Log Message:
  -----------
  Revert "[AArch64][SME] Add intrinsics for multi-vector BFCLAMP" (#93531)

Reverts llvm/llvm-project#88251


  Commit: 23e1ed65c2c3eb1f80f7eeb4897ec843492c5451
      https://github.com/llvm/llvm-project/commit/23e1ed65c2c3eb1f80f7eeb4897ec843492c5451
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__config
    A libcxx/include/__configuration/abi.h
    A libcxx/include/__configuration/compiler.h
    A libcxx/include/__configuration/platform.h
    M libcxx/include/module.modulemap
    M libcxx/utils/generate_iwyu_mapping.py

  Log Message:
  -----------
  [libc++] Split up ABI and platform configuration to their own headers (#90863)

This is a first step towards splitting up the <__config> header. The
<__config> header is large and rather disorganized at this point,
leading to confusion and subtle mistakes. For example, we never noticed
that the string layout used on arm64 was only enabled for the Clang
compiler, as the setting being in the compiler == clang block was
probably never intentional.

The danger of splitting up the <__config> header is to implicitly use
undefined macros that should have been defined prior to their usage,
however this can be remediated with -Wundef and we've started moving
towards -Wundef enforceable macros.


  Commit: d80383730cc8bf2562451b10eed92f7d781aad80
      https://github.com/llvm/llvm-project/commit/d80383730cc8bf2562451b10eed92f7d781aad80
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
    M mlir/include/mlir-c/Dialect/LLVM.h
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
    M mlir/lib/CAPI/Dialect/LLVM.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
    M mlir/lib/Target/LLVMIR/DebugImporter.cpp
    M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
    M mlir/lib/Target/LLVMIR/DebugTranslation.h
    M mlir/test/CAPI/llvm.c
    A mlir/test/Target/LLVMIR/Import/composite-type-fortran.ll
    M mlir/test/Target/LLVMIR/llvmir-debug.mlir

  Log Message:
  -----------
  [mlir] Add missing fields in DICompositeTypeAttr. (#93226)

The fortran arrays use 'dataLocation', 'rank', 'allocated' and
'associated' fields of the DICompositeType. These were not available in
'DICompositeTypeAttr'. This PR adds the missing fields.

---------

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


  Commit: 9b79acedd689c34d3505ac351c732aa44e22fc86
      https://github.com/llvm/llvm-project/commit/9b79acedd689c34d3505ac351c732aa44e22fc86
  Author: Adrian Kuegel <akuegel at google.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][Bazel] Followup to 57c10fa564af44a5b236bc642c540d715b04448c

It removed the dependency from the wrong target.
Also, we need to remove the header include to be able to remove the
dependency from VectorToSPIRV.


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

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

  Log Message:
  -----------
  [flang][HLFIR][NFC] Reduce BufferizeHLFIR pass boilerplate (#93161)

The pass constructor can be generated automatically.

This pass is module-level and then runs on all of the relevant HLFIR
operations inside of the module, no matter what top level operation they
are inside of.


  Commit: f29352b63b448485177a2e2b31d864f808070c25
      https://github.com/llvm/llvm-project/commit/f29352b63b448485177a2e2b31d864f808070c25
  Author: Eymen Ünay <eymenunay at outlook.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
    M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_arm.s
    M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s
    M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_thumbv6m.s
    M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_stubs_arm.s
    M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_stubs_multi.s

  Log Message:
  -----------
  [RuntimeDyldChecker][AArch32] Add a PC offset to next_PC for ARM targets (#91746)

In ARM mode, the Program Counter (PC) points to the current instruction's
address + 8 instead of + 4. An offset is added to RuntimeDyldChecker to
use `next_pc` expression in JITLink tests with both Thumb and Arm.


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

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

  Log Message:
  -----------
  [clang-repl] Check host JIT support in all tests that create an Interpreter (#84758)


  Commit: 17ecd23f6932c87fcc8b2b8675762d50f3d53056
      https://github.com/llvm/llvm-project/commit/17ecd23f6932c87fcc8b2b8675762d50f3d53056
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/CMakeLists.txt
    M llvm/lib/Target/X86/X86CompressEVEX.cpp
    M llvm/utils/TableGen/CMakeLists.txt
    R llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
    A llvm/utils/TableGen/X86InstrMappingEmitter.cpp

  Log Message:
  -----------
  [X86][tablgen] Extend X86CompressEVEXTablesEmitter for NF transform

The generated table will be used in #93508


  Commit: 516a9f5183446d695c701fcdc562d543c9ccb297
      https://github.com/llvm/llvm-project/commit/516a9f5183446d695c701fcdc562d543c9ccb297
  Author: David Green <david.green at arm.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll

  Log Message:
  -----------
  [VectorCombine] Add Cmp and Select for shuffleToIdentity (#92794)

Other than some additional checks needed for compare predicates and
selects with scalar condition operands, these are relatively simple
additions to what already exists.


  Commit: 125bd061c3240afd92edd5ef8c29a7b3d24a5cd1
      https://github.com/llvm/llvm-project/commit/125bd061c3240afd92edd5ef8c29a7b3d24a5cd1
  Author: josel-amd <166385423+josel-amd at users.noreply.github.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
    M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir

  Log Message:
  -----------
  [mlir][emitc] Support conversion of arith.divsi and arith.remsi to EmitC (#93450)


  Commit: fe5d791517b1cc11bd518f0338516f157fe18661
      https://github.com/llvm/llvm-project/commit/fe5d791517b1cc11bd518f0338516f157fe18661
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/fmaximum3.ll
    M llvm/test/CodeGen/AMDGPU/fminimum3.ll

  Log Message:
  -----------
  AMDGPU: Add some multi-use negative tests for minimum3/maximum3


  Commit: 1da52caf2946e56f69eae75a60088a54edda1db5
      https://github.com/llvm/llvm-project/commit/1da52caf2946e56f69eae75a60088a54edda1db5
  Author: Kelvin Li <kkwli at users.noreply.github.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M flang/test/Lower/PowerPC/ppc-vec-load.f90
    M flang/test/Lower/PowerPC/ppc-vec-shift-be-le.f90

  Log Message:
  -----------
  [flang] Fix typos PPC intrinsics tests (NFC) (#92943)


  Commit: 01fbc5658cdfa152519e2d0842ccf7d91aaeaeaf
      https://github.com/llvm/llvm-project/commit/01fbc5658cdfa152519e2d0842ccf7d91aaeaeaf
  Author: Artem Kroviakov <71938912+akroviakov at users.noreply.github.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
    M mlir/test/Dialect/Vector/linearize.mlir

  Log Message:
  -----------
  [mlir][vector] Add support for linearizing Insert VectorOp in VectorLinearize (#92370)

Building on top of
[#88204](https://github.com/llvm/llvm-project/pull/88204), this PR adds
support for converting `vector.insert` into an equivalent
`vector.shuffle` operation that operates on linearized (1-D) vectors.


  Commit: bdd4e8b1c011a6cf30171d365b58327a4e321ba0
      https://github.com/llvm/llvm-project/commit/bdd4e8b1c011a6cf30171d365b58327a4e321ba0
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  [bazel] Port 17ecd23f6932c87fcc8b2b8675762d50f3d53056


  Commit: 5988c798de617cb35491c42de388b98b4c175421
      https://github.com/llvm/llvm-project/commit/5988c798de617cb35491c42de388b98b4c175421
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/utils/TableGen/X86InstrMappingEmitter.cpp

  Log Message:
  -----------
  [X86][tablgen] Add assertions when emitting NF transform table


  Commit: 2c7c9df6ba3e86d7286476e875e215b64059c590
      https://github.com/llvm/llvm-project/commit/2c7c9df6ba3e86d7286476e875e215b64059c590
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
    M llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn

  Log Message:
  -----------
  [gn] port 17ecd23f6932 (-gen-x86-instr-mapping)


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

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

  Log Message:
  -----------
  [flang][HLFIR][NFC] Reduce HLFIR to FIR conversion boilerplate (#93539)

The pass constructor can be generated automatically.

This pass is module-level and then runs on all relevant intrinsic
operations inside of the module, no matter what top level operation they
are inside of.


  Commit: 44861c7ac563f9e994305e22f2dca1c4f37265e4
      https://github.com/llvm/llvm-project/commit/44861c7ac563f9e994305e22f2dca1c4f37265e4
  Author: Sayan Saha <sayans at mathworks.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
    M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir

  Log Message:
  -----------
  [mlir] [linalg] Check for dim shape to decide unit dim for each operand in dropUnitDims pass. (#93317)

`mlir-opt --linalg-fold-unit-extent-dims` pass on the following IR

```
#map = affine_map<(d0, d1, d2, d3, d4, d5, d6) -> (d0, d1 + d4, d2 + d5, d6)>
#map1 = affine_map<(d0, d1, d2, d3, d4, d5, d6) -> (d4, d5, d6, d3)>
#map2 = affine_map<(d0, d1, d2, d3, d4, d5, d6) -> (d0, d1, d2, d3)>
module {
  func.func @main(%arg0: tensor<1x?x?x1xf32>, %arg1: index) -> tensor<?x1x61x1xf32> {
    %cst = arith.constant dense<1.000000e+00> : tensor<1x1x1x1xf32>
    %0 = tensor.empty(%arg1) : tensor<?x1x61x1xf32>
    %1 = linalg.generic {indexing_maps = [#map, #map1, #map2], iterator_types = ["parallel", "parallel", "parallel", "parallel", "reduction", "reduction", "reduction"]} ins(%arg0, %cst : tensor<1x?x?x1xf32>, tensor<1x1x1x1xf32>) outs(%0 : tensor<?x1x61x1xf32>) {
    ^bb0(%in: f32, %in_0: f32, %out: f32):
      %2 = arith.mulf %in, %in_0 : f32
      %3 = arith.addf %out, %2 : f32
      linalg.yield %3 : f32
    } -> tensor<?x1x61x1xf32>
    return %1 : tensor<?x1x61x1xf32>
  }
}
```

produces an incorrect tensor.expand_shape operation:

```
error: 'tensor.expand_shape' op expected dimension 0 of collapsed type to be dynamic since one or more of the corresponding dimensions in the expanded type is dynamic
    %1 = linalg.generic {indexing_maps = [#map, #map1, #map2], iterator_types = ["parallel", "parallel", "parallel", "parallel", "reduction", "reduction", "reduction"]} ins(%arg0, %cst : tensor<1x?x?x1xf32>, tensor<1x1x1x1xf32>) outs(%0 : tensor<?x1x61x1xf32>) {
         ^
/mathworks/devel/sandbox/sayans/geckWorks/g3294570/repro.mlir:8:10: note: see current operation: %5 = "tensor.expand_shape"(%4) <{reassociation = [[0, 1, 2, 3]]}> : (tensor<61xf32>) -> tensor<?x1x61x1xf32>
// -----// IR Dump After LinalgFoldUnitExtentDimsPass Failed (linalg-fold-unit-extent-dims) //----- //
#map = affine_map<(d0) -> (0, d0)>
#map1 = affine_map<(d0) -> ()>
#map2 = affine_map<(d0) -> (d0)>
"builtin.module"() ({
  "func.func"() <{function_type = (tensor<1x?x?x1xf32>, index) -> tensor<?x1x61x1xf32>, sym_name = "main"}> ({
  ^bb0(%arg0: tensor<1x?x?x1xf32>, %arg1: index):
    %0 = "arith.constant"() <{value = dense<1.000000e+00> : tensor<f32>}> : () -> tensor<f32>
    %1 = "tensor.collapse_shape"(%arg0) <{reassociation = [[0, 1], [2, 3]]}> : (tensor<1x?x?x1xf32>) -> tensor<?x?xf32>
    %2 = "tensor.empty"() : () -> tensor<61xf32>
    %3 = "tensor.empty"() : () -> tensor<61xf32>
    %4 = "linalg.generic"(%1, %0, %2, %3) <{indexing_maps = [#map, #map1, #map2, #map2], iterator_types = [#linalg.iterator_type<parallel>], operandSegmentSizes = array<i32: 3, 1>}> ({
    ^bb0(%arg2: f32, %arg3: f32, %arg4: f32, %arg5: f32):
      %6 = "arith.mulf"(%arg2, %arg3) <{fastmath = #arith.fastmath<none>}> : (f32, f32) -> f32
      %7 = "arith.addf"(%arg4, %6) <{fastmath = #arith.fastmath<none>}> : (f32, f32) -> f32
      "linalg.yield"(%7) : (f32) -> ()
    }) : (tensor<?x?xf32>, tensor<f32>, tensor<61xf32>, tensor<61xf32>) -> tensor<61xf32>
    %5 = "tensor.expand_shape"(%4) <{reassociation = [[0, 1, 2, 3]]}> : (tensor<61xf32>) -> tensor<?x1x61x1xf32>
    "func.return"(%5) : (tensor<?x1x61x1xf32>) -> ()
  }) : () -> ()
}) : () -> ()
```

The reason of this is because the dimension `d0` is determined to be an
unit-dim that can be dropped based on the dimensions of operand `arg0`
to `linalg.generic`. Later on when iterating over operand `outs` the
dimension `d0` is determined to be an unit-dim even though the shape
corresponding to it is `Shape::kDynamic`. For the `linalg.generic` to be
valid `d0` of `outs` does need to be `1` but that isn't properly
processed in the current implementation and the dimension is dropped
resulting in `outs` operand to be `tensor<61xf32>` in the example.

The fix is to also check that the dimension shape is actually `1` before
dropping the dimension. The IR after the fix is:

```
#map = affine_map<()[s0, s1] -> (s0 * s1)>
#map1 = affine_map<(d0) -> (0, d0)>
#map2 = affine_map<(d0) -> ()>
module {
  func.func @main(%arg0: tensor<1x?x?x1xf32>, %arg1: index) -> tensor<?x1x61x1xf32> {
    %c0 = arith.constant 0 : index
    %c1 = arith.constant 1 : index
    %cst = arith.constant dense<1.000000e+00> : tensor<f32>
    %collapsed = tensor.collapse_shape %arg0 [[0, 1], [2, 3]] : tensor<1x?x?x1xf32> into tensor<?x?xf32>
    %0 = tensor.empty(%arg1) : tensor<?x61xf32>
    %1 = affine.apply #map()[%arg1, %c1]
    %2 = tensor.empty(%1) : tensor<?x61xf32>
    %3 = linalg.generic {indexing_maps = [#map1, #map2, #map1, #map1], iterator_types = ["parallel"]} ins(%collapsed, %cst, %0 : tensor<?x?xf32>, tensor<f32>, tensor<?x61xf32>) outs(%2 : tensor<?x61xf32>) {
    ^bb0(%in: f32, %in_0: f32, %in_1: f32, %out: f32):
      %4 = arith.mulf %in, %in_0 : f32
      %5 = arith.addf %in_1, %4 : f32
      linalg.yield %5 : f32
    } -> tensor<?x61xf32>
    %expanded = tensor.expand_shape %3 [[0, 1], [2, 3]] output_shape [%c0, 1, 61, 1] : tensor<?x61xf32> into tensor<?x1x61x1xf32>
    return %expanded : tensor<?x1x61x1xf32>
  }
}
```


  Commit: 24a12a9c85b1ec08ff597f43e3414271d8439a97
      https://github.com/llvm/llvm-project/commit/24a12a9c85b1ec08ff597f43e3414271d8439a97
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/docs/InternalsManual.rst
    M clang/test/TableGen/deferred-diag.td
    M clang/test/TableGen/text-substitution.td
    A clang/test/TableGen/wording-errors.td
    M clang/utils/TableGen/ClangDiagnosticsEmitter.cpp

  Log Message:
  -----------
  [clang] Diagnose problematic diagnostic messages (#93229)

Clang has some unwritten rules about diagnostic wording regarding things
like punctuation and capitalization. This patch documents those rules
and adds some tablegen support for checking diagnostics follow the
rules.

Specifically: tablegen now checks that a diagnostic does not start with
a capital letter or end with punctuation, except for the usual
exceptions like proper nouns or ending with a question.

Now that the code base is clean of such issues, the diagnostics are
emitted as an error rather than a warning to ensure that failure to
follow these rules is either addressed by an author, or a new exception
is added to the checking logic.


  Commit: 6e1a04247d6cc3295be8e3b14286f95983632e1c
      https://github.com/llvm/llvm-project/commit/6e1a04247d6cc3295be8e3b14286f95983632e1c
  Author: Tyker <tyker1 at outlook.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/peephole-counter-XToI.mir
    M llvm/test/CodeGen/PowerPC/peephole-counter-perOp.mir

  Log Message:
  -----------
  Fix failure after d46e37348ec3f8054b10bcbbe7c11149d7f61031


  Commit: 8995ccc4460ed8a90dcc9bd023743a8f59458f50
      https://github.com/llvm/llvm-project/commit/8995ccc4460ed8a90dcc9bd023743a8f59458f50
  Author: Xu Zhang <simonzgx at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/lib/Sema/SemaStmtAttr.cpp
    M clang/test/CodeGen/attr-noinline.cpp
    M clang/test/Sema/attr-noinline.cpp

  Log Message:
  -----------
  [Clang] Add support for [[msvc::noinline]] attribute. (#91720)

Fixes #90941.
Add support for ``[[msvc::noinline]]`` attribute, which is actually an
alias of ``[[clang::noinline]]``.


  Commit: 2ace7bdcfe640c69bd4dcf508d39485e0ef7ea06
      https://github.com/llvm/llvm-project/commit/2ace7bdcfe640c69bd4dcf508d39485e0ef7ea06
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/CharInfo.h
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/lib/Basic/CharInfo.cpp
    M clang/lib/Lex/Lexer.cpp
    A clang/test/Lexer/cxx2c-raw-strings.cpp

  Log Message:
  -----------
  [Clang] allow `` `@$ `` in raw string delimiters in C++26 (#93216)

And as an extension in older language modes.

Per https://eel.is/c++draft/lex.string#nt:d-char

Fixes #93130


  Commit: 57790db07c5a70b557d9e0cc88d8cda417b2f30d
      https://github.com/llvm/llvm-project/commit/57790db07c5a70b557d9e0cc88d8cda417b2f30d
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  [gn build] Port 23e1ed65c2c3


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

  Changed paths:
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-and-combine.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitcast.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-build-vector.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-concat.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ext-loads.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-subvector.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-vector-elt.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fcopysign.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-arith.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-compares.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-convert.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-extend-trunc.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-fma.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-minmax.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce-fa64.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-rounding.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-select.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-to-int.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-vselect.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-insert-vector-elt.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-arith.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-compares.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-div.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-extends.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-immediates.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-log.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-minmax.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mla-neon-fa64.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mulh.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-reduce.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-rem.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-select.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-shifts.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-to-fp.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-vselect.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-limit-duplane.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-loads.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-log-reduce.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-load.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-store.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-optimize-ptrue.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-rev.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-zip-uzp-trn.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ptest.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-rev.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-sdiv-pow2.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-splat-vector.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-stores.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-subvector.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc-stores.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-vector-shuffle.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-test-register-mov.ll

  Log Message:
  -----------
  Reland "[AArch64] NFC: Add RUN lines for streaming-compatible code." (#91599)

This reverts commit aa9d467abaeb440dc70b64c0f35b8d5e731f3a19.


  Commit: 3864bfd2e0ce7e32fd623c550660885599383e6a
      https://github.com/llvm/llvm-project/commit/3864bfd2e0ce7e32fd623c550660885599383e6a
  Author: Daniil Fukalov <1671137+dfukalov at users.noreply.github.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/IR/Function.cpp
    M llvm/lib/IR/ValueSymbolTable.cpp
    A llvm/test/Assembler/non-global-value-max-name-size-2.ll
    A llvm/test/Bitcode/value-with-long-name-dbg.ll
    M llvm/test/Bitcode/value-with-long-name.ll

  Log Message:
  -----------
  [IR] Fix ignoring `non-global-value-max-name-size` in `ValueSymbolTable::makeUniqueName()`. (#89057)

E.g. during inlining new symbol name can be duplicated and then
`ValueSymbolTable::makeUniqueName()` will add unique suffix, exceeding
the `non-global-value-max-name-size` restriction.

Also fixed `unsigned` type of the option to `int` since `ValueSymbolTable`'
constructor can use `-1` value that means unrestricted name size.


  Commit: d2a103e682d65c3bfdff1d6a6f7b114e6cf4ff76
      https://github.com/llvm/llvm-project/commit/d2a103e682d65c3bfdff1d6a6f7b114e6cf4ff76
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  [memprof] Remove const from the return type of toMemProfRecord (#93415)

"const" being removed in this patch prevents the move semantics from
being used in:

  AI.CallStack = Callback(IndexedAI.CSId);

With this patch on an indexed MemProf Version 2 profile, the cycle
count and instruction count go down by 13.3% and 26.3%, respectively,
with "llvm-profdata show" modified to deserialize all MemProfRecords.


  Commit: 74ed79f7f123788d95f1552800e1af9ceaee4a08
      https://github.com/llvm/llvm-project/commit/74ed79f7f123788d95f1552800e1af9ceaee4a08
  Author: Ryan Holt <ryanholt at mathworks.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
    A mlir/test/Dialect/Linalg/constant-fold.mlir
    M mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir

  Log Message:
  -----------
  [mlir][linalg] Add linalg.transpose constant folding (#92589)

There was existing support for constant folding a `linalg.generic` that
was actually a transpose. This commit adds support for the named op,
`linalg.transpose`, as well by making use of the `LinalgOp` interface.


  Commit: cde1ae4c14eecd47215f04d4387845231021d939
      https://github.com/llvm/llvm-project/commit/cde1ae4c14eecd47215f04d4387845231021d939
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp

  Log Message:
  -----------
  [lldb][NativePDB] Fix uninitialized values found by msan.


  Commit: 94be801879788399a7ffa8c7cbe28f6c86e26ffe
      https://github.com/llvm/llvm-project/commit/94be801879788399a7ffa8c7cbe28f6c86e26ffe
  Author: stefankoncarevic <skoncare at amd.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
    M mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir

  Log Message:
  -----------
  [mlir][ROCDL] Update the LLVM data layout for ROCDL lowering. (#92127)

This change updates the dataLayout string to ensure alignment with the
latest LLVM TargetMachine configuration. The aim is to
maintain consistency and prevent potential compilation issues related to
memory address space handling.


  Commit: 26e0ce0b3633c67e09d2f3a99e0d4058a4e0a887
      https://github.com/llvm/llvm-project/commit/26e0ce0b3633c67e09d2f3a99e0d4058a4e0a887
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-28 (Tue, 28 May 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/convert-to-llvm.fir
    M flang/test/Fir/tbaa.fir

  Log Message:
  -----------
  [flang] update fir.box_rank and fir.is_array codegen (#93541)

fir.box_rank codegen was invalid, it was assuming the rank field in the
descriptor was an i32. This is not correct. Do not hard code the type,
use the named position to find the type, and convert as needed in the
patterns.


  Commit: 88902147c11f8de5cc7c792fd8c476a821664297
      https://github.com/llvm/llvm-project/commit/88902147c11f8de5cc7c792fd8c476a821664297
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/ConstructDecompositionT.h

  Log Message:
  -----------
  [Frontend][OpenMP] Rename some variables, NFC

Rename things in a couple of places to make the code a bit clearer.


  Commit: 51dd4eaaa29683c16151f5168e7f8645acbd6e6c
      https://github.com/llvm/llvm-project/commit/51dd4eaaa29683c16151f5168e7f8645acbd6e6c
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    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/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
    A lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test

  Log Message:
  -----------
   Reapply [lldb][DWARF] Delay struct/class/union definition DIE searching when parsing declaration DIEs. (#92328)

This reapplies
https://github.com/llvm/llvm-project/commit/9a7262c2601874e5aa64c5db19746770212d4b44
(#90663) and added https://github.com/llvm/llvm-project/pull/91808 as a
fix.

It was causing tests on macos to fail because
`SymbolFileDWARF::GetForwardDeclCompilerTypeToDIE` returned the map
owned by this symol file. When there were two symbol files, two
different maps were created for caching from compiler type to DIE even
if they are for the same module. The solution is to do the same as
`SymbolFileDWARF::GetUniqueDWARFASTTypeMap`: inquery
SymbolFileDWARFDebugMap first to get the shared underlying SymbolFile so
the map is shared among multiple SymbolFileDWARF.


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fceil-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/ffloor-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fceil-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ffloor-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fnearbyint-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fround-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-froundeven-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ftrunc-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/fnearbyint-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/fround-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/froundeven-constrained-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/ftrunc-constrained-sdnode.ll

  Log Message:
  -----------
  [RISCV] Use mask undisturbed policy when silencing sNans for strict rounding ops. (#93356)

The elements that aren't sNans need to get passed through this fadd
instruction unchanged. With the agnostic mask policy they might be
forced to all ones.


  Commit: f284af4863640e6b68918aa23b14498c1b8e2245
      https://github.com/llvm/llvm-project/commit/f284af4863640e6b68918aa23b14498c1b8e2245
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M offload/src/PluginManager.cpp

  Log Message:
  -----------
  [Offload][Fix] Fix lazy initialization with multiple images

Summary:
There was a bug here where we would initialize the plugin multiple times
when there were multiple images. Fix it by putting the `is_initliaized`
check later.


  Commit: af22e274e9c5643780f25066442e05b5bd453328
      https://github.com/llvm/llvm-project/commit/af22e274e9c5643780f25066442e05b5bd453328
  Author: Matthias Gehre <matthias.gehre at amd.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/include/mlir/Conversion/TosaToTensor/TosaToTensor.h
    M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.h
    M mlir/lib/Conversion/TosaToTensor/TosaToTensor.cpp
    M mlir/lib/Conversion/TosaToTensor/TosaToTensorPass.cpp
    M mlir/lib/Dialect/Tosa/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/Tosa/Transforms/TosaTypeConverters.cpp
    M mlir/test/Conversion/TosaToTensor/tosa-to-tensor.mlir

  Log Message:
  -----------
  TosaToTensor: Support reshape on tensors of unsigned integer (#91734)

This adds 
- `mlir::tosa::populateTosaToLinalgTypeConversion` which converts
tensors of unsigned integers into tensors of signless integers
- modifies the `tosa.reshape` lowering in TosaToTensor to use the type
converter correctly

I choose to implement the type converter in
`mlir/Conversion/TosaToLinalg/TosaToLinalg.h` instead of
`mlir/Conversion/TosaToTensor/TosaToTensor.h` because I need the same
type converter in the TosaToLinalg lowerings (future PR).
Alternatively, I could duplicate the type converter so it exists both in
TosaToLinalg and TosaToTensor. Let me know if you prefer that.


  Commit: fea7399e97b73a3209fcbe3338d412069769a637
      https://github.com/llvm/llvm-project/commit/fea7399e97b73a3209fcbe3338d412069769a637
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

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

This patch fixes:

  clang/unittests/Interpreter/IncrementalProcessingTest.cpp:39:13:
  error: unused function 'HostSupportsJit' [-Werror,-Wunused-function]


  Commit: 273777ead296c9ab2c157d16b750e3ee1ace08ec
      https://github.com/llvm/llvm-project/commit/273777ead296c9ab2c157d16b750e3ee1ace08ec
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/lib/AST/APValue.cpp
    M clang/lib/Analysis/MacroExpansionContext.cpp

  Log Message:
  -----------
  clang:: to llvm::; NFC

These interfaces are LLVM interfaces, not Clang ones; but this worked
because of LLVM.h adding the interfaces to the clang namespace.


  Commit: 259caad2f75011174d39615bb0ba31955d16d498
      https://github.com/llvm/llvm-project/commit/259caad2f75011174d39615bb0ba31955d16d498
  Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaExprCXX.cpp
    A clang/test/SemaCXX/invalid-this-in-lambda.cpp

  Log Message:
  -----------
  [Clang] Fix an assertion failure when checking invalid `this` (#93490)

Skip explicit this check in non-valid scopes due to `null` type in
lambdas with invalid captures or incomplete parameter lists during
parsing


Fixes #91536


  Commit: 234cc40adc610a55d1a5a2fe798a9dd07b993f0c
      https://github.com/llvm/llvm-project/commit/234cc40adc610a55d1a5a2fe798a9dd07b993f0c
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/test/Analysis/LoopAccessAnalysis/depend_diff_types.ll
    M llvm/test/Analysis/LoopAccessAnalysis/non-constant-strides-backward.ll

  Log Message:
  -----------
  [LAA] Limit no-overlap check to at least one loop-invariant accesses.

Limit the logic added in https://github.com/llvm/llvm-project/pull/9230
to cases where either sink or source are loop-invariant, to avoid
compile-time increases. This is not needed for correctness.

I am working on follow-up changes to reduce the compile-time impact in
general to allow us to enable this again for any source/sink.

This should fix the compile-time regression introduced by this change:

* compile-time improvement with this change:
  https://llvm-compile-time-tracker.com/compare.php?from=4351787fb650da6d1bfb8d6e58753c90dcd4c418&to=b89010a2eb5f98494787c1c3b77f25208c59090c&stat=instructions:u

* compile-time improvement with original patch reverted on top of this
  change:
  https://llvm-compile-time-tracker.com/compare.php?from=b89010a2eb5f98494787c1c3b77f25208c59090c&to=19a1103fe68115cfd7d6472c6961f4fabe81a593&stat=instructions:u


  Commit: d582958618cc5aeff58c512399bef7b263fedd59
      https://github.com/llvm/llvm-project/commit/d582958618cc5aeff58c512399bef7b263fedd59
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp

  Log Message:
  -----------
  Revert "[Legalizer] Check full condition for UMIN and UMAX just like the code below does for SMIN and SMAX" (#93573)

Reverts llvm/llvm-project#87932


  Commit: 42944e4600827738fae868f0df831fb2678be8b4
      https://github.com/llvm/llvm-project/commit/42944e4600827738fae868f0df831fb2678be8b4
  Author: Miro Bucko <mbucko at meta.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

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

This adds new SB API calls and classes to allow a user of the SB API to obtain an address ranges from SBFunction and SBBlock.


  Commit: 79c7342f49f1ed7aa971e7857954b45906154943
      https://github.com/llvm/llvm-project/commit/79c7342f49f1ed7aa971e7857954b45906154943
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  [gn build] Port 42944e460082


  Commit: 7bea41e173367e2a535bd2188fd652a2ca267b90
      https://github.com/llvm/llvm-project/commit/7bea41e173367e2a535bd2188fd652a2ca267b90
  Author: Ramkumar Ramachandra <r at artagnon.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

  Log Message:
  -----------
  LoopIdiomRecognize: strip bad TODO (NFC) (#92890)

There are several reasons why handling powi in LoopIdiomRecognize is a
bad idea:

- powi corresponds to a GCC builtin that is only defined for C int
(which is i32 for most targets).
- powi isn't always lowered by targets correctly for non-i32 parameters.
Several targets fail to compile llvm.powi.f32.i16, for example.
- Unlike memcpy and memset, which tend to be important enough internal
intrinsics that you have to handle them correctly even in freestanding
modes, powi isn't.

Strip this bad TODO to avoid misleading contributors.


  Commit: 16a5fd3fdb91ffb39b97dbd3a7e9346ba406360d
      https://github.com/llvm/llvm-project/commit/16a5fd3fdb91ffb39b97dbd3a7e9346ba406360d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll

  Log Message:
  -----------
  DAG: Use flags in isLegalToCombineMinNumMaxNum (#93555)


  Commit: b963931eb8bda810e2a8ad08832402993b931d69
      https://github.com/llvm/llvm-project/commit/b963931eb8bda810e2a8ad08832402993b931d69
  Author: alx32 <103613512+alx32 at users.noreply.github.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M lld/MachO/ObjC.cpp
    M lld/test/MachO/objc-category-merging-complete-test.s
    R lld/test/MachO/objc-category-merging-extern-class-minimal.s
    A lld/test/MachO/objc-category-merging-minimal.s

  Log Message:
  -----------
  [lld-macho][ObjC] Implement category merging into base class (#92448)

Currently category merging only supports merging multiple categories
into one. With this commit we add the ability to fully merge categories
into the base class, if the base class is included in the current
module. This is the optimal approach for defined classes.


  Commit: d1d863c012cf3d5b407ae06d23a5628ec9510b7c
      https://github.com/llvm/llvm-project/commit/d1d863c012cf3d5b407ae06d23a5628ec9510b7c
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp

  Log Message:
  -----------
  [lldb] Remove lldbassert in AppleObjCTypeEncodingParser (#93332)

AppleObjCTypeEncodingParser::BuildObjCObjectPointerType currently
contains an lldbassert to detect situations where we have a forward
declaration without a definition. According to the accompanying comment,
its purpose is to catch "weird cases" during test suite runs.

However, because this is an lldbassert, we show a scary message to our
users who think this is a problem and report the issue to us.
Unfortunately those reports aren't very actionable without a way to know
the name of the type.

This patch changes the lldbassert to a regular assert and emits a log
message to the types log when this happens.

rdar://127439898


  Commit: f69b6d2c99a10847a2d73c7fcd656d2ae22937ce
      https://github.com/llvm/llvm-project/commit/f69b6d2c99a10847a2d73c7fcd656d2ae22937ce
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp

  Log Message:
  -----------
  [lldb] Add missing semicolon (NFC)


  Commit: c09787b7d05083791b417c5b97a8cfd6d0874ed9
      https://github.com/llvm/llvm-project/commit/c09787b7d05083791b417c5b97a8cfd6d0874ed9
  Author: Franklin Zhang <zhangfenglei at huawei.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M openmp/tools/archer/ompt-tsan.cpp

  Log Message:
  -----------
  [OMPT] Set default values for tsan function pointers (#93568)

Avoid calling NULL function pointers in cases where ompt_start_tool
succeeds but those tsan functions
do not really exist.

Fix https://github.com/llvm/llvm-project/issues/93524

---------

Co-authored-by: Joachim <protze at rz.rwth-aachen.de>


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

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

  Log Message:
  -----------
  [SCEV] Compute symbolic max backedge taken count in BTI directly. (NFC)

Move symbolic max backedge taken count computation to BackedgeTakenInfo,
use existing ExitNotTaken info.

In preparation for https://github.com/llvm/llvm-project/pull/93498.


  Commit: 0b2094c4553a63bb058c59073fc7c22d05e66977
      https://github.com/llvm/llvm-project/commit/0b2094c4553a63bb058c59073fc7c22d05e66977
  Author: Sirraide <aeternalmail at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  [Clang] [NFC] Remove debug printing


  Commit: f0899964e4041b1dc70dc66450a7f6b3e3a22262
      https://github.com/llvm/llvm-project/commit/f0899964e4041b1dc70dc66450a7f6b3e3a22262
  Author: Youngsuk Kim <joseph942010 at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaLookup.cpp
    M clang/test/SemaCXX/invalid-if-constexpr.cpp
    A clang/test/SemaCXX/typo-correction-builtin-func.cpp

  Log Message:
  -----------
  [clang][Sema] Don't emit 'declared here' note for builtin functions with no decl in source (#93394)

Fixes #93369

---------

Co-authored-by: Timm Baeder <tbaeder at redhat.com>
Co-authored-by: S. B. Tam <cpplearner at outlook.com>


  Commit: 73e22ff3d77db72bb9b6e22342417a5f4fe6afb4
      https://github.com/llvm/llvm-project/commit/73e22ff3d77db72bb9b6e22342417a5f4fe6afb4
  Author: Akshay Deodhar <adeodhar at nvidia.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/Reassociate.h
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/test/Transforms/Reassociate/local-cse.ll
    A llvm/test/Transforms/Reassociate/reassoc-add-nsw.ll

  Log Message:
  -----------
  [Reassociate] Preserve NSW flags after expr tree rewriting (#93105)

We can guarantee NSW on all operands in a reassociated add expression
tree when:

- All adds in an add operator tree are NSW, AND either 
  - All add operands are guaranteed to be nonnegative, OR 
  - All adds are also NUW

- Alive2: 
- Nonnegative Operands
	- 3 operands: https://alive2.llvm.org/ce/z/G4XW6Q
	- 4 operands: https://alive2.llvm.org/ce/z/FWcZ6D
 - NUW NSW adds: https://alive2.llvm.org/ce/z/vRUxeC

---------

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


  Commit: 99835922ca2a2ac20769271a49a5f8055bb5dc93
      https://github.com/llvm/llvm-project/commit/99835922ca2a2ac20769271a49a5f8055bb5dc93
  Author: Peiming Liu <peiming at google.com>
  Date:   2024-05-28 (Tue, 28 May 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/SparseTensorPasses.cpp

  Log Message:
  -----------
  [mlir][sparse] remove sparse encoding propagation pass. (#93593)


  Commit: 196a0809822ba4ac0fc669a46cbacee8afbe36c2
      https://github.com/llvm/llvm-project/commit/196a0809822ba4ac0fc669a46cbacee8afbe36c2
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

  Log Message:
  -----------
  DAG: Handle fminnum_ieee/fmaxnum_ieee in basic legalization

Handle these in promote float and vector widening. Currently we happen
to avoid emitting these unless legal or custom. Avoids regression in
a future commit which wants to unconditionally emit these.


  Commit: 08de0b3cf54e4998799673f835e9a7d5ead8efab
      https://github.com/llvm/llvm-project/commit/08de0b3cf54e4998799673f835e9a7d5ead8efab
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    A llvm/test/CodeGen/WebAssembly/eh-option-errors.ll
    M llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll

  Log Message:
  -----------
  [WebAssembly] Add tests for EH/SjLj option errors (#93583)

This adds tests for EH/SjLj option errors and swaps the error checking
order for unimportant cosmetic reasons (I think checking EH/SjLj
conflicts is more important than the model checking)


  Commit: d33864d5d8ae55ff1c86510dc475fd9dd72d61c7
      https://github.com/llvm/llvm-project/commit/d33864d5d8ae55ff1c86510dc475fd9dd72d61c7
  Author: Karthika Devi C <quic_kartc at quicinc.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M polly/include/polly/ScheduleTreeTransform.h

  Log Message:
  -----------
  [polly] Fix cppcheck SA comment reported in #91235 (#93505)

This patch moves the unreachable assert before return statement.
Fixes #91235.


  Commit: 5901d4005f015a46185ddc080038c1a3db3fa2c7
      https://github.com/llvm/llvm-project/commit/5901d4005f015a46185ddc080038c1a3db3fa2c7
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Parse/Parser.h
    M clang/lib/Parse/ParseStmt.cpp
    M clang/test/C/C99/block-scopes.c
    A clang/test/Parser/decls.c
    M clang/test/SemaOpenACC/parallel-loc-and-stmt.c

  Log Message:
  -----------
  [C] Disallow declarations where a statement is required (#92908)

This fixes a regression introduced in
8bd06d5b65845e5e01dd899a2deb773580460b89 where Clang began to accept a
declaration where a statement is required. e.g.,
```
if (1)
  int x; // Previously accepted, now properly rejected
```

Fixes #92775


  Commit: debdbeda15802900615d1bee83e4fc519abeaba6
      https://github.com/llvm/llvm-project/commit/debdbeda15802900615d1bee83e4fc519abeaba6
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Arith/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Linalg/Passes.h
    M mlir/include/mlir/Dialect/Linalg/Passes.td
    M mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Vector/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Vector/Transforms/Passes.td
    R mlir/lib/Dialect/Arith/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
    R mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/Shape/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/Tensor/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/Vector/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
    M mlir/test/Dialect/Arith/bufferize.mlir
    M mlir/test/Dialect/Linalg/bufferize.mlir
    M mlir/test/Dialect/Shape/bufferize.mlir
    M mlir/test/Dialect/SparseTensor/sparse_lower.mlir
    M mlir/test/Dialect/SparseTensor/sparse_lower_col.mlir
    M mlir/test/Dialect/SparseTensor/sparse_lower_inplace.mlir
    M mlir/test/Dialect/Tensor/bufferize.mlir
    M mlir/test/Dialect/Vector/bufferize-invalid.mlir
    M mlir/test/Dialect/Vector/bufferize.mlir
    M mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-collapse-tensor.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-elementwise.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-expand-tensor.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-padtensor.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert-multiple-uses.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-tensor-e2e.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-tensor-matmul.mlir
    M mlir/test/Integration/Dialect/Memref/print-memref.mlir
    M mlir/test/Integration/Dialect/Memref/verify-memref.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf-full.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-full.mlir

  Log Message:
  -----------
  [mlir] Remove dialect specific bufferization passes (Reland) (#93535)

These passes have been depreciated for a long time and replaced by
one-shot bufferization. These passes are also unsafe because they do not
check for read-after-write conflicts.

Relands https://github.com/llvm/llvm-project/pull/93488 which failed on
buildbot. Fixes the failure by updating integration tests to use
one-shot-bufferize instead.


  Commit: a4bef0ca826a8145ef3cb288846017c034a817c2
      https://github.com/llvm/llvm-project/commit/a4bef0ca826a8145ef3cb288846017c034a817c2
  Author: Stephan T. Lavavej <stl at nuwen.net>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/include/version
    M libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/string.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++] Mark P2845R8 `__cpp_lib_format_path` and P2587R3 `__cpp_lib_to_string` as C++26 (#93255)

[P2845R8](https://wg21.link/P2845R8) "Formatting of
`std::filesystem::path`" and [P2587R3](https://wg21.link/P2587R3)
"`to_string` or not `to_string`" are C++26 features, so they should be
marked accordingly in `generate_feature_test_macro_components.py`.

I verified that without my changes, running the script produced no
edits. Then with my changes, I ran the script to regenerate all files,
with no other manual edits.

Found while running libc++'s tests with MSVC's STL, which noticed this
because it's currently a C++23-only implementation.

Note that @H-G-Hristov has a draft implementation of P2587R3: #78100


  Commit: 51752ed0dd737f12014a89dec67d25494083153d
      https://github.com/llvm/llvm-project/commit/51752ed0dd737f12014a89dec67d25494083153d
  Author: Guray Ozen <guray.ozen at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/test/Examples/NVGPU/tools/nvdsl.py

  Log Message:
  -----------
  [mlir][nvgpu] verify the module


  Commit: 266fac8375bdf3f039503c559bb16ffab8895ae5
      https://github.com/llvm/llvm-project/commit/266fac8375bdf3f039503c559bb16ffab8895ae5
  Author: Stephan T. Lavavej <stl at nuwen.net>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M libcxx/test/std/atomics/atomics.ref/compare_exchange_strong.pass.cpp
    M libcxx/test/std/atomics/atomics.ref/compare_exchange_weak.pass.cpp
    M libcxx/test/std/atomics/atomics.ref/wait.pass.cpp
    M libcxx/test/std/containers/views/views.span/span.cons/initializer_list.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
    M libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp
    M libcxx/test/support/msvc_stdlib_force_include.h

  Log Message:
  -----------
  [libc++] [test] Fix MSVC warnings (#93257)

Found while running libc++'s tests with MSVC's STL.

* Avoid MSVC warning C5101: use of preprocessor directive in
function-like macro argument list is undefined behavior.
+ We can easily make this portable by extracting `const bool is_newlib`.
  + Followup to #73440.
  + See #73598.
  + See #73836.
* Avoid MSVC warning C4267: 'return': conversion from 'size_t' to 'int',
possible loss of data.
+ This warning is valid, but harmless for the test, so
`static_cast<int>` will avoid it.
* Avoid MSVC warning C4146: unary minus operator applied to unsigned
type, result still unsigned.
+ This warning is also valid (the scenario is sometimes intentional, but
surprising enough that it's worth warning about). This is a C++17 test,
so we can easily avoid it by testing `is_signed_v` at compile-time
before testing `m < 0` and `n < 0` at run-time.
* Silence MSVC warning C4310: cast truncates constant value.
+ These warnings are being emitted by `T(255)`. Disabling the warning is
simpler than attempting to restructure the code.
  + Followup to #79791.
* MSVC no longer emits warning C4521: multiple copy constructors
specified.
+ This warning was removed from the compiler, since at least 2021-12-09.


  Commit: 2ba08386156ef25913b1bee170d8fe95aaceb234
      https://github.com/llvm/llvm-project/commit/2ba08386156ef25913b1bee170d8fe95aaceb234
  Author: Stephan T. Lavavej <stl at nuwen.net>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M libcxx/test/libcxx/time/time.zone/time.zone.db/time.zone.db.tzdb/locate_zone.pass.cpp
    M libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains_subrange.pass.cpp
    R libcxx/test/std/containers/sequences/vector/vector.modifiers/destory_elements.pass.cpp
    A libcxx/test/std/containers/sequences/vector/vector.modifiers/destroy_elements.pass.cpp
    M libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp
    M libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp
    M libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/move.iterators/sized_sentinel.compile.pass.cpp
    M libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/current_zone.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/locate_zone.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.tzdb/current_zone.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.tzdb/locate_zone.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
    M libcxx/test/std/utilities/variant/variant.variant/variant.swap/swap.pass.cpp
    M libcxx/test/support/msvc_stdlib_force_include.h

  Log Message:
  -----------
  [libc++] [test] Fix portability issues for MSVC (#93259)

* Guard `std::__make_from_tuple_impl` tests with `#ifdef _LIBCPP_VERSION` and `LIBCPP_STATIC_ASSERT`.
* Change `_LIBCPP_CONSTEXPR_SINCE_CXX20` to `TEST_CONSTEXPR_CXX20`.
+ Other functions in `variant.swap/swap.pass.cpp` were already using the proper test macro.
* Mark `what` as `[[maybe_unused]]` when used by `TEST_LIBCPP_REQUIRE`.
  + This updates one occurrence in `libcxx/test/libcxx` for consistency.
* Windows `_putenv_s()` takes 2 arguments, not 3.
  + See MSVC documentation: https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/putenv-s-wputenv-s?view=msvc-170
+ POSIX `setenv()` takes `int overwrite`, but Windows `_putenv_s()` always overwrites.
* Avoid non-Standard zero-length arrays.
  + Followup to #74183 and #79792.
* Add `operator++()` to `unsized_it`.
+ The Standard requires this due to [N4981][] [move.iter.requirements]/1 "The template parameter `Iterator` shall
  either meet the *Cpp17InputIterator* requirements ([input.iterators])
  or model `input_iterator` ([iterator.concept.input])."
+ MSVC's STL requires this because it has a strengthened exception
  specification in `move_iterator` that inspects the underlying iterator's
  increment operator.
* `uniform_int_distribution` forbids `int8_t`/`uint8_t`.
  + See [N4981][] [rand.req.genl]/1.5. MSVC's STL enforces this.
+ Note that when changing the distribution's `IntType`, we need to be
  careful to preserve the original value range of `[0, max_input]`.
* fstreams are constructible from `const fs::path::value_type*` on wide systems.
  + See [ifstream.cons], [ofstream.cons], [fstream.cons].
* In `msvc_stdlib_force_include.h`, map `_HAS_CXX23` to `TEST_STD_VER` 23 instead of 99.
+ On 2023-05-23, https://github.com/llvm/llvm-project/commit/71400505ca048507e827013eb1ea0bc863525cab
  started recognizing 23 as a distinct value.
* Fix test name typo: `destory_elements.pass.cpp` => `destroy_elements.pass.cpp`

[N4981]: https://wg21.link/N4981


  Commit: bc247ba113543b07fcff769ab616cf9509eb2794
      https://github.com/llvm/llvm-project/commit/bc247ba113543b07fcff769ab616cf9509eb2794
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    R llvm/test/tools/llvm-profdata/memprof-merge-v0.test
    A llvm/test/tools/llvm-profdata/memprof-merge-versions.test

  Log Message:
  -----------
  [memprof] Rename memprof-merge-v0.test to memprof-merge-versions.test (#93602)

Despite the name, the test is used to test merge/show roundtrips for
different MemProf versions.  This patch renames the test to match the
reality.


  Commit: 1c3a3f0e79a9c6a7c1c4a71c43a9eab783c3b266
      https://github.com/llvm/llvm-project/commit/1c3a3f0e79a9c6a7c1c4a71c43a9eab783c3b266
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/test/CodeGen/RISCV/rvv/ctlz-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/ctpop-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vdiv-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vdivu-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmax-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmaxu-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmin-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vminu-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vrem-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vremu-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vshl-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vsra-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vsrl-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fshr-fshl-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vdiv-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vdivu-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vmax-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vmaxu-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vmin-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vminu-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vrem-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vremu-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vshl-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vsra-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vsrl-vp.ll

  Log Message:
  -----------
  [LegalizeTypes] Use VP_AND and VP_SHL/VP_SRA to promote operands fo VP arithmetic. (#92799)

This adds VPSExtPromotedInteger and VPZExtPromotedInteger and uses them
to promote many arithmetic operations.
    
VPSExtPromotedInteger uses a shift pair because we don't have
VP_SIGN_EXTEND_INREG yet.


  Commit: 0e96eebc7f681a7ce41f35909e609c7c61a11455
      https://github.com/llvm/llvm-project/commit/0e96eebc7f681a7ce41f35909e609c7c61a11455
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M compiler-rt/lib/msan/msan.cpp

  Log Message:
  -----------
  [msan] Reland: Increase k num stack origin descrs (limited to non-PowerPC) (#93117)

The original pull request
(https://github.com/llvm/llvm-project/pull/92838) was reverted due to a
PowerPC buildbot breakage
(https://github.com/llvm/llvm-project/commit/df626dd11c360c58eddae813ce6a0524d0a53696).
This reland limits the scope of the change to non-PowerPC platforms. I
am unaware of any PowerPC use cases that would benefit from a larger
kNumStackOriginDescrs constant.

Original CL description: This increases the constant size of
kNumStackOriginDescrs to 4M (64GB of BSS across two arrays), which ought
to be enough for anybody.

This is the easier alternative suggested by eugenis@ in
https://github.com/llvm/llvm-project/pull/92826.


  Commit: d9dec109375ded13d61da20877c399fb8fbb877d
      https://github.com/llvm/llvm-project/commit/d9dec109375ded13d61da20877c399fb8fbb877d
  Author: Lucile Rose Nihlen <luci.the.rose at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M .ci/monolithic-windows.sh

  Log Message:
  -----------
  [ci] limit parallel windows compile jobs to 24 (#93329)

This is an experiment to see if we can prevent some of the compiler OOMs
happening without unduly impacting the Windows build latency.


  Commit: c96860aea2c77392bad16f1c4f55014164669de3
      https://github.com/llvm/llvm-project/commit/c96860aea2c77392bad16f1c4f55014164669de3
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
    M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h

  Log Message:
  -----------
  [clang-tidy] Optimize realpath in readability-identifier-naming (#92659)

- Reduce disk IO usage by adding cache to an realpath introduced by
#81985


  Commit: 0aacef3abc41cfc8efb5f1b9483bc37599352a59
      https://github.com/llvm/llvm-project/commit/0aacef3abc41cfc8efb5f1b9483bc37599352a59
  Author: Mattan Elkaim <73639004+mattanelkaim at users.noreply.github.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang-tools-extra/docs/clang-tidy/checks/readability/identifier-length.rst

  Log Message:
  -----------
  [clang-tidy][NFC] Update identifier-length.rst (#93467)

Swapped code blocks of parameter and variable, which have been confused
(in a clang-tidy doc file)


  Commit: c108c1e94580d70e2be66172ab4397fcff004376
      https://github.com/llvm/llvm-project/commit/c108c1e94580d70e2be66172ab4397fcff004376
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    A llvm/test/CodeGen/WebAssembly/cfg-stackify-eh-legacy.ll
    R llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll
    A llvm/test/CodeGen/WebAssembly/exception-legacy.ll
    R llvm/test/CodeGen/WebAssembly/exception.ll

  Log Message:
  -----------
  [WebAssembly] Rename old EH tests to *-legacy (#93585)

I think test files for the legacy and the new EH (exnref) are better be
separate, and I'd like to use the current test file names for the new
EH, rather than keeping the current files and naming the new ones as
`-new` or something.


  Commit: 9e89d107a6ec2ade15eddb549fa473cf09bf230e
      https://github.com/llvm/llvm-project/commit/9e89d107a6ec2ade15eddb549fa473cf09bf230e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    M llvm/lib/ProfileData/MemProf.cpp
    M llvm/test/tools/llvm-profdata/memprof-merge-versions.test
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [memprof] Add MemProf format Version 3 (#93608)

This patch adds Version 3 for development purposes.  For now, this
patch adds V3 as a copy of V2.

For the most part, this patch adds "case Version3:" wherever "case
Version2:" appears.  One exception is writeMemProfV3, which is copied
from writeMemProfV2 but updated to write out memprof::Version3 to the
MemProf header.  We'll incrementally modify writeMemProfV3 in
subsequent patches.


  Commit: 193e9007ef0bef6c881ab26746221f22ec674447
      https://github.com/llvm/llvm-project/commit/193e9007ef0bef6c881ab26746221f22ec674447
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/include/clang/AST/StmtOpenACC.h
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/SemaOpenACC.h
    M clang/lib/AST/StmtOpenACC.cpp
    M clang/lib/Parse/ParseOpenACC.cpp
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp

  Log Message:
  -----------
  [OpenACC][NFC] Fix begin loc and split it from the directive location

I discovered while working on something else that we were using the
location of the directive name as the 'beginloc' which caused some
problems in a few places.  This patch makes it so our beginloc is the
'#' as we originally designed, and then adds a DirectiveLoc concept to a
construct for use diagnosing the name.


  Commit: 5a23d31c5033dcb41d374692ed26d87ed8e2665a
      https://github.com/llvm/llvm-project/commit/5a23d31c5033dcb41d374692ed26d87ed8e2665a
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    A llvm/test/Transforms/SampleProfile/Inputs/inline-hot-callsite-threshold.prof
    A llvm/test/Transforms/SampleProfile/inline-hot-callsite-threshold.ll
    M llvm/test/Transforms/SampleProfile/pseudo-probe-inline.ll
    M llvm/test/Transforms/SampleProfile/remarks.ll

  Log Message:
  -----------
  [Sample Profile] Check hot callsite threshold when inlining a function with a sample profile (#93286)

Currently if a callsite is hot as determined by the sample profile, it
is unconditionally inlined barring invalid cases (such as recursion).
Inline cost check should still apply because a function's hotness and
its inline cost are two different things.
For example if a function is calling another very large function
multiple times (at different code paths), the large function should not
be inlined even if its hot.


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

  Changed paths:
    M clang/unittests/Interpreter/CodeCompletionTest.cpp
    M clang/unittests/Interpreter/IncrementalProcessingTest.cpp

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


  Commit: 98fa0f6981f33b7d8f5aa38babc1e71bc0209de8
      https://github.com/llvm/llvm-project/commit/98fa0f6981f33b7d8f5aa38babc1e71bc0209de8
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  DAG: Handle vector splitting for fminnum_ieee/fmaxnum_ieee

Avoids regression in future commit which starts producing
illegal instances.


  Commit: bbca20f0b1ab7c6ea36a84e88a6abb07f94ca80b
      https://github.com/llvm/llvm-project/commit/bbca20f0b1ab7c6ea36a84e88a6abb07f94ca80b
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  [Clang][NFC] remove CHAR_PUNCT duplication introduced by #93216 (#93605)


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

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

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

fea7399e97b73a3209fcbe3338d412069769a637 had removed the unused function that was still there when I tested.


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

  Changed paths:
    A llvm/test/Analysis/ScalarEvolution/predicated-symbolic-max-backedge-taken-count.ll

  Log Message:
  -----------
  [SCEV] Add tests for symbolic max BTC requiring predicates.

Add extra tests for https://github.com/llvm/llvm-project/pull/93498.


  Commit: e3f74d4589e29279e9f543b58577a2ece102dc6f
      https://github.com/llvm/llvm-project/commit/e3f74d4589e29279e9f543b58577a2ece102dc6f
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/lib/Serialization/ASTWriter.cpp

  Log Message:
  -----------
  [OpenACC] Correct serialization of certain clause sub-expressions

For some reason I was using writeStmtRef when I meant writeStmt, so this
corrects that.


  Commit: 060b3023e198d197b47c652f19af5f7dea3a22cc
      https://github.com/llvm/llvm-project/commit/060b3023e198d197b47c652f19af5f7dea3a22cc
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  [RISCV] Move TRUNCATE_VECTOR_VL combine into a helper function. NFC (#93574)

I plan to add other combines on TRUNCATE_VECTOR_VL.


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

  Changed paths:
    M flang/module/cudadevice.f90
    A flang/test/Lower/CUDA/cuda-device-proc.cuf

  Log Message:
  -----------
  [flang][cuda] Add bind c to cudadevice procedures (#92822)

This patch adds bind c names to functions and subroutines in cudadevice
so they can be lowered and not hit the intrinsic procedure TODOs.


  Commit: 2d00c6fe06b6d709b4ab3d6b253df304c04e0c1f
      https://github.com/llvm/llvm-project/commit/2d00c6fe06b6d709b4ab3d6b253df304c04e0c1f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
    M llvm/lib/Target/RISCV/RISCVPostRAExpandPseudoInsts.cpp
    M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
    M llvm/test/CodeGen/RISCV/ctz_zero_return_test.ll
    M llvm/test/CodeGen/RISCV/early-clobber-tied-def-subreg-liveness.ll
    M llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll
    M llvm/test/CodeGen/RISCV/rv32xtheadbb.ll
    M llvm/test/CodeGen/RISCV/rv32zbb.ll
    M llvm/test/CodeGen/RISCV/rvv/active_lane_mask.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-interleaved-access.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-buildvec.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-reverse.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector.ll
    M llvm/test/CodeGen/RISCV/rvv/shuffle-reverse.ll
    M llvm/test/CodeGen/RISCV/tail-calls.ll
    M llvm/test/CodeGen/RISCV/unroll-loop-cse.ll

  Log Message:
  -----------
  [RISCV] Add a rematerializable pseudo instruction for LUI+ADDI for global addresses. (#93352)

This allows register allocation to rematerialize these instead of
spilling and reloading. We need to make it a single instruction due to
limitations in rematerialization.

This pseudo is expanded to an LUI+ADDI pair between regalloc and post RA
scheduling.

This improves the dynamic instruction count on 531.deepsjeng_r from
spec2017 by 3.2% for the train dataset. 500.perlbench and 502.gcc see a
1% improvement. There are couple regressions, but they are 0.1% or
smaller.

AArch64 has similar pseudo instructions like MOVaddr


  Commit: 765206e050453018e861637a08a4520f29238074
      https://github.com/llvm/llvm-project/commit/765206e050453018e861637a08a4520f29238074
  Author: gulfemsavrun <gulfem at google.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  [CodeGen] Hidden visibility for prof version var (#93496)

This patch adds hidden visibility to the variable
that is used by the single byte counters mode in
source-based code coverage.


  Commit: 067b4ccb4b5ab93ac2dc2243248a8934fa1f7ce3
      https://github.com/llvm/llvm-project/commit/067b4ccb4b5ab93ac2dc2243248a8934fa1f7ce3
  Author: Eric <eric at efcs.ca>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    A .github/workflows/restart-preempted-libcxx-jobs.yaml

  Log Message:
  -----------
  Upstream libc++ buildbot restarter. (#93582)

I've been running a cronjob on my local machine to restart preempted
libc++ CI runs. This is bad and brittle. This upstreams a much better
version of the restarter.

It works by matching on check run annotations looking for mention
of the machine being shutdown.

If there are both preempted jobs and failing jobs, we don't restart
the workflow. Maybe we should change that?


  Commit: b9cdea66b62e2eb91814ef7c57ea01aa27440e72
      https://github.com/llvm/llvm-project/commit/b9cdea66b62e2eb91814ef7c57ea01aa27440e72
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M .github/workflows/restart-preempted-libcxx-jobs.yaml

  Log Message:
  -----------
  Attempt to fix issue with plus sign in libc++ workflow name


  Commit: 6aeea700df6f3f8db9e6a79be4aa593c6fcc7d18
      https://github.com/llvm/llvm-project/commit/6aeea700df6f3f8db9e6a79be4aa593c6fcc7d18
  Author: Spenser Bauman <sbauman at mathworks.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/include/mlir/Analysis/DataFlow/IntegerRangeAnalysis.h
    M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
    M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
    M mlir/include/mlir/Dialect/Index/IR/IndexOps.td
    M mlir/include/mlir/Interfaces/InferIntRangeInterface.h
    M mlir/include/mlir/Interfaces/InferIntRangeInterface.td
    M mlir/include/mlir/Interfaces/Utils/InferIntRangeCommon.h
    M mlir/lib/Analysis/DataFlow/IntegerRangeAnalysis.cpp
    M mlir/lib/Dialect/Arith/IR/InferIntRangeInterfaceImpls.cpp
    M mlir/lib/Interfaces/InferIntRangeInterface.cpp
    M mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
    M mlir/test/Dialect/Arith/int-range-interface.mlir
    M mlir/test/lib/Dialect/Test/TestOps.td

  Log Message:
  -----------
  [mlir][dataflow] Fix for integer range analysis propagation bug (#93199)

Integer range analysis will not update the range of an operation when
any of the inferred input lattices are uninitialized. In the current
behavior, all lattice values for non integer types are uninitialized.

For operations like arith.cmpf

```mlir
%3 = arith.cmpf ugt, %arg0, %arg1 : f32
```

that will result in the range of the output also being uninitialized,
and so on for any consumer of the arith.cmpf result. When control-flow
ops are involved, the lack of propagation results in incorrect ranges,
as the back edges for loop carried values are not properly joined with
the definitions from the body region.

For example, an scf.while loop whose body region produces a value that
is in a dataflow relationship with some floating-point values through an
arith.cmpf operation:

```mlir
func.func @test_bad_range(%arg0: f32, %arg1: f32) -> (index, index) {
  %c4 = arith.constant 4 : index
  %c1 = arith.constant 1 : index
  %c0 = arith.constant 0 : index

  %3 = arith.cmpf ugt, %arg0, %arg1 : f32

  %1:2 = scf.while (%arg2 = %c0, %arg3 = %c0) : (index, index) -> (index, index) {
    %2 = arith.cmpi ult, %arg2, %c4 : index
    scf.condition(%2) %arg2, %arg3 : index, index
  } do {
  ^bb0(%arg2: index, %arg3: index):
    %4 = arith.select %3, %arg3, %arg3 : index
    %5 = arith.addi %arg2, %c1 : index
    scf.yield %5, %4 : index, index
  }

  return %1#0, %1#1 : index, index
}
```

The existing behavior results in the control condition %2 being
optimized to true, turning the while loop into an infinite loop. The
update to %arg2 through the body region is never factored into the range
calculation, as the ranges for the body ops all test as uninitialized.

This change causes all values initialized with setToEntryState to be set
to some initialized range, even if the values are not integers.

---------

Co-authored-by: Spenser Bauman <sabauma at fastmail>


  Commit: 20d497c26fc95c80a1bacb38820d92e5f52bec58
      https://github.com/llvm/llvm-project/commit/20d497c26fc95c80a1bacb38820d92e5f52bec58
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  [Driver] Remove unneeded *-linux-gnu after D158183

Recommit 435ea21c897f94b5a3777a9f152e4c5bb4a371a3.
As the comment added by a07727199db0525e9d2df41e466a2a1611b3c8e1
suggests, these `*Triples` lists should shrink over time.

https://reviews.llvm.org/D158183 allows *-unknown-linux-gnu to detect
*-linux-gnu. If we additionally allow x86_64-unknown-linux-gnu
-m32/-mx32 to detect x86_64-linux-gnu, we can mostly remove these
*-linux-gnu elements.

Retain x86_64-linux-gnu for now to work around #93609.
(In addition, Debian /usr/bin/clang --version uses x86_64-pc-linux-gnu).
Retain i586-linux-gnu for now to work around #93502.


  Commit: 760c2aa55f0c5f56bed944328b23aa3f2f764346
      https://github.com/llvm/llvm-project/commit/760c2aa55f0c5f56bed944328b23aa3f2f764346
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M lld/ELF/Arch/ARM.cpp
    M lld/ELF/Config.h
    M lld/ELF/InputFiles.cpp
    A lld/test/ELF/armv8-thumb-plt-reloc.s

  Log Message:
  -----------
  [lld] Support thumb PLTs (#86223)

We are using PLTs for cortex-m33 which only supports thumb. More
specifically, this is for a very restricted use case. There's no MMU so
there's no sharing of virtual addresses between two processes, but this
is fine. The MCU is used for running [chre
nanoapps](https://android.googlesource.com/platform/system/chre/+/HEAD/doc/nanoapp_overview.md)
for android. Each nanoapp is a shared library (but effectively acts as
an executable containing a test suite) that is loaded and run on the MCU
one binary at a time and there's only one process running at a time, so
we ensure that the same text segment cannot be shared by two different
running executables. GNU LD supports thumb PLTs but we want to migrate
to a clang toolchain and use LLD, so thumb PLTs are needed.


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/mul-combine.ll

  Log Message:
  -----------
  [RISCV] Combine vXi32 (mul (and (lshr X, 15), 0x10001), 0xffff) -> (bitcast (sra (v2Xi16 (bitcast X)), 15)) (#93565)

Similar for i16 and i64 elements for both fixed and scalable vectors.

This reduces the number of vector instructions, but increases vl/vtype
toggles.

This reduces some code in 525.x264_r from SPEC2017. In that usage, the
vectors are fixed with a small number of elements so vsetivli can be
used.

This is similar to `performMulVectorCmpZeroCombine` from AArch64.


  Commit: 0694552cb7e8b2041fd5e765cf5b83fc40664087
      https://github.com/llvm/llvm-project/commit/0694552cb7e8b2041fd5e765cf5b83fc40664087
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M libc/src/__support/threads/linux/CMakeLists.txt
    M libc/src/__support/threads/linux/CndVar.cpp
    M libc/src/__support/threads/mutex.h

  Log Message:
  -----------
  [libc] clean up MutexLock (#93619)


  Commit: c179d50fd3d84311708701d84e3bca60570d3d7f
      https://github.com/llvm/llvm-project/commit/c179d50fd3d84311708701d84e3bca60570d3d7f
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M lld/wasm/WriterUtils.cpp
    M llvm/include/llvm/BinaryFormat/Wasm.h
    M llvm/include/llvm/CodeGen/ValueTypes.td
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
    M llvm/lib/CodeGen/ValueTypes.cpp
    M llvm/lib/Object/WasmObjectFile.cpp
    M llvm/lib/ObjectYAML/WasmYAML.cpp
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTypeUtilities.cpp
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTypeUtilities.h
    M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrRef.td
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrTable.td
    M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.td
    M llvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp
    M llvm/test/CodeGen/WebAssembly/reg-argument.mir
    M llvm/test/CodeGen/WebAssembly/reg-copy.mir
    M llvm/test/MC/WebAssembly/basic-assembly.s
    M llvm/test/MC/WebAssembly/reference-types.s
    M llvm/test/MC/WebAssembly/type-checker-errors.s

  Log Message:
  -----------
  [WebAssembly] Add exnref type (#93586)

This adds (back) the exnref type restored in the new EH proposal adopted
in Oct 2023 CG meeting:

https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md:x


  Commit: 4486fcba756bfa4c8729673a9533578232f0bc04
      https://github.com/llvm/llvm-project/commit/4486fcba756bfa4c8729673a9533578232f0bc04
  Author: lntue <35648136+lntue at users.noreply.github.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M libc/hdr/CMakeLists.txt
    A libc/hdr/float_macros.h
    M libc/include/llvm-libc-macros/float-macros.h
    M libc/src/__support/macros/properties/CMakeLists.txt
    M libc/src/__support/macros/properties/types.h
    M libc/src/math/generic/CMakeLists.txt
    M libc/src/math/generic/scalbn.cpp
    M libc/src/math/generic/scalbnf.cpp
    M libc/src/math/generic/scalbnf128.cpp
    M libc/src/math/generic/scalbnl.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc] Add proxy header for float.h. (#93504)

This is the continuation of
https://github.com/llvm/llvm-project/pull/88674.

Fixes #88433, #90496.

---------

Co-authored-by: aniplcc <aniplccode at gmail.com>


  Commit: 39e5036c0e22cea24df73d28746bb8fe0a117f9d
      https://github.com/llvm/llvm-project/commit/39e5036c0e22cea24df73d28746bb8fe0a117f9d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/predicated-symbolic-max-backedge-taken-count.ll

  Log Message:
  -----------
  [SCEV] Add predicated version of getSymbolicMaxBackedgeTakenCount. (#93498)

This patch adds a predicated version of
getSymbolicMaxBackedgeTakenCount.

The intended use for this is loop access analysis for loops with
uncountable exits. When analyzing dependences and computing runtime
checks, we need the smallest upper bound on the number of iterations. In
terms of memory safety, it shouldn't matter if any uncomputable exits
leave the loop, as long as we prove that there are no dependences given
the minimum of the countable exits. The same should apply also for
generating runtime checks.

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


  Commit: 722a5fce589cea76a0baf89ce731477bae8cf4b8
      https://github.com/llvm/llvm-project/commit/722a5fce589cea76a0baf89ce731477bae8cf4b8
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/test/CodeGen/WebAssembly/eh-option-errors.ll

  Log Message:
  -----------
  [WebAssembly] Add -wasm-enable-exnref option (#93597)

This adds `-wasm-enable-exnref`, which will enable the new EH
instructions using `exnref` (adopted in Oct 2023 CG meeting):
https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md
This option should be used with `-wasm-enable-eh`.


  Commit: 60bce6eab4d734b86f49b7638856eb8899bc89e8
      https://github.com/llvm/llvm-project/commit/60bce6eab4d734b86f49b7638856eb8899bc89e8
  Author: Brendan Dahl <brendan.dahl at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 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/WebAssemblyISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
    M llvm/test/CodeGen/WebAssembly/half-precision.ll
    M llvm/test/MC/WebAssembly/simd-encodings.s

  Log Message:
  -----------
  [WebAssembly] Implement all f16x8 binary instructions. (#93360)

This reuses most of the code that was created for f32x4 and f64x2 binary
instructions and tries to follow how they were implemented.

add/sub/mul/div - use regular LL instructions
min/max - use the minimum/maximum intrinsic, and also have builtins
pmin/pmax - use the wasm.pmax/pmin intrinsics and also have builtins

Specified at:

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


  Commit: 0edc97f119f3ac3ff96b11183fe5c001a48a9a8d
      https://github.com/llvm/llvm-project/commit/0edc97f119f3ac3ff96b11183fe5c001a48a9a8d
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/docs/PointerAuth.md
    M llvm/include/llvm/AsmParser/LLToken.h
    M llvm/include/llvm/Bitcode/LLVMBitCodes.h
    M llvm/include/llvm/IR/Constants.h
    M llvm/include/llvm/IR/Value.def
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/AsmParser/LLLexer.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/ConstantsContext.h
    M llvm/lib/IR/LLVMContextImpl.h
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/Assembler/invalid-ptrauth-const1.ll
    A llvm/test/Assembler/invalid-ptrauth-const2.ll
    A llvm/test/Assembler/invalid-ptrauth-const3.ll
    A llvm/test/Assembler/invalid-ptrauth-const4.ll
    A llvm/test/Assembler/invalid-ptrauth-const5.ll
    A llvm/test/Assembler/ptrauth-const.ll
    M llvm/test/Bitcode/compatibility.ll
    M llvm/utils/vim/syntax/llvm.vim

  Log Message:
  -----------
  [IR][AArch64][PAC] Add "ptrauth(...)" Constant to represent signed pointers. (#85738)

This defines a new kind of IR Constant that represents a ptrauth signed
pointer, as used in AArch64 PAuth.

It allows representing most kinds of signed pointer constants used thus
far in the llvm ptrauth implementations, notably those used in the
Darwin and ELF ABIs being implemented for c/c++.  These signed pointer
constants are then lowered to ELF/MachO relocations.

These can be simply thought of as a constant `llvm.ptrauth.sign`, with
the interesting addition of discriminator computation: the `ptrauth`
constant can also represent a combined blend, when both address and
integer discriminator operands are used.  Both operands are otherwise
optional, with default values 0/null.


  Commit: 6f529aaf666624c26715aa348955b26a684d1250
      https://github.com/llvm/llvm-project/commit/6f529aaf666624c26715aa348955b26a684d1250
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/include/llvm/IR/Intrinsics.td

  Log Message:
  -----------
  [WebAssembly] Remove IIT_EXNREF

This was added in #93586 but caused a compilation warning and is not
used anyway.


  Commit: bd5cd4b837b67f8d549f072f37dd09295b4bf9f7
      https://github.com/llvm/llvm-project/commit/bd5cd4b837b67f8d549f072f37dd09295b4bf9f7
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M .github/workflows/restart-preempted-libcxx-jobs.yaml

  Log Message:
  -----------
  Fix trigger for libc++ job rerunner.

Testing github actions is such a pain. I swear it should match now.


  Commit: 5bfe4b93e15ad38f211c5dec64be0eeaa4c8e914
      https://github.com/llvm/llvm-project/commit/5bfe4b93e15ad38f211c5dec64be0eeaa4c8e914
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
    M mlir/test/Dialect/Arith/canonicalize.mlir
    M mlir/test/Dialect/Arith/invalid.mlir

  Log Message:
  -----------
  [mlir][arith] Disallow casting tensor dimensions (#93349)

Tighten the verifier for arith cast ops to disallow changing tensor
dimensions, e.g., static to dynamic. After this change:
* `arith.cast_op %x : tensor<4xi32> to tensor<4xf32>` remains valid
* `arith.cast_op %x : tensor<4xi32> to tensor<?xf32>` becomes invalid
* `arith.cast_op %x : tensor<?xi32> to tensor<4xf32>` becomes invalid

This is mostly to simplify the op semantics. See the discussion thread
for more context:
https://discourse.llvm.org/t/rfc-remove-arith-math-ops-on-tensors/74357/63.


  Commit: 1c108c80dc5b878452c00e1411cb530a66122ea5
      https://github.com/llvm/llvm-project/commit/1c108c80dc5b878452c00e1411cb530a66122ea5
  Author: Sterling Augustine <saugustine at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lld/MachO/ObjC.cpp

  Log Message:
  -----------
  Mark operator== const to avoid errors when asserts are enabled

Without this change, the build will fail like so:

llvm-project/lld/MachO/ObjC.cpp:1387:75: error: ISO C++20 considers use of overloaded operator '==' (with operand types 'ObjcCategoryMerger::PointerListInfo' and 'ObjcCategoryMerger::PointerListInfo') to be ambiguous despite there being a unique best viable function [-Werror,-Wambiguous-reversed-operator]
 1387 |       parseProtocolListInfo(classIsec, roClassLayout.baseProtocolsOffset) ==
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
 1388 |           parseProtocolListInfo(metaIsec, roClassLayout.baseProtocolsOffset) &&
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/assert.h:100:27: note: expanded from macro 'assert'
  100 |      (static_cast <bool> (expr)                                         \
      |                           ^~~~
llvm-project/lld/MachO/ObjC.cpp:391:17: note: ambiguity is between a regular call to this operator and a call with the argument order reversed
  391 |     inline bool operator==(const PointerListInfo &cmp) {
      |                 ^
llvm-project/lld/MachO/ObjC.cpp:391:17: note: mark 'operator==' as const or add a matching 'operator!=' to resolve the ambiguity
1 error generated.


  Commit: 44d4b3b2eebdd5eed95dd78dc3939dd9f5ebc5e6
      https://github.com/llvm/llvm-project/commit/44d4b3b2eebdd5eed95dd78dc3939dd9f5ebc5e6
  Author: Hui <hui.xie1990 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    A libcxx/test/std/containers/sequences/array/lwg3382.compile.pass.cpp
    A libcxx/test/std/utilities/utility/pairs/pairs.pair/lwg3382.compile.pass.cpp

  Log Message:
  -----------
  [libc++][test] Close LWG3382 and add tests (#93039)


  Commit: d868f097053e19e828d7366f5dbb88add16998a2
      https://github.com/llvm/llvm-project/commit/d868f097053e19e828d7366f5dbb88add16998a2
  Author: Hui <hui.xie1990 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 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
    A libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/types.h

  Log Message:
  -----------
  [libc++] LWG3223 Broken requirements for shared_ptr converting constructors (#93071)


  Commit: 2ae3f7c29c1149098827df7edafa761e3e3eb420
      https://github.com/llvm/llvm-project/commit/2ae3f7c29c1149098827df7edafa761e3e3eb420
  Author: Hui <hui.xie1990 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.pass.cpp
    R libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.verify.cpp

  Log Message:
  -----------
  [libc++][test] Close LWG3238 and add tests (#93043)


  Commit: 0380044e16a1c016e001a56c0ca7f4db649a6cae
      https://github.com/llvm/llvm-project/commit/0380044e16a1c016e001a56c0ca7f4db649a6cae
  Author: Jim Ingham <jingham at apple.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M lldb/unittests/CMakeLists.txt
    M lldb/unittests/Editline/CMakeLists.txt

  Log Message:
  -----------
  Fix the EditLine unittest build on Darwin after PR 92865

There was a Darwin only use of setupterm (under USE_SETUPTERM_WORKAROUND)
that required libcurses.dylib.  That was added to the main build, but
not to the unittest.


  Commit: d11922ebb26d84d7807be7f6fbf4d7e92c97455d
      https://github.com/llvm/llvm-project/commit/d11922ebb26d84d7807be7f6fbf4d7e92c97455d
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M .github/workflows/restart-preempted-libcxx-jobs.yaml

  Log Message:
  -----------
  Remove unneeded debug logging


  Commit: f0b57b60e3b47bb9f9181d8be68473706b883430
      https://github.com/llvm/llvm-project/commit/f0b57b60e3b47bb9f9181d8be68473706b883430
  Author: Ruiling, Song <ruiling.song at amd.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp

  Log Message:
  -----------
  [Coroutines] Remove one construction of DominatorTree (#93507)

The DominatorTree can be reused if no CFG changes.


  Commit: e492aa5adbccb9f4025af7c4179f75378fcad41a
      https://github.com/llvm/llvm-project/commit/e492aa5adbccb9f4025af7c4179f75378fcad41a
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M .github/workflows/restart-preempted-libcxx-jobs.yaml

  Log Message:
  -----------
  Remove one more unneeded debug log line


  Commit: f9672cb775afc47e5210a111d248a01c23c428fe
      https://github.com/llvm/llvm-project/commit/f9672cb775afc47e5210a111d248a01c23c428fe
  Author: yronglin <yronglin777 at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx2cIssues.csv

  Log Message:
  -----------
  [NFC][libc++] Mark LWG3951 as implemented (#93191)

Since we have already addressed the LWG issue, this PR marks LWG3951 as
implemented.

Signed-off-by: yronglin <yronglin777 at gmail.com>
Co-authored-by: A. Jiang <de34 at live.cn>


  Commit: 6abc3876c35bbe8fb5dd6435dc60f2c816b97ef6
      https://github.com/llvm/llvm-project/commit/6abc3876c35bbe8fb5dd6435dc60f2c816b97ef6
  Author: Jim Ingham <jingham at apple.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M lldb/unittests/CMakeLists.txt
    M lldb/unittests/Editline/CMakeLists.txt

  Log Message:
  -----------
  Revert "Fix the EditLine unittest build on Darwin after PR 92865"

This reverts commit 0380044e16a1c016e001a56c0ca7f4db649a6cae.

While I figure out some mysterious CMake error.


  Commit: 04f01a2b9cedc291fa7dd941de841dc957c75a33
      https://github.com/llvm/llvm-project/commit/04f01a2b9cedc291fa7dd941de841dc957c75a33
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__atomic/atomic_base.h
    M libcxx/include/__atomic/atomic_flag.h
    M libcxx/include/__atomic/atomic_sync.h
    R libcxx/include/__availability
    M libcxx/include/__charconv/to_chars_floating_point.h
    M libcxx/include/__chrono/file_clock.h
    M libcxx/include/__chrono/tzdb_list.h
    M libcxx/include/__config
    A libcxx/include/__configuration/availability.h
    A libcxx/include/__configuration/language.h
    M libcxx/include/__exception/exception_ptr.h
    M libcxx/include/__expected/bad_expected_access.h
    M libcxx/include/__filesystem/directory_entry.h
    M libcxx/include/__filesystem/directory_iterator.h
    M libcxx/include/__filesystem/filesystem_error.h
    M libcxx/include/__filesystem/operations.h
    M libcxx/include/__filesystem/path.h
    M libcxx/include/__filesystem/path_iterator.h
    M libcxx/include/__filesystem/recursive_directory_iterator.h
    M libcxx/include/__filesystem/u8path.h
    M libcxx/include/__functional/function.h
    M libcxx/include/__fwd/memory_resource.h
    M libcxx/include/__fwd/string.h
    M libcxx/include/__memory_resource/memory_resource.h
    M libcxx/include/__memory_resource/monotonic_buffer_resource.h
    M libcxx/include/__memory_resource/polymorphic_allocator.h
    M libcxx/include/__memory_resource/synchronized_pool_resource.h
    M libcxx/include/__memory_resource/unsynchronized_pool_resource.h
    M libcxx/include/__ostream/print.h
    M libcxx/include/__stop_token/stop_callback.h
    M libcxx/include/__stop_token/stop_source.h
    M libcxx/include/__stop_token/stop_state.h
    M libcxx/include/__stop_token/stop_token.h
    M libcxx/include/__thread/jthread.h
    M libcxx/include/__thread/poll_with_backoff.h
    M libcxx/include/__verbose_abort
    M libcxx/include/barrier
    M libcxx/include/condition_variable
    M libcxx/include/deque
    M libcxx/include/forward_list
    M libcxx/include/fstream
    M libcxx/include/latch
    M libcxx/include/list
    M libcxx/include/map
    M libcxx/include/module.modulemap
    M libcxx/include/optional
    M libcxx/include/print
    M libcxx/include/regex
    M libcxx/include/semaphore
    M libcxx/include/set
    M libcxx/include/sstream
    M libcxx/include/unordered_map
    M libcxx/include/unordered_set
    M libcxx/include/variant
    M libcxx/include/vector
    M libcxx/include/version
    M libcxx/src/optional.cpp
    M libcxx/src/ostream.cpp
    M libcxx/test/libcxx/vendor/apple/availability-with-pedantic-errors.compile.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++] Make the __availability header a sub-header of __config (#93083)

In essence, this header has always been related to configuration of
the library but we didn't want to put it inside <__config> due to
complexity reasons. Now that we have sub-headers in <__config>, we
can move <__availability> to it and stop including it everywhere since
we already obtain the required macros via <__config>.


  Commit: 633ea41b54bf7b2f10850bbd5ba3c4ab06081595
      https://github.com/llvm/llvm-project/commit/633ea41b54bf7b2f10850bbd5ba3c4ab06081595
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M libcxx/test/CMakeLists.txt
    M libcxx/test/configs/cmake-bridge.cfg.in
    M libcxx/utils/libcxx/test/params.py
    M libcxxabi/test/CMakeLists.txt
    M libcxxabi/test/configs/cmake-bridge.cfg.in
    M libunwind/test/CMakeLists.txt
    M libunwind/test/configs/cmake-bridge.cfg.in

  Log Message:
  -----------
  [runtimes] Reintroduce a way to select the compiler used for the test suite (#93542)

A while back, the cxx_under_test Lit parameter was removed. This patch
reintroduces a Lit parameter called "compiler" which controls the value
of the %{cxx} substitution used in the test suite.

To run the test suite with a different compiler, one can now pass
--param compiler=<path>.


  Commit: bd135c3b9fb57e6346e4a790945809617388ca9b
      https://github.com/llvm/llvm-project/commit/bd135c3b9fb57e6346e4a790945809617388ca9b
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/benchmarks/CMakeLists.txt
    M libcxx/modules/CMakeLists.txt
    M libcxx/src/CMakeLists.txt
    M libcxx/test/CMakeLists.txt
    M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
    M libcxxabi/CMakeLists.txt
    M libcxxabi/src/CMakeLists.txt
    M libcxxabi/test/CMakeLists.txt
    M libunwind/test/CMakeLists.txt

  Log Message:
  -----------
  [runtimes][CMake] Simplify the propagation of test dependencies (#93558)

Instead of using FOO_TEST_DEPS global variables that don't get updated
properly from subdirectories, use targets to propagate the dependencies
across directories.


  Commit: 7832769d329ead264aff238c06dce086b3a74922
      https://github.com/llvm/llvm-project/commit/7832769d329ead264aff238c06dce086b3a74922
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M lld/ELF/Arch/ARM.cpp
    M lld/ELF/Config.h
    M lld/ELF/InputFiles.cpp
    R lld/test/ELF/armv8-thumb-plt-reloc.s

  Log Message:
  -----------
  Revert "[lld] Support thumb PLTs" (#93631)

Reverts llvm/llvm-project#86223

windows pre-merge is broken.


  Commit: c250aeb9d6c590d9fdbebd84fc259c4e536dace9
      https://github.com/llvm/llvm-project/commit/c250aeb9d6c590d9fdbebd84fc259c4e536dace9
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MIMGInstructions.td

  Log Message:
  -----------
  [AMDGPU] Fix typo in VIMAGE no sampler opcode usage (NFCI)

Opcodes are the same for these instructions in GFX11 and 12,
hence this typo has no functional impact.


  Commit: cbf6e93ceee7b9de2b7c3e7e8cea3a972eda0e75
      https://github.com/llvm/llvm-project/commit/cbf6e93ceee7b9de2b7c3e7e8cea3a972eda0e75
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/test/CodeGenCXX/no-unique-address.cpp

  Log Message:
  -----------
  [clang codegen] Delete unnecessary GEP cleanup code. (#90303)

There's some code in AggExprEmitter::VisitCXXParenListOrInitListExpr to
try to do early cleanup for GEPs for fields that aren't accessed. But
it's unlikely to actually save significant compile-time, and it's subtly
wrong in cases where EmitLValueForFieldInitialization() doesn't create a
GEP. So just delete the code.

Fixes #88077. Fixes #89547.


  Commit: bb42511f64fd44f2ff1beb0dd38a653a8f2c20df
      https://github.com/llvm/llvm-project/commit/bb42511f64fd44f2ff1beb0dd38a653a8f2c20df
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/TemplateBase.cpp
    M clang/test/SemaTemplate/temp_arg_nontype_cxx2c.cpp

  Log Message:
  -----------
  [Clang][Sema] Use StructuralValues to model dependent NTTP arguments (#93556)

This patch takes Richard's approach of no longer modeling dependent NTTP
arguments with TemplateParamObjectDecls. Clang used to do so, which left
behind a problem in that we might mess up dependent and non-dependent
arguments that boil down to the same canonical type because there's a
default argument on the NTTP.

The problem of "canonical expression" is still present because this
patch doesn't touch the profiling part. Namely, #92292 seems different.

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


  Commit: 465bc5e729fd755880b9a288de42a37ad1206301
      https://github.com/llvm/llvm-project/commit/465bc5e729fd755880b9a288de42a37ad1206301
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomic-load-lse2.ll
    M llvm/test/CodeGen/AArch64/relaxed-fp-atomics.ll
    M llvm/test/CodeGen/ARM/atomic-load-store.ll
    M llvm/test/CodeGen/PowerPC/atomics.ll
    M llvm/test/CodeGen/X86/atomic-non-integer.ll

  Log Message:
  -----------
  AArch64/ARM/PPC/X86: Add some atomic tests (#92933)

FP typed atomic load/store coverage was mostly missing, especially for
half and bfloat.


  Commit: 3613b2683107bd60fda6d9348623be0686f6d7e3
      https://github.com/llvm/llvm-project/commit/3613b2683107bd60fda6d9348623be0686f6d7e3
  Author: Matthew Devereau <matthew.devereau at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/cmake/config-ix.cmake
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/include/llvm/ADT/APInt.h
    M llvm/include/llvm/Config/llvm-config.h.cmake
    A llvm/include/llvm/Support/float128.h
    M llvm/lib/Analysis/CMakeLists.txt
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Support/APFloat.cpp
    M llvm/test/CMakeLists.txt
    A llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll
    M llvm/test/lit.cfg.py
    M llvm/test/lit.site.cfg.py.in

  Log Message:
  -----------
  Constant Fold logf128 calls (#90611)

This is a second attempt to land #84501 which failed on several targets.

This patch adds the HAS_IEE754_FLOAT128 define which makes the check for
typedef'ing float128 more precise by checking whether __uint128_t is
available and checking if the host does not use __ibm128 which is
prevalent on power pc targets and replaces IEEE754 float128s.


  Commit: b0f10a1dc34aa1b73faeeabdc2d348074a02c75d
      https://github.com/llvm/llvm-project/commit/b0f10a1dc34aa1b73faeeabdc2d348074a02c75d
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/test/CodeGenCXX/partitions.cpp
    A clang/test/Modules/pr93497.cppm

  Log Message:
  -----------
  [C++20] [Modules] Don't generate the defintition for non-const available external variables (#93530)

Close https://github.com/llvm/llvm-project/issues/93497

The root cause of the problem is, we mark the variable from other
modules as constnant in LLVM incorrectly. This patch fixes this problem
by not emitting the defintition for non-const available external
variables. Since the non const available externally variable is not
helpful to the optimization.


  Commit: 70d6b8a358366ec2ef4e73d5809fe23b9abf527d
      https://github.com/llvm/llvm-project/commit/70d6b8a358366ec2ef4e73d5809fe23b9abf527d
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/test/MC/AsmParser/macro-at-pseudo-variable.s

  Log Message:
  -----------
  MCAsmParser: Amend \+ expansion

Amend 7c956293d856224dd6a1b633820ef53009f7ef1c ("MCAsmParser: Support
\+") to increase Macro.Count per iteration to match the new gas feature
(milestone: 2.43).


  Commit: 5162027c9bb32ddbc8b37770c569a3e5a877d962
      https://github.com/llvm/llvm-project/commit/5162027c9bb32ddbc8b37770c569a3e5a877d962
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/vsra-sdnode.ll

  Log Message:
  -----------
  [RISCV] Add test for #93578. NFC


  Commit: 4e0bd3fab4b6a54342c9bed14f205895da3cf0d9
      https://github.com/llvm/llvm-project/commit/4e0bd3fab4b6a54342c9bed14f205895da3cf0d9
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineLICM.cpp
    M llvm/test/CodeGen/AArch64/atomicrmw-uinc-udec-wrap.ll
    M llvm/test/CodeGen/AArch64/dag-combine-concat-vectors.ll
    M llvm/test/CodeGen/AArch64/machine-sink-cache-invalidation.ll
    M llvm/test/CodeGen/AArch64/ragreedy-local-interval-cost.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-callable.ll
    M llvm/test/CodeGen/AMDGPU/vgpr-liverange-ir.ll
    M llvm/test/CodeGen/AVR/shift.ll
    A llvm/test/CodeGen/RISCV/machinelicm-constant-phys-reg.ll
    M llvm/test/CodeGen/RISCV/rvv/65704-illegal-instruction.ll
    M llvm/test/CodeGen/RISCV/rvv/fold-scalar-load-crash.ll
    M llvm/test/CodeGen/RISCV/vlenb.ll

  Log Message:
  -----------
  [MachineLICM] Hoist copies of constant physical register (#93285)

Previously, we just check if the source is a virtual register and
this prevents some potential hoists.

We can see some improvements in AArch64/RISCV tests.


  Commit: 476a6d81a3648cf638400632c098e9f0ed025f8f
      https://github.com/llvm/llvm-project/commit/476a6d81a3648cf638400632c098e9f0ed025f8f
  Author: MagentaTreehouse <99200384+MagentaTreehouse at users.noreply.github.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

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

  Log Message:
  -----------
  [NFC] Construct Twines before concatenation (#90728)

Construct `Twine`s before concatenation.


  Commit: 7f58ffd09b29d3ff4f9fa025bd4d05dd8fd9fc38
      https://github.com/llvm/llvm-project/commit/7f58ffd09b29d3ff4f9fa025bd4d05dd8fd9fc38
  Author: Guray Ozen <guray.ozen at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M mlir/python/mlir/dialects/scf.py
    M mlir/test/python/dialects/scf.py

  Log Message:
  -----------
  [mlir][python] Yield results of `scf.for_` (#93610)

Using `for_` is very hand with python bindings. Currently, it doesn't
support results, we had to fallback to two lines scf.for.

This PR yields results of scf.for in `for_`

---------

Co-authored-by: Maksim Levental <maksim.levental at gmail.com>


  Commit: c2a9a974ca85e4ac4509e368d4b9acae7e67bf71
      https://github.com/llvm/llvm-project/commit/c2a9a974ca85e4ac4509e368d4b9acae7e67bf71
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    A llvm/test/Transforms/LICM/update-scev-after-hoist.ll

  Log Message:
  -----------
  [LICM] Introduce test for PR92655 (NFC)


  Commit: 70091dc943ade280d75cea1e5ea5e93d9a8f934a
      https://github.com/llvm/llvm-project/commit/70091dc943ade280d75cea1e5ea5e93d9a8f934a
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LICM.cpp
    M llvm/test/Transforms/LICM/update-scev-after-hoist.ll

  Log Message:
  -----------
  [LICM] Invalidate cached SCEV results in `hoistMulAddAssociation`

While reassociating expressions, LICM is required to invalidate SCEV
results, as otherwise subsequent passes in the pipeline that leverage
LICM foldings (e.g. IndVars), may reason on invalid expressions; thus
miscompiling. This is achieved by rewriting the reassociable
instruction from scratch.

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


  Commit: 53d79feec93ef99e2ba0ac8cfc6cf2f81d28bf8a
      https://github.com/llvm/llvm-project/commit/53d79feec93ef99e2ba0ac8cfc6cf2f81d28bf8a
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.h
    M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h

  Log Message:
  -----------
  [lldb/DWARF] Bypass the compres^Wconstruction of DIERefs in debug_names (#93296)

DebugNamesDWARFIndex was jumping through hoops to construct a DIERef
from an index entry only to jump through them back a short while later
to construct a DWARFDIE.

This used to be necessary as the index lookup was a two stage process,
where we first enumerated all matches, and then examined them (so it was
important that the enumeration was cheap -- does not trigger unnecessary
parsing). However, now that the processing is callback based, we are
always immediately examining the DWARFDIE right after finding the entry,
and the DIERef just gets in the way.


  Commit: 2cfea14a57ad8443c6898d2310abb4346dc92ad2
      https://github.com/llvm/llvm-project/commit/2cfea14a57ad8443c6898d2310abb4346dc92ad2
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lldb/tools/lldb-dap/DAP.cpp

  Log Message:
  -----------
  [lldb-dap] Add timestamps to protocol logs (#93540)

I've found them very useful as a rudimentary form of benchmark.


  Commit: 98714866830f505d7bb87de6b92a28f280a34b9b
      https://github.com/llvm/llvm-project/commit/98714866830f505d7bb87de6b92a28f280a34b9b
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/icmp-of-and-x.ll

  Log Message:
  -----------
  [InstCombine] Add multiuse tests for canonicalizing (icmp eq/ne (and x, y), {x,y}); NFC


  Commit: 5532ab17327f2887fdac739ffaaae6c341695370
      https://github.com/llvm/llvm-project/commit/5532ab17327f2887fdac739ffaaae6c341695370
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Analysis/ValueTracking/known-power-of-two-urem.ll
    M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-eq-to-icmp-ule.ll
    M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-ne-to-icmp-ugt.ll
    M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-eq-to-icmp-ule.ll
    M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-ne-to-icmp-ugt.ll
    M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
    M llvm/test/Transforms/InstCombine/icmp-of-and-x.ll

  Log Message:
  -----------
  [InstCombine] Make the `(icmp eq/ne (and X, Y), X)` canonicalization work for non-const operands

We currently do:
    `(icmp eq/ne (and X, Y), Y)` -> `(icmp eq/ne (and ~X, Y), 0)`
if `X` is constant. We can make this more general and do it if `X` is
freely invertable (i.e say `X = ~Z`).

As well, we can also do:
    `(icmp eq/ne (and X, Y), Y)` -> `(icmp eq/ne (or X, ~Y), -1)`
If `Y` is freely invertible.

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

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

Closes #84688


  Commit: a9e8a3a18eb897196f88d3705ccd966f5b52c012
      https://github.com/llvm/llvm-project/commit/a9e8a3a18eb897196f88d3705ccd966f5b52c012
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86CompressEVEX.cpp
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86InstrInfo.h
    M llvm/test/CodeGen/X86/apx/add.ll
    M llvm/test/CodeGen/X86/apx/and.ll
    M llvm/test/CodeGen/X86/apx/compress-evex.mir
    M llvm/test/CodeGen/X86/apx/dec.ll
    M llvm/test/CodeGen/X86/apx/imul.ll
    M llvm/test/CodeGen/X86/apx/inc.ll
    M llvm/test/CodeGen/X86/apx/neg.ll
    M llvm/test/CodeGen/X86/apx/or.ll
    M llvm/test/CodeGen/X86/apx/shl.ll
    M llvm/test/CodeGen/X86/apx/shr.ll
    M llvm/test/CodeGen/X86/apx/sub.ll
    M llvm/test/CodeGen/X86/apx/xor.ll

  Log Message:
  -----------
  [X86][CodeGen] Extend X86CompressEVEX for NF transform


  Commit: 76e1a535fd7d8e9451414c76b55d82166c4c5409
      https://github.com/llvm/llvm-project/commit/76e1a535fd7d8e9451414c76b55d82166c4c5409
  Author: Christian Sigg <csigg at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M utils/bazel/llvm_configs/llvm-config.h.cmake

  Log Message:
  -----------
  [llvm][bazel] Fix llvm-config after 3613b2683107bd60fda6d9348623be0686f6d7e3.


  Commit: 1c6746e2db58ab7c7a5fb44cd5efa852ce932f84
      https://github.com/llvm/llvm-project/commit/1c6746e2db58ab7c7a5fb44cd5efa852ce932f84
  Author: David Green <david.green at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll

  Log Message:
  -----------
  [VectorCombine] Add support for zext/sext/trunc to shuffleToIdentity (#92696)

This is one of the simple additions to shuffleToIdentity that help it
look through intermediate zext/sext instructions.


  Commit: 850f30c3ba378321538233b3cfbd93ae2efef77f
      https://github.com/llvm/llvm-project/commit/850f30c3ba378321538233b3cfbd93ae2efef77f
  Author: David Green <david.green at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
    A llvm/test/CodeGen/Thumb2/mve-tailpred-vptblock.ll

  Log Message:
  -----------
  [ARM][MVE] Don't allow tail-predication with else predicates

The test case contains a vpt block with an else predicated instruction. This
might not be very unrealistic, but currently crashes due to not being able to
handle the else. The instruction would need to be removed. This patch adds some
extra checks that none of the instructions in vpt block is else predicated,
leaving it using vctp.


  Commit: 5aba0ded6c0415bc267a80469c8ea3661e012dc6
      https://github.com/llvm/llvm-project/commit/5aba0ded6c0415bc267a80469c8ea3661e012dc6
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [flang] lower assumed-rank variables specification expressions (#93477)

Enable lowering of assumed-ranks in specification parts under a debug
flag. I am using a debug flag because many cryptic TODOs/issues may be
hit until more support is added. The development should not take too
long, so I want to stay away from the noise of adding an actual
experimental flag to flang-new.


  Commit: 326f58d7d68c33cfbb6ad54123ab9b56114de502
      https://github.com/llvm/llvm-project/commit/326f58d7d68c33cfbb6ad54123ab9b56114de502
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/test/HLFIR/declare-codegen.fir

  Log Message:
  -----------
  [flang][HLFIR] lower hlfir.declare of assumed-ranks (#93468)

hlfir.declare is in charge of ensuring that the lower bounds of its
"hlfir entity" output are the ones of the source program. For
non-allocatable/non-pointer assumed-ranks where the input descriptor
lower bounds may not be ones, the hlfir.declare needs to be lowered to
an hlfir.rebox_assumed_rank to set the lower bounds to ones.


  Commit: 6957c00a8ccd36d990ebeb3b672621ba237bd9d8
      https://github.com/llvm/llvm-project/commit/6957c00a8ccd36d990ebeb3b672621ba237bd9d8
  Author: Alastair Houghton <ahoughton at apple.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
    A llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_xsec_branch.s

  Log Message:
  -----------
  [RuntimeDyld][ELF][AArch64] Fix resolveAArch64ShortBranch. (#92245)

We don't know the load addresses when this function is called, so it
shouldn't be trying to use them to determine whether or not the branch
is short. Notably, this will fail in the case where the code is being
loaded into a target in such a way that the section offsets differ
between the process generating the code and the target process.

rdar://127673408


  Commit: 4ad2f415f6e30ceb116466bf81515d3765402a0f
      https://github.com/llvm/llvm-project/commit/4ad2f415f6e30ceb116466bf81515d3765402a0f
  Author: AnastasiyaChernikova <anastasiya.chernikova at syntacore.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/test/tools/llvm-exegesis/AArch64/latency-by-opcode-name.s
    M llvm/test/tools/llvm-exegesis/Mips/latency-GPR64.s
    M llvm/test/tools/llvm-exegesis/Mips/latency-by-opcode-name.s
    M llvm/test/tools/llvm-exegesis/PowerPC/latency-by-opcode-name.s
    M llvm/test/tools/llvm-exegesis/X86/latency/latency-CMOV32rr.s
    M llvm/test/tools/llvm-exegesis/X86/latency/latency-IN16rr.s
    M llvm/test/tools/llvm-exegesis/X86/latency/latency-SBB8rr.s
    M llvm/test/tools/llvm-exegesis/X86/latency/latency-SQRTSSr.s
    M llvm/test/tools/llvm-exegesis/X86/latency/latency-by-opcode-name.s
    M llvm/test/tools/llvm-exegesis/X86/latency/max-configs.test
    M llvm/test/tools/llvm-exegesis/X86/lbr/mov-add.s
    M llvm/test/tools/llvm-exegesis/X86/uops/uops-CMOV16rm-noreg-serialization.s

  Log Message:
  -----------
  [Exegesis] Changing non-standard CHECK in tests to more compliant way (#93222)

Fixed some FileChecks in tests. Firstly found in PR89047
(https://github.com/llvm/llvm-project/pull/89047#discussion_r1608909489)


  Commit: 93d8d74ae6717c8e7c8b25ad5a6cfa212d3a4d37
      https://github.com/llvm/llvm-project/commit/93d8d74ae6717c8e7c8b25ad5a6cfa212d3a4d37
  Author: David Green <david.green at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll

  Log Message:
  -----------
  [VectorCombine] Remove requirement for Instructions in shuffleToIdentity (#93543)

This removes the check that both operands of the original shuffle are
instructions, which is a relic from a previous version that held more
variables as Instructions.


  Commit: fa649df8e54c2aa8921a42ad8d10e1e45700e5d7
      https://github.com/llvm/llvm-project/commit/fa649df8e54c2aa8921a42ad8d10e1e45700e5d7
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
    M clang/test/ExtractAPI/anonymous_record_no_typedef.c
    M clang/test/ExtractAPI/enum.c
    M clang/tools/libclang/CXExtractAPI.cpp

  Log Message:
  -----------
  [clang][ExtractAPI] Flatten all enum cases from anonymous enums at top level (#93559)

rdar://128863241


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

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-and-combine.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitcast.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-concat.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ext-loads.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-subvector.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-vector-elt.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fcopysign.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-arith.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-compares.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-convert.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-extend-trunc.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-fma.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-minmax.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce-fa64.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-rounding.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-select.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-to-int.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-vselect.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-insert-vector-elt.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-arith.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-compares.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-div.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-extends.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-immediates.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-log.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-minmax.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mla-neon-fa64.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mulh.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-reduce.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-rem.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-select.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-shifts.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-to-fp.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-vselect.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-limit-duplane.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-loads.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-log-reduce.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-load.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-store.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-optimize-ptrue.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-rev.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-zip-uzp-trn.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ptest.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-rev.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-sdiv-pow2.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-splat-vector.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-stores.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-subvector.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc-stores.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-vector-shuffle.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-test-register-mov.ll

  Log Message:
  -----------
  [AArch64] Expand vector ops when NEON and SVE are unavailable. (#90833)

Unlike `+noneon` we must assume that vector types are available, i.e.
it is valid to pass/return vector arguments to and from functions.
However, the compiler must make sure to scalarize any vector
operations.


  Commit: a72a90677d2b320e3bca553698e99143034387d9
      https://github.com/llvm/llvm-project/commit/a72a90677d2b320e3bca553698e99143034387d9
  Author: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/docs/Security.rst

  Log Message:
  -----------
  [Nomination] Add an extra Red Hat representative to the security group (#92174)

I'd like to nominate myself as another Red Hat representative. I work at
the LLVM team at Red Hat contributing to upstream and downstream.


  Commit: 0f7b4b04a548e10d0f552f13bebc21972d55d7f6
      https://github.com/llvm/llvm-project/commit/0f7b4b04a548e10d0f552f13bebc21972d55d7f6
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Basic/Targets/X86.cpp
    M clang/test/Driver/x86-target-features.c
    M clang/test/Preprocessor/x86_target_features.c

  Log Message:
  -----------
  [X86][Driver] Enable feature ccmp,nf for -mapxf

This is follow-up for #78901 after validation.


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

  Changed paths:
    M clang/test/CodeGen/X86/x86-atomic-float.c

  Log Message:
  -----------
  [X86] x86-atomic-float.c - cleanup unused check prefixes


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

  Changed paths:
    M clang/test/CodeGen/X86/x86-atomic-long_double.c

  Log Message:
  -----------
  [X86] x86-atomic-long_double.c - cleanup check prefixes


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

  Changed paths:
    A clang/test/CodeGen/X86/x86-atomic-double.c

  Log Message:
  -----------
  [X86] Add x86-atomic-double.c double test coverage


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

  Changed paths:
    M llvm/test/CodeGen/X86/vector-shuffle-512-v16.ll

  Log Message:
  -----------
  [X86] vector-shuffle-512-v16.ll - add fast shuffle test coverage


  Commit: 74014b5a3497c1e9c7f0652d26f78fffea9bf51c
      https://github.com/llvm/llvm-project/commit/74014b5a3497c1e9c7f0652d26f78fffea9bf51c
  Author: Lu Weining <luweining at loongson.cn>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst

  Log Message:
  -----------
  Fix typo in AMDGPUUsage. NFC (#93652)

The vendor name is mesa but not mesa3d.


  Commit: dc8da7ddeaa595a34827fc9e39322a8109e177f0
      https://github.com/llvm/llvm-project/commit/dc8da7ddeaa595a34827fc9e39322a8109e177f0
  Author: Pankaj Dwivedi <167427157+PankajDwivedi-25 at users.noreply.github.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp

  Log Message:
  -----------
  [AMDGPU] Reserved private memory register during PEI (#93536)

- Reserved newly selected private memory registers in entry Function
Prologue generation.
- Added assertion patch in eliminateFrameIndex to ensure register is
reserved.

Co-authored-by: PankajDwivedi-25 <pankajkumar.divedi at amd.com>


  Commit: 1594cebedd60a08f408e3fa975116ef4db86bf9b
      https://github.com/llvm/llvm-project/commit/1594cebedd60a08f408e3fa975116ef4db86bf9b
  Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M mlir/lib/Target/Cpp/TranslateToCpp.cpp
    M mlir/test/Target/Cpp/expressions.mlir

  Log Message:
  -----------
  [mlir][EmitC] Fix evaluation order of expressions (#93549)

Expressions with the same precedence were not parenthesized and
therefore were possibly evaluated in the wrong order depending on the
shape of the expression tree.

---------

Co-authored-by: Matthias Gehre <matthias.gehre at amd.com>
Co-authored-by: Corentin Ferry <corentin.ferry at amd.com>


  Commit: 5553f27d5a45e702415fa2f91d842bf4a1f4a8b5
      https://github.com/llvm/llvm-project/commit/5553f27d5a45e702415fa2f91d842bf4a1f4a8b5
  Author: Lu Weining <luweining at loongson.cn>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/lower-work-group-id-intrinsics-hsa.ll
    M llvm/test/CodeGen/AMDGPU/lower-work-group-id-intrinsics-pal.ll

  Log Message:
  -----------
  [AMDGPU][test] Fix the wrong triples in lower-work-group-id-intrinsics-{hsa,pal}.ll. NFC (#93501)

- hsa -> amdhsa
- Use amdgcn-amd-amd{hsa,pal} for lower-work-group-id-intrinsics-{hsa,pal}.ll respectively


  Commit: 78cc9cbba23fd1783a9b233ae745f126ece56cc7
      https://github.com/llvm/llvm-project/commit/78cc9cbba23fd1783a9b233ae745f126ece56cc7
  Author: Lukacma <Marian.Lukac at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/include/clang/Basic/arm_sve.td
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
    A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll

  Log Message:
  -----------
  [AArch64][SME] Add intrinsics for multi-vector BFCLAMP (#93532)

According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics

```
  svbfloat16x2_t svclamp[_single_bf16_x2](svbfloat16x2_t zd, svbfloat16_t zn,
                                        svbfloat16_t zm)  __arm_streaming;

  svbfloat16x4_t svclamp[_single_bf16_x4](svbfloat16x4_t zd, svbfloat16_t zn,
                                        svbfloat16_t zm)  __arm_streaming;
```
These are available only  if __ARM_FEATURE_SME_B16B16 is enabled.


  Commit: e1aa8ad6faa1524f12338ca58d1eadfde6f29f34
      https://github.com/llvm/llvm-project/commit/e1aa8ad6faa1524f12338ca58d1eadfde6f29f34
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
    A flang/test/Lower/OpenMP/allocatable-multiple-vars.f90

  Log Message:
  -----------
  [flang][OpenMP] Fix bug in emitting `dealloc` logic (#93641)

Fixes a bug in emiting deacllocation logic when delayed privatization is
disabled. I introduced the bug when implementing delayed privatization
for allocatables: when delayed privatization is disabled the
deacllocation ops are emitted for only one allocatable variables.


  Commit: 5c214eb0c628c874f2c9496e663be4067e64442a
      https://github.com/llvm/llvm-project/commit/5c214eb0c628c874f2c9496e663be4067e64442a
  Author: Andreas Jonson <andjo403 at hotmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/test/Headers/__clang_hip_math.hip
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/test/Transforms/Inline/ret_attr_align_and_noundef.ll

  Log Message:
  -----------
  [Inline] Clone return range attribute on the callsite into inlined call (#92666)


  Commit: 971f1aaad3ca3680bfbab76212f498ca15b280a2
      https://github.com/llvm/llvm-project/commit/971f1aaad3ca3680bfbab76212f498ca15b280a2
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [lldb][Test][Windows] Fix flaky address range API tests

The new tests added in #92014 have been flaky on Linaro's
Windows on Arm bot. They appear to be hitting a deadlock trying
to clean up the test process.

This only happens in async mode and I don't see why this test
case needs async mode, so the simple workaround is to stick to
sync mode.


  Commit: 3bcccb6af685c3132a9ee578b9e11b2503c35a5c
      https://github.com/llvm/llvm-project/commit/3bcccb6af685c3132a9ee578b9e11b2503c35a5c
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [Reassociate] Drop weight reduction to fix issue 91417 (#91469)

See the following case: https://alive2.llvm.org/ce/z/A-fBki
```
define i3 @src(i3 %0) {
  %2 = mul i3 %0, %0
  %3 = mul i3 %2, %0
  %4 = mul i3 %3, %0
  %5 = mul nsw i3 %4, %0
  ret i3 %5
}

define i3 @tgt(i3 %0) {
  %2 = mul i3 %0, %0
  %5 = mul nsw i3 %2, %0
  ret i3 %5
}
```


https://github.com/llvm/llvm-project/commit/d7aeefebd6b049f017711cd7c6ef5f217a17b673
introduced weight reduction during weights combination of the same
operand. As the weight of `%0` changes from 5 to 3, the nsw flag in `%5`
should be dropped.

However, the nsw flag isn't cleared by `RewriteExprTree` since `%5 = mul
nsw i3 %0, %4` is not included in the range of `[ExpressionChangedStart,
ExpressionChangedEnd)`.
```
Calculated Rank[] = 3
Combine negations for:   %2 = mul i3 %0, %0
Calculated Rank[] = 4
Combine negations for:   %3 = mul i3 %0, %2
Calculated Rank[] = 5
Combine negations for:   %4 = mul i3 %0, %3
Calculated Rank[] = 6
Combine negations for:   %5 = mul nsw i3 %0, %4
LINEARIZE:   %5 = mul nsw i3 %0, %4
OPERAND: i3 %0 (1)
ADD USES LEAF: i3 %0 (1)
OPERAND:   %4 = mul i3 %0, %3 (1)
DIRECT ADD:   %4 = mul i3 %0, %3 (1)
OPERAND: i3 %0 (1)
OPERAND:   %3 = mul i3 %0, %2 (1)
DIRECT ADD:   %3 = mul i3 %0, %2 (1)
OPERAND: i3 %0 (1)
OPERAND:   %2 = mul i3 %0, %0 (1)
DIRECT ADD:   %2 = mul i3 %0, %0 (1)
OPERAND: i3 %0 (1)
OPERAND: i3 %0 (1)
RAIn:   mul i3  [ %0, #3] [ %0, #3] [ %0, #3] 
RAOut:  mul i3  [ %0, #3] [ %0, #3] [ %0, #3] 
RAOut after CSE reorder:        mul i3  [ %0, #3] [ %0, #3] [ %0, #3] 
RA:   %5 = mul nsw i3 %0, %4
TO:   %5 = mul nsw i3 %4, %0
RA:   %4 = mul i3 %0, %3
TO:   %4 = mul i3 %0, %0
```

The best way to fix this is to inform `RewriteExprTree` to clear flags
of the whole expr tree when weight reduction happens.

But I find that weight reduction based on Carmichael number never
happens in practice.
See the coverage result
https://dtcxzyw.github.io/llvm-opt-benchmark/coverage/home/dtcxzyw/llvm-project/llvm/lib/Transforms/Scalar/Reassociate.cpp.html#L323

I think it would be better to drop `IncorporateWeight`.

Fixes #91417


  Commit: 718ba5a58452f013f40fab94f967064919bf13ff
      https://github.com/llvm/llvm-project/commit/718ba5a58452f013f40fab94f967064919bf13ff
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  Reapply [InstCombine] lshr (mul (X, 2^N + 1)), N -> add (X, lshr(X, N)) (#92907)

Alive2 Proofs:
https://alive2.llvm.org/ce/z/eSinJY
https://alive2.llvm.org/ce/z/vyKvde
https://alive2.llvm.org/ce/z/dRFsfV

I mistakenly reverted this commit as part of a larger set of
reverts. Reapplied without changes.


  Commit: 6543453c3604c5532666a9bad2bf3d261099dab5
      https://github.com/llvm/llvm-project/commit/6543453c3604c5532666a9bad2bf3d261099dab5
  Author: Tuan Chuong Goh <chuong.goh at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/arm64-tbl.ll

  Log Message:
  -----------
  [AArch64][NFC] Pre-commit test update for Select TBL/TBX instructions (#92914)


  Commit: aef0bdd36d888edd1575713e4976162daf81ff5b
      https://github.com/llvm/llvm-project/commit/aef0bdd36d888edd1575713e4976162daf81ff5b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  DAG: Preserve flags when expanding fminimum/fmaximum (#93550)

The operation selection logic here doesn't really work when vector types
need to be split. This was also dropping the flags, and losing nnan made
the combine from select back to fmin/fmax unrecoverable. Preserve the
flags to assist a future commit.


  Commit: 9e8ecce88ef65a2953db8071746720dd78bd1632
      https://github.com/llvm/llvm-project/commit/9e8ecce88ef65a2953db8071746720dd78bd1632
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/RISCV/shl-cttz.ll

  Log Message:
  -----------
  [DAGCombine] Transform `shl X, cttz(Y)` to `mul (Y & -Y), X` if cttz is unsupported (#85066)

This patch fold `shl X, cttz(Y)` to `mul (Y & -Y), X` if cttz is
unsupported by the target.
Alive2: https://alive2.llvm.org/ce/z/AtLN5Y
Fixes https://github.com/llvm/llvm-project/issues/84763.


  Commit: 23a09b99313edb67d267a974be6cebfdfd97c7c8
      https://github.com/llvm/llvm-project/commit/23a09b99313edb67d267a974be6cebfdfd97c7c8
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lldb/test/API/commands/expression/fixits/TestFixIts.py
    M lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py

  Log Message:
  -----------
  [lldb][Test] Remove some xfails for AArch64 Linux

PR #92245 fixed these tests on Linux. They likely work on FreeBSD too
but leaving the xfail for that so it can be confirmed later.

Also updated a bugzilla link to one that redirects to Github issues.

Relates to issues #43398 and #48751.


  Commit: e93799f260e881ff2f7c0fd7afc78374d615d70e
      https://github.com/llvm/llvm-project/commit/e93799f260e881ff2f7c0fd7afc78374d615d70e
  Author: Lukacma <Marian.Lukac at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/include/clang/Basic/arm_sve.td
    M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
    A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtl.c
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
    M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvt.ll
    A llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtl.ll

  Log Message:
  -----------
  [SME] Add intrinsics for FCVT(wid.) and FCVTL (#93202)

According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics
```
svfloat32x2_t svcvt_f32[_f16_x2](svfloat16_t zn) __arm_streaming;
svfloat32x2_t svcvtl_f32[_f16_x2](svfloat16_t zn) __arm_streaming;

```
These are available only if __ARM_FEATURE_SME_F16F16 is enabled.

---------

Co-authored-by: Caroline Concatto <caroline.concatto at arm.com>


  Commit: 1e44a9690915e8acf7b2a0e67b56aaf4509e9257
      https://github.com/llvm/llvm-project/commit/1e44a9690915e8acf7b2a0e67b56aaf4509e9257
  Author: Lukacma <Marian.Lukac at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/include/clang/Basic/arm_sme.td
    A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_zero.c
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/SMEInstrFormats.td
    A llvm/test/CodeGen/AArch64/sme2p1-intrinsics-zero.ll

  Log Message:
  -----------
  [AArch64][SME] Add intrinsics for vector groups ZERO (#93201)

According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics:

  void svzero_za64_vg1x2(uint32_t slice)
    __arm_streaming __arm_inout("za");

  void svzero_za64_vg1x4(uint32_t slice)
    __arm_streaming __arm_inout("za");

  void svzero_za64_vg2x1(uint32_t slice)
    __arm_streaming __arm_inout("za");

  void svzero_za64_vg2x2(uint32_t slice)
    __arm_streaming __arm_inout("za");

  void svzero_za64_vg2x4(uint32_t slice)
    __arm_streaming __arm_inout("za");

  void svzero_za64_vg4x1(uint32_t slice)
    __arm_streaming __arm_inout("za");

  void svzero_za64_vg4x2(uint32_t slice)
    __arm_streaming __arm_inout("za");

  void svzero_za64_vg4x4(uint32_t slice)
    __arm_streaming __arm_inout("za");


  Commit: 7fa45afa938e0feb0030b14a8633de7dd8e529cb
      https://github.com/llvm/llvm-project/commit/7fa45afa938e0feb0030b14a8633de7dd8e529cb
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    A llvm/test/CodeGen/SPIRV/phi-spvintrinsic-dominate.ll

  Log Message:
  -----------
  [SPIR-V] Ensure that internal intrinsic functions are inserted at the correct positions (#93552)

The goal of the PR is to ensure that newly inserted internal intrinsic
functions are inserted at the correct positions, and don't break rules
of instruction domination and PHI nodes grouping at top of basic block.
This is a continuation of
https://github.com/llvm/llvm-project/pull/92316 and
https://github.com/llvm/llvm-project/pull/92536


  Commit: f63adf3b51008970cc7c3794c68c7a6e33e8d5dd
      https://github.com/llvm/llvm-project/commit/f63adf3b51008970cc7c3794c68c7a6e33e8d5dd
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/docs/SPIRVUsage.rst
    M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp
    M llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp
    M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
    M llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
    M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
    A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_cache_controls/basic-load-store.ll
    A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_cache_controls/decorate-prefetch-w-cache-controls.ll
    A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_global_variable_fpga_decorations/global-var-decorations.ll
    A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_global_variable_host_access/global-var-host-access.ll
    A llvm/test/CodeGen/SPIRV/llvm-intrinsics/ptr-annotation.ll

  Log Message:
  -----------
  [SPIR-V] Introduce support of llvm.ptr.annotation to SPIR-V Backend and implement extensions which make use of spirv.Decorations (#93561)

This PR introduces support of llvm.ptr.annotation to SPIR-V Backend, and
implement several extensions which make use of spirv.Decorations and
llvm.ptr.annotation to annotate global variables and pointers:

- SPV_INTEL_cache_controls
- SPV_INTEL_global_variable_host_access
- SPV_INTEL_global_variable_fpga_decorations


  Commit: 7c917e8268225735bf6fe0f7d8491fc944358e47
      https://github.com/llvm/llvm-project/commit/7c917e8268225735bf6fe0f7d8491fc944358e47
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
    A llvm/test/CodeGen/SPIRV/event-zero-const.ll

  Log Message:
  -----------
  [SPIR-V] Implement correct zeroinitializer for extension types in SPIR-V Backend (#93607)

This PR implements correct zeroinitializer for extension types in SPIR-V
Backend.

Previous version has just created 0 of 32/64 integer type (depending on
target machine word size), that caused re-use and type re-write of the
corresponding integer constant 0 with a potential crash on wrong usage
of the constant (i.e., 0 of integer type expected but extension type
found). E.g., the following code would crash without the PR:

```
  %r1 = icmp ne i64 %_arg_i, 0
  %e1 = tail call spir_func target("spirv.Event") @__spirv_GroupAsyncCopy(i32 2, ptr addrspace(3) %_arg_local, ptr addrspace(1) %_arg_ptr, i64 1, i64 1, target("spirv.Event") zeroinitializer)
```

because 0 in icmp would eventually be of `Event` type.


  Commit: 42a0fb2333344077dc8aafd65b50d0ece886cf4e
      https://github.com/llvm/llvm-project/commit/42a0fb2333344077dc8aafd65b50d0ece886cf4e
  Author: zjgarvey <47986913+zjgarvey at users.noreply.github.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [mlir][linalg] Add linalg.conv_2d_ngchw_gfchw_q to named ops (#92136)

Adds a named op: linalg.conv_2d_ngchw_gfchw_q. This op is similar to
linalg.conv_2d_ngchw_gfchw, but additionally incorporates zero point
offset corrections.


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

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

  Log Message:
  -----------
  [RISCV] Don't recompute getDemanded in RISCVInsertVSETVLI::needVSETVLI. NFC

This also makes the function a bit easier to reason about since we can
remove the assert.  Eventually we might be able to replace needVSETVLI
with VSETVLIInfo::isCompatible.


  Commit: 7ee511217b0d1cfd3269e9d2a89acf335ca9a9ea
      https://github.com/llvm/llvm-project/commit/7ee511217b0d1cfd3269e9d2a89acf335ca9a9ea
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [gn build] Port 04f01a2b9ced


  Commit: 9c4bae7c7c5be754f98bc495d51dd122609cd649
      https://github.com/llvm/llvm-project/commit/9c4bae7c7c5be754f98bc495d51dd122609cd649
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86CompressEVEX.cpp
    M llvm/test/CodeGen/X86/apx/compress-evex.mir
    M llvm/utils/TableGen/X86ManualCompressEVEXTables.def

  Log Message:
  -----------
  [X86][CodeGen] Disable NDD2NonNDD compression for CFCMOV


  Commit: 35f2caf713489049cc1b31aa3fe0a054968f80e3
      https://github.com/llvm/llvm-project/commit/35f2caf713489049cc1b31aa3fe0a054968f80e3
  Author: chuongg3 <chuong.goh at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/arm64-tbl.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Select TBL/TBX Intrinsics (#92914)


  Commit: 8e1290432adf33a7aeca65a53d1faa7577ed0e66
      https://github.com/llvm/llvm-project/commit/8e1290432adf33a7aeca65a53d1faa7577ed0e66
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lldb/include/lldb/Symbol/Type.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
    M lldb/source/Symbol/Type.cpp
    M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp

  Log Message:
  -----------
  [lldb/DWARF] Refactor DWARFDIE::Get{Decl,TypeLookup}Context (#93291)

After a bug (the bug is that the functions don't handle DW_AT_signature,
aka type units) led me to one of these similar-but-different functions,
I started to realize that most of the differences between these two
functions are actually bugs.

As a first step towards merging them, this patch rewrites both of them
to follow the same pattern, while preserving all of their differences.
The main change is that GetTypeLookupContext now also uses a `seen` list
to avoid reference loops (currently that's not necessary because the
function strictly follows parent links, but that will change with
DW_AT_signatures).

I've also optimized both functions to avoid recursion by starting contruction
with the deepest scope first (and then reversing it).


  Commit: 3ce9b86cfd2d88162bc4a551dd7910b8cff3097b
      https://github.com/llvm/llvm-project/commit/3ce9b86cfd2d88162bc4a551dd7910b8cff3097b
  Author: Tuan Chuong Goh <chuong.goh at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [AArch64][NFC] Pre-commit Test for Combine MUL(AND(LSHR)) to CMLTz (#92915)


  Commit: 3082258d3a29664a66fcd35c104a40b8cf9d6cba
      https://github.com/llvm/llvm-project/commit/3082258d3a29664a66fcd35c104a40b8cf9d6cba
  Author: Jan Patrick Lehr <JanPatrick.Lehr at amd.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    A llvm/test/Analysis/CostModel/X86/handle-iptr-with-data-layout-to-not-assert.ll

  Log Message:
  -----------
  [CodeGen][X86] Use TargetLowering for TypeInfo of PointerTy (#93469)

This uses the TargetLowering getSimpleValueType mechanism to retrieve
the ValueType info inside the X86 cost model.

This resolves a build issue we were seeing for the miniQMC application after
https://github.com/llvm/llvm-project/pull/92671.


  Commit: 103f6a7606fdc128041bb2e17fb0e992fc6f2225
      https://github.com/llvm/llvm-project/commit/103f6a7606fdc128041bb2e17fb0e992fc6f2225
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  Reland "[gn] port 088aa81a5454 (LLVM_HAS_LOGF128)""

This reverts commit 9ebf2f8a67cce570d0752556fed23ff2803aef33.
088aa81a5454 relanded in 3613b2683107b.


  Commit: 9a282724a29899e84adc91bdeaf639010408a80d
      https://github.com/llvm/llvm-project/commit/9a282724a29899e84adc91bdeaf639010408a80d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [Reassociate] Update test after recent change

Fix test expectation after 3bcccb6af685c3132a9ee578b9e11b2503c35a5c.


  Commit: 23366d4153e1e521a7e5b88d42afea69fb888be7
      https://github.com/llvm/llvm-project/commit/23366d4153e1e521a7e5b88d42afea69fb888be7
  Author: chuongg3 <chuong.goh at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Combine.td
    M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
    M llvm/test/CodeGen/AArch64/mulcmle.ll

  Log Message:
  -----------
   [AArch64][GlobalISel] Combine MUL(AND(LSHR(X, 15), 0x10001), 0xffff) to CMLTz (#92915)

This patch mirrors the following SelectionDAG patch for GlobalISel:
https://reviews.llvm.org/D130874


  Commit: 4ffe26334e563a3fea70c2a05de0410a2a3856d7
      https://github.com/llvm/llvm-project/commit/4ffe26334e563a3fea70c2a05de0410a2a3856d7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
    M llvm/test/Transforms/InstSimplify/vector_gep.ll

  Log Message:
  -----------
  [InstSimplify] Generate test checks (NFC)


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

  Changed paths:
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
    M llvm/test/Transforms/InferAddressSpaces/NVPTX/bug31948.ll

  Log Message:
  -----------
  [InferAddressSpaces] Generate test checks (NFC)


  Commit: 9377412c5a8bbfbee93029ef22b4b74949cbe1b5
      https://github.com/llvm/llvm-project/commit/9377412c5a8bbfbee93029ef22b4b74949cbe1b5
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [clang][OpenMP] Remove unused include of UniqueVector.h, NFC


  Commit: 1ea8caeada6efa991f7221f95fc6df581845895d
      https://github.com/llvm/llvm-project/commit/1ea8caeada6efa991f7221f95fc6df581845895d
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    A llvm/test/CodeGen/AArch64/fixed-point-conv-vec-pat.ll

  Log Message:
  -----------
  [AArch64] Add patterns for conversions using fixed-point scvtf (#92922)


  Commit: 0dfd2bf4dfd3fc8c0733678186ceb37776597d35
      https://github.com/llvm/llvm-project/commit/0dfd2bf4dfd3fc8c0733678186ceb37776597d35
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [LTT] Directly create inbounds gep (NFCI)

We know that this gep is inbounds. Constant expression construction
already infers this fact, but make it explicit.


  Commit: 180448b13c2bfc94f4eef64d2352ad4cf94f01c7
      https://github.com/llvm/llvm-project/commit/180448b13c2bfc94f4eef64d2352ad4cf94f01c7
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [AMDGPU] Reduce use of continue in SIWholeQuadMode. NFC. (#93659)


  Commit: 24ddce62c8bb92a19ba3677629c77a2e6f137b1a
      https://github.com/llvm/llvm-project/commit/24ddce62c8bb92a19ba3677629c77a2e6f137b1a
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    A llvm/test/CodeGen/RISCV/GlobalISel/bitmanip.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-bitreverse-rv32.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-bitreverse-rv64.mir

  Log Message:
  -----------
  [GISel] Legalize bitreverse with types smaller than 8 bits (#92998)

This patch adds support for lowering `bitreverse` with types smaller
than 8 bits. It also fixes an existing assertion failure in
`llvm::APInt::getSplat`: https://godbolt.org/z/7crs8xrcG

The lowering logic is copied from SDAG:

https://github.com/llvm/llvm-project/blob/2034f2fc8729bd4645ef7caa3c5c6efa284d2d3f/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp#L9384-L9398


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

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

  Log Message:
  -----------
  [WPD] Directly create geteleementptr inbounds (NFCI)

We know that this GEP is inbounds, so make it explicit. NFCI
because constant expression construction already infers this.


  Commit: 886d31675dbb6fe8cf97fd9083870bd043ce9f02
      https://github.com/llvm/llvm-project/commit/886d31675dbb6fe8cf97fd9083870bd043ce9f02
  Author: Tuan Chuong Goh <chuong.goh at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-add.mir
    M llvm/test/CodeGen/AArch64/neon-extadd.ll

  Log Message:
  -----------
  [AArch64][NFC] Pre-commit test for Push ADD/SUB through {S|Z}EXT (#90964)


  Commit: 753ac4786e250604224701616f0962e41e163a02
      https://github.com/llvm/llvm-project/commit/753ac4786e250604224701616f0962e41e163a02
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv32.mir

  Log Message:
  -----------
  [RISCV][test] Add missing check-prefix to a test (NFC) (#93683)


  Commit: df9701bfee2b13282a9c1bf981d37b965cb22bf7
      https://github.com/llvm/llvm-project/commit/df9701bfee2b13282a9c1bf981d37b965cb22bf7
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M openmp/runtime/src/CMakeLists.txt

  Log Message:
  -----------
  [OpenMP] Fix multiply installing `libomp.so` (#93685)

Summary:
The `add_llvm_library` interface handles installing the llvm libraries,
however we want to do our own handling. Otherwise, this will install
into the `./lib` location instead of the `./lib/<target>` one.


  Commit: 7af5b68a03bb7f5090a96b3f9f9a34f0e196e466
      https://github.com/llvm/llvm-project/commit/7af5b68a03bb7f5090a96b3f9f9a34f0e196e466
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [DFSan] Directly create gep inbounds for arg origin tls (NFCI)

Calling code explicitly checks that ArgNo is inbounds. NFCI
because constant expression creation already infers it, this just
makes it explicit.


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

  Changed paths:
    M llvm/test/Analysis/UniformityAnalysis/AMDGPU/irreducible/diverged-entry-headers.ll
    M llvm/test/CodeGen/AMDGPU/addrspacecast.ll
    M llvm/test/CodeGen/AMDGPU/dpp_combine_gfx11.mir
    M llvm/test/MC/AMDGPU/hsa-diag-v4.s
    M llvm/test/MC/Disassembler/AMDGPU/gfx10-wave32.txt
    M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_ds.txt
    M llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll

  Log Message:
  -----------
  [AMDGPU] Fix filecheck annotation typos

Co-authored-by: klensy <nightouser at gmail.com>


  Commit: e8e5ba00db1b6a8ed5c988b1a252c86487d1bce7
      https://github.com/llvm/llvm-project/commit/e8e5ba00db1b6a8ed5c988b1a252c86487d1bce7
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/TargetParser/AArch64TargetParser.cpp
    M llvm/utils/TableGen/ARMTargetDefEmitter.cpp

  Log Message:
  -----------
  [AArch64][TargetParser] Move ExtensionDependencies into tablegen [NFC] (#93614)

This patch generates ExtensionDependency pairs {Earlier, Later} inferred
by the 'Implies' field of every Extension defined in tablegen. Implied
Subtarget Features that are not Extensions are skipped.


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

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

  Log Message:
  -----------
  [WasmEHPrepare] Explicitly create inbounds GEP (NFCI)

These are known to be inbounds, create them as such. NFCI because
constant expression construction currently already infers this.

Also drop the unnecessary zero-index GEP: This is equivalent to
the pointer itself nowadays.


  Commit: 14dc97df5ef3a9178fc4175303f0f86ed4e3f98e
      https://github.com/llvm/llvm-project/commit/14dc97df5ef3a9178fc4175303f0f86ed4e3f98e
  Author: chuongg3 <chuong.goh at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Combine.td
    M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-add.mir
    M llvm/test/CodeGen/AArch64/aarch64-addv.ll
    M llvm/test/CodeGen/AArch64/arm64-vabs.ll
    M llvm/test/CodeGen/AArch64/neon-extadd.ll
    M llvm/test/CodeGen/AArch64/vecreduce-add.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Push ADD/SUB through Extend Instructions (#90964)

The regression in one test is due to a SUB instruction being pushed
through the extend, leaving behind the abs instruction, which prevents
it from selecting uabdl instructions shown below:

`i32 abs(i32 sub(i32 ext i8, i32 ext i8))` => 
`i32 abs(i32 ext(i16 sub(i16 ext i8, i16 ext i8)))`

This is intended to be fixed in a follow up patch


  Commit: 0981dca7779d4acfcbb92fbb29a7a1033e283b88
      https://github.com/llvm/llvm-project/commit/0981dca7779d4acfcbb92fbb29a7a1033e283b88
  Author: donald chen <chenxunyu1993 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/test/Dialect/Linalg/transform-op-split-reduction.mlir

  Log Message:
  -----------
  [mlir][arith] Add neutral element support to arith.maxnumf/arith.minnumf (#93278)

For maxnumf and minnumf, the result of calculations involving NaN will
be another value, so their neutral element is set to NaN.


  Commit: 799316ff26cc82d60f276dc62c4a69b5bba1aef3
      https://github.com/llvm/llvm-project/commit/799316ff26cc82d60f276dc62c4a69b5bba1aef3
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lldb/include/lldb/Target/RegisterFlags.h
    M lldb/source/Target/RegisterFlags.cpp

  Log Message:
  -----------
  [lldb][NFC] Pass Stream& to ToXML methods in RegisterFlags

As suggested in a review of some new code for this file, Stream
is more general. The code does not need to know that it's backed
by a string.


  Commit: 975477e7f7ee1d8c29975224abb452f73b90db36
      https://github.com/llvm/llvm-project/commit/975477e7f7ee1d8c29975224abb452f73b90db36
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [CGBuiltin] Explicitly use inbounds GEP (NFCI)

All of these are inbounds as they access known offsets in fixed
globals. NFCI because constant expression construction currently
already infers this, this patch just makes it explicit.


  Commit: 6127f15e5b4834411e8f2e700e25c40490deec35
      https://github.com/llvm/llvm-project/commit/6127f15e5b4834411e8f2e700e25c40490deec35
  Author: zhijian lin <zhijian at ca.ibm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPC.td
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrP10.td
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
    A llvm/test/CodeGen/PowerPC/pr62372.ll

  Log Message:
  -----------
  [PowerPC] option `-msoft-float` should not block the PC-relative address instruction (#92543)

The Prefix instruction is introduced on PowerPC ISA3_1.

In the PR,  
1. The `FeaturePrefixInstrs` do not imply the `FeatureP8Vector`
,`FeatureP9Vector` .
2. `FeaturePrefixInstrs`  implies only the FeatureISA3_1.
3. For the prefix instructions `paddi` and `pli` , they have `Predicates
= [PrefixInstrs] `
4. For the prefix instructions `plfs` and `plfd`, they have `Predicates
= [PrefixInstrs, HasFPU] `
5. For the prefix instructions "plxv` , "plxssp` and `plxsd` , they have
`Predicates = [PrefixInstrs, HasP10Vector]`

Fixes #62372


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

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

  Log Message:
  -----------
  [ValueTypes] Use bit instead of int for boolean fields in ValueTypes.td. NFC


  Commit: b15a0a37404f36bcd9c7995de8cd16f9cb5ac8af
      https://github.com/llvm/llvm-project/commit/b15a0a37404f36bcd9c7995de8cd16f9cb5ac8af
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-05-29 (Wed, 29 May 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/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/IR/ConstrainedOps.def
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/test/Assembler/fp-intrinsics-attr.ll
    M llvm/test/Feature/fp-intrinsics.ll

  Log Message:
  -----------
  [clang] Add tanf16 builtin and support for tan constrained intrinsic (#93314)

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.
-  `ISDOpcodes.h` - define tan and strict tan  opcodes

resolves  #91421


  Commit: fe82a3da36196157c0caa1ef2505186782f750d1
      https://github.com/llvm/llvm-project/commit/fe82a3da36196157c0caa1ef2505186782f750d1
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

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

This reverts commit 6bf450c7a60fa62c642e39836566da94bb9bbc91.

It breaks LLDB CI: https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/4762/execution/node/97/log/

```
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wdocumentation -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=14.1 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-dead_strip -Wl,-no_warn_duplicate_libraries tools/lldb/unittests/Editline/CMakeFiles/EditlineTests.dir/EditlineTest.cpp.o -o tools/lldb/unittests/Editline/EditlineTests  lib/libLLVMSupport.a  lib/libllvm_gtest_main.a  lib/libllvm_gtest.a  lib/liblldbHost.a  lib/liblldbUtility.a  lib/libLLVMTestingSupport.a  /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libxml2.tbd  /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libedit.tbd  lib/liblldbHostMacOSXObjCXX.a  lib/liblldbUtility.a  -framework Foundation  -framework CoreFoundation  -framework CoreServices  -framework Security  lib/libLLVMObject.a  lib/libLLVMIRReader.a  lib/libLLVMBitReader.a  lib/libLLVMAsmParser.a  lib/libLLVMCore.a  lib/libLLVMRemarks.a  lib/libLLVMBitstreamReader.a  lib/libLLVMMCParser.a  lib/libLLVMMC.a  lib/libLLVMDebugInfoCodeView.a  lib/libLLVMTextAPI.a  lib/libLLVMBinaryFormat.a  lib/libLLVMTargetParser.a  lib/libllvm_gtest.a  lib/libLLVMSupport.a  -lm  /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libz.tbd  /opt/homebrew/lib/libzstd.dylib  lib/libLLVMDemangle.a  -lpthread && cd /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/unittests/Editline && /opt/homebrew/Cellar/cmake/3.28.3/bin/cmake -E make_directory /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/unittests/Editline/./Inputs
ld: Undefined symbols:
  _setupterm, referenced from:
      lldb_private::Editline::Editline(char const*, __sFILE*, __sFILE*, __sFILE*, std::__1::recursive_mutex&) in liblldbHost.a[35](Editline.cpp.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```


  Commit: 1de6011c34b185235cd65c2e3fb030015d182968
      https://github.com/llvm/llvm-project/commit/1de6011c34b185235cd65c2e3fb030015d182968
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [ValueTypes] Remove hardcoded 224 from VTEmitter.cpp. NFC

Add a new bit to ValueTypes.td to indicate whether a type should be
part of the [FIRST_VALUETYPE,LAST_VALUETYPE] range or not.

This was reviewed as part of #93654.


  Commit: 6d90ac1e06f31cae9806a8815158e2851cf8e987
      https://github.com/llvm/llvm-project/commit/6d90ac1e06f31cae9806a8815158e2851cf8e987
  Author: Thorsten Schütt <schuett at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/CombinerHelperVectorOps.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-extract-vec-elt.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-freeze.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-insert-vec-elt.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-divrem-insertpt-crash.mir
    M llvm/test/CodeGen/AArch64/fast-isel-select.ll
    M llvm/test/CodeGen/AMDGPU/div_i128.ll

  Log Message:
  -----------
  [GlobalIsel] Combine freeze (#93239)


  Commit: c9c244423ffb8071bb838c3606052e12af537047
      https://github.com/llvm/llvm-project/commit/c9c244423ffb8071bb838c3606052e12af537047
  Author: Angel Zhang <angel.zhang at amd.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
    A mlir/test/mlir-vulkan-runner/vector-interleave.mlir
    A mlir/test/mlir-vulkan-runner/vector-shuffle.mlir

  Log Message:
  -----------
  [mlir][spirv] Add integration test for `vector.interleave` and `vector.shuffle` (#93595)

- Add integration test for `vector.shuffle` and `vector.interleave`,
mentioned in issue #91978
- Add `VectorToSPIRV` patterns to `GPUToSPIRVPass`

---------

Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>


  Commit: cfb209b92a26f16ed7413b32da20fc436eff8c58
      https://github.com/llvm/llvm-project/commit/cfb209b92a26f16ed7413b32da20fc436eff8c58
  Author: Vy Nguyen <oontvoo at users.noreply.github.com>
  Date:   2024-05-29 (Wed, 29 May 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:
  -----------
  [lldb][lldb-dap] Cleanup breakpoint filters. (#87550)

Details:
- remove Swift breakpoint filter because this version of LLDB does not
support Swift.
  - only return objc filters when working on macos.


  Commit: 2ceec68e1630b40a37448c44fea63f9114848235
      https://github.com/llvm/llvm-project/commit/2ceec68e1630b40a37448c44fea63f9114848235
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/ValueTypes.td

  Log Message:
  -----------
  [ValueTypes] Rename FlagVT to Glue in ValueTypes.td. NFC

Nothing ever refers to it as FlagVT so we can just use the LLVMName
"Glue".


  Commit: 949ef57dd20f8d3f3257376b91af71ab8c380338
      https://github.com/llvm/llvm-project/commit/949ef57dd20f8d3f3257376b91af71ab8c380338
  Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/include/llvm/BinaryFormat/ELF.h

  Log Message:
  -----------
  AMDGPU/NFC: Reserve 0x058 EF_AMDGPU_MACHs (#93696)


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

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp

  Log Message:
  -----------
  Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFC.


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

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

  Log Message:
  -----------
  [X86] Pull out combineConstantPoolLoads helper from combineLoad. NFC.

The logic is already pretty dense and a future patch will further complicate this.


  Commit: 737a3018e826f5452f181a550be90b9135d8eda5
      https://github.com/llvm/llvm-project/commit/737a3018e826f5452f181a550be90b9135d8eda5
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [nfc][InstrFDO] Add Header::getIndexedProfileVersion and use it to decide profile version. (#93613)

This is a split of https://github.com/llvm/llvm-project/pull/93346 as
discussed.


  Commit: 8c5a7a1fc4890fcae50f8e8a61d5a2e2b1ebd7e5
      https://github.com/llvm/llvm-project/commit/8c5a7a1fc4890fcae50f8e8a61d5a2e2b1ebd7e5
  Author: Vadim D <36827317+vvd170501 at users.noreply.github.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang-tools-extra/clangd/Config.h
    M clang-tools-extra/clangd/ConfigCompile.cpp
    M clang-tools-extra/clangd/ConfigFragment.h
    M clang-tools-extra/clangd/ConfigYAML.cpp
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/clangd/IncludeCleaner.h
    M clang-tools-extra/clangd/ParsedAST.cpp
    M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
    M clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
    M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [clangd] Add config option to allow detection of unused angled includes (#87208)

This PR adds a new `AnalyzeAngledIncludes` option to `Includes` section
of clangd config. This option enables unused include checks for all includes
that use the `<>` syntax, not just standard library includes.


  Commit: 265589785ccf043492e4e0ab88c2830eae7d3496
      https://github.com/llvm/llvm-project/commit/265589785ccf043492e4e0ab88c2830eae7d3496
  Author: Miro Bucko <mbucko at meta.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/source/Commands/CommandObjectMemory.cpp
    M lldb/source/Target/Process.cpp

  Log Message:
  -----------
  [nfc][lldb] Move FastSearch from CommandObjectMemoryFind to Process (#93688)

Moving CommandObjectMemoryFind::FastSearch() to Process::FindInMemory(). Plan to expose FindInMemory as public API in SBProcess.


  Commit: 9595eb10ae9a5661a596dff19bf39365140548e3
      https://github.com/llvm/llvm-project/commit/9595eb10ae9a5661a596dff19bf39365140548e3
  Author: Hui <hui.xie1990 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp

  Log Message:
  -----------
  [libc++][test] Close LWG3018 and add tests (#93047)


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

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

  Log Message:
  -----------
  [nfc][InstrProfWriter]Store header fields in a vector and back patch once (#93594)

This is a split of https://github.com/llvm/llvm-project/pull/93346 as
discussed.


  Commit: 1f67f34a5cf993f03eca8936bfb7203778c2997a
      https://github.com/llvm/llvm-project/commit/1f67f34a5cf993f03eca8936bfb7203778c2997a
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
    A llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll

  Log Message:
  -----------
  [MTE] add stack frame history buffer

this will allow us to find offending objects in a symbolization step,
like we can do with hwasan.

needs matching changes in AOSP:
https://android-review.git.corp.google.com/q/topic:%22stackhistorybuffer%22

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


  Commit: 3313f28897a87ec313ec0b52ef71c14d3b9ff652
      https://github.com/llvm/llvm-project/commit/3313f28897a87ec313ec0b52ef71c14d3b9ff652
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
    R llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll

  Log Message:
  -----------
  Revert "[MTE] add stack frame history buffer"

This reverts commit 1f67f34a5cf993f03eca8936bfb7203778c2997a.


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

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/TextNodeDumper.h
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/test/AST/ast-dump-decl.cpp
    M clang/test/AST/ast-dump-openmp-begin-declare-variant_template_2.cpp
    A clang/test/AST/ast-dump-template-name.cpp
    M clang/test/AST/ast-dump-using-template.cpp
    M clang/test/AST/constraints-explicit-instantiation.cpp
    M clang/test/OpenMP/align_clause_ast_print.cpp
    M clang/test/OpenMP/generic_loop_ast_print.cpp
    M clang/test/OpenMP/interop_ast_print.cpp
    M clang/test/SemaOpenACC/sub-array-ast.cpp
    M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
    M clang/test/SemaTemplate/attributes.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp
    M clang/test/SemaTemplate/make_integer_seq.cpp
    M clang/test/SemaTemplate/type_pack_element.cpp

  Log Message:
  -----------
  [clang] Improve ast-dumper text printing of TemplateArgument (#93431)

This improves and unifies our approach to printing all template
arguments.

The same approach to printing types is extended to all
TemplateArguments: A sugared version is printed in quotes, followed by
printing the canonical form, unless they would print the same.

Special improvements are done to add more detail to template template
arguments.

It's planned in a future patch to use this improved TemplateName printer
for other places besides TemplateArguments.

Note: The sugared/desugared printing does not show up for TemplateNames
in tests yet, because we do a poor job of preserving their type sugar.
This will be improved in a future patch.


  Commit: d2f7a38b7db78adb5c36fff1f7e12814be1a6c30
      https://github.com/llvm/llvm-project/commit/d2f7a38b7db78adb5c36fff1f7e12814be1a6c30
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

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

This patch fixes:

  llvm/lib/Target/X86/X86ISelLowering.cpp:50832:7: error: unused
  variable 'MemVT' [-Werror,-Wunused-variable]


  Commit: dcbd1fbdf46e74e9be80ec8e3e865b8347e8532b
      https://github.com/llvm/llvm-project/commit/dcbd1fbdf46e74e9be80ec8e3e865b8347e8532b
  Author: thetruestblue <92476612+thetruestblue at users.noreply.github.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp

  Log Message:
  -----------
  [TEST][Darwin] Change x86_64h UNSUPPORTED lit feature used in san cov test (#93706)

Fix x86_64 lit feature. x86-target-arch not set for x86_64h

x86-target-arch not set for x86_64.


  Commit: 9fe7aef1889300a17a594efb55358ebd032a81a2
      https://github.com/llvm/llvm-project/commit/9fe7aef1889300a17a594efb55358ebd032a81a2
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineFrameInfo.h
    M llvm/lib/CodeGen/MachineFunction.cpp
    M llvm/lib/CodeGen/TargetRegisterInfo.cpp

  Log Message:
  -----------
  [CodeGen] Don't check attrs for stack realign (#92564)

shouldRealignStack/canRealignStack are repeatedly called in PEI (through
hasStackRealignment). Checking function attributes is expensive, so
cache this data in the MachineFrameInfo, which had most data already.

This slightly changes the semantics of `MachineFrameInfo::ForcedRealign`
to be also true when the `stackrealign` attribute is set.


  Commit: 472184db24f2f5f7ddca76d7aadd13a3dca05991
      https://github.com/llvm/llvm-project/commit/472184db24f2f5f7ddca76d7aadd13a3dca05991
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [bazel] Port #93595 (#93716)


  Commit: 8aceb7a53d82f9566a7cf4775effa4089b22a75b
      https://github.com/llvm/llvm-project/commit/8aceb7a53d82f9566a7cf4775effa4089b22a75b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/include/llvm/CodeGenTypes/MachineValueType.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/TargetLoweringBase.cpp

  Log Message:
  -----------
  [ValueTypes] Remove MVT::MAX_ALLOWED_VALUETYPE. NFC (#93654)

Despite the comment, this isn't used to size bit vectors or tables.
That's done by VALUETYPE_SIZE. MAX_ALLOWED_VALUETYPE is only used by
some static_asserts that compare it to VALUETYPE_SIZE.

This patch removes it and most of the static_asserts. I left one where I
compared VALUETYPE_SIZE to token which is the first type that isn't part
of the VALUETYPE range. This isn't strictly needed, we'd probably catch
duplication error from VTEmitter.cpp first.


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/vsra-sdnode.ll

  Log Message:
  -----------
  [RISCV] Verify the VL and Mask on the outer TRUNCATE_VECTOR_VL in combineTruncOfSraSext. (#93578)

We checked the VL and mask of any additional TRUNCATE_VECTOR_VL
nodes we peek through, but not the outermost.
    
This moves the check to the outer node and then verifies all the
additional nodes have the same VL and Mask.

Stacked on #93574


  Commit: 99b9ab45cd67648a7b6c2ba02041072fe4de346b
      https://github.com/llvm/llvm-project/commit/99b9ab45cd67648a7b6c2ba02041072fe4de346b
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [memprof] Reorder MemProf sections in profile (#93640)

This patch teaches the V3 format to serialize Frames, call stacks, and
IndexedMemProfRecords, in that order.

I'm planning to use linear IDs for Frames.  That is, Frames will be
numbered 0, 1, 2, and so on in the order we serialize them.  In turn,
we will seialize the call stacks in terms of those linear IDs.

Likewise, I'm planning to use linear IDs for call stacks and then
serialize IndexedMemProfRecords in terms of those linear IDs for call
stacks.

With the new order, we can successively free data structures as we
serialize them.  That is, once we serialize Frames, we can free the
Frames' data proper and just retain mappings from FrameIds to linear
IDs.  A similar story applies to call stacks.


  Commit: 7348bb23abdf59e503c815037ce9835f5dd15df2
      https://github.com/llvm/llvm-project/commit/7348bb23abdf59e503c815037ce9835f5dd15df2
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-05-29 (Wed, 29 May 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/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/IR/ConstrainedOps.def
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/test/Assembler/fp-intrinsics-attr.ll
    M llvm/test/Feature/fp-intrinsics.ll

  Log Message:
  -----------
  Revert "[clang] Add tanf16 builtin and support for tan constrained intrinsic (#93314)" (#93721)

This reverts commit b15a0a37404f36bcd9c7995de8cd16f9cb5ac8af.

This should undo PR: https://github.com/llvm/llvm-project/pull/93314
will need to re-open https://github.com/llvm/llvm-project/issues/91421

wait for https://github.com/llvm/llvm-project/pull/90503 to land


  Commit: 1cff74130f30aaf47a995c5f6b637a04eaab2617
      https://github.com/llvm/llvm-project/commit/1cff74130f30aaf47a995c5f6b637a04eaab2617
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCV.h
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    M llvm/test/CodeGen/RISCV/O0-pipeline.ll
    M llvm/test/CodeGen/RISCV/O3-pipeline.ll
    R llvm/test/CodeGen/RISCV/rvv/coalesce-vsetvli.mir
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir

  Log Message:
  -----------
  [RISCV] Merge RISCVCoalesceVSETVLI back into RISCVInsertVSETVLI (#92869)

We no longer need to separate the passes now that #70549 is landed and
this will unblock #89089.

It's not strictly NFC because it will move coalescing before register
allocation when -riscv-vsetvl-after-rvv-regalloc is disabled. But this
makes it closer to the original behaviour.


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

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

  Log Message:
  -----------
  [RISCV] Move vnclipu patterns into DAGCombiner. (#93596)

I plan to add support for multiple layers of vnclipu. For example,
i32->i8 using 2 vnclipu instructions. First clipping to 65535, then
clipping to 255. Similar for signed vnclip.
    
This scales poorly if we need to add patterns with 2 or 3 truncates.
Instead, move the code to DAGCombiner with new ISD opcodes to represent
VCLIP(U).
    
This patch just moves the existing patterns into DAG combine. Support
for multiple truncates will as a follow up. A similar patch series will
be made for the signed vnclip.


  Commit: 9c4a716c1292096fcbdf415b63b7b0122b03310f
      https://github.com/llvm/llvm-project/commit/9c4a716c1292096fcbdf415b63b7b0122b03310f
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/TemplateName.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/AST/ODRHash.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/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprMember.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/test/AST/ast-dump-ctad-alias.cpp
    M clang/test/AST/ast-dump-decl.cpp
    M clang/test/AST/ast-dump-expr.cpp
    M clang/test/AST/ast-dump-template-decls.cpp
    M clang/test/AST/ast-dump-template-name.cpp
    M clang/test/AST/ast-dump-using-template.cpp
    M clang/test/CXX/drs/cwg1xx.cpp
    M clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
    M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp
    M clang/test/Index/print-type.cpp
    M clang/test/OpenMP/declare_mapper_messages.cpp
    M clang/test/Parser/cxx-template-template-recovery.cpp
    M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
    M clang/test/SemaTemplate/cwg2398.cpp
    M clang/test/SemaTemplate/instantiate-requires-expr.cpp
    M clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp
    M clang/unittests/AST/TemplateNameTest.cpp
    M libcxx/test/std/containers/associative/map/map.cons/deduct.verify.cpp
    M libcxx/test/std/containers/associative/multimap/multimap.cons/deduct.verify.cpp
    M libcxx/test/std/containers/associative/multiset/multiset.cons/deduct.verify.cpp
    M libcxx/test/std/containers/associative/set/set.cons/deduct.verify.cpp
    M libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.verify.cpp
    M libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.verify.cpp
    M libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.verify.cpp
    M libcxx/test/std/containers/sequences/array/array.cons/deduct.verify.cpp
    M libcxx/test/std/containers/sequences/deque/deque.cons/deduct.verify.cpp
    M libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.verify.cpp
    M libcxx/test/std/containers/sequences/list/list.cons/deduct.verify.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/deduct.verify.cpp
    M libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct.verify.cpp
    M libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/deduct.verify.cpp
    M libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/deduct.verify.cpp
    M libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/deduct.verify.cpp
    M libcxx/test/std/ranges/range.adaptors/range.join/ctad.verify.cpp
    M libcxx/test/std/re/re.regex/re.regex.construct/deduct.verify.cpp
    M libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.verify.cpp

  Log Message:
  -----------
  [clang] Preserve Qualifiers and type sugar in TemplateNames (#93433)

This patch improves the preservation of qualifiers and loss of type
sugar in TemplateNames.

This problem is analogous to https://reviews.llvm.org/D112374 and this
patch takes a very similar approach to that patch, except the impact
here is much lesser.

When a TemplateName was written bare, without qualifications, we
wouldn't produce a QualifiedTemplate which could be used to disambiguate
it from a Canonical TemplateName. This had effects in the TemplateName
printer, which had workarounds to deal with this, and wouldn't print the
TemplateName as-written in most situations.

There are also some related fixes to help preserve this type sugar along
the way into diagnostics, so that this patch can be properly tested.

- Fix dropping the template keyword.
- Fix type deduction to preserve sugar in TST TemplateNames.


  Commit: f68fdb84e1809caf42dd22b94145f06974429091
      https://github.com/llvm/llvm-project/commit/f68fdb84e1809caf42dd22b94145f06974429091
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  DAG: Fix losing flags on select when expanding select_cc (#93662)

This was only preserving the flags on the setcc, not the new select.
This was missing presumably due to getSelect not having a flags argument
until recently. Avoids regressions in a future commit.


  Commit: 4e67f45168b6ba95864285ba7f0ee313b084bdfb
      https://github.com/llvm/llvm-project/commit/4e67f45168b6ba95864285ba7f0ee313b084bdfb
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
    A llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll

  Log Message:
  -----------
  Reapply "[MTE] add stack frame history buffer"

In the reverted change, the order of the IR was dependent on the host
compiler, because we inserted instructions in arguments to functions.
Fix that, and also fix another problem with the test.

This reverts commit 3313f28897a87ec313ec0b52ef71c14d3b9ff652.


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

  Changed paths:
    M flang/test/Fir/convert-to-llvm.fir
    M mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir] Align num elements type to LLVM ArrayType (#93230)

MLIR LLMArrayType is using `unsigned` for the number of elements while
LLVM ArrayType is using `uint64_t`
https://github.com/llvm/llvm-project/blob/4ae896fe979b7db501cabde4b6b3504478958682/llvm/include/llvm/IR/DerivedTypes.h#L377

This leads to silent truncation when we use it for globals in flang. 

```
program test
  integer(8), parameter :: large = 2**30
  real,  dimension(large) :: bigarray
  common /c/ bigarray
  bigarray(999) = 666
end
```

The above program would result in a segfault since the global would be
of size 0 because of the silent truncation.

```
fir.global common @c_(dense<0> : vector<4294967296xi8>) : !fir.array<4294967296xi8>
```
became
```
llvm.mlir.global common @c_(dense<0> : vector<4294967296xi8>) {addr_space = 0 : i32} : !llvm.array<0 x i8>
```

This patch updates the definition of MLIR ArrayType to take `uint64_t`
as argument of the number of elements to be compatible with LLVM.


  Commit: 4b4d36654d8056546b177b3d04c352ba0b16d7ea
      https://github.com/llvm/llvm-project/commit/4b4d36654d8056546b177b3d04c352ba0b16d7ea
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [RISCV] Store only VNInfo val no in VSETVLIInfo. NFC

The VNInfo id (called val no elsewhere it seems) and register is enough
to uniquely identify AVL values, so try to store as little state as
possible.

This may also allow us to use dummy val nos in an upcoming patch when we
don't have LiveIntervals.


  Commit: 3255752cbdd73595605439ad66aa4273a444af17
      https://github.com/llvm/llvm-project/commit/3255752cbdd73595605439ad66aa4273a444af17
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M .github/new-prs-labeler.yml

  Log Message:
  -----------
  [Github]Update PGO with more filepaths (#93720)

- `llvm/**/ProfileData/**/*` intends to cover `llvm/include/llvm/ProfileData/` and `llvm/lib/ProfileData/`
- `llvm/**/SampleProfile*` intends to cover a bunch of SamplePGO files and their headers. For example, 
    `SampleProfile.cpp`, `SampleProfileMatcher.cpp`, `SampleProfileProbe.cpp`
- `llvm/**/CodeGen/MIRSampleProfile*` intends to cover MIRSampleProfile.cpp and its header.
- `llvm/test/Transforms/SampleProfile/**/*` intends to cover unit tests.


  Commit: 3fcf36363d0dc18f9782538897c13ff27e23d7a9
      https://github.com/llvm/llvm-project/commit/3fcf36363d0dc18f9782538897c13ff27e23d7a9
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [RISCV] Make some static functions in RISCVInsertVSETVLI methods. NFC

So we don't have to thread through some common arguments, and to allow
some methods to access state in an upcoming patch.


  Commit: 87e8ce376771f8c88a12776544cd81ec5a4993fb
      https://github.com/llvm/llvm-project/commit/87e8ce376771f8c88a12776544cd81ec5a4993fb
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/RelLookupTableConverter.cpp
    M llvm/test/Transforms/RelLookupTableConverter/X86/opaque-ptr.ll
    M llvm/test/Transforms/RelLookupTableConverter/X86/relative_lookup_table.ll

  Log Message:
  -----------
  [llvm] Re-use original global name in RelLookupTableConverter (#93626)

Prior, the reltable we create was "reltable." + FuncName which can
result in multiple tables named "reltable." + FuncName + ".{number}" if
we substitute multiple tables in a function. Since we replace the
original global, it makes it easier to just take over the original
global's name. Functionally, this doesn't change the IR emitted, just
global names.

This is a subset of PR 93355 that I'm breaking into multiple patches.


  Commit: 025394fa0dd3d0c20cc755f79ed521b85e5d7943
      https://github.com/llvm/llvm-project/commit/025394fa0dd3d0c20cc755f79ed521b85e5d7943
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lld/ELF/Arch/ARM.cpp
    M lld/ELF/Config.h
    M lld/ELF/InputFiles.cpp
    A lld/test/ELF/armv8-thumb-plt-reloc.s

  Log Message:
  -----------
  Reapply "[lld] Support thumb PLTs" (#93631) (#93644)

This reverts commit 7832769d329ead264aff238c06dce086b3a74922.

This was reverted prior due to a test failure on the windows builder. I
think this was because we didn't specify the triple and assumed windows.
The other tests use the full triple specifying linux, so we follow suite
here.

---

We are using PLTs for cortex-m33 which only supports thumb. More
specifically, this is for a very restricted use case. There's no MMU so
there's no sharing of virtual addresses between two processes, but this
is fine. The MCU is used for running [chre
nanoapps](https://android.googlesource.com/platform/system/chre/+/HEAD/doc/nanoapp_overview.md)
for android. Each nanoapp is a shared library (but effectively acts as
an executable containing a test suite) that is loaded and run on the MCU
one binary at a time and there's only one process running at a time, so
we ensure that the same text segment cannot be shared by two different
running executables. GNU LD supports thumb PLTs but we want to migrate
to a clang toolchain and use LLD, so thumb PLTs are needed.


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

  Changed paths:
    M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
    R mlir/test/mlir-vulkan-runner/vector-interleave.mlir
    R mlir/test/mlir-vulkan-runner/vector-shuffle.mlir

  Log Message:
  -----------
  Revert "[mlir][spirv] Add integration test for `vector.interleave` and `vector.shuffle`" (#93732)

Reverts llvm/llvm-project#93595

This broke the gcc-7 bot.


  Commit: 0d37e5c61797d6075f02daf28d1b16561299bc69
      https://github.com/llvm/llvm-project/commit/0d37e5c61797d6075f02daf28d1b16561299bc69
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [RISCV] Remove redundant TSFlags parameter in RISCVInsertVSETVLI. NFC


  Commit: b98bce50ac545e63494335141ff4cc3e39bcb4af
      https://github.com/llvm/llvm-project/commit/b98bce50ac545e63494335141ff4cc3e39bcb4af
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/include/llvm/Bitcode/BitcodeWriter.h

  Log Message:
  -----------
  [nfc] clang-format llvm/Bitcode/BitcodeWriter.h

Odd indenting.


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

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

  Log Message:
  -----------
  [LAA] Store reference to SymbolicStrides in MemoryDepChecker (NFC).

This reduces the need for explicitly passing it through multiple layers
of function calls.


  Commit: 6595e7fa1b5588f860aa057aac47c43623169584
      https://github.com/llvm/llvm-project/commit/6595e7fa1b5588f860aa057aac47c43623169584
  Author: gulfemsavrun <gulfem at google.com>
  Date:   2024-05-29 (Wed, 29 May 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 "[lldb][lldb-dap] Cleanup breakpoint filters." (#93739)

Reverts llvm/llvm-project#87550 because it broke `TestDAP*` lldb tests.

https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64-rbe/b8746585790559468897/overview


  Commit: 495bc3cf23dedadd6d633cf9600b7c1f8ac87bb4
      https://github.com/llvm/llvm-project/commit/495bc3cf23dedadd6d633cf9600b7c1f8ac87bb4
  Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    A llvm/docs/DirectX/DXILOpTableGenDesign.rst

  Log Message:
  -----------
  [DirectX][DXIL] Design document for TableGen Spec of DXIL Operations (#85170)

Add an initial design document for TableGen specification of DXIL Operations.


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

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

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

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

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

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

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

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

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

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

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

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

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

Also open to any riffing on the flag name for sure.

@probinson - would this be an accurate upstreaming of your internal
handling/would you use this functionality? If it wouldn't be useful to
you, it's maybe not worth adding upstream yet - not sure we'll use it at
Google, but if it was useful to you folks and meant other folks could
test with it it seemed maybe useful.

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


  Commit: 1880a7bf18f8bf6497eddeda5cea49b507413f3a
      https://github.com/llvm/llvm-project/commit/1880a7bf18f8bf6497eddeda5cea49b507413f3a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [LAA] Move getDependenceDistanceStrideAndSize to MemoryDepChecker (NFC).

This avoids unnecessarily passing a number of parameters, and avoids
needing to add extra parameters in the future.


  Commit: c6c08eee37bada190bd1aa4593c88a5e2c8cdaac
      https://github.com/llvm/llvm-project/commit/c6c08eee37bada190bd1aa4593c88a5e2c8cdaac
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lldb/source/Host/common/Editline.cpp

  Log Message:
  -----------
  [lldb] Remove setupterm workaround on macOS (#93714)

Remove setupterm workaround on macOS which caused an issues after the
removal of the terminfo dependency. There's a comment that explains why
the workaround is present, but neither Jim nor I were able to reproduce
the issue by setting TERM to vt100.


  Commit: 058d4295939998923c78df80d0ea3b82ed899aa1
      https://github.com/llvm/llvm-project/commit/058d4295939998923c78df80d0ea3b82ed899aa1
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [Analysis] Fix a build error regarding std::variant

This patch fixes:

  llvm/include/llvm/Analysis/LoopAccessAnalysis.h:381:8: error: no
  template named 'variant' in namespace 'std'


  Commit: 34b14cc4f88b5e3d757f2ab20c19387178056567
      https://github.com/llvm/llvm-project/commit/34b14cc4f88b5e3d757f2ab20c19387178056567
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lld/ELF/LinkerScript.cpp
    M lld/test/ELF/linkerscript/orphan-report.s

  Log Message:
  -----------
  [lld][ELF] Suppress `--orphan-handling=error/warn` without `SECTIONS` (#93630)

Without a linker script, `--orphan-handling=error` or `=warn` reports
all input sections, including even well-known sections like `.text`,
`.bss`, `.dynamic`, or `.symtab`. However, in this case, no sections
should be considered orphans because they all are placed with the same
default rules. This patch suppresses errors/warnings for placing orphan
sections if no linker script with the `SECTIONS` command is provided.

The proposed behavior matches GNU gold. GNU ld in the same scenario only
reports sections that are not in its default linker script, thus, it
avoids complaining about `.text` and similar.


  Commit: 3bdc90e3ff4c9a18caeb3e6ad40fa5d15bbf9d5e
      https://github.com/llvm/llvm-project/commit/3bdc90e3ff4c9a18caeb3e6ad40fa5d15bbf9d5e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/Writer.cpp
    M lld/ELF/Writer.h

  Log Message:
  -----------
  [ELF] adjustOutputSections: update sortRank. NFC

... as flags have changed. This allows us to revisit the
`osd->osec.hasInputSections` condition in `getRankProximity` (originally
introduced as `Sec->Live` in https://reviews.llvm.org/D61197).


  Commit: aeccfee348c717165541d8d895b9b0cdfe31415c
      https://github.com/llvm/llvm-project/commit/aeccfee348c717165541d8d895b9b0cdfe31415c
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

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

Such expression does not correspond to a variable in the source code
thus does not have a debug location. When the user collects perf data on
the program, if the intermediate memory load instruction is sampled, it
could not be attributed to any variable/class member, which causes the
sampling results to be under-counted.
This patch adds an option `-fdebug_info_for_pointer_type` to generate a
psuedo variable and its debug info for intermediate expression with
pointer dereferencing, so that perf data collected on the instruction of
that expression can be attributed to the correct class member.

This is a prototype so comments are needed.


  Commit: c3e6bd0b09965df218f86ebb6f1e59a570937c5d
      https://github.com/llvm/llvm-project/commit/c3e6bd0b09965df218f86ebb6f1e59a570937c5d
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll

  Log Message:
  -----------
  [NFC] [MTE] remove unused functions from test


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

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

  Log Message:
  -----------
  [CI] Disable Flang from pre-commit tests when Flang files are not touched on Windows Only (#93729)

Flang triggers some OOM on Windows CI right now. This is disruptive to
MLIR and LLVM changes that don't touch Flang, as such we disable
building Flang on Windows only for these PR that don't touch flang. The
testing on Linux is unchanged, and the post-merge Windows testing is
still fully covering here.


  Commit: 66b9785670a7909d8301afdeac27991c9236f346
      https://github.com/llvm/llvm-project/commit/66b9785670a7909d8301afdeac27991c9236f346
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll

  Log Message:
  -----------
  [NFC] [MTE] make test more robust by not hardcoding %1


  Commit: 89129201fe4b825b2f6a0f3c9da8651603078d29
      https://github.com/llvm/llvm-project/commit/89129201fe4b825b2f6a0f3c9da8651603078d29
  Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h

  Log Message:
  -----------
  [NFC] Move DIExpressionCursor to DebugInfoMetadata.h (#69768)

This is an NFC patch to move DIExpressionCursor to DebugInfoMetada.h, so
that it can be used by classes in that header file.

Specifically, I want to use DIExpressionCursor in a subsequent patch:
https://github.com/llvm/llvm-project/pull/71718


  Commit: a3f9066e99f3685b4f2271f54ba73210396c00b4
      https://github.com/llvm/llvm-project/commit/a3f9066e99f3685b4f2271f54ba73210396c00b4
  Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  Add functions peekNextN(unsigned) and assignNewExpr(ArrayRef<uint64_t>) to DIExpressionCursor (#71717)

This commit adds two functions to the DIExpressionCursor class.

`peekNextN(unsigned)` works like peekNext, but lets you peek the next
Nth element
    
`assignNewExpr(ArrayRef<uint64_t>)` lets you assign a new expression to
the same DIExpressionCursor object

This is part of a stack of patches, it comes after
https://github.com/llvm/llvm-project/pull/69768


  Commit: 11d7203c1d2f44085e105b8d4d726f2589f62f40
      https://github.com/llvm/llvm-project/commit/11d7203c1d2f44085e105b8d4d726f2589f62f40
  Author: Evgenii Kudriashov <evgenii.kudriashov at intel.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
    M llvm/lib/Target/X86/GISel/X86LegalizerInfo.cpp
    M llvm/lib/Target/X86/GISel/X86LegalizerInfo.h
    M llvm/lib/Target/X86/X86TargetMachine.cpp
    A llvm/test/CodeGen/X86/isel-buildvector-avx.ll
    A llvm/test/CodeGen/X86/isel-buildvector-sse.ll
    A llvm/test/CodeGen/X86/isel-buildvector-sse2.ll

  Log Message:
  -----------
  [X86][GlobalISel] Enable G_BUILD_VECTOR and G_CONSTANT_POOL (#92844)

* Add support for G_LOAD from G_CONSTANT_POOL on X86 and X64
* Add X86GlobalBaseRegPass to handle base register initialization for
X86.
* Fix vector type legalization for G_STORE and G_LOAD as well as enable
scalarization for them.
* Custom lower G_BUILD_VECTOR into G_LOAD from G_CONSTANT_POOL.


  Commit: 6e7b45c55b4c3299c1160d49f7ad721c62e8e4eb
      https://github.com/llvm/llvm-project/commit/6e7b45c55b4c3299c1160d49f7ad721c62e8e4eb
  Author: Jun Wang <jwang86 at yahoo.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MIMGInstructions.td
    M llvm/test/MC/AMDGPU/gfx10_asm_mimg.s
    M llvm/test/MC/AMDGPU/gfx11_asm_mimg.s
    M llvm/test/MC/AMDGPU/mimg.s
    M llvm/test/MC/Disassembler/AMDGPU/gfx8_mimg_features.txt

  Log Message:
  -----------
  [AMDGPU][MC] Support tfe operand in image_atomic instructions (#92469)

Current, if an image_atomic instruction has the 'tfe' operand, the
llvm-mc assembler in general would reject it. The only exception is when
dmask is 0x1 and the instruction is not image_atomic_cmpswap (e.g.,
image_atomic_add v[5:6], v252, s[8:15] dmask:0x1 tfe). This patch fixes
this problem and allows tfe to be specified in image_atomic
instructions.

---------

Co-authored-by: Jun Wang <jun.wang7 at amd.com>


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

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

  Log Message:
  -----------
  [RISCV] Replace duplicate trunc-sat-clip tests with more interesting tests. NFC (#93737)

For each pair of types, we had 3 identical tests using umin with the
unsigned max value.

This patch replaces two of them with smin+smax cases that can be
implemented with a signed vmax followed by a vnclipu.


  Commit: b12f81b53ad6c3e1004f32eecbf4083d87731fbc
      https://github.com/llvm/llvm-project/commit/b12f81b53ad6c3e1004f32eecbf4083d87731fbc
  Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/lib/IR/CMakeLists.txt
    A llvm/lib/IR/DIExpressionOptimizer.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  Introduce DIExpression::foldConstantMath() (#71718)

DIExpressions can get very long and have a lot of redundant operations.
This function uses simple pattern matching to fold constant math that
can be evaluated at compile time.

The hope is that other people can contribute other patterns as well.

I also couldn't see a good way of combining this with
`DIExpression::constantFold` so it stands alone.

This is part of a stack of patches and comes after
https://github.com/llvm/llvm-project/pull/69768
https://github.com/llvm/llvm-project/pull/71717


  Commit: fb607c9019dcfb3bec4c4ab84b67112b52fbe083
      https://github.com/llvm/llvm-project/commit/fb607c9019dcfb3bec4c4ab84b67112b52fbe083
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    A llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll
    A llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll
    A llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset-nopad.ll
    A llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset.ll

  Log Message:
  -----------
  [MTE] add tests for stack tagging debug info (#93743)

These are equivalent to the tests in HWASan of the same name.


  Commit: 69969c725b0987a12a27a8ac787f06be672a4d09
      https://github.com/llvm/llvm-project/commit/69969c725b0987a12a27a8ac787f06be672a4d09
  Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/test/Bitcode/upgrade-dbg-addr.ll
    M llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-expr-chain.mir
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  Use DIExpression::foldConstantMath() at the result of an append() (#71719)

This patch uses `DIExpression::foldConstantMath()` at the end of a
`DIExpression::append()`. Which should help in reducing the size of
DIExpressions that grow because of salvaging debug info

This is part of a stack of patches and comes after:
https://github.com/llvm/llvm-project/pull/69768
https://github.com/llvm/llvm-project/pull/71717
https://github.com/llvm/llvm-project/pull/71718


  Commit: f4681be06b465736cc993b114dd8e2625d37b779
      https://github.com/llvm/llvm-project/commit/f4681be06b465736cc993b114dd8e2625d37b779
  Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/DebugInfo/salvage-icmp.ll
    M llvm/test/DebugInfo/salvage-limit-expr-size.ll
    M llvm/test/Transforms/InstCombine/cast-mul-select.ll
    M llvm/test/Transforms/InstCombine/debuginfo-dce.ll
    M llvm/test/Transforms/InstCombine/debuginfo-sink.ll
    M llvm/unittests/Transforms/Utils/LocalTest.cpp

  Log Message:
  -----------
  Use DIExpression::foldConstantMath at the result of a Salvaged expression (#71721)

This patch uses `DIExpression::foldConstantMath()` at the result of a
Salvaged expression, that is, it runs the folding optimizations after an
expression has been salvaged completely, to reduce how many times the
fold optimization function is called. Which should help in reducing the
size of DIExpressions that grow because of salvaging debug info

After checking the size of the dSYM with and without this change, I saw
a decrease of about 300KB, where the debug_loc section is about 1.6 GB
in size.

Where the debug loc section reduced in size by 212KB and it is 193MB in
size, the rest comes from the debug_info section

This is part of a stack of patches and comes after:
https://github.com/llvm/llvm-project/pull/69768
https://github.com/llvm/llvm-project/pull/71717
https://github.com/llvm/llvm-project/pull/71718
https://github.com/llvm/llvm-project/pull/71719


  Commit: 424f82c204173889a93a74910e63dc53931c3ec9
      https://github.com/llvm/llvm-project/commit/424f82c204173889a93a74910e63dc53931c3ec9
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [RISCV] Refactor combineTruncToVnclipu to prepare for adding signed vnclip support. NFC

Reviewed as part of #93728.


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

  Changed paths:
    M clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp

  Log Message:
  -----------
  Fix test - remove unnecessary/incorrect `-S`, in favor of `-emit-llvm`


  Commit: 2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871
      https://github.com/llvm/llvm-project/commit/2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Simplify getSectionRank

Follow-up to a previous simplification
2473b1af085ad54e89666cedf684fdf10a84f058.

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

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

orphan:
.text    0x8061000 NOT_SPECIAL
```


  Commit: 8a8cd8a766081eebaf4dd51a1012d093713dfe59
      https://github.com/llvm/llvm-project/commit/8a8cd8a766081eebaf4dd51a1012d093713dfe59
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [RISCV] Move vnclip patterns into DAGCombiner. (#93728)

Similar to #93596, this moves the signed vnclip patterns into DAG
combine.
    
This will allows us to support more than 1 level of truncate in a
future patch.


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

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

  Log Message:
  -----------
  [RISCV] Add trunc-sat-clip tests for i32->i8, i64->i8, and i64->i16. NFC

These can be implemented with multiple vnclips.


  Commit: 3cee5672fd645cd58b8c4ee6187f10b509a34d77
      https://github.com/llvm/llvm-project/commit/3cee5672fd645cd58b8c4ee6187f10b509a34d77
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

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


  Commit: 246234ac70faa1e3281a2bb83dfc4dd206a7d59c
      https://github.com/llvm/llvm-project/commit/246234ac70faa1e3281a2bb83dfc4dd206a7d59c
  Author: Charlie Barto <chbarto at microsoft.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

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

This is one of the major changes we (Microsoft) have made in the version
of asan we ship with Visual Studio.

@amyw-msft wrote a blog post outlining this work at
https://devblogs.microsoft.com/cppblog/msvc-address-sanitizer-one-dll-for-all-runtime-configurations/

> With Visual Studio 2022 version 17.7 Preview 3, we have refactored the
MSVC Address Sanitizer (ASan) to depend on one runtime DLL regardless of
the runtime configuration. This simplifies project onboarding and
supports more scenarios, particularly for projects statically linked
(/MT, /MTd) to the C Runtimes. However, static configurations have a new
dependency on the ASan runtime DLL.

> Summary of the changes:

> ASan now works with /MT or /MTd built DLLs when the host EXE was not
compiled with ASan. This includes Windows services, COM components, and
plugins.
Configuring your project with ASan is now simpler, since your project
doesn’t need to uniformly specify the same [runtime
configuration](https://learn.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=msvc-170)
(/MT, /MTd, /MD, /MDd).
ASan workflows and pipelines for /MT or /MTd built projects will need to
ensure the ASan DLL (clang_rt.asan_dynamic-<arch>.dll) is available on
PATH.
The names of the ASan .lib files needed by the linker have changed (the
linker normally takes care of this if not manually specifying lib names
via /INFERASANLIBS)
You cannot mix ASan-compiled binaries from previous versions of the MSVC
Address Sanitizer (this is always true, but especially true in this
case).

Here's the description of these changes from our internal PR

1. Build one DLL that includes everything debug mode needs (not included
here, already contributed upstream).
* Remove #if _DEBUG checks everywhere.
* In some places, this needed to be replaced with a runtime check. In
asan_win.cpp, IsDebugRuntimePresent was added where we are searching for
allocations prior to ASAN initialization.
* In asan_win_runtime_functions.cpp and interception_win.cpp, we need to
be aware of debug runtime DLLs even when not built with _DEBUG.
2. Redirect statically linked functions to the ASAN DLL for /MT
* New exports for each of the C allocation APIs so that the statically
linked portion of the runtime can call them (see asan_malloc_win.cpp,
search MALLOC_DLL_EXPORT). Since we want our stack trace information to
be accurate and without noise, this means we need to capture stack frame
info from the original call and tell it to our DLL export. For this, I
have reused the __asan_win_new_delete_data used for op new/delete
support from asan_win_new_delete_thunk_common.h and moved it into
asan_win_thunk_common.h renamed as __asan_win_stack_data.
* For the C allocation APIs, a new file is included in the
statically-linked /WHOLEARCHIVE lib - asan_malloc_win_thunk.cpp. These
functions simply provide definitions for malloc/free/etc to be used
instead of the UCRT's definitions for /MT and instead call the ASAN DLL
export. /INFERASANLIBS ensures libucrt.lib will not take precedence via
/WHOLEARCHIVE.
* For other APIs, the interception code was called, so a new export is
provided: __sanitizer_override_function.
__sanitizer_override_function_by_addr is also provided to support
__except_handler4 on x86 (due to the security cookie being per-module).
3. Support weak symbols for /MD
* We have customers (CoreCLR) that rely on this behavior and would force
/MT to get it.
* There was sanitizer_win_weak_interception.cpp before, which did some
stuff for setting up the .WEAK section, but this only worked on /MT. Now
stuff registered in the .WEAK section is passed to the ASAN DLL via new
export __sanitizer_register_weak_function (impl in
sanitizer_win_interception.cpp). Unlike linux, multiple weak symbol
registrations are possible here. Current behavior is to give priority on
module load order such that whoever loads last (so priority is given to
the EXE) will have their weak symbol registered.
* Unfortunately, the registration can only occur during the user module
startup, which is after ASAN DLL startup, so any weak symbols used by
ASAN during initialization will not be picked up. This is most notable
for __asan_default_options and friends (see asan_flags.cpp). A mechanism
was made to add a callback for when a certain weak symbol was
registered, so now we process __asan_default_options during module
startup instead of ASAN startup. This is a change in behavior, but
there's no real way around this due to how DLLs are.
4. Build reorganization
* I noticed that our current build configuration is very MSVC-specific
and so did a bit of reworking. Removed a lot of
create_multiple_windows_obj_lib use since it's no longer needed and it
changed how we needed to refer to each object_lib by adding runtime
configuration to the name, conflicting with how it works for non-MSVC.
* No more Win32 static build, use /MD everywhere.
* Building with /Zl to avoid defaultlib warnings.

In addition:
* I've reapplied "[sanitizer][asan][win] Intercept _strdup on Windows
instead of strdup" which broke the previous static asan runtime. That
runtime is gone now and this change is required for the strdup tests to
work.
* I've modified the MSVC clang driver to support linking the correct
asan libraries, including via defining _DLL (which triggers different
defaultlibs and should result in the asan dll thunk being linked, along
with the dll CRT (via defaultlib directives).
* I've made passing -static-libsan an error on windows, and made
-shared-libsan the default. I'm not sure I did this correctly, or in the
best way.
* Modified the test harnesses to add substitutions for the dynamic and
static thunks and to make the library substitutions point to the dynamic
asan runtime for all test configurations on windows. Both the static and
dynamic windows test configurations remain, because they correspond to
the static and dynamic CRT, not the static and dynamic asan runtime
library.

---------

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


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

  Changed paths:
    M clang/lib/AST/TemplateBase.cpp
    M clang/lib/AST/TemplateName.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [clang] fix printing of canonical template template parameters take 2 (#93448)

Since they can also occur as the template name of
template specializations, handle them from TemplateName printing instead
of TemplateArgument.


  Commit: 10436aede261db5260e0e11a4aa66565ba975848
      https://github.com/llvm/llvm-project/commit/10436aede261db5260e0e11a4aa66565ba975848
  Author: Charlie Barto <chbarto at microsoft.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

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

This reverts commit 246234ac70faa1e3281a2bb83dfc4dd206a7d59c.


  Commit: f32ebabc27655a1bd26ccdede1610d8d1a05315f
      https://github.com/llvm/llvm-project/commit/f32ebabc27655a1bd26ccdede1610d8d1a05315f
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    A llvm/test/CodeGen/NVPTX/combine-mad.ll

  Log Message:
  -----------
  [NVPTX] Improve folding to mad with immediate 1 (#93628)

Extend NVPTX DAG combining logic to distribute a mul instruction across
an add of 1 into a mad where possible. In addition, add support for
transposing a mul through a select with an option of 1, if that would
allow further mul folding.


  Commit: 2b1d1c51f6e321267cc86e9db7808298c59caf0e
      https://github.com/llvm/llvm-project/commit/2b1d1c51f6e321267cc86e9db7808298c59caf0e
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp

  Log Message:
  -----------
  [NFC] Fix PPC buildbot failure https://lab.llvm.org/buildbot/#/builders/230/builds/29066

Failure was introduced in https://github.com/llvm/llvm-project/pull/81545

On 64-bit targets for i32 return type, there will be extension in the function
prototype.


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

  Changed paths:
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  Revert "[ELF] Simplify getSectionRank"

This reverts commit 2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871.

Buildbots are broken.


  Commit: 96d2dc7210db3ed3a4c9f6aa93c14d2ea90e67cc
      https://github.com/llvm/llvm-project/commit/96d2dc7210db3ed3a4c9f6aa93c14d2ea90e67cc
  Author: csstormq <swust_xiaoqiangxu at 163.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
    M llvm/test/Analysis/ScalarEvolution/scev-aa.ll

  Log Message:
  -----------
  [SCEVAA] Enhance SCEVAAResult::alias() to handle two pointers with different pointer bases (#91453)

This patch enhances the SCEVAAResult::alias() interface to handle two
pointers with different pointer bases.

Before calling getMinusSCEV(), we firstly try to explicitly convert
these two pointers into ptrtoint expressions to do that.

Either both pointers are used with ptrtoint or neither, so we can't
end up with a ptr + int mix.


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

  Changed paths:
    M llvm/unittests/Transforms/CMakeLists.txt
    A llvm/unittests/Transforms/Instrumentation/CMakeLists.txt
    A llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp

  Log Message:
  -----------
  [PGO] Add a unit test for the PGOInstrumentationGen pass (#93636)

The patch introduces the gmock-based unittest infrastructure for PGO
Instrumentation and adds some test cases to check whether the
instrumentation has taken place. The testing infrastructure for analysis
modules was borrowed from the LoopPassManagerTest unittest and
simplified a bit to handle module analysis passes only. Actually, we are
testing whether the result of a trivial analysis pass was invalidated by
the PGOInstrumentGen one: we exploit the fact the pass invalidates all
the analysis results after a module was instrumented.

NFC.


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

  Changed paths:
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Simplify getSectionRank

Follow-up to a previous simplification
2473b1af085ad54e89666cedf684fdf10a84f058.

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

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

orphan:
.text    0x8061000 NOT_SPECIAL
```

---

Identical to 2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871.
The revert 30c10fda2ba539e70bff4f05625ec6358c0f7502 is wrong.


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

  Changed paths:
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  Revert "[ELF] Simplify getSectionRank"

This reverts commit f639b57f7993cadb82ee9c36f04703ae4430ed85.

The premerge bot is still broken with failing bolt test.


  Commit: 815250b219a04966e4ea5de3a09965bea4d4cc41
      https://github.com/llvm/llvm-project/commit/815250b219a04966e4ea5de3a09965bea4d4cc41
  Author: Mark Rowe <mrowe at bdash.net.nz>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake

  Log Message:
  -----------
  [compiler-rt] Don't rely on automatic codesigning with Apple's linker (#91681)

In https://github.com/llvm/llvm-project/pull/88323, I changed the logic
within `add_compiler_rt_runtime` to only explicitly code sign the
resulting library if an older version of Apple's ld64 was in use. This
was based on the assumption that newer versions of ld64 and the new
Apple linker always ad-hoc sign their output binaries. This is true in
most cases, but not when using Apple's new linker with the
`-darwin-target-variant` flag to build Mac binaries that are compatible
with Catalyst.

Rather than adding increasingly complicated logic to detect the exact
scenarios that require explicit code signing, I've opted to always
explicitly code sign when using any Apple linker. We instead detect and
use the 'linker-signed' codesigning option when possible to match the
signatures that the linker would otherwise create. This avoids having
non-'linker-signed' ad-hoc signatures which was the underlying problem
that https://github.com/llvm/llvm-project/pull/88323 was intended to
address.

Co-authored-by: Mark Rowe <markrowe at chromium.org>


  Commit: 17940465364e0ad66fa364c5bef8abec4e34ac5b
      https://github.com/llvm/llvm-project/commit/17940465364e0ad66fa364c5bef8abec4e34ac5b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

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

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


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

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

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

Fixes #93604.


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

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

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

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

NFC


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

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

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

Reverts llvm/llvm-project#87018

MacOS and Windows bots are broken.


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

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

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

Implements HLSL availability diagnostics' default and relaxed mode.

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

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

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

Fixes #90095


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

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

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

This reverts commit aeccfee348c717165541d8d895b9b0cdfe31415c, and dependents:

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

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

The test is failing on MacOs and Windows


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

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

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

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

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


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

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

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


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

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

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

Reverts llvm/llvm-project#92489

This broke the bots.


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

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

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

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


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

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

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


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

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

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

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


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

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

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

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

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


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

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

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

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

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

This shouldn't have any impact on optimization capabilities.


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

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

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

[clang] fix merging of UsingShadowDecl

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

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

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

Fixes: #80252


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

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

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

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

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

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


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

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

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

In preparation for the coming NDD -> RMW fold.


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

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

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

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


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

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

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


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

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

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

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

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

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


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

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

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

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


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

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

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


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

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

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

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


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

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

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

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


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

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

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

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


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

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

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

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

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


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

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

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

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


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

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

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

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

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

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


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

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

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

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

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

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


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

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

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

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


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

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

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

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

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


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

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

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

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


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

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

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

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

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


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

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

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

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

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

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


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

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

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

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


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

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

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

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


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

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

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


  Commit: 43100766f287185642a3ccbf1a629915f85575e2
      https://github.com/llvm/llvm-project/commit/43100766f287185642a3ccbf1a629915f85575e2
  Author: Ramkumar Ramachandra <r at artagnon.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll

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

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


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

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

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

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


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

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

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

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


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

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

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

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


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

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

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


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

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

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

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


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

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

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

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


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

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

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


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

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

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

This reverts commit 42944e4600827738fae868f0df831fb2678be8b4.


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

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

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

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


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

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

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

Found while investigating #93709


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

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

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


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

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

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


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

  Changed paths:
    M llvm/docs/Security.rst

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


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

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

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


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

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

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

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

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

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


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

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

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

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


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

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

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

Fixes #93002


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

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

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


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

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

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


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

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

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


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

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

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

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


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

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

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

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


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

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

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

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

Closes #88203


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

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

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

Last used in e35fbf5c04f4719db8ff7c7a993cbf96bb706903.


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

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

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

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

---------

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


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

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

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

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


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

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

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

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


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

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

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

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


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

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

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

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


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

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

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


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

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

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

And sort out some unused headers


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

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

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

Found by #93667


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

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

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

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


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

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

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

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


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

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

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

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


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

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

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

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


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

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

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

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


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

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

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

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

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

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


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

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

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

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

Specified at:

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


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

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

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


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

  Changed paths:
    M llvm/docs/RemoveDIsDebugInfo.md

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

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


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

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

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

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


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

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

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

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


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

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

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

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

---------

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


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

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

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

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

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


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

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

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

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

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


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

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

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

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


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

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

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

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


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

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

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


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

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

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

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


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

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

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

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

---------

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


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

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

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

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


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

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

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

Follow-up to a previous simplification
2473b1af085ad54e89666cedf684fdf10a84f058.

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

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

orphan:
.text    0x8061000 NOT_SPECIAL
```

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

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


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

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

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

Re-Apply: 246234ac70faa1e3281a2bb83dfc4dd206a7d59c
Originally #81677

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

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

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


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

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

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

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

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

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

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

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


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

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

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


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

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

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


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

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

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

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


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

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

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

This reverts commit 8fa66c6ca7272268747835a0e86805307b62399c.


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

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

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

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

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

rdar://128571037


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

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

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

- added unittests for the raw_fd_stream output case.

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

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

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


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

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

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

cc @lntue


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

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

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

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


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

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

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

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


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

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

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

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

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

---------

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


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

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

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

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

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


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

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

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

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


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

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

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

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


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

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

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

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

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

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


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

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

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

This patch fixes:

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


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

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

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

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


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

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

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

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

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

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

Do so so that atest can parse the output correctly.

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

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


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

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

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


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

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

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

This reverts commit 02c6845c762dfd0a19d4a2f997990e160f392dae,
reapplying bfabc958c7c0d7ddc15f23383d9da836e8c6093f.

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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


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

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

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

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


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

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

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

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


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

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

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


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

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

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

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


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

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

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


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

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

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

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


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

  Changed paths:
    M lld/ELF/LinkerScript.cpp

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


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

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

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

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

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

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

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

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


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

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

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

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


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

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

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

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


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

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

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

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

This is in preparation for #83131.


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

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

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

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


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

  Changed paths:
    M llvm/docs/DirectXUsage.rst

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

Fix doc build failure.


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

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

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

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


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

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

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

This reverts commit fe82a3da36196157c0caa1ef2505186782f750d1.

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

The fix has been applied in c6c08eee37bada190bd1aa4593c88a5e2c8cdaac.

Original commit message:

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

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

Fixes #75490
Closes #53294 #23355


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

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

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

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

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

rdar://128482541


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

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

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

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


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

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

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

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

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

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


  Commit: 91068429d7049e2c00e5fa8e3364553a9e6f7d57
      https://github.com/llvm/llvm-project/commit/91068429d7049e2c00e5fa8e3364553a9e6f7d57
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    M .ci/generate-buildkite-pipeline-premerge
    M .github/new-prs-labeler.yml
    M bolt/include/bolt/Core/FunctionLayout.h
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Core/FunctionLayout.cpp
    M bolt/lib/Passes/ValidateMemRefs.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/test/AArch64/Inputs/array_end.lld_script
    M bolt/test/Inputs/lsda.ldscript
    M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M clang/cmake/caches/Fuchsia.cmake
    M clang/cmake/caches/VectorEngine.cmake
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/TemplateName.h
    M clang/include/clang/AST/TextNodeDumper.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Driver/Options.td
    A clang/include/clang/Sema/Attr.h
    M clang/include/clang/Sema/Sema.h
    A clang/include/clang/Sema/SemaAMDGPU.h
    A clang/include/clang/Sema/SemaARM.h
    A clang/include/clang/Sema/SemaBPF.h
    M clang/include/clang/Sema/SemaBase.h
    M clang/include/clang/Sema/SemaHLSL.h
    A clang/include/clang/Sema/SemaHexagon.h
    M clang/include/clang/Sema/SemaInternal.h
    A clang/include/clang/Sema/SemaLoongArch.h
    A clang/include/clang/Sema/SemaMIPS.h
    A clang/include/clang/Sema/SemaNVPTX.h
    A clang/include/clang/Sema/SemaPPC.h
    A clang/include/clang/Sema/SemaSystemZ.h
    A clang/include/clang/Sema/SemaWasm.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/AST/DeclPrinter.cpp
    M clang/lib/AST/TemplateBase.cpp
    M clang/lib/AST/TemplateName.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/Basic/Targets/X86.cpp
    M clang/lib/Basic/Targets/X86.h
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGCUDANV.cpp
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/lib/CodeGen/CGObjCGNU.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Driver/ToolChains/Arch/X86.cpp
    M clang/lib/Driver/ToolChains/Gnu.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/lib/Sema/CMakeLists.txt
    M clang/lib/Sema/Sema.cpp
    A clang/lib/Sema/SemaAMDGPU.cpp
    A clang/lib/Sema/SemaARM.cpp
    M clang/lib/Sema/SemaAvailability.cpp
    A clang/lib/Sema/SemaBPF.cpp
    M clang/lib/Sema/SemaBase.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaDeclObjC.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaExprObjC.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    A clang/lib/Sema/SemaHexagon.cpp
    A clang/lib/Sema/SemaLoongArch.cpp
    A clang/lib/Sema/SemaMIPS.cpp
    A clang/lib/Sema/SemaNVPTX.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/lib/Sema/SemaOverload.cpp
    A clang/lib/Sema/SemaPPC.cpp
    A clang/lib/Sema/SemaSystemZ.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    A clang/lib/Sema/SemaWasm.cpp
    M clang/test/AST/ast-dump-ctad-alias.cpp
    M clang/test/AST/ast-dump-template-decls.cpp
    M clang/test/AST/ast-dump-template-name.cpp
    M clang/test/AST/ast-dump-using-template.cpp
    A clang/test/AST/ast-print-language-linkage.cpp
    M clang/test/Analysis/cfg-openmp.cpp
    M clang/test/CXX/drs/cwg1xx.cpp
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
    M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
    M clang/test/CodeGen/object-size.c
    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
    R clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
    M clang/test/CodeGenHLSL/cbuf.hlsl
    M clang/test/Driver/debug-options.c
    M clang/test/Driver/linker-wrapper-image.c
    A clang/test/Driver/x86-apx-inline-asm-use-gpr32.cpp
    M clang/test/Import/builtin-template/test.cpp
    M clang/test/Interpreter/incremental-mode.cpp
    A clang/test/Modules/cxx20-decls.cppm
    M clang/test/OpenMP/nvptx_target_cuda_mode_messages.cpp
    R clang/test/OpenMP/target_reduction_codegen.cpp
    R clang/test/OpenMP/target_reduction_messages.cpp
    M clang/test/OpenMP/target_vla_messages.cpp
    M clang/test/Preprocessor/x86_target_features.c
    M clang/test/SemaHLSL/Availability/attr-availability-compute.hlsl
    M clang/test/SemaHLSL/Availability/attr-availability-mesh.hlsl
    M clang/test/SemaHLSL/Availability/attr-availability-pixel.hlsl
    A clang/test/SemaHLSL/Availability/avail-diag-default-compute.hlsl
    A clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
    A clang/test/SemaHLSL/Availability/avail-diag-relaxed-compute.hlsl
    A clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
    A clang/test/SemaHLSL/Availability/avail-lib-multiple-stages.hlsl
    M clang/test/SemaHLSL/WaveBuiltinAvailability.hlsl
    M clang/test/SemaObjCXX/block-capture.mm
    M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
    M clang/test/SemaTemplate/concepts.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp
    M clang/test/SemaTemplate/make_integer_seq.cpp
    M clang/test/SemaTemplate/type_pack_element.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp
    M clang/unittests/Interpreter/CodeCompletionTest.cpp
    M clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
    M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
    M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
    M clang/unittests/Interpreter/InterpreterTest.cpp
    A clang/unittests/Interpreter/InterpreterTestFixture.h
    M clang/utils/TableGen/MveEmitter.cpp
    M clang/utils/analyzer/entrypoint.py
    M clang/www/cxx_dr_status.html
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake
    M compiler-rt/cmake/config-ix.cmake
    M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
    M compiler-rt/lib/xray/tests/CMakeLists.txt
    M compiler-rt/test/asan/TestCases/debug_double_free.cpp
    M compiler-rt/test/asan/TestCases/debug_report.cpp
    M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_ignorelist.cpp
    M cross-project-tests/lit.cfg.py
    M cross-project-tests/lit.site.cfg.py.in
    M flang/examples/FeatureList/FeatureList.cpp
    M flang/include/flang/Optimizer/Builder/HLFIRTools.h
    M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
    M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/include/flang/Optimizer/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/Semantics/symbol.h
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Lower/Allocatable.cpp
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Lower/OpenACC.cpp
    M flang/lib/Optimizer/Builder/HLFIRTools.cpp
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
    M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
    M flang/lib/Parser/executable-parsers.cpp
    M flang/lib/Parser/openacc-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/check-acc-structure.cpp
    M flang/lib/Semantics/check-cuda.cpp
    M flang/lib/Semantics/check-do-forall.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Fir/convert-to-llvm.fir
    M flang/test/Fir/tbaa.fir
    M flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
    M flang/test/Lower/Intrinsics/associated.f90
    M flang/test/Lower/Intrinsics/ieee_flag.f90
    A flang/test/Semantics/resolve123.f90
    A flang/test/Semantics/resolve124.f90
    M flang/test/Semantics/resolve55.f90
    M libc/cmake/modules/CheckCompilerFeatures.cmake
    A libc/cmake/modules/compiler_features/check_float16.cpp
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-macros/CMakeLists.txt
    A libc/include/llvm-libc-macros/float16-macros.h
    M libc/include/llvm-libc-types/pthread_rwlockattr_t.h
    M libc/include/math.h.def
    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/type_traits/is_floating_point.h
    M libc/src/__support/FPUtil/FPBits.h
    M libc/src/__support/FPUtil/sqrt.h
    R libc/src/__support/FPUtil/x86_64/PolyEval.h
    M libc/src/__support/FPUtil/x86_64/sqrt.h
    M libc/src/__support/macros/properties/CMakeLists.txt
    M libc/src/__support/macros/properties/types.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/fabsf16.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/fabsf16.cpp
    M libc/src/pthread/CMakeLists.txt
    A libc/src/pthread/pthread_rwlockattr_getkind_np.cpp
    A libc/src/pthread/pthread_rwlockattr_getkind_np.h
    M libc/src/pthread/pthread_rwlockattr_init.cpp
    A libc/src/pthread/pthread_rwlockattr_setkind_np.cpp
    A libc/src/pthread/pthread_rwlockattr_setkind_np.h
    M libc/test/UnitTest/LibcTest.cpp
    M libc/test/UnitTest/LibcTest.h
    M libc/test/UnitTest/LibcTestMain.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/fabsf16_test.cpp
    M libc/test/src/pthread/CMakeLists.txt
    M libc/test/src/pthread/pthread_rwlockattr_test.cpp
    M libc/test/utils/UnitTest/testfilter_test.cpp
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/Writer.cpp
    M lld/test/ELF/linkerscript/addr.test
    R lld/test/ELF/linkerscript/expr-invalid-sec.test
    R lld/test/ELF/linkerscript/expr-sections.test
    R lld/test/ELF/linkerscript/orphan-align.s
    M lld/test/ELF/linkerscript/orphan.s
    R lld/test/ELF/linkerscript/orphans.s
    R lld/test/ELF/linkerscript/parse-section-in-addr.test
    M lldb/docs/resources/build.rst
    M lldb/source/Commands/CommandCompletions.cpp
    M lldb/source/Core/CMakeLists.txt
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
    M lldb/test/API/functionalities/completion/TestCompletion.py
    M lldb/test/API/lit.cfg.py
    M lldb/test/API/lit.site.cfg.py.in
    M lldb/test/API/python_api/address_range/TestAddressRange.py
    M lldb/test/API/python_api/debugger/TestDebuggerAPI.py
    A lldb/test/API/tools/lldb-dap/variables/children/Makefile
    A lldb/test/API/tools/lldb-dap/variables/children/TestDAP_variables_children.py
    A lldb/test/API/tools/lldb-dap/variables/children/formatter.py
    A lldb/test/API/tools/lldb-dap/variables/children/main.cpp
    M lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py
    M lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
    M lldb/test/Shell/SymbolFile/Breakpad/symtab-sorted-by-size.test
    M lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/debug-types-basic.cpp
    M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-basic.test
    M lldb/test/Shell/helper/toolchain.py
    M lldb/test/Shell/lit.site.cfg.py.in
    M lldb/tools/lldb-dap/JSONUtils.cpp
    M llvm/CMakeLists.txt
    M llvm/cmake/config-ix.cmake
    R llvm/cmake/modules/FindTerminfo.cmake
    M llvm/cmake/modules/HandleLLVMOptions.cmake
    M llvm/cmake/modules/LLVMConfig.cmake.in
    M llvm/docs/DirectXUsage.rst
    M llvm/docs/LangRef.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/docs/RemoveDIsDebugInfo.md
    M llvm/docs/Security.rst
    M llvm/docs/convergence-both-diverged-nested.png
    M llvm/docs/convergence-closed-path.png
    M llvm/docs/convergence-divergent-inside.png
    M llvm/docs/convergence-divergent-outside.png
    M llvm/docs/convergence-natural-loop.png
    M llvm/include/llvm/Bitcode/BitcodeWriter.h
    M llvm/include/llvm/Bitstream/BitstreamWriter.h
    M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/Config/config.h.cmake
    M llvm/include/llvm/DWARFLinker/Utils.h
    M llvm/include/llvm/Frontend/OpenMP/OMP.td
    M llvm/include/llvm/IR/RuntimeLibcalls.def
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/include/llvm/MC/MCObjectStreamer.h
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/include/llvm/ProfileData/InstrProfReader.h
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
    M llvm/include/llvm/Support/raw_ostream.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/MachineCopyPropagation.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCStreamer.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/Support/CMakeLists.txt
    M llvm/lib/Support/Unix/Process.inc
    M llvm/lib/Support/raw_ostream.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64RegisterBanks.td
    M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.h
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
    M llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    M llvm/lib/Target/X86/X86.td
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/TargetParser/RISCVISAInfo.cpp
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.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/VPlanVerifier.cpp
    M llvm/test/Analysis/ScalarEvolution/scev-aa.ll
    M llvm/test/Assembler/ConstantExprFold.ll
    M llvm/test/Assembler/getelementptr.ll
    M llvm/test/Assembler/getelementptr_vec_ce.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-min-max.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-select.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/sve-load-store.ll
    M llvm/test/CodeGen/AArch64/large-offset-ldr-merge.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.s96.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/lds-zero-initializer.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
    M llvm/test/CodeGen/AMDGPU/lds-zero-initializer.ll
    A llvm/test/CodeGen/AMDGPU/load-store-opt-addc0.mir
    M llvm/test/CodeGen/AMDGPU/opencl-printf.ll
    M llvm/test/CodeGen/AMDGPU/preload-kernargs.ll
    M llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-exts.mir
    M llvm/test/CodeGen/Mips/GlobalISel/legalizer/constants.mir
    M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/rem_and_div.ll
    M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sitofp_and_uitofp.ll
    A llvm/test/CodeGen/NVPTX/combine-mad.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/jumptable.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv32.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-jump-table-brjt-rv64.mir
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
    M llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
    M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
    M llvm/test/CodeGen/WebAssembly/half-precision.ll
    A llvm/test/CodeGen/X86/apx/asm-constraint-1-jr.ll
    A llvm/test/CodeGen/X86/apx/asm-constraint-2-jR.ll
    M llvm/test/CodeGen/X86/apx/asm-constraint.ll
    A llvm/test/CodeGen/X86/apx/memfold-nd2rmw.mir
    M llvm/test/DebugInfo/dpvalue-print-nocrash.ll
    M llvm/test/Linker/comdat-largest.ll
    M llvm/test/MC/WebAssembly/simd-encodings.s
    R llvm/test/MC/X86/directive-avoid_end_align.s
    M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt-inseltpoison.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt.ll
    M llvm/test/Transforms/GlobalOpt/globalsra-opaque-ptr.ll
    M llvm/test/Transforms/GlobalSplit/basic.ll
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-getelementptr.ll
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions-inseltpoison.ll
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions.ll
    M llvm/test/Transforms/InferAddressSpaces/NVPTX/bug31948.ll
    M llvm/test/Transforms/InferAlignment/gep-array.ll
    M llvm/test/Transforms/InstCombine/gep-vector.ll
    M llvm/test/Transforms/InstCombine/getelementptr.ll
    M llvm/test/Transforms/InstCombine/lshr.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
    A llvm/test/Transforms/InstSimplify/uscmp.ll
    M llvm/test/Transforms/InstSimplify/vector_gep.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
    M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
    M llvm/test/Transforms/LoopVectorize/vplan-dot-printing.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
    M llvm/test/Transforms/NewGVN/2007-07-26-InterlockingLoops.ll
    A llvm/test/Transforms/PGOProfile/available_externally_functions.ll
    A llvm/test/Transforms/PGOProfile/declarations_only.ll
    A llvm/test/Transforms/PGOProfile/global_variables_only.ll
    A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/load.s
    A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/load.s
    M llvm/unittests/Bitstream/BitstreamWriterTest.cpp
    M llvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp
    M llvm/unittests/DebugInfo/CodeView/GUIDFormatTest.cpp
    M llvm/unittests/Frontend/OpenMPDecompositionTest.cpp
    M llvm/unittests/Target/AMDGPU/ExecMayBeModifiedBeforeAnyUse.cpp
    M llvm/unittests/Transforms/CMakeLists.txt
    A llvm/unittests/Transforms/Instrumentation/CMakeLists.txt
    A llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp
    M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
    M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h
    M llvm/utils/TableGen/X86InstrMappingEmitter.cpp
    M llvm/utils/emacs/llvm-mode.el
    M llvm/utils/gn/README.rst
    R llvm/utils/gn/build/libs/terminfo/BUILD.gn
    R llvm/utils/gn/build/libs/terminfo/enable.gni
    M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
    M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
    M llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
    A llvm/utils/gn/secondary/llvm/unittests/Transforms/Instrumentation/BUILD.gn
    M llvm/utils/vim/syntax/llvm.vim
    M llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
    M mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.td
    M mlir/include/mlir/Dialect/Polynomial/IR/PolynomialAttributes.td
    M mlir/lib/Bindings/Python/IRCore.cpp
    M mlir/lib/Bindings/Python/IRModule.h
    M mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
    M mlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Polynomial/IR/PolynomialCanonicalization.td
    M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Dialect/GPU/dynamic-shared-memory.mlir
    M mlir/test/Dialect/LLVMIR/constant-folding.mlir
    M mlir/test/Dialect/LLVMIR/inlining-alias-scopes.mlir
    M mlir/test/Dialect/LLVMIR/rocdl.mlir
    M mlir/test/Dialect/Linalg/canonicalize.mlir
    M mlir/test/Dialect/Polynomial/canonicalization.mlir
    M mlir/test/Dialect/Polynomial/ops.mlir
    M mlir/test/Dialect/Polynomial/ops_errors.mlir
    M mlir/test/Dialect/SparseTensor/conversion.mlir
    M mlir/test/Dialect/SparseTensor/sparse_fill_zero.mlir
    M mlir/test/Dialect/SparseTensor/specifier_to_llvm.mlir
    M mlir/test/Examples/transform/ChH/full.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/0-d-vectors.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf-full.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-ext.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-full.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf-full.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-ext.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-full.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero-block.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero-block.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/load-vertical.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/multi-tile-transpose.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f16f16f32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f64.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-i8i8i32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/ssve.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-load-vertical.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-multi-tile-transpose.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f16f16f32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f64.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-i8i8i32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-read-2d.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-write-2d.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transpose.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile-fill.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile_fill.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-read-2d.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-write-2d.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transpose.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-scalable-deinterleave.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/contraction.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/scalable-interleave.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/sve.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-contraction.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-interleave.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-sve.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/dot.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/inline-asm-vector-avx512.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/mask-compress.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/rsqrt.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/sparse-dot-product.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-dot.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-inline-asm-vector-avx512.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-mask-compress.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-rsqrt.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-sparse-dot-product.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-vp2intersect-i32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/vp2intersect-i32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/broadcast.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/compress.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/constant-mask.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/contraction.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/create-mask-v4i1.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/create-mask.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/expand.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/extract-strided-slice.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-col.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-row.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/fma.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/gather.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/index-vectors.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/insert-strided-slice.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/interleave.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/maskedload.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/maskedstore.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-col.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-row.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-f32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-i64.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/print-fp.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/print-int.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/print-str.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/realloc.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32-reassoc.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64-reassoc.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-i32.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-i4.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-i64.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-si4.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/reductions-ui4.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/rewrite-narrow-types.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/scan.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/scatter.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/shape-cast.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/shuffle.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/shuffle16x16.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/sparse-dot-matvec.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/sparse-saxpy-jagged-matvec.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-broadcast.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-compress.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-constant-mask.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-contraction.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask-v4i1.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/test-deinterleave.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-expand.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-extract-strided-slice.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-col.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-row.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-fma.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-gather.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-index-vectors.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-insert-strided-slice.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-interleave.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-maskedload.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-maskedstore.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-col.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-row.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-f32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-i64.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-print-fp.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-print-int.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-print-str.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-realloc.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32-reassoc.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64-reassoc.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i32.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i4.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i64.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-si4.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-ui4.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-rewrite-narrow-types.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-scan.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-scatter.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-shape-cast.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle16x16.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-dot-matvec.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-saxpy-jagged-matvec.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-1d.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-2d.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-3d.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-to-loops.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-write.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/test-transpose.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-1d.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-2d.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-3d.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-read.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-to-loops.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transfer-write.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/transpose.mlir
    M mlir/test/Target/LLVMIR/omptarget-constant-indexing-device-region.mlir
    M mlir/test/Target/LLVMIR/omptarget-fortran-allocatable-types-host.mlir
    M mlir/test/Target/LLVMIR/rocdl.mlir
    A mlir/test/python/live_operations.py
    M offload/test/api/omp_device_memory.c
    M utils/bazel/.bazelrc
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
    M utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
    M utils/bazel/llvm_configs/config.h.cmake

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

Created using spr 1.3.4

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/794c086be0ef...91068429d704

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