[all-commits] [llvm/llvm-project] 6ae657: [lldb] Adapt Plugins/Process/Windows to new Status...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Wed Aug 28 21:50:46 PDT 2024


  Branch: refs/heads/users/arichardson/spr/compiler-rt-work-around-incompatible-windows-definitions-of-ssize_t
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ae657b08d624f9634fa6ebbf5d6fd7a22dc3b4d
      https://github.com/llvm/llvm-project/commit/6ae657b08d624f9634fa6ebbf5d6fd7a22dc3b4d
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_WoW64.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_i386.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_x86_64.cpp
    M lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp

  Log Message:
  -----------
  [lldb] Adapt Plugins/Process/Windows to new Status API


  Commit: 32abe5d49b758edef0f0c19090361a6fe85c4092
      https://github.com/llvm/llvm-project/commit/32abe5d49b758edef0f0c19090361a6fe85c4092
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp

  Log Message:
  -----------
  [lldb] Adapt WindowsMiniDump to new Status API


  Commit: 2def1c445826be77a11926b89f901c0cd6d571d7
      https://github.com/llvm/llvm-project/commit/2def1c445826be77a11926b89f901c0cd6d571d7
  Author: Piyou Chen <piyou.chen at sifive.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineCopyPropagation.cpp
    A llvm/test/CodeGen/RISCV/redundant-copy-from-tail-duplicate.ll

  Log Message:
  -----------
  [RISCV][MCP] Remove redundant move from tail duplication  (#89865)

Tail duplication will generate the redundant move before return. It is
because the MachineCopyPropogation can't recognize COPY after post-RA
pseudoExpand.

This patch make MachineCopyPropogation recognize `%0 = ADDI %1, 0` as
COPY


  Commit: f2154475f24314b2138d13176e1c2366bce53ef2
      https://github.com/llvm/llvm-project/commit/f2154475f24314b2138d13176e1c2366bce53ef2
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:

  Log Message:
  -----------
  [flang][cuda] Add missing dependency (#106298)

Add missing dependency that sometimes makes a build fails with ninja.


  Commit: ccbee7116b1d55ab578632635dbf5a7352bbdace
      https://github.com/llvm/llvm-project/commit/ccbee7116b1d55ab578632635dbf5a7352bbdace
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/test/Lower/CUDA/cuda-data-transfer.cuf

  Log Message:
  -----------
  [flang][cuda] Use declare op results instead of memref (#106287)

#106120 Simplify the data transfer when possible by using the reference
and a shape. This bypass the declare op. In order to keep the declare op
around, use the second results of the declare op which achieve the same.


  Commit: 1601879f5d690595889a5537c0049b62df4657c7
      https://github.com/llvm/llvm-project/commit/1601879f5d690595889a5537c0049b62df4657c7
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M compiler-rt/lib/nsan/nsan_interceptors.cpp
    A compiler-rt/test/nsan/intercep_strsep.cpp

  Log Message:
  -----------
  [compiler-rt][nsan] Fix strsep interceptor (#106307)

Fix strsep interceptor.
For strsep description see
https://www.man7.org/linux/man-pages/man3/strsep.3.html


  Commit: 82db08e7317d7cb7b5c6ce86804ae2f868b4c79b
      https://github.com/llvm/llvm-project/commit/82db08e7317d7cb7b5c6ce86804ae2f868b4c79b
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

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

  Log Message:
  -----------
  [bazel][mlir] Add missing ROCDLTarget srcs/deps (#106322)

For 016e1eb9c86923bf6a9669697f6be8309d12b78c


  Commit: c1a4896070021ab6cf9ae9a69a6ef1f0dbc9e0b9
      https://github.com/llvm/llvm-project/commit/c1a4896070021ab6cf9ae9a69a6ef1f0dbc9e0b9
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

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

  Log Message:
  -----------
  [bazel][test] Add missing transforms test dep (#106323)

For 73c3b7337b0a3a8cb447f9801341d5648aebe9b2


  Commit: c0ebc1806a70dc66699f10160e80d1def8a8e3c9
      https://github.com/llvm/llvm-project/commit/c0ebc1806a70dc66699f10160e80d1def8a8e3c9
  Author: Eugene Zhulenev <ezhulenev at google.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

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

  Log Message:
  -----------
  [orc] Fix asan error in RTDyldObjectLinkingLayer.cpp (#106300)

`JITDylibSearchOrderResolver` local variable can be destroyed before
completion of all callbacks. Capture it together with `Deps` in
`OnEmitted` callback.

Original error:

```
==2035==ERROR: AddressSanitizer: stack-use-after-return on address 0x7bebfa155b70 at pc 0x7ff2a9a88b4a bp 0x7bec08d51980 sp 0x7bec08d51978
READ of size 8 at 0x7bebfa155b70 thread T87 (tf_xla-cpu-llvm)
    #0 0x7ff2a9a88b49 in operator() llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp:55:58
    #1 0x7ff2a9a88b49 in __invoke<(lambda at llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp:55:9) &, const llvm::DenseMap<llvm::orc::JITDylib *, llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void> >, llvm::DenseMapInfo<llvm::orc::JITDylib *, void>, llvm::detail::DenseMapPair<llvm::orc::JITDylib *, llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void> > > > &> libcxx/include/__type_traits/invoke.h:149:25
    #2 0x7ff2a9a88b49 in __call<(lambda at llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp:55:9) &, const llvm::DenseMap<llvm::orc::JITDylib *, llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void> >, llvm::DenseMapInfo<llvm::orc::JITDylib *, void>, llvm::detail::DenseMapPair<llvm::orc::JITDylib *, llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void> > > > &> libcxx/include/__type_traits/invoke.h:224:5
    #3 0x7ff2a9a88b49 in operator() libcxx/include/__functional/function.h:210:12
    #4 0x7ff2a9a88b49 in void std::__u::__function::__policy_invoker<void (llvm::DenseMap<llvm::orc::JITDylib*, llvm::DenseSet<llvm::orc::SymbolStringPtr,
```


  Commit: bacf31207e4e50bc8d58e1c065359ecbfa7eeaa6
      https://github.com/llvm/llvm-project/commit/bacf31207e4e50bc8d58e1c065359ecbfa7eeaa6
  Author: yifeizh2 <yifei.zhang at intel.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp

  Log Message:
  -----------
  [mlir][Linalg] Fix match convolution message (#106197)

Fix the message part of bugfix commit `2ef3dcf`.


  Commit: 815bf0f190383e14068f191bb0d16d62fbb6f8b3
      https://github.com/llvm/llvm-project/commit/815bf0f190383e14068f191bb0d16d62fbb6f8b3
  Author: Harini0924 <harinidonthula at gmail.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M clang/test/ClangScanDeps/pr61006.cppm
    M clang/test/Driver/coverage.c
    M clang/test/Driver/program-path-priority.c

  Log Message:
  -----------
  Revert "[Clang] [Test] Use lit Syntax for Environment Variables in Clang subproject" (#106267)

Reverts llvm/llvm-project#102647

I am reverting this change because the `readfile` doesn't actually
perform any useful operation, and yet, for some reason, the test still
passed. This indicates that the modification was unnecessary and could
lead to confusion or unexpected behavior in the future.


  Commit: 656d5aa95825515a55ded61f19d41053c850c82d
      https://github.com/llvm/llvm-project/commit/656d5aa95825515a55ded61f19d41053c850c82d
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

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

  Log Message:
  -----------
  [clang-format] Fix misalignments of pointers in angle brackets (#106013)

Fixes #105898.


  Commit: fac7e87d6634a153450bbc6dd147245d7b534a16
      https://github.com/llvm/llvm-project/commit/fac7e87d6634a153450bbc6dd147245d7b534a16
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

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

  Log Message:
  -----------
  [clang-format] Insert a space between new/delete and a C-style cast (#106175)

It doesn't make sense to remove the space between new/delete and a
C-style cast when SpaceBeforeParensOptions.AfterPlacementOperator is set
to false.

Fixes #105628.


  Commit: d2b420cc27e456387822e82f6fc2002bb17d2511
      https://github.com/llvm/llvm-project/commit/d2b420cc27e456387822e82f6fc2002bb17d2511
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M .github/workflows/release-asset-audit.py

  Log Message:
  -----------
  [Release] Add keith to valid archive uploaders (#106018)

I am interested in helping contribute macOS binaries since we're
generally sporadic with uploading these.

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


  Commit: b1d1c33ad1c922911a454a428cc145353376b894
      https://github.com/llvm/llvm-project/commit/b1d1c33ad1c922911a454a428cc145353376b894
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M llvm/utils/lit/lit/TestRunner.py
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  [lit] Remove legacy python version checks (NFC) (#105948)


  Commit: 7a4013f029c4d360a9374ff49b5d17479fcb03df
      https://github.com/llvm/llvm-project/commit/7a4013f029c4d360a9374ff49b5d17479fcb03df
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
    A llvm/include/llvm/ExecutionEngine/Orc/LoadLinkableFile.h
    R llvm/include/llvm/ExecutionEngine/Orc/LoadRelocatableObject.h
    M llvm/include/llvm/ExecutionEngine/Orc/MachO.h
    M llvm/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp
    M llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
    M llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
    A llvm/lib/ExecutionEngine/Orc/LoadLinkableFile.cpp
    R llvm/lib/ExecutionEngine/Orc/LoadRelocatableObject.cpp
    M llvm/lib/ExecutionEngine/Orc/MachO.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [ORC] Generalize loadRelocatableObject to loadLinkableFile, add archive support.

This allows us to rewrite part of StaticLibraryDefinitionGenerator in terms of
loadLinkableFile.

It's also useful for clients who may not know (either from file extensions or
context) whether a given path will be an object file, an archive, or a
universal binary.

rdar://134638070


  Commit: 097138f0ce3ac674eed7d43a627392ccc5be7bf6
      https://github.com/llvm/llvm-project/commit/097138f0ce3ac674eed7d43a627392ccc5be7bf6
  Author: Observer007 <45875558+Observer007 at users.noreply.github.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/Transforms/Passes.h
    M mlir/include/mlir/Dialect/LLVMIR/Transforms/Passes.td
    M mlir/lib/Dialect/LLVMIR/Transforms/DIScopeForLLVMFuncOp.cpp
    M mlir/test/Dialect/LLVMIR/add-debuginfo-func-scope.mlir

  Log Message:
  -----------
  [mlir] Add option to control the `emissionKind` to DIScopeForLLVMFuncOp pass (#106229)

This is currently not controllable by the user and always set to
`DIEmissionKind::LineTablesOnly`.
The added option allows to set it to the other values accepted by LLVM
(`None`, `Full`, and `DebugDirectivesOnly`).

---------

Co-authored-by: jingzec <jingzec at nvidia.com>


  Commit: 3c5ab5a75a9c8fb87dcb13cdf4207aa975fd6972
      https://github.com/llvm/llvm-project/commit/3c5ab5a75a9c8fb87dcb13cdf4207aa975fd6972
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M lldb/include/lldb/Symbol/TypeSystem.h
    M lldb/include/lldb/Target/Target.h
    M lldb/source/Breakpoint/BreakpointLocation.cpp
    M lldb/source/Breakpoint/Watchpoint.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
    M lldb/source/Target/Target.cpp

  Log Message:
  -----------
  [lldb] unique_ptr-ify some GetUserExpression APIs. (#106034)

These methods already returned a uniquely owned object, this just makes
them self-documenting.


  Commit: e6cbea11578f197589801297d22b9b3bc4f1bd10
      https://github.com/llvm/llvm-project/commit/e6cbea11578f197589801297d22b9b3bc4f1bd10
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M lldb/include/lldb/Symbol/TypeSystem.h
    M lldb/include/lldb/Target/Target.h
    M lldb/source/Breakpoint/BreakpointLocation.cpp
    M lldb/source/Breakpoint/Watchpoint.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
    M lldb/source/Target/Target.cpp

  Log Message:
  -----------
  Revert "[lldb] unique_ptr-ify some GetUserExpression APIs. (#106034)"

This reverts commit 3c5ab5a75a9c8fb87dcb13cdf4207aa975fd6972 while I investigate
bot failures (e.g. https://lab.llvm.org/buildbot/#/builders/163/builds/4286).


  Commit: 8067b88f8327a36ade4d587d4e611c7941f70a78
      https://github.com/llvm/llvm-project/commit/8067b88f8327a36ade4d587d4e611c7941f70a78
  Author: zhongyunde 00443407 <zhongyunde at huawei.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
    M llvm/test/CodeGen/AArch64/large-offset-ldr-merge.mir

  Log Message:
  -----------
  [AArch64] Fix buildbot breakage of ubsan

Fix the ERROR: UndefinedBehaviorSanitizer, reproduced by
  BUILDBOT_REVISION=43ffe2eed llvm-zorg/zorg/buildbot/builders/sanitizers/buildbot_bootstrap_ubsan.sh
It might be also related to #76202


  Commit: e5a5ac0c2355df9911953260aaf519185efa369e
      https://github.com/llvm/llvm-project/commit/e5a5ac0c2355df9911953260aaf519185efa369e
  Author: zhongyunde 00443407 <zhongyunde at huawei.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
    M llvm/test/CodeGen/AArch64/arm64-addrmode.ll

  Log Message:
  -----------
  [AArch64] Fold more load.x into load.i with large offset

The list of load.x is refer to canFoldIntoAddrMode on D152828.
Also support LDRSroX missed in canFoldIntoAddrMode


  Commit: 190449a5d2a9ddfc2180dce11714a4443f0f29f0
      https://github.com/llvm/llvm-project/commit/190449a5d2a9ddfc2180dce11714a4443f0f29f0
  Author: Arseniy Zaostrovnykh <necto.ne at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
    M clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
    M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
    M clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/test/Analysis/copy-elision.cpp
    M clang/test/Analysis/incorrect-checker-names.cpp
    M clang/test/Analysis/loop-block-counts.c
    M clang/test/Analysis/stack-addr-ps.c
    M clang/test/Analysis/stack-addr-ps.cpp
    M clang/test/Analysis/stack-capture-leak-no-arc.mm
    M clang/test/Analysis/stackaddrleak.c

  Log Message:
  -----------
  [analyzer] Detect leaks of stack addresses via output params, indirect globals 3/3 (#105648)

Fix some false negatives of StackAddrEscapeChecker:
- Output parameters
  ```
  void top(int **out) {
    int local = 42;
    *out = &local; // Noncompliant
  }
  ```
- Indirect global pointers
  ```
  int **global;

  void top() {
    int local = 42;
    *global = &local; // Noncompliant
  }
  ```

Note that now StackAddrEscapeChecker produces a diagnostic if a function
with an output parameter is analyzed as top-level or as a callee. I took
special care to make sure the reports point to the same primary location
and, in many cases, feature the same primary message. That is the
motivation to modify Core/BugReporter.cpp and Core/ExplodedGraph.cpp

To avoid false positive reports when a global indirect pointer is
assigned a local address, invalidated, and then reset, I rely on the
fact that the invalidation symbol will be a DerivedSymbol of a
ConjuredSymbol that refers to the same memory region.

The checker still has a false negative for non-trivial escaping via a
returned value. It requires a more sophisticated traversal akin to
scanReachableSymbols, which out of the scope of this change.

CPP-4734

---------

This is the last of the 3 stacked PRs, it must not be merged before
https://github.com/llvm/llvm-project/pull/105652 and
https://github.com/llvm/llvm-project/pull/105653


  Commit: 3dbb6befa837c5daa07de1e0daa45e5943ee9520
      https://github.com/llvm/llvm-project/commit/3dbb6befa837c5daa07de1e0daa45e5943ee9520
  Author: Michael Park <mcypark at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [NFC] Comment fix: "does specify state that" -> "does specify that" (#106338)


  Commit: 0b554dd9b1932c76225afded64d5f4cc7bb2933f
      https://github.com/llvm/llvm-project/commit/0b554dd9b1932c76225afded64d5f4cc7bb2933f
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Demangle/Demangle.cpp
    M llvm/test/tools/llvm-cxxfilt/invalid.test
    R llvm/test/tools/llvm-cxxfilt/strip-underscore-default-darwin.test
    R llvm/test/tools/llvm-cxxfilt/strip-underscore-default.test
    M llvm/test/tools/llvm-cxxfilt/strip-underscore.test
    M llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp

  Log Message:
  -----------
  [llvm-cxxfilt][macOS] Don't strip underscores on macOS by default (#106233)

Currently, `llvm-cxxfilt` will strip the leading underscore of its input
on macOS. Historically MachO symbols were prefixed with an extra
underscore and this is why this default exists. However, nowadays, the
`ItaniumDemangler` supports all of the following mangling prefixes:
`_Z`, `__Z`, `___Z`, `____Z`. So really `llvm-cxxfilt` can simply
forward the mangled name to the demangler and let the library decide
whether it's a valid encoding.

Compiling C++ on macOS nowadays will generate symbols with `_Z` and
`___Z` prefixes. So users trying to demangle these symbols will have to
know that they need to add the `-n` prefix. This routinely catches
people off-guard.

This patch removes the `-n` default for macOS and allows calling into
the `ItaniumDemangler` with all the `_Z` prefixes that the demangler
supports (1-4 underscores).

rdar://132714940


  Commit: 175aa864f33786f3a6a4ee7381cbcafd0758501a
      https://github.com/llvm/llvm-project/commit/175aa864f33786f3a6a4ee7381cbcafd0758501a
  Author: wanglei <wanglei at loongson.cn>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td

  Log Message:
  -----------
  [LoongArch] Format LoongArchL{A}SXInstrInfo.td. NFC

Alignment and start with an upper-case letter.


  Commit: 6332c36bc846e7cba5c8cc1f865ca506539692fc
      https://github.com/llvm/llvm-project/commit/6332c36bc846e7cba5c8cc1f865ca506539692fc
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/R600InstrInfo.cpp

  Log Message:
  -----------
  [AMDGPU] Use range-based for loops (NFC) (#106328)


  Commit: 22e55ba3293f72df84de509db821b4d8a2c4c55e
      https://github.com/llvm/llvm-project/commit/22e55ba3293f72df84de509db821b4d8a2c4c55e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/FileCheck/FileCheck.cpp
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
    M llvm/unittests/Support/VirtualFileSystemTest.cpp

  Log Message:
  -----------
  [llvm] Prefer StringRef::substr to StringRef::slice (NFC) (#106330)

S.substr(N) is simpler than S.slice(N, StringRef::npos). Also, substr
is probably better recognizable than slice thanks to
std::string_view::substr.


  Commit: 866bec7d3ff8803b68e9972939c1a76ccf5fdc62
      https://github.com/llvm/llvm-project/commit/866bec7d3ff8803b68e9972939c1a76ccf5fdc62
  Author: Robin Caloudis <robin.caloudis at gmx.de>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M libcxx/include/__math/traits.h
    M libcxx/test/std/numerics/c.math/isnormal.pass.cpp

  Log Message:
  -----------
  [libc++][math] Provide overloads for cv-unqualified floating point types for `std::isnormal` (#104773)

## Why
Currently, the following does not work when compiled with clang:

```c++
#include <cmath>

struct ConvertibleToFloat {
    operator float();
};

bool test(ConvertibleToFloat x) {
    return std::isnormal(x);
}
```
See https://godbolt.org/z/5bos8v67T for differences with respect to
msvc, gcc or icx. It fails for `float`, `double` and `long double` (all
cv-unqualified floating-point types).

## What
Test and provide overloads as expected by the ISO C++ standard. The
classification/comparison function `isnormal` is defined since C++11
until C++23 as
```c++
bool isnormal( float num );
bool isnormal( double num );
bool isnormal( long double num );
```
and since C++23 as
```c++
constexpr bool isnormal( /* floating-point-type */ num );
```
for which "the library provides overloads for all cv-unqualified
floating-point types as the type of the parameter num". See §28.7.1/1 in
the [ISO C++
standard](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/n4950.pdf)
or check
[cppreference](https://en.cppreference.com/w/cpp/numeric/math/isnormal).


  Commit: 902b2a26ab9e1e78dfb66b52fba4512c91472e09
      https://github.com/llvm/llvm-project/commit/902b2a26ab9e1e78dfb66b52fba4512c91472e09
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaAttr.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/SemaCXX/attr-lifetimebound.cpp

  Log Message:
  -----------
  [clang] Add lifetimebound attr to std::span/std::string_view constructor (#103716)

With this patch, clang now automatically adds
``[[clang::lifetimebound]]`` to the parameters of `std::span,
std::string_view` constructors, this enables Clang to capture more cases
where the returned reference outlives the object.


Fixes #100567


  Commit: 07514fa9b607fd80a72a80270d714e22d842fa39
      https://github.com/llvm/llvm-project/commit/07514fa9b607fd80a72a80270d714e22d842fa39
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    A clang/test/CodeGenCoroutines/coro-dwarf-O2.cpp
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    M llvm/lib/Transforms/Coroutines/CoroInternal.h
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/test/Transforms/Coroutines/coro-debug-O2.ll

  Log Message:
  -----------
  [Coroutines] Salvage the debug information for coroutine frames within optimizations

This patch tries to salvage the debug information for the coroutine
frames within optimizations by creating the help alloca varaibles with
optimizations too. We didn't do this when I implement it initially. I
roughtly remember the reason was, we feel the additional help alloca
variable may pessimize the performance, which is almost the most
important thing under optimizations. But now, it looks like the new
inserted help alloca variables can be optimized out by the following
optimizations. So it looks like the time to make it available within
optimizations.

And also, it looks like the following optimizations will convert the
generated dbg.declare instrinsic into dbg.value intrinsic within
optimizations.

In LLVM's test, there is a slightly regression
that a dbg.declare for the promise object failed to be remained after
this change. But it looks like we won't have a chance to see dbg.declare
for the promise object when we split the coroutine as that dbg.declare
will be converted into a dbg.value in early stage.

So everything looks fine.


  Commit: 82e314e3664d2c8768212e74f751187d51950b87
      https://github.com/llvm/llvm-project/commit/82e314e3664d2c8768212e74f751187d51950b87
  Author: Arseniy Zaostrovnykh <necto.ne at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
    M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
    M clang/lib/StaticAnalyzer/Core/CallEvent.cpp
    M clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp
    M clang/test/Analysis/block-in-critical-section-inheritance.cpp
    A clang/test/Analysis/block-in-critical-section-nested-namespace.cpp

  Log Message:
  -----------
  [analyzer] Fix false positive for mutexes inheriting mutex_base (#106240)

If a mutex interface is split in inheritance chain, e.g. struct mutex
has `unlock` and inherits `lock` from __mutex_base then calls m.lock()
and m.unlock() have different "this" targets: m and the __mutex_base of
m, which used to confuse the `ActiveCritSections` list.

Taking base region canonicalizes the region used to identify a critical
section and enables search in ActiveCritSections list regardless of
which class the callee is the member of.

This likely fixes #104241

CPP-5541


  Commit: 0bd513082540b2b00bfad1540812e3ea282e70ed
      https://github.com/llvm/llvm-project/commit/0bd513082540b2b00bfad1540812e3ea282e70ed
  Author: Tim Besard <tim.besard at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/lib/IR/Core.cpp
    M llvm/unittests/IR/FunctionTest.cpp
    M llvm/unittests/IR/ValueTest.cpp

  Log Message:
  -----------
  [LLVM][C API] Clearing initializer and personality by passing NULL (#105521)

This is similar to how the C++ API supports passing `nullptr` to
`setPersonalityFn` or `setInitializer`.


  Commit: dfde1a7232593fef01ef8c0e311a94188af5984d
      https://github.com/llvm/llvm-project/commit/dfde1a7232593fef01ef8c0e311a94188af5984d
  Author: Mel Chen <mel.chen at sifive.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/RISCV/inloop-reduction.ll

  Log Message:
  -----------
  [LV][NFC] Update and clean up the test case LoopVectorize/RISCV/inloop-reduction.ll. (#102907)


  Commit: fe182ddf1f3daf55a86bbabeff40dda109bbbe91
      https://github.com/llvm/llvm-project/commit/fe182ddf1f3daf55a86bbabeff40dda109bbbe91
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Analysis/LoopUnrollAnalyzer.cpp
    A llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-load-const.ll

  Log Message:
  -----------
  [LoopUnrollAnalyzer] Use constant folding API for loads

Use ConstantFoldLoadFromConst() instead of a partial re-implementation.
This makes the code slightly more generic by not depending on the
exact structure of the constant.


  Commit: 9cf052df90418697c05810f69c588064f7b3ce71
      https://github.com/llvm/llvm-project/commit/9cf052df90418697c05810f69c588064f7b3ce71
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/test/CXX/drs/cwg29xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang] Update C++ DR page (#106299)

[CWG2917](https://cplusplus.github.io/CWG/issues/2917.html) got a new
proposed resolution that is different from the one the test has been
written against.

[CWG2922](https://cplusplus.github.io/CWG/issues/2922.html) apparently
the initial "possible resolution" was approved without changes.


  Commit: 69437a392e8b0178dd0d393fddd86ecad9f6797d
      https://github.com/llvm/llvm-project/commit/69437a392e8b0178dd0d393fddd86ecad9f6797d
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuilder.h
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/CodeGen/2005-01-02-ConstantInits.c
    M clang/test/CodeGen/PowerPC/ppc-emmintrin.c
    M clang/test/CodeGen/PowerPC/ppc-xmmintrin.c
    M clang/test/CodeGen/attr-counted-by.c
    M clang/test/CodeGen/catch-nullptr-and-nonzero-offset-when-nullptr-is-defined.c
    M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
    M clang/test/CodeGen/catch-pointer-overflow-volatile.c
    M clang/test/CodeGen/catch-pointer-overflow.c
    M clang/test/CodeGen/ext-int.c
    M clang/test/CodeGen/hexagon-brev-ld-ptr-incdec.c
    M clang/test/CodeGen/integer-overflow.c
    M clang/test/CodeGen/ms-intrinsics.c
    M clang/test/CodeGen/ubsan-pointer-overflow.m
    M clang/test/CodeGen/vla.c
    M clang/test/CodeGenCXX/attr-likelihood-iteration-stmt.cpp
    M clang/test/CodeGenCXX/for-range.cpp
    M clang/test/CodeGenCXX/pr45964-decomp-transform.cpp
    M clang/test/CodeGenCXX/vla.cpp
    M clang/test/CodeGenHLSL/buffer-array-operator.hlsl
    M clang/test/CodeGenSYCL/address-space-deduction.cpp
    M clang/test/Headers/__clang_hip_math.hip
    M clang/test/OpenMP/bug60602.cpp
    M clang/test/OpenMP/declare_mapper_codegen.cpp
    M clang/test/OpenMP/distribute_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_reduction_task_codegen.cpp
    M clang/test/OpenMP/distribute_simd_codegen.cpp
    M clang/test/OpenMP/for_linear_codegen.cpp
    M clang/test/OpenMP/for_reduction_codegen.cpp
    M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
    M clang/test/OpenMP/for_reduction_task_codegen.cpp
    M clang/test/OpenMP/for_scan_codegen.cpp
    M clang/test/OpenMP/for_simd_scan_codegen.cpp
    M clang/test/OpenMP/irbuilder_for_iterator.cpp
    M clang/test/OpenMP/irbuilder_for_rangefor.cpp
    M clang/test/OpenMP/irbuilder_for_unsigned.c
    M clang/test/OpenMP/irbuilder_for_unsigned_auto.c
    M clang/test/OpenMP/irbuilder_for_unsigned_down.c
    M clang/test/OpenMP/irbuilder_for_unsigned_dynamic.c
    M clang/test/OpenMP/irbuilder_for_unsigned_dynamic_chunked.c
    M clang/test/OpenMP/irbuilder_for_unsigned_runtime.c
    M clang/test/OpenMP/irbuilder_for_unsigned_static_chunked.c
    M clang/test/OpenMP/map_struct_ordering.cpp
    M clang/test/OpenMP/master_taskloop_in_reduction_codegen.cpp
    M clang/test/OpenMP/master_taskloop_reduction_codegen.cpp
    M clang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
    M clang/test/OpenMP/master_taskloop_simd_reduction_codegen.cpp
    M clang/test/OpenMP/ordered_codegen.cpp
    M clang/test/OpenMP/parallel_for_codegen.cpp
    M clang/test/OpenMP/parallel_for_linear_codegen.cpp
    M clang/test/OpenMP/parallel_for_reduction_task_codegen.cpp
    M clang/test/OpenMP/parallel_for_scan_codegen.cpp
    M clang/test/OpenMP/parallel_for_simd_scan_codegen.cpp
    M clang/test/OpenMP/parallel_master_reduction_task_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_reduction_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_simd_reduction_codegen.cpp
    M clang/test/OpenMP/parallel_reduction_codegen.cpp
    M clang/test/OpenMP/parallel_reduction_task_codegen.cpp
    M clang/test/OpenMP/parallel_sections_reduction_task_codegen.cpp
    M clang/test/OpenMP/reduction_implicit_map.cpp
    M clang/test/OpenMP/sections_reduction_task_codegen.cpp
    M clang/test/OpenMP/target_data_use_device_addr_codegen.cpp
    M clang/test/OpenMP/target_data_use_device_ptr_codegen.cpp
    M clang/test/OpenMP/target_has_device_addr_codegen.cpp
    M clang/test/OpenMP/target_in_reduction_codegen.cpp
    M clang/test/OpenMP/target_is_device_ptr_codegen.cpp
    M clang/test/OpenMP/target_map_both_pointer_pointee_codegen.cpp
    M clang/test/OpenMP/target_map_codegen_01.cpp
    M clang/test/OpenMP/target_map_codegen_21.cpp
    M clang/test/OpenMP/target_map_codegen_27.cpp
    M clang/test/OpenMP/target_map_codegen_28.cpp
    M clang/test/OpenMP/target_map_codegen_29.cpp
    M clang/test/OpenMP/target_map_deref_array_codegen.cpp
    M clang/test/OpenMP/target_map_member_expr_array_section_codegen.cpp
    M clang/test/OpenMP/target_map_member_expr_codegen.cpp
    M clang/test/OpenMP/target_map_nest_defalut_mapper_codegen.cpp
    M clang/test/OpenMP/target_parallel_for_reduction_task_codegen.cpp
    M clang/test/OpenMP/target_parallel_reduction_task_codegen.cpp
    M clang/test/OpenMP/target_task_affinity_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_reduction_task_codegen.cpp
    M clang/test/OpenMP/target_update_codegen.cpp
    M clang/test/OpenMP/task_codegen.c
    M clang/test/OpenMP/task_codegen.cpp
    M clang/test/OpenMP/task_in_reduction_codegen.cpp
    M clang/test/OpenMP/taskgroup_task_reduction_codegen.cpp
    M clang/test/OpenMP/taskloop_in_reduction_codegen.cpp
    M clang/test/OpenMP/taskloop_reduction_codegen.cpp
    M clang/test/OpenMP/taskloop_simd_in_reduction_codegen.cpp
    M clang/test/OpenMP/taskloop_simd_reduction_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_reduction_task_codegen.cpp

  Log Message:
  -----------
  Revert "[clang] Add nuw attribute to GEPs" (#106343)

Reverts llvm/llvm-project#105496

This patch breaks:
https://lab.llvm.org/buildbot/#/builders/25/builds/1952
https://lab.llvm.org/buildbot/#/builders/52/builds/1775

Somehow output is different with sanitizers.
Maybe non-determinism in the code?


  Commit: 69c43468d3f21df6232fda0530f03f18b0f40345
      https://github.com/llvm/llvm-project/commit/69c43468d3f21df6232fda0530f03f18b0f40345
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Analysis/LoopUnrollAnalyzer.cpp
    M llvm/unittests/Analysis/UnrollAnalyzerTest.cpp

  Log Message:
  -----------
  [LoopUnrollAnalyzer] Don't simplify signed pointer comparison

We're generally not able to simplify signed pointer comparisons
(because we don't have no-wrap flags that would permit it), so
we shouldn't pretend that we can in the cost model.

The unsigned comparison case is also not modelled correctly,
as explained in the added comment. As this is a cost model
inaccuracy at worst, I'm leaving it alone for now.


  Commit: 7660981402bccaad0e351a65913ebd37436e4816
      https://github.com/llvm/llvm-project/commit/7660981402bccaad0e351a65913ebd37436e4816
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [LSR] Use computeConstantDifference()

This API is faster than getMinusSCEV() and a SCEVConstant cast.


  Commit: 760b172de69940ea0ea81484d042da0ded91e6e2
      https://github.com/llvm/llvm-project/commit/760b172de69940ea0ea81484d042da0ded91e6e2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/fp16-libcalls.ll

  Log Message:
  -----------
  [X86] Add additional test coverage for half libcall expansion/promotion

Just need to add powi test with #105775


  Commit: 2f0661c211a8247c04a99dc8b4de217665204287
      https://github.com/llvm/llvm-project/commit/2f0661c211a8247c04a99dc8b4de217665204287
  Author: Robin Caloudis <robin.caloudis at gmx.de>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M libcxx/include/__math/traits.h

  Log Message:
  -----------
  [libc++][math] Remove constrained overloads of `std::{isnan, isinf, isfinite}` (#106224)

## Why
Since https://github.com/llvm/llvm-project/pull/98841 and
https://github.com/llvm/llvm-project/pull/98952, the constrained
overloads are unused and not needed anymore as we added explicit
overloads for all floating point types. I forgot to remove them in the
mentioned PRs.

## What
Remove them.


  Commit: 53d1c21b526b9c5e2c5baa7339a1e3ff76617c1a
      https://github.com/llvm/llvm-project/commit/53d1c21b526b9c5e2c5baa7339a1e3ff76617c1a
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    M llvm/test/CodeGen/AArch64/sve-bitcast.ll
    M llvm/test/CodeGen/AArch64/sve-extract-fixed-from-scalable-vector.ll
    M llvm/test/CodeGen/AArch64/sve-insert-scalable-vector.ll

  Log Message:
  -----------
  [LLVM][SVE] Improve code generation for vector.insert into posion. (#105665)


  Commit: 15405b32b1cdbefab9ce1b1f301a51ae25404037
      https://github.com/llvm/llvm-project/commit/15405b32b1cdbefab9ce1b1f301a51ae25404037
  Author: Reagan <xbjfk.github at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/docs/UsersManual.rst

  Log Message:
  -----------
  [Clang] [Docs] Document runtime config directory options (#66593)

In the clang user manual the build options `CLANG_CONFIG_FILE_USER_DIR`
and `CLANG_CONFIG_FILE_SYSTEM_DIR` are documented, but the run time
overrides `--config-user-dir` and `--config-system-dir` are not.

I have updated the manual to add these run time arguments.


  Commit: c9a5e1b665dbba898e9981fd7d48881947e6560e
      https://github.com/llvm/llvm-project/commit/c9a5e1b665dbba898e9981fd7d48881947e6560e
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    A llvm/test/Transforms/IndVarSimplify/pr106239.ll

  Log Message:
  -----------
  [IndVars] Check if WideInc available before trying to use it

WideInc/WideIncExpr can be null. Previously this worked out
because the comparison with WideIncExpr would fail. Now we have
accesses to WideInc prior to that. Avoid the issue with an
explicit check.

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


  Commit: 94ed47f2e98ca62155a56a486e81215ce38da45d
      https://github.com/llvm/llvm-project/commit/94ed47f2e98ca62155a56a486e81215ce38da45d
  Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/utils/indirect_calls.py
    M llvm/utils/lit/lit/TestRunner.py
    M llvm/utils/lit/lit/util.py
    M llvm/utils/schedcover.py
    M llvm/utils/shuffle_select_fuzz_tester.py

  Log Message:
  -----------
  fix(llvm/**.py): fix comparison to None (#94018)

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

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

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


  Commit: f7a74ece5ad5553f9d06ce6edd3519483732ed04
      https://github.com/llvm/llvm-project/commit/f7a74ece5ad5553f9d06ce6edd3519483732ed04
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.h
    M clang/test/AST/ByteCode/arrays.cpp

  Log Message:
  -----------
  [clang][bytecode] Diagnose array-to-pointer decays of dummy pointers (#106366)

We have type information for them now, so we can do this.


  Commit: 77d63cfd18aa6643544cf7acd5ee287689d54cca
      https://github.com/llvm/llvm-project/commit/77d63cfd18aa6643544cf7acd5ee287689d54cca
  Author: Krasimir Georgiev <krasimir at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [clang-format] js handle anonymous classes (#106242)

Addresses a regression in JavaScript when formatting anonymous classes.

---------

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


  Commit: 95d2d1cba0e1428718bbdce0504292f62b212920
      https://github.com/llvm/llvm-project/commit/95d2d1cba0e1428718bbdce0504292f62b212920
  Author: Maciej Gabka <maciej.gabka at arm.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/IRBuilder.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/test/Analysis/CostModel/AArch64/neon-stepvector.ll
    M llvm/test/Analysis/CostModel/AArch64/sve-stepvector.ll
    M llvm/test/Analysis/CostModel/RISCV/stepvector.ll
    A llvm/test/Bitcode/upgrade-stepvector-intrinsic.ll
    M llvm/test/CodeGen/AArch64/neon-stepvector.ll
    M llvm/test/CodeGen/AArch64/sve-gather-scatter-addr-opts.ll
    M llvm/test/CodeGen/AArch64/sve-stepvector.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector.ll
    M llvm/test/CodeGen/RISCV/rvv/mscatter-combine.ll
    M llvm/test/CodeGen/RISCV/rvv/pr95865.ll
    M llvm/test/CodeGen/RISCV/rvv/stepvector.ll
    M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll
    M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.ll
    M llvm/test/CodeGen/RISCV/vscale-demanded-bits.ll
    M llvm/test/Transforms/InstCombine/vscale_extractelement.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/divs-with-scalable-vfs.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/outer_loop_prefer_scalable.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/pr60831-sve-inv-store-crash.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-avoid-scalarization.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-inductions-unusual-types.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-inductions.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-masked-accesses.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-gep.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/tail-folding-styles.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/blocks-with-dead-instructions.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/dead-ops-cost.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/mask-index-type.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/masked_gather_scatter.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/pr87378-vpinstruction-or-drop-poison-generating-flags.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/uniform-load-store.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-cond-reduction.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-interleave.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-masked-loadstore.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-reverse-load-store.ll
    M llvm/test/Transforms/LoopVectorize/outer_loop_scalable.ll
    M llvm/test/Transforms/LoopVectorize/scalable-inductions.ll
    M llvm/test/Transforms/MemCpyOpt/vscale-crashes.ll
    M llvm/test/Verifier/stepvector-intrinsic.ll
    M llvm/unittests/IR/IRBuilderTest.cpp
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/test/Conversion/VectorToLLVM/vector-mask-to-llvm.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Conversion/VectorToSCF/vector-to-scf.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f64.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-deinterleave.mlir
    M mlir/test/Target/LLVMIR/llvmir-invalid.mlir

  Log Message:
  -----------
  Move stepvector intrinsic out of experimental namespace (#98043)

This patch is moving out stepvector intrinsic from the experimental
namespace.

This intrinsic exists in LLVM for several years now, and is widely used.


  Commit: 8fd9ec58173e7af394662ca7036fea667be8c843
      https://github.com/llvm/llvm-project/commit/8fd9ec58173e7af394662ca7036fea667be8c843
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [libc] Fix incorrect check for NVPTX backend


  Commit: 439d7de14d71216c269ecda47baed067ab03795a
      https://github.com/llvm/llvm-project/commit/439d7de14d71216c269ecda47baed067ab03795a
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M libc/config/gpu/entrypoints.txt
    M libc/test/src/stdio/CMakeLists.txt

  Log Message:
  -----------
  [libc] Disable failing scanf test on AMDGPU temporarily

Summary:
This test currently fails in the `amdgpu-attributor` pass. I haven't
figured out anything beyond that yet as it's difficult to reduce.


  Commit: f4e7e5da0ce77e078586ab5da08f76191bfc9a26
      https://github.com/llvm/llvm-project/commit/f4e7e5da0ce77e078586ab5da08f76191bfc9a26
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/utils/release/test-release.sh

  Log Message:
  -----------
  [test-release.sh] Fix python 3.12 compatibility (#105993)


  Commit: 71ede8d83159e70e74848a03bfc7c007dbf61203
      https://github.com/llvm/llvm-project/commit/71ede8d83159e70e74848a03bfc7c007dbf61203
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/CMakeLists.txt
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    A llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
    A llvm/lib/Transforms/Vectorize/VPlanUtils.h

  Log Message:
  -----------
  VPlan: factor out VPlanUtils into its own file (NFC) (#105857)


  Commit: 026210e80d136099431c25be685020f9748e277f
      https://github.com/llvm/llvm-project/commit/026210e80d136099431c25be685020f9748e277f
  Author: A. Jiang <de34 at live.cn>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/ReleaseNotes/20.rst
    M libcxx/docs/Status/Cxx23.rst
    M libcxx/docs/Status/Cxx23Papers.csv
    M libcxx/include/__iterator/concepts.h
    M libcxx/include/__iterator/projected.h
    M libcxx/include/version
    A libcxx/test/std/iterators/iterator.requirements/indirectcallable.traits/indirect.value.t.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/ranges.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++][ranges] P2609R3: Relaxing Ranges Just A Smidge (#101715)

This patch implements https://wg21.link/p2609r3.
The test code was originally authored by JMazurkiewicz.

Notes:
- P2609R3 is not officially a Defect Report, but MSVC STL
  implements it in C++20 mode.

  Moreover, P2609R3 and P2997R1 touch exactly the same set of
  concepts, and MSVC STL and libc++ have already treated P2997R1
  as a DR.

- This patch also adjusted feature-test macros.
  + In C++20 mode, the value of __cpp_lib_ranges should be `202110L` because
    - `202202L` covers `range_adaptor_closure` (P2387R3), and
    - `202207L` covers move-only types in range adaptors (P2494R2).
  And all of these changes are only available since C++23 mode.

  + In C++23 mode, the value should be `202406L` because
    - `202211L` covers removing poison overloads (P2602R2),
    - `202302L` covers relaxing projected value types (P2609R3), and
    - `202406L` covers removing requirements on `iter_common_reference_t` (P2997R1).
  And all of these changes are already or being implemented.

Fixes #105253.

Co-authored-by: Jakub Mazurkiewicz <mazkuba3 at gmail.com>


  Commit: 96e1320a9aa8fd010b02fc6751da801c48725a02
      https://github.com/llvm/llvm-project/commit/96e1320a9aa8fd010b02fc6751da801c48725a02
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
    M llvm/lib/Transforms/Vectorize/VPlanDominatorTree.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  [VPlan] Move properlyDominates to VPDominatorTree (NFCI).

This allows for easier re-use in additional places in the future. Also
move code to VPlanAnalysis.cpp


  Commit: ec9f36a624fa9f8fea6e40384ce513b6da8c08e4
      https://github.com/llvm/llvm-project/commit/ec9f36a624fa9f8fea6e40384ce513b6da8c08e4
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M .github/workflows/libcxx-build-and-test.yaml

  Log Message:
  -----------
  [libc++] Switch to the current XCode beta on macOS builders (#106363)

This unblocks a ton of work including #76756 as it updates to a newer
version of AppleClang.


  Commit: a5b60684468ceb7d6e45e24ce94f3a49c6606b6f
      https://github.com/llvm/llvm-project/commit/a5b60684468ceb7d6e45e24ce94f3a49c6606b6f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [ValueLattice] Move intersect from LVI into ValueLattice API (NFC)

So we can reuse the logic inside IPSCCP.


  Commit: f5815534d180c544bffd46f09c28b6fc334260fb
      https://github.com/llvm/llvm-project/commit/f5815534d180c544bffd46f09c28b6fc334260fb
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp

  Log Message:
  -----------
  [RemoveDIs] Simplify spliceDebugInfo, fixing splice-to-end edge case (#105670)

Not quite NFC, fixes splitBasicBlockBefore case when we split before an
instruction with debug records (but without the headBit set, i.e., we are
splitting before the instruction but after the debug records that come before
it). splitBasicBlockBefore splices the instructions before the split point into
a new block. Prior to this patch, the debug records would get shifted up to the
front of the spliced instructions (as seen in the modified unittest - I believe
the unittest was checking erroneous behaviour). We instead want to leave those
debug records at the end of the spliced instructions.

The functionality of the deleted `else if` branch is covered by the remaining
`if` now that `DestMarker` is set to the trailing marker if `Dest` is `end()`.
Previously the "===" markers were sometimes detached, now we always detach
them and always reattach them.

Note: `deleteTrailingDbgRecords` only "unlinks" the tailing marker from the
block, it doesn't delete anything. The trailing marker is still cleaned up
properly inside the final `if` body with `DestMarker->eraseFromParent();`.

Part 1 of 2 needed for #105571


  Commit: 0e8208eca1c316b7302de7803ab0d85a1dd77076
      https://github.com/llvm/llvm-project/commit/0e8208eca1c316b7302de7803ab0d85a1dd77076
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/cmake/caches/Apple.cmake
    M libcxx/modules/CMakeLists.txt
    M libcxx/src/CMakeLists.txt
    M libcxx/test/CMakeLists.txt
    M libcxx/test/configs/cmake-bridge.cfg.in
    R libcxx/test/configs/llvm-libc++-mingw.cfg.in
    M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
    A libcxx/test/configs/llvm-libc++-shared-mingw.cfg.in
    M libcxx/test/configs/llvm-libc++-shared-no-vcruntime-clangcl.cfg.in
    A libcxx/test/configs/llvm-libc++-static-mingw.cfg.in
    M libcxx/test/libcxx/vendor/apple/system-install-properties.sh.cpp
    M libcxx/utils/ci/apple-install-libcxx.sh
    M libcxx/utils/ci/run-buildbot

  Log Message:
  -----------
  [libc++] Run the Lit test suite against an installed version of the library (#96910)

We always strive to test libc++ as close as possible to the way we are
actually shipping it. This was approximated reasonably well by setting
up the minimal driver flags when running the test suite, however we were
running the test suite against the library located in the build
directory.

This patch improves the situation by installing the library (the
headers, the built library, modules, etc) into a fake location and then
running the test suite against that fake "installation root".

This should open the door to getting rid of the temporary copy of the
headers we make during the build process, however this is left for a
future improvement.

Note that this adds quite a bit of verbosity whenever running the test
suite because we install the headers beforehand every time. We should be
able to override this to silence it, however CMake doesn't currently
give us a way to do that, see https://gitlab.kitware.com/cmake/cmake/-/issues/26085.


  Commit: 7808541fdea41b97dda6e5d6bf7831fabe5d5433
      https://github.com/llvm/llvm-project/commit/7808541fdea41b97dda6e5d6bf7831fabe5d5433
  Author: A. Jiang <de34 at live.cn>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/ReleaseNotes/20.rst
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/include/__config
    M libcxx/include/new
    M libcxx/include/version
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/new.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    M libcxx/test/support/test_macros.h
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++] P2747R2: `constexpr` placement new (library part) (#105768)

This patch implements https://wg21.link/P2747R2.

The library changes affect direct `operator new` and `operator new[]`
calls even when the core language changes are absent.

The changes are not available for MS ABI because the `operator new` and
`operator new[]` are from VCRuntime's `<vcruntime_new.h>`. A feature
request was submitted for that [1].

As a drive-by change, the patch reformatted the whole `new.pass.cpp` and
`new_array.pass.cpp` tests.

Closes #105427

[1]: https://developercommunity.visualstudio.com/t/constexpr-for-placement-operator-newope/10730304.


  Commit: 74d196067d438b06c72ed1e49ddbd49d51297e35
      https://github.com/llvm/llvm-project/commit/74d196067d438b06c72ed1e49ddbd49d51297e35
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M mlir/test/Dialect/Tensor/invalid.mlir

  Log Message:
  -----------
  [mlir][tensor] Add a test for invalid tensor.pack (#106246)

Adds a missing test for when the rank of the output tensor doesn't match
the input tensor rank + number of blocking factors.


  Commit: 8b198ee3a0b754a48adbd6df303c07a5c88813c4
      https://github.com/llvm/llvm-project/commit/8b198ee3a0b754a48adbd6df303c07a5c88813c4
  Author: Kelvin Li <kkwli at users.noreply.github.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M flang/runtime/time-intrinsic.cpp

  Log Message:
  -----------
  [flang] Update the date_and_time intrinsic for AIX (#104849)

Currently, strftime is called to get the timezone for the ZONE argument.
On AIX, this routine requires an environment variable set in order to 
return the required format. This patch is to add the time difference 
computation from UTC for the platform.


  Commit: fc39cc15de537d64ee84f3733b883d95c4d57eb2
      https://github.com/llvm/llvm-project/commit/fc39cc15de537d64ee84f3733b883d95c4d57eb2
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/www/cxx_dr_status.html
    M clang/www/make_cxx_dr_status

  Log Message:
  -----------
  [clang] Minor updates to C++ DR page design (#106360)

This patch updates `make_cxx_dr_status` script to use the same
spoiler-like way to hide additional details that `cxx_status.html` uses.
This gives implemented yet unresolved DRs new but very familiar look:

![s9EpO0E](https://github.com/user-attachments/assets/54852d7b-5fdd-4595-8dca-20628797f952)

I also took an opportunity to fix spelling inconsistency pointed out by
@zygoloid in
https://github.com/llvm/llvm-project/pull/106299#discussion_r1733592539.

I got tired of counting `%s`s when we substitute data into HTML
template, so I replaced them with an f-string (available since Python
3.6), because I had to touch this code anyway.


  Commit: b8c0e8ad10a8b585b47662003042054bcdc29e76
      https://github.com/llvm/llvm-project/commit/b8c0e8ad10a8b585b47662003042054bcdc29e76
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/test/Transforms/SCCP/pointer-nonnull.ll
    M llvm/test/Transforms/SCCP/range-attribute.ll

  Log Message:
  -----------
  [IPSCCP] Add extra tests for interprocedural arg attr handling (NFC)


  Commit: b2f1d069863e764a0d8220c092c3bb9159cc2f30
      https://github.com/llvm/llvm-project/commit/b2f1d069863e764a0d8220c092c3bb9159cc2f30
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/AMDGPU/Utils/Chipset.h
    M mlir/lib/Dialect/AMDGPU/Utils/Chipset.cpp
    A mlir/unittests/Dialect/AMDGPU/AMDGPUUtilsTest.cpp
    A mlir/unittests/Dialect/AMDGPU/CMakeLists.txt
    M mlir/unittests/Dialect/CMakeLists.txt
    M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel

  Log Message:
  -----------
  [mlir][amdgpu] Improve Chipset version utility (#106169)

* Fix an OOB access
* Add comparison operators
* Add documentation
* Add unit tests


  Commit: 8a50e35af0abf668c77cdbaa438ed8441d67efbd
      https://github.com/llvm/llvm-project/commit/8a50e35af0abf668c77cdbaa438ed8441d67efbd
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

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


  Commit: 51a095121e11c757f05492e345f84f4b3b84188b
      https://github.com/llvm/llvm-project/commit/51a095121e11c757f05492e345f84f4b3b84188b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pshufb-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pshufb.ll

  Log Message:
  -----------
  [InstCombine][X86] Only demand used bits for PSHUFB mask values (#106377)

(V)PSHUFB only uses the sign bit (for zeroing) and the lower 4 bits (to index per-lane byte 0-15) - so use SimplifyDemandedBits to ignore anything touching the remaining bits.

Fixes #106256


  Commit: 158ba731c9ecaf39f1790728a589797599c38af8
      https://github.com/llvm/llvm-project/commit/158ba731c9ecaf39f1790728a589797599c38af8
  Author: Danial Klimkin <dklimkin at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/tools/clang-format/clang-format-test.el

  Log Message:
  -----------
  Fix clang-format-test.el past 625841c (#106398)


  Commit: cc0f2d540be808f999037f873ecd968eeec28c09
      https://github.com/llvm/llvm-project/commit/cc0f2d540be808f999037f873ecd968eeec28c09
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/docs/Status/Cxx23Issues.csv

  Log Message:
  -----------
  [libc++] Mark a few papers as done or "Nothing To Do"

Please refer to the Github issues for details on why those are marked
as resolved. Huge thanks to @frederick-vs-ja for the analysis.

Closes #104336
Closes #100042
Closes #100615


  Commit: 140381d4bf25c1fda03028728f135fe9d886ab13
      https://github.com/llvm/llvm-project/commit/140381d4bf25c1fda03028728f135fe9d886ab13
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [MachineOutliner][NFC] Remove unnecessary RepeatedSequenceLocs.clear() (#106171)

- When `getOutliningCandidateInfo()` returns `std::nullopt` (meaning no
`OutlinedFunction` is created), there is no need to clear the input
argument, `RepeatedSequenceLocs`, as it's already being cleared in the
main loop of `findCandidates()`.
- Replaced `2` by `MinRepeats`, which I missed from
https://github.com/llvm/llvm-project/pull/105398


  Commit: fee48365b44d161575314c67328fa21104c4537d
      https://github.com/llvm/llvm-project/commit/fee48365b44d161575314c67328fa21104c4537d
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M compiler-rt/lib/rtsan/rtsan.cpp
    M compiler-rt/lib/rtsan/rtsan.h
    M compiler-rt/lib/rtsan/rtsan_interceptors.cpp

  Log Message:
  -----------
  [compiler-rt][rtsan] NFC: Introduce __rtsan_expect_not_realtime helper (#106314)

We are extracting this function into the C API so we can eventually
install it when a user marks a function [[clang::blocking]].


  Commit: a3cd8d76deeea89a56875f2e2aced8afba13f441
      https://github.com/llvm/llvm-project/commit/a3cd8d76deeea89a56875f2e2aced8afba13f441
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py

  Log Message:
  -----------
  [lldb][lldb-dap][test] Enable variable tests on Windows

At least for our Windows on Arm machine compiling with clang-cl,
it has inverted which variables get a `::` prefix.

Would not surprise me if msvc does the opposite so feel free to
revert if these tests fail for you.


  Commit: 16910a21ee0fabab2df291e4e5bc18289bd5762d
      https://github.com/llvm/llvm-project/commit/16910a21ee0fabab2df291e4e5bc18289bd5762d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [VPlan] Move logic to create interleave groups to VPlanTransforms (NFC).

This is a step towards further breaking up the rather large
tryToBuildVPlanWithVPRecipes. It moves logic create interleave groups to
VPlanTransforms.cpp, where similar replacements for other recipes are
defined as well (e.g. EVL-based ones)


  Commit: 89bbcbe285eee1287a9ea21b92e4b3d307464d44
      https://github.com/llvm/llvm-project/commit/89bbcbe285eee1287a9ea21b92e4b3d307464d44
  Author: RolandF77 <55763885+RolandF77 at users.noreply.github.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    A llvm/test/CodeGen/PowerPC/custom-stov.ll

  Log Message:
  -----------
  [PowerPC] fix legalization crash (#105563)

If v2i64 scalar_to_vector is made custom, llc can crash in certain
legalization cases where v2i64 vectors are injected, even if they
weren't otherwise present. The code generated would be fine, but that
operation is not handled in ReplaceNodeResults. Add handling.


  Commit: 114ff99e93edd699fd94cf2a84de75e8845fc76b
      https://github.com/llvm/llvm-project/commit/114ff99e93edd699fd94cf2a84de75e8845fc76b
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M flang/include/flang/Tools/TargetSetup.h
    M flang/module/ieee_arithmetic.f90
    M flang/test/CMakeLists.txt
    M flang/test/Evaluate/fold-out_of_range.f90
    M flang/test/Evaluate/folding07.f90
    M flang/test/Lower/Intrinsics/ieee_class_queries.f90
    M flang/test/Lower/Intrinsics/ieee_unordered.f90
    M flang/test/Lower/common-block.f90
    M flang/test/Semantics/kinds03.f90
    M flang/test/Semantics/modfile26.f90
    M flang/test/Semantics/realkinds-aarch64-01.f90
    M flang/test/lit.cfg.py
    M flang/test/lit.site.cfg.py.in
    M flang/tools/f18/CMakeLists.txt

  Log Message:
  -----------
  [flang] Warn when F128 is unsupported (#102147)

This generates `warning: REAL(KIND=16) is not an enabled type for this
target` if that type is used in a build not correctly configured to
support this type. Uses of `selected_real_kind(30)` return -1.


  Commit: 37d0841547e8f2bc06104541a97bbfd4282abc23
      https://github.com/llvm/llvm-project/commit/37d0841547e8f2bc06104541a97bbfd4282abc23
  Author: goldsteinn <35538541+goldsteinn at users.noreply.github.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [Support] Fix unused parameter warning in `reserveExtraSpace`; NFC (#106327)


  Commit: ecd9e0bc901766fc22403cdf70ab2054a174b3ac
      https://github.com/llvm/llvm-project/commit/ecd9e0bc901766fc22403cdf70ab2054a174b3ac
  Author: v01dXYZ <14996868+v01dXYZ at users.noreply.github.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [X86][LegalizeDAG] FPOWI: promote f16 operand (#105775)

Fixes #105747

---------

Co-authored-by: v01dxyz <v01dxyz at v01d.xyz>


  Commit: 82113a432c5bffe026682ea117a3e2cd67a2fed0
      https://github.com/llvm/llvm-project/commit/82113a432c5bffe026682ea117a3e2cd67a2fed0
  Author: Billy Zhu <billyzhu at modular.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/test/CodeGen/NVPTX/bf16-instructions.ll

  Log Message:
  -----------
  [LLVM][NVPTX] Remove nonexistent ftz ops (#106100)

According to the PTX
[spec](https://docs.nvidia.com/cuda/parallel-thread-execution/#half-precision-floating-point-instructions-max),
max & min instructions do not support the `ftz` modifier for `bf16` &
`bf16x2` types. This PR removes them from instr info, and the non-ftz
legal versions will be emitted instead.


  Commit: 73e0aa58666f235bef091735a5f189882acc1148
      https://github.com/llvm/llvm-project/commit/73e0aa58666f235bef091735a5f189882acc1148
  Author: Jessica Clarke <jrtc27 at jrtc27.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/test/CodeGen/ifunc.c

  Log Message:
  -----------
  [CodeGen] Create IFUNCs in the program address space, not hard-coded 0 (#105726)

Commit 0d527e56a5ee ("GlobalIFunc: Make ifunc respect function address
spaces") added support for this within LLVM, but Clang does not properly
honour the target's address spaces when creating IFUNCs, crashing with
RAUW and verifier assertion failures when compiling C code on a target
with a non-zero program address space, so fix this.


  Commit: 829c47f4e0e63dd2a0f181b8f0c21817e1b25ccf
      https://github.com/llvm/llvm-project/commit/829c47f4e0e63dd2a0f181b8f0c21817e1b25ccf
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [InterleavedAccess] Use SmallVectorImpl references. NFC

Instead of repeating SmallVector size in multiple places.


  Commit: af3ee626a396aa9ac9480131f48f6ebe2f6664c1
      https://github.com/llvm/llvm-project/commit/af3ee626a396aa9ac9480131f48f6ebe2f6664c1
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
    M lldb/test/API/tools/lldb-dap/attach/main.c

  Log Message:
  -----------
  [lldb][lldb-dap][test] Enable more attach tests on Windows

By adding the equivalent includes.


  Commit: be7014e95af5868a6ac5c700ad02bf819159a62d
      https://github.com/llvm/llvm-project/commit/be7014e95af5868a6ac5c700ad02bf819159a62d
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    A llvm/test/Transforms/SLPVectorizer/RISCV/reduction-whole-regs-loads.ll

  Log Message:
  -----------
  [SLP][NFC]Add a test with non-power-of-2 (but still whole vector) operands.


  Commit: 40db261551e38c9f9f6b6988a8b756504d16dd58
      https://github.com/llvm/llvm-project/commit/40db261551e38c9f9f6b6988a8b756504d16dd58
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.h
    M clang/test/AST/ByteCode/complex.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix #55390 here as well (#106395)

Ignore the multiplication overflow but report the 0 denominator.


  Commit: b40677ccf871c5e514aa824d187350f9279c6c1c
      https://github.com/llvm/llvm-project/commit/b40677ccf871c5e514aa824d187350f9279c6c1c
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [SandboxIR] Add InsertValueInst (#106273)


  Commit: 1bde8e0b80860743fcd55da28f0ba9acb7a26a9c
      https://github.com/llvm/llvm-project/commit/1bde8e0b80860743fcd55da28f0ba9acb7a26a9c
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
    A llvm/test/CodeGen/AMDGPU/lds-no-realign-allocated-variables.ll

  Log Message:
  -----------
  [AMDGPU] Don't realign already allocated LDS. Point fix for 106412 (#106421)

Fixes 106412. The logic that skips the pass on already-lowered variables
doesn't cover the path that increases alignment of variables. If a
variable is allocated at 24 and then given 16 byte alignment, the
backend notices and fatal-errors on the inconsistency.


  Commit: 4f15039cf2d59dbb889903aff8ac32ff266c8c48
      https://github.com/llvm/llvm-project/commit/4f15039cf2d59dbb889903aff8ac32ff266c8c48
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp

  Log Message:
  -----------
  [LTO] Introduce new type alias ImportListsTy (NFC) (#106420)

The background is as follows.  I'm planning to reduce the memory
footprint of ThinLTO indexing by changing ImportMapTy, the data
structure used for an import list.  Once this patch lands, I'm
planning to change the type slightly.  The new type alias allows us to
update the type without touching many places.


  Commit: c2cac69d0806034879d2b958a2e52e45b6c533fb
      https://github.com/llvm/llvm-project/commit/c2cac69d0806034879d2b958a2e52e45b6c533fb
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M libcxx/docs/Helpers/Styles.rst
    M libcxx/docs/Status/Cxx17.rst
    M libcxx/docs/Status/Cxx17Issues.csv
    M libcxx/docs/Status/Cxx17Papers.csv
    M libcxx/docs/Status/Cxx20.rst
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/docs/Status/Cxx23.rst
    M libcxx/docs/Status/Cxx23Issues.csv
    M libcxx/docs/Status/Cxx23Papers.csv
    M libcxx/docs/Status/Cxx2c.rst
    M libcxx/docs/Status/Cxx2cIssues.csv
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/utils/synchronize_csv_status_files.py

  Log Message:
  -----------
  [libc++] Replace 'tags' in CSV status pages by inline notes (#105581)

This patch replaces 'tags' in the CSV status pages by inline notes
that optionally describe more details about the paper/LWG issue.

Tags were not really useful anymore because we have a vastly superior
tagging system via Github issues, and keeping the tags up-to-date
between CSV files and Github is going to be really challenging.

This patch also adds support for encoding custom notes in the CSV
files via Github issues. To encode a note in the CSV file, the
body (initial description) of a Github issue can be edited to contain
the following markers:

    BEGIN-RST-NOTES
    text that will be added as a note in the RST
    END-RST-NOTES

Amongst other things, this solves the problem of conveying that a
paper has been implemented as a DR, and it gives a unified way to
add notes to the status pages from Github.


  Commit: ef403f9a64f33ae3b1ad51bf67476391d18ff390
      https://github.com/llvm/llvm-project/commit/ef403f9a64f33ae3b1ad51bf67476391d18ff390
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/docs/CommandGuide/index.rst
    A llvm/docs/CommandGuide/llvm-cgdata.rst

  Log Message:
  -----------
  [CGData] Document for llvm-cgdata (#106320)

This is a follow-up for
https://github.com/llvm/llvm-project/pull/101461.

This is a patch for
https://discourse.llvm.org/t/rfc-enhanced-machine-outliner-part-2-thinlto-nolto/78753.


  Commit: a4989cd603b8e8185e35e3c2b7b48b422d4898be
      https://github.com/llvm/llvm-project/commit/a4989cd603b8e8185e35e3c2b7b48b422d4898be
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineConvergenceVerifier.cpp
    M llvm/lib/CodeGen/MachineInstr.cpp
    M llvm/lib/CodeGen/RegAllocFast.cpp

  Log Message:
  -----------
  [CodeGen] Use MachineInstr::{all_uses,all_defs} (NFC) (#106404)


  Commit: 4b84288f00f3e112045bbc4be4f1539147574ead
      https://github.com/llvm/llvm-project/commit/4b84288f00f3e112045bbc4be4f1539147574ead
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/extract-from-end-vector-constant.ll

  Log Message:
  -----------
  [VPlan] Pass live-ins used as exit values straight to live-out.

Live-ins that are used as exit values don't need to be extracted, they
can be passed through directly. This fixes a crash when trying to
extract from a live-in.

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


  Commit: 41b55071a13374654a290c01224eb066c38dc87a
      https://github.com/llvm/llvm-project/commit/41b55071a13374654a290c01224eb066c38dc87a
  Author: Changpeng Fang <changpeng.fang at amd.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  DAG: Change round-mode operand type to i32 for FPTRUNC_ROUND (#106424)

We need this immediate type to be consistent. This is the pre-commit for
https://github.com/llvm/llvm-project/pull/105761


  Commit: b5977b5318a0d4a926977b40b2e438ccd04d74f2
      https://github.com/llvm/llvm-project/commit/b5977b5318a0d4a926977b40b2e438ccd04d74f2
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [gn build] Port 71ede8d83159


  Commit: 5a5cf51161865f501ced8e50436773bd96ce7d07
      https://github.com/llvm/llvm-project/commit/5a5cf51161865f501ced8e50436773bd96ce7d07
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 7a4013f029c4


  Commit: efbafbc5f28d9ef5a6cea277c8bc71d451e68bbb
      https://github.com/llvm/llvm-project/commit/efbafbc5f28d9ef5a6cea277c8bc71d451e68bbb
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/unittests/MIR/BUILD.gn

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


  Commit: 3cf1018f4c66ecd1f98fa6c90c2c4167efc6c9dc
      https://github.com/llvm/llvm-project/commit/3cf1018f4c66ecd1f98fa6c90c2c4167efc6c9dc
  Author: vporpo <vporpodas at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [SandboxIR] Add test that checks if classof() is missing. (#106313)

Forgetting to implement an `<Instruction Subclass>::classof()` function
does not cause any failures because it falls back to
Instruction::classof(). This patch adds an explicit check for all
instruction classes to confirm that they have a classof implementation.


  Commit: 7912abe149c4ba64895a622715fee559d2fda19a
      https://github.com/llvm/llvm-project/commit/7912abe149c4ba64895a622715fee559d2fda19a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    A llvm/test/Transforms/LoopVectorize/interleaved-accesses-different-insert-position.ll

  Log Message:
  -----------
  [LV] Add extra tests with interleave groups and different insert pos.

Add additional test coverage for interleave groups with different insert
positions.


  Commit: b978bcc0f6c598b34f9920a1803e9bba7dff7f94
      https://github.com/llvm/llvm-project/commit/b978bcc0f6c598b34f9920a1803e9bba7dff7f94
  Author: Connie Zhu <60797237+connieyzhu at users.noreply.github.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c

  Log Message:
  -----------
  [compiler-rt][test] Rewrote test to remove curly braces (#105696)

This patch removes curly braces from a test, as lit's internal shell
implementation does not support curly brace syntax.

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


  Commit: e03669af239a41f9bec97ac53e46c1b2b72bbe52
      https://github.com/llvm/llvm-project/commit/e03669af239a41f9bec97ac53e46c1b2b72bbe52
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M compiler-rt/test/profile/Posix/instrprof-dlopen-norpath.test

  Log Message:
  -----------
  [profile][test] Build Posix/instrprof-dlopen-norpath.test objects as PIC (#106406)

`Profile-x86_64 :: Posix/instrprof-dlopen-norpath.test` `FAILs` on
Solaris/amd64 and similarly on Solaris/sparcv9:
```
RUN: at line 10: ./a.out 2>&1 | FileCheck compiler-rt/test/profile/Posix/instrprof-dlopen-norpath.test -check-prefix=CHECK-FOO
+ ./a.out
+ FileCheck compiler-rt/test/profile/Posix/instrprof-dlopen-norpath.test -check-prefix=CHECK-FOO
compiler-rt/test/profile/Posix/instrprof-dlopen-norpath.test:24:12: error: CHECK-FOO: expected string not found in input
CHECK-FOO: foo:
           ^
<stdin>:1:1: note: scanning from here
unable to lookup symbol 'foo': ld.so.1: a.out: invalid handle: 0x0
```
The problem turned out to be two-fold: `OPEN_AND_RUN` didn't check the
`dlopen` return value and the objects linked into the shared objects to
be `dlopen`ed aren't built as PIC.

This patch fixes the latter.

Tested on `amd64-pc-solaris2.11`, `sparcv9-sun-solaris2.11`, and
`x86_64-pc-linux-gnu`.


  Commit: c43190f99445b1b76d06b650247d72fc109b5d4b
      https://github.com/llvm/llvm-project/commit/c43190f99445b1b76d06b650247d72fc109b5d4b
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/test/Analysis/CostModel/RISCV/rvv-extractelement.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-insertelement.ll

  Log Message:
  -----------
  [RISCV] Add cost model coverage for insert/extract element w/ 2^N - 1 types

We currently return costs which are too low for these.


  Commit: 2d1fba67c54b7c6b7f57635f863d4e1cd5fcc048
      https://github.com/llvm/llvm-project/commit/2d1fba67c54b7c6b7f57635f863d4e1cd5fcc048
  Author: Denis.G <34353767+DenisGZM at users.noreply.github.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/__clang_cuda_device_functions.h
    M clang/test/CodeGen/builtins-nvptx.c
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/lib/Target/NVPTX/NVPTXSubtarget.h
    M llvm/test/CodeGen/NVPTX/atomics-sm90.ll
    A llvm/test/CodeGen/NVPTX/cmpxchg.ll
    M llvm/utils/UpdateTestChecks/common.py

  Log Message:
  -----------
  [NVPTX] Support __usAtomicCAS builtin (#99646)

Supported `__usAtomicCAS` builtin originally defined in
`/usr/local/cuda/inlcude/crt/sm_70_rt.hpp`

---------

Co-authored-by: Denis Gerasimov <Denis.Gerasimov at baikalelectronics.ru>
Co-authored-by: Gonzalo Brito Gadeschi <gonzalob at nvidia.com>
Co-authored-by: Denis.Gerasimov <dengzmm at gmail.com>


  Commit: e61d6066e2678b1244b1bcbd59a154a82acf1eb8
      https://github.com/llvm/llvm-project/commit/e61d6066e2678b1244b1bcbd59a154a82acf1eb8
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h

  Log Message:
  -----------
  [LTO] Turn ImportListsTy into a proper class (NFC) (#106427)

This patch turns ImportListsTy into a class that wraps
DenseMap<StringRef, ImportMapTy>.

Here is the background.  I'm planning to reduce the memory footprint
of ThinLTO indexing.  Specifically, ImportMapTy, the list of imports
for a given destination module, will be a hash set of integer IDs
indexing into a deduplication table of pairs (SourceModule, GUID),
which is a lot like string interning.  I'm planning to put this
deduplication table as part of ImportListsTy and have each instance of
ImportMapTy hold a reference to the deduplication table.

Another reason to wrap the DenseMap is that I need to intercept
operator[]() so that I can construct an instance of ImportMapTy with a
reference to the deduplication table.  Note that the default
implementation of operator[]() would default-construct ImportMapTy,
which I am going to disable.


  Commit: aa7497a66c4272669fa63f7ec61a3f01aa9dabaf
      https://github.com/llvm/llvm-project/commit/aa7497a66c4272669fa63f7ec61a3f01aa9dabaf
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/test/CodeCompletion/variadic-template.cpp
    M clang/test/Index/complete-call.cpp
    M clang/test/SemaCXX/cxx2b-deducing-this.cpp
    A clang/test/SemaTemplate/GH18291.cpp
    M clang/test/SemaTemplate/cwg2398.cpp
    M clang/test/SemaTemplate/temp_arg_nontype.cpp
    M clang/test/SemaTemplate/temp_arg_type.cpp
    M clang/test/Templight/templight-empty-entries-fix.cpp

  Log Message:
  -----------
  [clang] check deduction consistency when partial ordering function templates (#100692)

This makes partial ordering of function templates consistent with other
entities, by implementing [temp.deduct.type]p1 in that case.

Fixes #18291


  Commit: 6b4b8dc4a45dccec43a9c0d76a80ebae50df55b0
      https://github.com/llvm/llvm-project/commit/6b4b8dc4a45dccec43a9c0d76a80ebae50df55b0
  Author: aws-taylor <57725958+aws-taylor at users.noreply.github.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/unittests/ADT/STLExtrasTest.cpp

  Log Message:
  -----------
  [ADT] Relax iterator constraints on all_equal (#106400)

The previous `all_equal` implementation contained `Begin + 1`, which
implicitly requires `Begin` to model the
[random_access_iterator](https://en.cppreference.com/w/cpp/iterator/random_access_iterator)
concept due to the usage of the `+` operator. By swapping this out with
`std::next`, this method can be used with weaker iterator concepts, such
as
[forward_iterator](https://en.cppreference.com/w/cpp/iterator/forward_iterator).

---------

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


  Commit: ec360d6523f029c406aee6a8b4325b941ea417ac
      https://github.com/llvm/llvm-project/commit/ec360d6523f029c406aee6a8b4325b941ea417ac
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [SLP][NFC]Add getValueType function and use instead of complex scalar type analysis


  Commit: 898d52b819496ba70d0ca29cc7b60237108ae2b4
      https://github.com/llvm/llvm-project/commit/898d52b819496ba70d0ca29cc7b60237108ae2b4
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M compiler-rt/lib/rtsan/tests/rtsan_test_interceptors.cpp

  Log Message:
  -----------
  [compiler-rt][rtsan] Fix failing file permissions test by checking umask (#106095)

This reverts:

d8d8d659685b114f31d1c42d6d18c3bc6d98b171


  Commit: e99aa4a500b0f271b327432d404a9c1f72c6850a
      https://github.com/llvm/llvm-project/commit/e99aa4a500b0f271b327432d404a9c1f72c6850a
  Author: Amr Hesham <amr96 at programmer.net>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor.hlsl
    M clang/test/CodeGenHLSL/builtins/all.hlsl
    M clang/test/CodeGenHLSL/builtins/any.hlsl
    M clang/test/CodeGenHLSL/builtins/frac.hlsl
    M clang/test/CodeGenHLSL/builtins/lerp.hlsl
    M clang/test/CodeGenHLSL/builtins/normalize.hlsl
    M clang/test/CodeGenHLSL/builtins/rsqrt.hlsl
    M clang/test/CodeGenHLSL/semantics/DispatchThreadID.hlsl

  Log Message:
  -----------
  [clang][HLSL] Update DXIL/SPIRV hybird CodeGen tests to use temp var (#105930)

Update all hybird DXIL/SPIRV codegen tests to use temp variable
representing interchange target

Fixes: #105710


  Commit: 17b7a9da46cef85b1a00b574c18c5f8cd5a761e1
      https://github.com/llvm/llvm-project/commit/17b7a9da46cef85b1a00b574c18c5f8cd5a761e1
  Author: Angel Zhang <angel.zhang at amd.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    A mlir/test/mlir-vulkan-runner/argmax.mlir
    M mlir/tools/mlir-vulkan-runner/CMakeLists.txt
    M mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][spirv] Add an argmax integration test with `mlir-vulkan-runner` (#106426)

This PR adds an integration test for an argmax kernel with
`mlir-vulkan-runner`. This test exercises the `convert-to-spirv` pass
(landed in #95942) and demonstrates that we can use SPIR-V ops as
"intrinsics" among higher-level dialects.

The support for `index` dialect in `mlir-vulkan-runner` is also added.


  Commit: 38b252aa45abad53d7c07c666569b174a215d94d
      https://github.com/llvm/llvm-project/commit/38b252aa45abad53d7c07c666569b174a215d94d
  Author: jeffreytan81 <jeffreytan at meta.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M lldb/include/lldb/Target/ThreadPlan.h
    M lldb/include/lldb/Target/ThreadPlanStepOverBreakpoint.h
    M lldb/source/Target/ThreadPlanSingleThreadTimeout.cpp
    M lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp

  Log Message:
  -----------
  Disable ThreadPlanSingleThreadTimeout during step over breakpoint  (#104532)

This PR fixes another race condition in
https://github.com/llvm/llvm-project/pull/90930. The failure was found
by @labath with this log: https://paste.debian.net/hidden/30235a5c/:
```
dotest_wrapper.  <  15> send packet: $z0,224505,1#65
...
b-remote.async>  <  22> send packet: $vCont;s:p1dcf.1dcf#4c
intern-state     GDBRemoteClientBase::Lock::Lock sent packet: \x03
b-remote.async>  < 818> read packet: $T13thread:p1dcf.1dcf;name:a.out;threads:1dcf,1dd2;jstopinfo:5b7b226e616d65223a22612e6f7574222c22726561736f6e223a227369676e616c222c227369676e616c223a31392c22746964223a373633317d2c7b226e616d65223a22612e6f7574222c22746964223a373633347d5d;thread-pcs:0000000000224505,00007f4e4302119a;00:0000000000000000;01:0000000000000000;02:0100000000000000;03:0000000000000000;04:9084997dfc7f0000;05:a8742a0000000000;06:b084997dfc7f0000;07:6084997dfc7f0000;08:0000000000000000;09:00d7e5424e7f0000;0a:d0d9e5424e7f0000;0b:0202000000000000;0c:80cc290000000000;0d:d8cc1c434e7f0000;0e:2886997dfc7f0000;0f:0100000000000000;10:0545220000000000;11:0602000000000000;12:3300000000000000;13:0000000000000000;14:0000000000000000;15:2b00000000000000;16:80fbe5424e7f0000;17:0000000000000000;18:0000000000000000;19:0000000000000000;reason:signal;#b9
```
It shows an async interrupt "\x03" was sent immediately after `vCont;s`
single step over breakpoint at address `0x224505` (which was disabled
before vCont). And the later stop was still at the original PC
(0x224505) not moving forward.

The investigation shows the failure happens when timeout is short and
async interrupt is sent to lldb-server immediately after vCont so
ptrace() resumes and then async interrupts debuggee immediately so
debuggee does not get a chance to execute and move PC. So it enters stop
mode immediately at original PC. `ThreadPlanStepOverBreakpoint` does not
expect PC not moving and reports stop at the original place.

To fix this, the PR prevents `ThreadPlanSingleThreadTimeout` from being
created during `ThreadPlanStepOverBreakpoint` by introduces a new
`SupportsResumeOthers()` method and `ThreadPlanStepOverBreakpoint`
returns false for it. This makes sense because we should never resume
threads during step over breakpoint anyway otherwise it might cause
other threads to miss breakpoint.

---------

Co-authored-by: jeffreytan81 <jeffreytan at fb.com>


  Commit: 0281339159e6ef0c30acbf146e9c3b06482191c1
      https://github.com/llvm/llvm-project/commit/0281339159e6ef0c30acbf146e9c3b06482191c1
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineConvergenceVerifier.cpp
    M llvm/lib/CodeGen/MachineInstr.cpp
    M llvm/lib/CodeGen/RegAllocFast.cpp

  Log Message:
  -----------
  Revert "[CodeGen] Use MachineInstr::{all_uses,all_defs} (NFC)" (#106451)

Reverts llvm/llvm-project#106404

Breaks:
https://lab.llvm.org/buildbot/#/builders/169/builds/2590
https://lab.llvm.org/buildbot/#/builders/164/builds/2454


  Commit: 53d95f3056199b4a9668104c63080d4c94926162
      https://github.com/llvm/llvm-project/commit/53d95f3056199b4a9668104c63080d4c94926162
  Author: Changpeng Fang <changpeng.fang at amd.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    R llvm/test/CodeGen/AMDGPU/fail.llvm.fptrunc.round.ll
    A llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.err.ll

  Log Message:
  -----------
  AMDGPU: Rename fail.llvm.fptrunc.round.ll to llvm.fptrunc.round.err.ll (#106452)

Also correct the suffix of the intrinsic


  Commit: eb9c49c900f43aa79811f80847c97c6596197430
      https://github.com/llvm/llvm-project/commit/eb9c49c900f43aa79811f80847c97c6596197430
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/lib/Transforms/IPO/FunctionImport.cpp

  Log Message:
  -----------
  [LTO] Make getImportType a proper function (NFC) (#106450)

I'm planning to reduce the memory footprint of ThinLTO indexing by
changing ImportMapTy.  A look-up of the import type will involve data
private to ImportMapTy, so it must be done by a member function of
ImportMapTy.  This patch turns getImportType into a member function so
that a subsequent "real" change will just have to update the
implementation of the function in place.


  Commit: 26c582bb452eadc3870c56e8eae24feb354a2edf
      https://github.com/llvm/llvm-project/commit/26c582bb452eadc3870c56e8eae24feb354a2edf
  Author: Greg Roth <grroth at microsoft.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/lib/Basic/Targets/DirectX.h
    A clang/test/CodeGenHLSL/static-local-ctor.hlsl

  Log Message:
  -----------
  [DXIL] Don't generate per-variable guards for DirectX (#106096)

Thread init guards are generated for local static variables when using
the Microsoft CXX ABI. This ABI is also used for HLSL generation, but
DXIL doesn't need the corresponding _Init_thread_header/footer calls and
doesn't really have a way to handle them in its output targets.

This modifies the language ops when the target is DXIL to exclude this
so that they won't be generated and an alternate guardvar method is used
that is compatible with the usage.

Done to facilitate testing for #89806, but isn't really related


  Commit: 18c79ca3607bfe9cc6fd083186f3b462f5abff7e
      https://github.com/llvm/llvm-project/commit/18c79ca3607bfe9cc6fd083186f3b462f5abff7e
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  [LV][NFC] Remove unnecessary space in comment


  Commit: 1bc7057a8eb7400dfbb1fc8335efa41abab9884e
      https://github.com/llvm/llvm-project/commit/1bc7057a8eb7400dfbb1fc8335efa41abab9884e
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    R mlir/test/mlir-vulkan-runner/argmax.mlir
    M mlir/tools/mlir-vulkan-runner/CMakeLists.txt
    M mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  Revert "[mlir][spirv] Add an argmax integration test with `mlir-vulkan-runner`" (#106457)

Reverts llvm/llvm-project#106426.

This caused failures on nvidia:
https://lab.llvm.org/buildbot/#/builders/138/builds/2853


  Commit: ee0d70633872a30175cf29f81de7b2dbf771d708
      https://github.com/llvm/llvm-project/commit/ee0d70633872a30175cf29f81de7b2dbf771d708
  Author: yronglin <yronglin777 at gmail.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Compiler.h
    A clang/test/AST/ByteCode/constexpr-vectors.cpp

  Log Message:
  -----------
  [clang][bytecode] Implement constexpr vector unary operators +, -, ~, ! (#105996)

Implement constexpr vector unary operators +, -, ~ and ! .

- Follow the current constant interpreter. All of our boolean operations
on vector types should be '-1' for the 'truth' type.
- Move the following functions from `Sema` to `ASTContext`, because we
used it in new interpreter.
```C++
QualType GetSignedVectorType(QualType V);
QualType GetSignedSizelessVectorType(QualType V);
```

---------

Signed-off-by: yronglin <yronglin777 at gmail.com>


  Commit: 13fa78c86d6b7ffcd9b7e21bbe9529f57efc3278
      https://github.com/llvm/llvm-project/commit/13fa78c86d6b7ffcd9b7e21bbe9529f57efc3278
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/lib/Parse/ParseOpenMP.cpp

  Log Message:
  -----------
  [OpenMP][NFC] Remove executable cases from declaration switch (#106438)

The executable directives are handled earlier.


  Commit: 431db183e86b5adc72d0d2aad3ced239b4c94a60
      https://github.com/llvm/llvm-project/commit/431db183e86b5adc72d0d2aad3ced239b4c94a60
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp.ll

  Log Message:
  -----------
  [RISCV] Remove effectively duplicate RUN lines form fixed-vectors-fp.ll. NFC

We had RUN lines with +v,+f and +v,+f,+d. +v implies +f and +d so
these are equivalent.


  Commit: a7ba73bf614f6d147bd1cdaddee156bd85e31703
      https://github.com/llvm/llvm-project/commit/a7ba73bf614f6d147bd1cdaddee156bd85e31703
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp.ll

  Log Message:
  -----------
  [RISCV] Fix conflicting CHECK prefixes in fixed-vectors-fp.ll. NFC


  Commit: 75e9d191f52b047ea839f75ab2a7a7d9f8c6becd
      https://github.com/llvm/llvm-project/commit/75e9d191f52b047ea839f75ab2a7a7d9f8c6becd
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-profdata.rst
    M llvm/include/llvm/ProfileData/SampleProfReader.h
    M llvm/include/llvm/ProfileData/SampleProfWriter.h
    M llvm/lib/ProfileData/SampleProfReader.cpp
    M llvm/lib/ProfileData/SampleProfWriter.cpp
    A llvm/test/tools/llvm-profdata/Inputs/split-layout.profdata
    A llvm/test/tools/llvm-profdata/sample-split-layout.test
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [llvm-profdata] Enabled functionality to write split-layout profile (#101795)

Using the flag `-split_layout` in llvm-profdata merge, the output
profile can write profiles with and without inlined function into two
different extbinary sections (and their FuncOffsetTable too). The
section without inlined functions are marked with `SecFlagFlat` and is
skipped by ThinLTO because it provides no useful info.

The split layout feature was already implemented in SampleProfWriter but
previously there is no way to use it from llvm-profdata.


  Commit: b75fe11fd6fe751157012a8881ece2f247bd3887
      https://github.com/llvm/llvm-project/commit/b75fe11fd6fe751157012a8881ece2f247bd3887
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    M llvm/tools/llvm-pdbutil/ExplainOutputStyle.cpp
    M llvm/utils/TableGen/IntrinsicEmitter.cpp
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
    M mlir/tools/mlir-tblgen/LLVMIRConversionGen.cpp
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp
    M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp

  Log Message:
  -----------
  [NFC] Fix formatv() usage in preparation of validation (#106454)

Fix several uses of formatv() that would be flagged as invalid by an
upcoming change that will add additional validation to formatv().


  Commit: 3a5c5789662d50814e1867ac7c196dd7e7ac782c
      https://github.com/llvm/llvm-project/commit/3a5c5789662d50814e1867ac7c196dd7e7ac782c
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/MachineLoopInfo.cpp
    M llvm/test/CodeGen/X86/code-align-loops.ll

  Log Message:
  -----------
  [MachineLoopInfo] Fix getLoopID to handle multi latches. (#106195)

This patch also fixed `CodegenPrepare` to preserve loop metadata when
merging blocks.

This fixes issue #102632


  Commit: 8927576b8f6442bb6129bda597efee46176f8aec
      https://github.com/llvm/llvm-project/commit/8927576b8f6442bb6129bda597efee46176f8aec
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

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

  Log Message:
  -----------
  workflows/release-binaries: Enable flang builds on Windows (#101344)

Flang for Windows depends on compiler-rt, so we need to enable it for
the stage1 builds. This also fixes failures building the flang tests on
macOS.

Fixes #100202.


  Commit: 438ad9f2bf25575c474313de4ad85a5da6f69e4c
      https://github.com/llvm/llvm-project/commit/438ad9f2bf25575c474313de4ad85a5da6f69e4c
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  -----------
  [clang-format] Revert "[clang-format][NFC] Delete TT_LambdaArrow (#70… (#105923)

…519)"

This reverts commit e00d32afb9d33a1eca48e2b041c9688436706c5b and adds a
test for lambda arrow SplitPenalty.

Fixes #105480.


  Commit: 87c86aa6b93aea3d1603c1759a17fb6b5ba6e814
      https://github.com/llvm/llvm-project/commit/87c86aa6b93aea3d1603c1759a17fb6b5ba6e814
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Other/new-pm-print-pipeline.ll
    A llvm/test/Transforms/PhaseOrdering/X86/masked-memory-ops-with-cf.ll
    A llvm/test/Transforms/SimplifyCFG/X86/hoist-loads-stores-with-cf.ll

  Log Message:
  -----------
  [X86,SimplifyCFG] Support hoisting load/store with conditional faulting (Part I) (#96878)

This is simplifycfg part of
https://github.com/llvm/llvm-project/pull/95515

In this PR, we support hoisting load/store with conditional faulting in
`SimplifyCFGOpt::speculativelyExecuteBB` to eliminate conditional
branches.
This is for cases like
```
void test (int a, int *b) {
  if (a)
   *b = a;
}
``` 

In the following patches, we will support the hoist in
`SimplifyCFGOpt::hoistCommonCodeFromSuccessors`.
That is for cases like
```
void test (int a, int *c, int *d) {
  if (a)
   *c = a;
  else 
   *d = a;
}
```


  Commit: 121fb2c2ccc9db33278160b485ff0e9d09be9827
      https://github.com/llvm/llvm-project/commit/121fb2c2ccc9db33278160b485ff0e9d09be9827
  Author: tcwzxx <tcwzxx at gmail.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/insertelement-across-zero.ll

  Log Message:
  -----------
  [SLP] Fix the Vec lane overridden by the shuffle mask (#106341)

Currently, SLP uses shuffle for the external user of `InsertElementInst`
and iterates through the `InsertElementInst` chain to fill the mask with
constant indices. However, it may override the original Vec lane. Using
the original Vec lane is sufficient.


  Commit: ee6961dbf13167bf09b602b136d72f72d7c8ff0c
      https://github.com/llvm/llvm-project/commit/ee6961dbf13167bf09b602b136d72f72d7c8ff0c
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang-tools-extra/clangd/CollectMacros.cpp
    M clang-tools-extra/clangd/CollectMacros.h
    M clang-tools-extra/clangd/ParsedAST.cpp
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp

  Log Message:
  -----------
  [clangd] Do not collect macros when clang-tidy checks call into the preprocessor (#106329)

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


  Commit: 82ebd333a889d2372c8445dc3d5d527ec48537db
      https://github.com/llvm/llvm-project/commit/82ebd333a889d2372c8445dc3d5d527ec48537db
  Author: Jacob Lalonde <jalalonde at fb.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
    M lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py

  Log Message:
  -----------
  [LLDB][Minidumps] Read x64 registers as 64b and handle truncation in the file builder (#106473)

This patch addresses a bug where `cs`/`fs` and other segmentation flags
were being identified as having a type of `32b` and `64b` for `rflags`.
In that case the register value was returning the fail value `0xF...`
and this was corrupting some minidumps. Here we just read it as a 64b
value and truncate it.

In addition to that fix, I added comparing the registers from the live
process to the loaded core for the generic minidump test. Prior only
being ARM register tests. This explains why this was not detected
before.


  Commit: 8bf69ceb00bb56dd5c7357f192846518a6893f3c
      https://github.com/llvm/llvm-project/commit/8bf69ceb00bb56dd5c7357f192846518a6893f3c
  Author: Christopher Bate <cbate at nvidia.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M mlir/lib/Conversion/AffineToStandard/CMakeLists.txt
    M mlir/lib/Conversion/ComplexToLLVM/CMakeLists.txt
    M mlir/lib/Conversion/ControlFlowToSCF/CMakeLists.txt
    M mlir/lib/Conversion/SCFToControlFlow/CMakeLists.txt
    M mlir/lib/Conversion/VectorToLLVM/CMakeLists.txt
    M mlir/lib/Conversion/VectorToSCF/CMakeLists.txt
    M mlir/lib/Dialect/Affine/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/Complex/IR/CMakeLists.txt
    M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/MemRef/IR/CMakeLists.txt
    M mlir/lib/Dialect/MemRef/TransformOps/CMakeLists.txt
    M mlir/lib/Dialect/MemRef/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/Tensor/IR/CMakeLists.txt

  Log Message:
  -----------
  Reapply "[mlir] NFC: fix dependence of (Tensor|Linalg|MemRef|Complex) dialects on LLVM Dialect and LLVM Core in CMake build (#104832)" (#105703)

Reapply the commit 43b508566799751aa180f1eaaafc5be693f2f1ae with
additional fixes for building with
BUILD_SHARED_LIBS=ON.


  Commit: 55cdb3c785ad688054493bb82c0cf3b9d7ccea07
      https://github.com/llvm/llvm-project/commit/55cdb3c785ad688054493bb82c0cf3b9d7ccea07
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/include/clang/AST/Decl.h
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Sema/ExternalSemaSource.h
    M clang/include/clang/Sema/MultiplexExternalSemaSource.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/lib/Sema/MultiplexExternalSemaSource.cpp
    M clang/lib/Serialization/ASTReader.cpp
    A clang/test/Modules/pr102721.cppm

  Log Message:
  -----------
  [C++20] [Modules] Merge lambdas in source to imported lambdas (#106483)

Close https://github.com/llvm/llvm-project/issues/102721

Generally, the type of merged decls will be reused in ASTContext. But
for lambda, in the import and then include case, we can't decide its
previous decl in the imported modules so that we can't assign the
previous decl before creating the type for it. Since we can't decide its
numbering before creating it. So we have to assign the previous decl and
the canonical type for it after creating it, which is unusual and
slightly hack.


  Commit: b8b20b80e4d8eb51013b04719c1fcda03d40a343
      https://github.com/llvm/llvm-project/commit/b8b20b80e4d8eb51013b04719c1fcda03d40a343
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M .github/workflows/libcxx-build-and-test.yaml
    M .github/workflows/release-asset-audit.py
    M .github/workflows/release-binaries.yml
    M clang-tools-extra/clangd/CollectMacros.cpp
    M clang-tools-extra/clangd/CollectMacros.h
    M clang-tools-extra/clangd/ParsedAST.cpp
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
    M clang/cmake/caches/Release.cmake
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/include/clang/AST/Decl.h
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/include/clang/Sema/ExternalSemaSource.h
    M clang/include/clang/Sema/MultiplexExternalSemaSource.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Compiler.h
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ComputeDependence.cpp
    M clang/lib/Basic/Targets/DirectX.h
    M clang/lib/CodeGen/CGBuilder.h
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Format/WhitespaceManager.cpp
    M clang/lib/Headers/__clang_cuda_device_functions.h
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/lib/Sema/MultiplexExternalSemaSource.cpp
    M clang/lib/Sema/SemaAttr.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp
    M clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
    M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
    M clang/lib/StaticAnalyzer/Core/CallEvent.cpp
    M clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp
    M clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/test/AST/ByteCode/arrays.cpp
    M clang/test/AST/ByteCode/complex.cpp
    A clang/test/AST/ByteCode/constexpr-vectors.cpp
    M clang/test/Analysis/block-in-critical-section-inheritance.cpp
    A clang/test/Analysis/block-in-critical-section-nested-namespace.cpp
    M clang/test/Analysis/copy-elision.cpp
    M clang/test/Analysis/incorrect-checker-names.cpp
    M clang/test/Analysis/loop-block-counts.c
    M clang/test/Analysis/stack-addr-ps.c
    M clang/test/Analysis/stack-addr-ps.cpp
    M clang/test/Analysis/stack-capture-leak-no-arc.mm
    M clang/test/Analysis/stackaddrleak.c
    M clang/test/CXX/drs/cwg29xx.cpp
    M clang/test/ClangScanDeps/pr61006.cppm
    M clang/test/CodeCompletion/variadic-template.cpp
    M clang/test/CodeGen/2005-01-02-ConstantInits.c
    M clang/test/CodeGen/PowerPC/ppc-emmintrin.c
    M clang/test/CodeGen/PowerPC/ppc-xmmintrin.c
    M clang/test/CodeGen/attr-counted-by.c
    M clang/test/CodeGen/builtins-nvptx.c
    M clang/test/CodeGen/catch-nullptr-and-nonzero-offset-when-nullptr-is-defined.c
    M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
    M clang/test/CodeGen/catch-pointer-overflow-volatile.c
    M clang/test/CodeGen/catch-pointer-overflow.c
    M clang/test/CodeGen/ext-int.c
    M clang/test/CodeGen/hexagon-brev-ld-ptr-incdec.c
    M clang/test/CodeGen/ifunc.c
    M clang/test/CodeGen/integer-overflow.c
    M clang/test/CodeGen/ms-intrinsics.c
    M clang/test/CodeGen/ubsan-pointer-overflow.m
    M clang/test/CodeGen/vla.c
    M clang/test/CodeGenCXX/attr-likelihood-iteration-stmt.cpp
    M clang/test/CodeGenCXX/for-range.cpp
    M clang/test/CodeGenCXX/pr45964-decomp-transform.cpp
    M clang/test/CodeGenCXX/vla.cpp
    A clang/test/CodeGenCoroutines/coro-dwarf-O2.cpp
    M clang/test/CodeGenHLSL/buffer-array-operator.hlsl
    M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor.hlsl
    M clang/test/CodeGenHLSL/builtins/all.hlsl
    M clang/test/CodeGenHLSL/builtins/any.hlsl
    M clang/test/CodeGenHLSL/builtins/frac.hlsl
    M clang/test/CodeGenHLSL/builtins/lerp.hlsl
    M clang/test/CodeGenHLSL/builtins/normalize.hlsl
    M clang/test/CodeGenHLSL/builtins/rsqrt.hlsl
    M clang/test/CodeGenHLSL/semantics/DispatchThreadID.hlsl
    A clang/test/CodeGenHLSL/static-local-ctor.hlsl
    M clang/test/CodeGenSYCL/address-space-deduction.cpp
    M clang/test/Driver/coverage.c
    M clang/test/Driver/program-path-priority.c
    M clang/test/Headers/__clang_hip_math.hip
    M clang/test/Index/complete-call.cpp
    A clang/test/Modules/pr102721.cppm
    M clang/test/OpenMP/bug60602.cpp
    M clang/test/OpenMP/declare_mapper_codegen.cpp
    M clang/test/OpenMP/distribute_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_reduction_task_codegen.cpp
    M clang/test/OpenMP/distribute_simd_codegen.cpp
    M clang/test/OpenMP/for_linear_codegen.cpp
    M clang/test/OpenMP/for_reduction_codegen.cpp
    M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
    M clang/test/OpenMP/for_reduction_task_codegen.cpp
    M clang/test/OpenMP/for_scan_codegen.cpp
    M clang/test/OpenMP/for_simd_scan_codegen.cpp
    M clang/test/OpenMP/irbuilder_for_iterator.cpp
    M clang/test/OpenMP/irbuilder_for_rangefor.cpp
    M clang/test/OpenMP/irbuilder_for_unsigned.c
    M clang/test/OpenMP/irbuilder_for_unsigned_auto.c
    M clang/test/OpenMP/irbuilder_for_unsigned_down.c
    M clang/test/OpenMP/irbuilder_for_unsigned_dynamic.c
    M clang/test/OpenMP/irbuilder_for_unsigned_dynamic_chunked.c
    M clang/test/OpenMP/irbuilder_for_unsigned_runtime.c
    M clang/test/OpenMP/irbuilder_for_unsigned_static_chunked.c
    M clang/test/OpenMP/map_struct_ordering.cpp
    M clang/test/OpenMP/master_taskloop_in_reduction_codegen.cpp
    M clang/test/OpenMP/master_taskloop_reduction_codegen.cpp
    M clang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
    M clang/test/OpenMP/master_taskloop_simd_reduction_codegen.cpp
    M clang/test/OpenMP/ordered_codegen.cpp
    M clang/test/OpenMP/parallel_for_codegen.cpp
    M clang/test/OpenMP/parallel_for_linear_codegen.cpp
    M clang/test/OpenMP/parallel_for_reduction_task_codegen.cpp
    M clang/test/OpenMP/parallel_for_scan_codegen.cpp
    M clang/test/OpenMP/parallel_for_simd_scan_codegen.cpp
    M clang/test/OpenMP/parallel_master_reduction_task_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_reduction_codegen.cpp
    M clang/test/OpenMP/parallel_master_taskloop_simd_reduction_codegen.cpp
    M clang/test/OpenMP/parallel_reduction_codegen.cpp
    M clang/test/OpenMP/parallel_reduction_task_codegen.cpp
    M clang/test/OpenMP/parallel_sections_reduction_task_codegen.cpp
    M clang/test/OpenMP/reduction_implicit_map.cpp
    M clang/test/OpenMP/sections_reduction_task_codegen.cpp
    M clang/test/OpenMP/target_data_use_device_addr_codegen.cpp
    M clang/test/OpenMP/target_data_use_device_ptr_codegen.cpp
    M clang/test/OpenMP/target_has_device_addr_codegen.cpp
    M clang/test/OpenMP/target_in_reduction_codegen.cpp
    M clang/test/OpenMP/target_is_device_ptr_codegen.cpp
    M clang/test/OpenMP/target_map_both_pointer_pointee_codegen.cpp
    M clang/test/OpenMP/target_map_codegen_01.cpp
    M clang/test/OpenMP/target_map_codegen_21.cpp
    M clang/test/OpenMP/target_map_codegen_27.cpp
    M clang/test/OpenMP/target_map_codegen_28.cpp
    M clang/test/OpenMP/target_map_codegen_29.cpp
    M clang/test/OpenMP/target_map_deref_array_codegen.cpp
    M clang/test/OpenMP/target_map_member_expr_array_section_codegen.cpp
    M clang/test/OpenMP/target_map_member_expr_codegen.cpp
    M clang/test/OpenMP/target_map_nest_defalut_mapper_codegen.cpp
    M clang/test/OpenMP/target_parallel_for_reduction_task_codegen.cpp
    M clang/test/OpenMP/target_parallel_reduction_task_codegen.cpp
    M clang/test/OpenMP/target_task_affinity_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_reduction_task_codegen.cpp
    M clang/test/OpenMP/target_update_codegen.cpp
    M clang/test/OpenMP/task_codegen.c
    M clang/test/OpenMP/task_codegen.cpp
    M clang/test/OpenMP/task_in_reduction_codegen.cpp
    M clang/test/OpenMP/taskgroup_task_reduction_codegen.cpp
    M clang/test/OpenMP/taskloop_in_reduction_codegen.cpp
    M clang/test/OpenMP/taskloop_reduction_codegen.cpp
    M clang/test/OpenMP/taskloop_simd_in_reduction_codegen.cpp
    M clang/test/OpenMP/taskloop_simd_reduction_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_reduction_task_codegen.cpp
    M clang/test/SemaCXX/attr-lifetimebound.cpp
    M clang/test/SemaCXX/cxx2b-deducing-this.cpp
    A clang/test/SemaTemplate/GH18291.cpp
    M clang/test/SemaTemplate/cwg2398.cpp
    M clang/test/SemaTemplate/temp_arg_nontype.cpp
    M clang/test/SemaTemplate/temp_arg_type.cpp
    M clang/test/Templight/templight-empty-entries-fix.cpp
    M clang/tools/clang-format/clang-format-test.el
    M clang/unittests/Format/FormatTest.cpp
    M clang/unittests/Format/FormatTestJS.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp
    M clang/www/cxx_dr_status.html
    M clang/www/make_cxx_dr_status
    M compiler-rt/lib/interception/interception.h
    M compiler-rt/lib/nsan/nsan_interceptors.cpp
    M compiler-rt/lib/rtsan/rtsan.cpp
    M compiler-rt/lib/rtsan/rtsan.h
    M compiler-rt/lib/rtsan/rtsan_interceptors.cpp
    M compiler-rt/lib/rtsan/tests/rtsan_test_interceptors.cpp
    M compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
    A compiler-rt/test/nsan/intercep_strsep.cpp
    M compiler-rt/test/profile/Posix/instrprof-dlopen-norpath.test
    M flang/include/flang/Tools/TargetSetup.h
    M flang/lib/Lower/Bridge.cpp
    M flang/module/ieee_arithmetic.f90
    M flang/runtime/time-intrinsic.cpp
    M flang/test/CMakeLists.txt
    M flang/test/Evaluate/fold-out_of_range.f90
    M flang/test/Evaluate/folding07.f90
    M flang/test/Lower/CUDA/cuda-data-transfer.cuf
    M flang/test/Lower/Intrinsics/ieee_class_queries.f90
    M flang/test/Lower/Intrinsics/ieee_unordered.f90
    M flang/test/Lower/common-block.f90
    M flang/test/Semantics/kinds03.f90
    M flang/test/Semantics/modfile26.f90
    M flang/test/Semantics/realkinds-aarch64-01.f90
    M flang/test/lit.cfg.py
    M flang/test/lit.site.cfg.py.in
    M flang/tools/f18/CMakeLists.txt
    M libc/cmake/modules/prepare_libc_gpu_build.cmake
    M libc/config/gpu/entrypoints.txt
    M libc/test/src/stdio/CMakeLists.txt
    M libcxx/CMakeLists.txt
    M libcxx/cmake/caches/Apple.cmake
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/Helpers/Styles.rst
    M libcxx/docs/ReleaseNotes/20.rst
    M libcxx/docs/Status/Cxx17.rst
    M libcxx/docs/Status/Cxx17Issues.csv
    M libcxx/docs/Status/Cxx17Papers.csv
    M libcxx/docs/Status/Cxx20.rst
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/docs/Status/Cxx23.rst
    M libcxx/docs/Status/Cxx23Issues.csv
    M libcxx/docs/Status/Cxx23Papers.csv
    M libcxx/docs/Status/Cxx2c.rst
    M libcxx/docs/Status/Cxx2cIssues.csv
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/include/__config
    M libcxx/include/__iterator/concepts.h
    M libcxx/include/__iterator/projected.h
    M libcxx/include/__math/traits.h
    M libcxx/include/new
    M libcxx/include/version
    M libcxx/modules/CMakeLists.txt
    M libcxx/src/CMakeLists.txt
    M libcxx/test/CMakeLists.txt
    M libcxx/test/configs/cmake-bridge.cfg.in
    R libcxx/test/configs/llvm-libc++-mingw.cfg.in
    M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
    A libcxx/test/configs/llvm-libc++-shared-mingw.cfg.in
    M libcxx/test/configs/llvm-libc++-shared-no-vcruntime-clangcl.cfg.in
    A libcxx/test/configs/llvm-libc++-static-mingw.cfg.in
    M libcxx/test/libcxx/vendor/apple/system-install-properties.sh.cpp
    A libcxx/test/std/iterators/iterator.requirements/indirectcallable.traits/indirect.value.t.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/new.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    M libcxx/test/std/numerics/c.math/isnormal.pass.cpp
    M libcxx/test/support/test_macros.h
    M libcxx/utils/ci/apple-install-libcxx.sh
    M libcxx/utils/ci/run-buildbot
    M libcxx/utils/generate_feature_test_macro_components.py
    M libcxx/utils/synchronize_csv_status_files.py
    M lldb/include/lldb/Target/ThreadPlan.h
    M lldb/include/lldb/Target/ThreadPlanStepOverBreakpoint.h
    M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
    M lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp
    M lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_WoW64.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_i386.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_x86_64.cpp
    M lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
    M lldb/source/Target/ThreadPlanSingleThreadTimeout.cpp
    M lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp
    M lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py
    M lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
    M lldb/test/API/tools/lldb-dap/attach/main.c
    M lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
    M llvm/docs/CommandGuide/index.rst
    A llvm/docs/CommandGuide/llvm-cgdata.rst
    M llvm/docs/CommandGuide/llvm-profdata.rst
    M llvm/docs/LangRef.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/include/llvm/Analysis/ValueLattice.h
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
    A llvm/include/llvm/ExecutionEngine/Orc/LoadLinkableFile.h
    R llvm/include/llvm/ExecutionEngine/Orc/LoadRelocatableObject.h
    M llvm/include/llvm/ExecutionEngine/Orc/MachO.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/ProfileData/SampleProfReader.h
    M llvm/include/llvm/ProfileData/SampleProfWriter.h
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/include/llvm/SandboxIR/SandboxIRValues.def
    M llvm/include/llvm/Support/raw_ostream.h
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Analysis/LoopUnrollAnalyzer.cpp
    M llvm/lib/Analysis/ValueLattice.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/InterleavedAccessPass.cpp
    M llvm/lib/CodeGen/MachineCopyPropagation.cpp
    M llvm/lib/CodeGen/MachineLoopInfo.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    M llvm/lib/Demangle/Demangle.cpp
    M llvm/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp
    M llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
    M llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
    A llvm/lib/ExecutionEngine/Orc/LoadLinkableFile.cpp
    R llvm/lib/ExecutionEngine/Orc/LoadRelocatableObject.cpp
    M llvm/lib/ExecutionEngine/Orc/MachO.cpp
    M llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
    M llvm/lib/FileCheck/FileCheck.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/IR/Core.cpp
    M llvm/lib/IR/IRBuilder.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/lib/ProfileData/SampleProfReader.cpp
    M llvm/lib/ProfileData/SampleProfWriter.cpp
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
    M llvm/lib/Target/AMDGPU/R600InstrInfo.cpp
    M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/lib/Target/NVPTX/NVPTXSubtarget.h
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    M llvm/lib/Transforms/Coroutines/CoroInternal.h
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    M llvm/lib/Transforms/Vectorize/CMakeLists.txt
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
    M llvm/lib/Transforms/Vectorize/VPlanDominatorTree.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
    A llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
    A llvm/lib/Transforms/Vectorize/VPlanUtils.h
    M llvm/test/Analysis/CostModel/AArch64/neon-stepvector.ll
    M llvm/test/Analysis/CostModel/AArch64/sve-stepvector.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-extractelement.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-insertelement.ll
    M llvm/test/Analysis/CostModel/RISCV/stepvector.ll
    A llvm/test/Bitcode/upgrade-stepvector-intrinsic.ll
    M llvm/test/CodeGen/AArch64/arm64-addrmode.ll
    M llvm/test/CodeGen/AArch64/large-offset-ldr-merge.mir
    M llvm/test/CodeGen/AArch64/neon-stepvector.ll
    M llvm/test/CodeGen/AArch64/sve-bitcast.ll
    M llvm/test/CodeGen/AArch64/sve-extract-fixed-from-scalable-vector.ll
    M llvm/test/CodeGen/AArch64/sve-gather-scatter-addr-opts.ll
    M llvm/test/CodeGen/AArch64/sve-insert-scalable-vector.ll
    M llvm/test/CodeGen/AArch64/sve-stepvector.ll
    R llvm/test/CodeGen/AMDGPU/fail.llvm.fptrunc.round.ll
    A llvm/test/CodeGen/AMDGPU/lds-no-realign-allocated-variables.ll
    A llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.err.ll
    M llvm/test/CodeGen/NVPTX/atomics-sm90.ll
    M llvm/test/CodeGen/NVPTX/bf16-instructions.ll
    A llvm/test/CodeGen/NVPTX/cmpxchg.ll
    A llvm/test/CodeGen/PowerPC/custom-stov.ll
    A llvm/test/CodeGen/RISCV/redundant-copy-from-tail-duplicate.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector.ll
    M llvm/test/CodeGen/RISCV/rvv/mscatter-combine.ll
    M llvm/test/CodeGen/RISCV/rvv/pr95865.ll
    M llvm/test/CodeGen/RISCV/rvv/stepvector.ll
    M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll
    M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.ll
    M llvm/test/CodeGen/RISCV/vscale-demanded-bits.ll
    M llvm/test/CodeGen/X86/code-align-loops.ll
    M llvm/test/CodeGen/X86/fp16-libcalls.ll
    M llvm/test/Other/new-pm-print-pipeline.ll
    M llvm/test/Transforms/Coroutines/coro-debug-O2.ll
    A llvm/test/Transforms/IndVarSimplify/pr106239.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pshufb-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pshufb.ll
    M llvm/test/Transforms/InstCombine/vscale_extractelement.ll
    A llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-load-const.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/divs-with-scalable-vfs.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/outer_loop_prefer_scalable.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/pr60831-sve-inv-store-crash.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-avoid-scalarization.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-inductions-unusual-types.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-inductions.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-masked-accesses.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-gep.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/tail-folding-styles.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/blocks-with-dead-instructions.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/dead-ops-cost.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/inloop-reduction.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/mask-index-type.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/masked_gather_scatter.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/pr87378-vpinstruction-or-drop-poison-generating-flags.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/uniform-load-store.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-cond-reduction.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-interleave.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-masked-loadstore.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-reverse-load-store.ll
    A llvm/test/Transforms/LoopVectorize/extract-from-end-vector-constant.ll
    A llvm/test/Transforms/LoopVectorize/interleaved-accesses-different-insert-position.ll
    M llvm/test/Transforms/LoopVectorize/outer_loop_scalable.ll
    M llvm/test/Transforms/LoopVectorize/scalable-inductions.ll
    M llvm/test/Transforms/MemCpyOpt/vscale-crashes.ll
    A llvm/test/Transforms/PhaseOrdering/X86/masked-memory-ops-with-cf.ll
    M llvm/test/Transforms/SCCP/pointer-nonnull.ll
    M llvm/test/Transforms/SCCP/range-attribute.ll
    A llvm/test/Transforms/SLPVectorizer/RISCV/reduction-whole-regs-loads.ll
    M llvm/test/Transforms/SLPVectorizer/insertelement-across-zero.ll
    A llvm/test/Transforms/SimplifyCFG/X86/hoist-loads-stores-with-cf.ll
    M llvm/test/Verifier/stepvector-intrinsic.ll
    M llvm/test/tools/llvm-cxxfilt/invalid.test
    R llvm/test/tools/llvm-cxxfilt/strip-underscore-default-darwin.test
    R llvm/test/tools/llvm-cxxfilt/strip-underscore-default.test
    M llvm/test/tools/llvm-cxxfilt/strip-underscore.test
    A llvm/test/tools/llvm-profdata/Inputs/split-layout.profdata
    A llvm/test/tools/llvm-profdata/sample-split-layout.test
    M llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
    M llvm/tools/llvm-pdbutil/ExplainOutputStyle.cpp
    M llvm/tools/llvm-profdata/llvm-profdata.cpp
    M llvm/unittests/ADT/STLExtrasTest.cpp
    M llvm/unittests/Analysis/UnrollAnalyzerTest.cpp
    M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
    M llvm/unittests/IR/FunctionTest.cpp
    M llvm/unittests/IR/IRBuilderTest.cpp
    M llvm/unittests/IR/ValueTest.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp
    M llvm/unittests/Support/VirtualFileSystemTest.cpp
    M llvm/utils/TableGen/IntrinsicEmitter.cpp
    M llvm/utils/UpdateTestChecks/common.py
    M llvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/MIR/BUILD.gn
    M llvm/utils/indirect_calls.py
    M llvm/utils/lit/lit/TestRunner.py
    M llvm/utils/lit/lit/llvm/config.py
    M llvm/utils/lit/lit/util.py
    M llvm/utils/release/test-release.sh
    M llvm/utils/schedcover.py
    M llvm/utils/shuffle_select_fuzz_tester.py
    M mlir/include/mlir/Dialect/AMDGPU/Utils/Chipset.h
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/include/mlir/Dialect/LLVMIR/Transforms/Passes.h
    M mlir/include/mlir/Dialect/LLVMIR/Transforms/Passes.td
    M mlir/lib/Conversion/AffineToStandard/CMakeLists.txt
    M mlir/lib/Conversion/ComplexToLLVM/CMakeLists.txt
    M mlir/lib/Conversion/ControlFlowToSCF/CMakeLists.txt
    M mlir/lib/Conversion/SCFToControlFlow/CMakeLists.txt
    M mlir/lib/Conversion/VectorToLLVM/CMakeLists.txt
    M mlir/lib/Conversion/VectorToSCF/CMakeLists.txt
    M mlir/lib/Dialect/AMDGPU/Utils/Chipset.cpp
    M mlir/lib/Dialect/Affine/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/Complex/IR/CMakeLists.txt
    M mlir/lib/Dialect/LLVMIR/Transforms/DIScopeForLLVMFuncOp.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
    M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/MemRef/IR/CMakeLists.txt
    M mlir/lib/Dialect/MemRef/TransformOps/CMakeLists.txt
    M mlir/lib/Dialect/MemRef/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/Tensor/IR/CMakeLists.txt
    M mlir/test/Conversion/VectorToLLVM/vector-mask-to-llvm.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Conversion/VectorToSCF/vector-to-scf.mlir
    M mlir/test/Dialect/LLVMIR/add-debuginfo-func-scope.mlir
    M mlir/test/Dialect/Tensor/invalid.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f64.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-deinterleave.mlir
    M mlir/test/Target/LLVMIR/llvmir-invalid.mlir
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
    M mlir/tools/mlir-tblgen/LLVMIRConversionGen.cpp
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp
    M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
    A mlir/unittests/Dialect/AMDGPU/AMDGPUUtilsTest.cpp
    A mlir/unittests/Dialect/AMDGPU/CMakeLists.txt
    M mlir/unittests/Dialect/CMakeLists.txt
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel

  Log Message:
  -----------
  fix windows build (tested mingw32)

Created using spr 1.3.6-beta.1


Compare: https://github.com/llvm/llvm-project/compare/ebb574feaee7...b8b20b80e4d8

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