[all-commits] [llvm/llvm-project] 5bc391: [SelectionDAG] Use getVectorElementPointer in DAGC...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Mon Dec 4 14:58:23 PST 2023


  Branch: refs/heads/users/vitalybuka/spr/nfcasan-inline-ensure_asan_inited-macro
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bc391a7c96a58929794ec1dc664b966c0a03d09
      https://github.com/llvm/llvm-project/commit/5bc391a7c96a58929794ec1dc664b966c0a03d09
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/Mips/msa/basic_operations.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
    M llvm/test/CodeGen/X86/pr59980.ll

  Log Message:
  -----------
  [SelectionDAG] Use getVectorElementPointer in DAGCombiner::replaceStoreOfInsertLoad. (#74249)

This ensures we clip the index to be in bounds of the vector we are
inserting into. If the index is out of bounds the results of the insert
element is poison. If we don't clip the index we can write memory that
was not part of the original store.

Fixes #74248.


  Commit: c4cebe5b4489438185236881ce3d6eaaa23b0e7b
      https://github.com/llvm/llvm-project/commit/c4cebe5b4489438185236881ce3d6eaaa23b0e7b
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

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

  Log Message:
  -----------
  [bazel] Add missing dependency for dff2f59be39765c8d6814c9a06155f76a5393673


  Commit: 47fe9fcaf28097fd4f3b70513c444b2cd391831a
      https://github.com/llvm/llvm-project/commit/47fe9fcaf28097fd4f3b70513c444b2cd391831a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h

  Log Message:
  -----------
  [RISCV] Share ArgGPRs array between SelectionDAG and GISel. (#74152)

This will allow us to isolate the EABI from D70401 to this new function.


  Commit: 6886a52d6dbefff77f33de12ff85d654e2557f81
      https://github.com/llvm/llvm-project/commit/6886a52d6dbefff77f33de12ff85d654e2557f81
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M libc/cmake/modules/LLVMLibCObjectRules.cmake
    M libc/docs/dev/code_style.rst

  Log Message:
  -----------
  Revert "[libc] build with -Werror (#73966)"

This reverts commit 606653091d1a66d1a83a1bfdea2883cc8d46687e.

Post submit buildbots are now red. We can use these explicit errors to better
clean up existing warnings, then reland this.

Link: #73966


  Commit: c43c86c285a39dcc6ec4a15b8f155152031b3997
      https://github.com/llvm/llvm-project/commit/c43c86c285a39dcc6ec4a15b8f155152031b3997
  Author: Kevin Frei <kevinfrei at users.noreply.github.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M lldb/include/lldb/Core/PluginManager.h
    M lldb/source/Core/CoreProperties.td
    M lldb/source/Core/PluginManager.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolLocator/CMakeLists.txt
    A lldb/source/Plugins/SymbolLocator/Debuginfod/CMakeLists.txt
    A lldb/source/Plugins/SymbolLocator/Debuginfod/SymbolLocatorDebuginfod.cpp
    A lldb/source/Plugins/SymbolLocator/Debuginfod/SymbolLocatorDebuginfod.h
    A lldb/source/Plugins/SymbolLocator/Debuginfod/SymbolLocatorDebuginfodProperties.td
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/Debuginfod/Debuginfod.h
    M llvm/lib/Debuginfod/Debuginfod.cpp

  Log Message:
  -----------
  DEBUGINFOD based DWP acquisition for LLDB (#70996)

I've plumbed the LLVM DebugInfoD client into LLDB, and added automatic
downloading of DWP files to the SymbolFileDWARF.cpp plugin. If you have
DEBUGINFOD_URLS set to a space delimited set of web servers, LLDB will
try to use them as a last resort when searching for DWP files. If you do
*not* have that environment variable set, nothing should be changed.
There's also a setting, per @clayborg 's suggestion, that will override
the environment variable, or can be used instead of the environment
variable. The setting is why I also needed to add an API to the
llvm-debuginfod library

### Test Plan:

Suggestions are welcome here. I should probably have some positive and
negative tests, but I wanted to get the diff up for people who have a
clue what they're doing to rip it to pieces before spending too much
time validating the initial implementation.

---------

Co-authored-by: Kevin Frei <freik at meta.com>
Co-authored-by: Alex Langford <nirvashtzero at gmail.com>


  Commit: f6c7baea098aac03687f5041fc860ca95f070e4e
      https://github.com/llvm/llvm-project/commit/f6c7baea098aac03687f5041fc860ca95f070e4e
  Author: Seth Brenith <sethbrenith at users.noreply.github.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/Target/X86/X86CallingConv.td
    M llvm/lib/Target/X86/X86RegisterInfo.cpp
    A llvm/test/CodeGen/X86/preserve_mostcc64_win.ll

  Log Message:
  -----------
  [Win/x64] Update preserve_most to treat XMM registers like C (#73866)

As [scottmcm
described](https://discourse.llvm.org/t/conv-c-and-conv-preservemost-mix-badly-on-windows-x64/73054),
the `preserve_most` calling convention, as currently implemented, is a
bad fit for Windows on x64. The intent of `preserve_most` is "to make
the code in the caller as unintrusive as possible", but `preserve_most`
causes the caller to spill and restore ten SIMD registers. It would be
preferable to make `preserve_most` treat the XMM registers however the C
calling convention does on the target operating system.

This is a breaking change, but the documentation indicates that
`preserve_most` is still experimental, so I believe that ABI
compatibility is not yet a requirement.


  Commit: d00c502ee5e89575a6515c2f2bb3716e64027812
      https://github.com/llvm/llvm-project/commit/d00c502ee5e89575a6515c2f2bb3716e64027812
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    A llvm/test/Transforms/LoopVectorize/preserve-or-disjoint.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing.ll

  Log Message:
  -----------
  [LV] Add tests for preserving and printing the new disjoint flag.

Tests for support for the disjoint flag added in #72583.


  Commit: a2e61bc2f3bc66124575c0abf9b8421073470202
      https://github.com/llvm/llvm-project/commit/a2e61bc2f3bc66124575c0abf9b8421073470202
  Author: Brad Smith <brad at comstyle.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M lldb/source/Core/FormatEntity.cpp
    M lldb/source/Host/common/SocketAddress.cpp
    M lldb/source/Host/posix/DomainSocket.cpp
    M lldb/source/Initialization/SystemInitializerCommon.cpp
    M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
    M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
    M lldb/test/API/api/multithreaded/common.h
    M lldb/test/API/tools/lldb-server/thread-name/main.cpp

  Log Message:
  -----------
  [lldb] Additional pieces towards OpenBSD support (#74198)


  Commit: b18a46e35d69e4148a147256c70472d0a16e00e8
      https://github.com/llvm/llvm-project/commit/b18a46e35d69e4148a147256c70472d0a16e00e8
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M libcxx/include/__availability
    M libcxx/include/__format/escaped_output_table.h
    M libcxx/include/__format/extended_grapheme_cluster_table.h
    M libcxx/include/__iterator/iter_swap.h
    M libcxx/include/__string/extern_template_lists.h
    M libcxx/include/__utility/integer_sequence.h
    M libcxx/include/bitset
    M libcxx/include/chrono
    M libcxx/include/memory
    M libcxx/include/span
    M libcxx/include/sstream
    M libcxx/include/string
    M libcxx/include/string_view
    M libcxx/include/tuple
    M libcxx/include/unordered_set
    M libcxx/include/vector
    M libcxx/src/locale.cpp
    M libcxx/utils/generate_escaped_output_table.py
    M libcxx/utils/generate_extended_grapheme_cluster_table.py

  Log Message:
  -----------
  [libc++][NFC] Add a few clang-format annotations (#74352)

This is in preparation for clang-formatting the whole code base. These
annotations are required either to avoid clang-format bugs or because
the manually formatted code is significantly more readable than the
clang-formatted alternative. All in all, it seems like very few
annotations are required, which means that clang-format is doing a very
good job in most cases.


  Commit: 9eea7441831328a56bb0f91e7a15b7c575a42930
      https://github.com/llvm/llvm-project/commit/9eea7441831328a56bb0f91e7a15b7c575a42930
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    A libcxx/utils/clang-format-merge-driver.sh

  Log Message:
  -----------
  [libc++] Add a merge driver that can apply clang-format (#73712)

In preparation for the moment when we'll clang-format the whole code
base, this patch adds a script that can be used to rebase patches across
clang-format changes mechanically, without requiring manual
intervention.

See https://discourse.llvm.org/t/rfc-clang-formatting-all-of-libc-once-and-for-all.


  Commit: 53d498d095c9969c3efb81ad417c76d5fd0b1aff
      https://github.com/llvm/llvm-project/commit/53d498d095c9969c3efb81ad417c76d5fd0b1aff
  Author: Nico Weber <thakis at chromium.org>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

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

  Log Message:
  -----------
  [gn] port f368e6424fbf


  Commit: ff51b60b18656ae05fdc65ac6f6abc3ec6a15eda
      https://github.com/llvm/llvm-project/commit/ff51b60b18656ae05fdc65ac6f6abc3ec6a15eda
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/linux.td
    M libc/spec/spec.td
    M libc/src/sys/mman/CMakeLists.txt
    M libc/src/sys/mman/linux/CMakeLists.txt
    R libc/src/sys/mman/linux/mincore.cpp
    R libc/src/sys/mman/mincore.h
    M libc/test/src/sys/mman/linux/CMakeLists.txt
    R libc/test/src/sys/mman/linux/mincore_test.cpp

  Log Message:
  -----------
  [libc] Revert #73704 and subsequent fixes #73984, #74026 (#74355)

The test cases of mincore require getting correct page size from OS. As
`sysconf` is not functioning correctly, these patches are implemented in
a somewhat confusing way. We revert such patches and will reintroduce
mincore after we correct sysconf.

This reverts 54878b8, 985c0d1 and 418a3a4.


  Commit: e1e34cc2a17c5f640333767df2d3bfe2b2f81a84
      https://github.com/llvm/llvm-project/commit/e1e34cc2a17c5f640333767df2d3bfe2b2f81a84
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    R llvm/include/llvm/Support/Host.h
    M llvm/include/module.modulemap
    M polly/lib/External/isl/interface/extract_interface.cc

  Log Message:
  -----------
  [Support] Remove llvm/Support/Host.h (#74261)

The header file has been deprecated since:

  commit f09cf34d00625e57dea5317a3ac0412c07292148
  Author: Archibald Elliott <archibald.elliott at arm.com>
  Date:   Tue Dec 20 10:24:02 2022 +0000


  Commit: d605d9d7a153fb39eca2beac20f895f0407acabf
      https://github.com/llvm/llvm-project/commit/d605d9d7a153fb39eca2beac20f895f0407acabf
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
    M llvm/lib/Target/RISCV/RISCVGISel.td
    A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/rotate-rv32.mir
    A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/rotate-rv64.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-rotate-rv32.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-rotate-rv64.mir

  Log Message:
  -----------
  [RISCV][GISel] Support G_ROTL/G_ROTR with Zbb. (#72825)


  Commit: d1cdcddcc2ef712c4e2ab61c6e4ca83350e7e9e3
      https://github.com/llvm/llvm-project/commit/d1cdcddcc2ef712c4e2ab61c6e4ca83350e7e9e3
  Author: Youngsuk Kim <youngsuk.kim at hpe.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

  Log Message:
  -----------
  [llvm][OMPIRBuilder] Remove no-op ptr-to-ptr bitcast (NFC)

Opaque ptr cleanup effort


  Commit: 0d59cfc7a3446dc6078dfc57783048f490d8d998
      https://github.com/llvm/llvm-project/commit/0d59cfc7a3446dc6078dfc57783048f490d8d998
  Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M libc/src/__support/float_to_string.h

  Log Message:
  -----------
  [libc] fix -Wconversion in float_to_string.h (#74369)

Fixes:
libc/src/__support/float_to_string.h:551:48: error: conversion from
‘long
unsigned int’ to ‘int32_t’ {aka ‘int’} may change value
[-Werror=conversion]
551 | const int32_t shift_amount = SHIFT_CONST + (-exponent - IDX_SIZE *
idx);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Observed in gcc fullbuilds.

IDX_SIZE is a size_t (aka 'long unsigned int'), but has the value 128,
so the
expression is undergoing implicit promotion.

Link: https://lab.llvm.org/buildbot/#/builders/250/builds/14891


  Commit: 8dc474c6b7d5fc4e0e7f18aac7750eb8c6bb6b26
      https://github.com/llvm/llvm-project/commit/8dc474c6b7d5fc4e0e7f18aac7750eb8c6bb6b26
  Author: madanial0 <118996571+madanial0 at users.noreply.github.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M flang/include/flang/Frontend/CompilerInvocation.h
    M flang/lib/Frontend/CompilerInvocation.cpp

  Log Message:
  -----------
  [flang] Pass Argv0 to getIntriniscDir and getOpenMPHeadersDir (#73254)

The `llvm::sys::fs::getMainExecutable(nullptr, nullptr)` is not able to
obtain the correct executable path on AIX without Argv0 due to the lack
of a current process on AIX's `proc` filesystem. This causes a build
failure on AIX as intrinsic module directory is missing.

---------

Co-authored-by: Mark Danial <mak.danial at ibm.com>


  Commit: 143133fe685bd0b8819a96bdc1af6a4ff2877b13
      https://github.com/llvm/llvm-project/commit/143133fe685bd0b8819a96bdc1af6a4ff2877b13
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M lld/COFF/InputFiles.cpp
    M lld/test/COFF/lto-imp-prefix.ll

  Log Message:
  -----------
  [LLD] [COFF] Don't preserve unnecessary __imp_ prefixed symbols (#72989)

This redoes the fix from 3ab6209a3f93bdbeec8e9b9fcc00a9a4980915ff
differently, without the unwanted effect of preserving unnecessary
`__imp_` prefixed symbols.

If the referencing object is a regular object, the `__imp_` symbol will
have `isUsedInRegularObj` set on it from that already. If the
referencing object is an LTO object, we set `isUsedInRegularObj` for any
symbol starting with `__imp_`.

If the object file defining the `__imp_` symbol is a regular object, the
`isUsedInRegularObj` flag has no effect. If it is an LTO object, it
causes the symbol to be preserved.


  Commit: e77bfaaf9d66748fc2dc3a710a0c9b4665dd3034
      https://github.com/llvm/llvm-project/commit/e77bfaaf9d66748fc2dc3a710a0c9b4665dd3034
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

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

  Log Message:
  -----------
  [clang][NFC] Fill in historical data on when C++ DRs 500-599 were fixed


  Commit: 54c30953b9374e3bcc1c79b53a231e4b53ceafed
      https://github.com/llvm/llvm-project/commit/54c30953b9374e3bcc1c79b53a231e4b53ceafed
  Author: Evgenii Stepanov <eugeni.stepanov at gmail.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h

  Log Message:
  -----------
  Do not initialize the allocator on free(nullptr). (#74366)

free(nullptr) is guaranteed by ISO and POSIX to be a no-op, we should not pay for the overhead of maybeInit() in this case.

Additionally, Bionic calls free(nullptr) before the allocator settings are finalized.
Scudo should not run allocator initialization at that time. Doing so
causes various bad things to happen, like mapping primary regions with
the wrong PROT_MTE setting.


  Commit: 78940a4e1f7f484d8a2dd0c646e288d6a5bf2f81
      https://github.com/llvm/llvm-project/commit/78940a4e1f7f484d8a2dd0c646e288d6a5bf2f81
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M clang/tools/clang-format/git-clang-format

  Log Message:
  -----------
  [clang-format] Fix a bug in `git-clang-format --binary` (#74293)

This is a rework of #74176, which erroneously changed the default
clang-format filename (`clang-format`, `clang-format.exe`, etc.) to an
absolute pathname. Instead, we should do that only if the name is a
pathname, e.g. `./clang-format`,
`llvm-project/build/bin/clang-format.exe`, etc. See also
https://github.com/llvm/llvm-project/pull/74176#issuecomment-1837921351.


  Commit: fef1854318bd797c1f8a141d4b45b113b04860d1
      https://github.com/llvm/llvm-project/commit/fef1854318bd797c1f8a141d4b45b113b04860d1
  Author: Juergen Ributzka <juergen at ributzka.de>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Basic/CodeGenOptions.h
    A clang/include/clang/Basic/DebugOptions.def
    M clang/include/module.modulemap
    M clang/lib/Basic/CodeGenOptions.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/ClangScanDeps/strip-codegen-args.m

  Log Message:
  -----------
  [clang][modules] Reset codegen options. (#74006)

CodeGen options do not affect the AST, so they usually can be ignored.
The only exception to the rule is when a PCM is created with
`-gmodules`.
In that case the Clang module format is switched to object file
container and contains also serialized debug information that can be
affected by debug options. There the following approach was choosen:

1.) Split out all the debug options into a separate `DebugOptions.def`
    file. The file is included by `CodeGenOptions.def`, so the change is
    transparent to all existing users of `CodeGenOptions.def`.
2.) Reset all CodeGen options, but excluding affecting debug options.
3.) Conditionally reset debug options that can affect the PCM.

This fixes rdar://113135909.


  Commit: e8f3ccd2737c638fafae7c5bf13cd2e913ef0f86
      https://github.com/llvm/llvm-project/commit/e8f3ccd2737c638fafae7c5bf13cd2e913ef0f86
  Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/AccelTable.h
    M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/test/DebugInfo/X86/debug-names-types.ll

  Log Message:
  -----------
  [LLVM][DWARF] Add support for .debug_names with split dwarf (#73872)

Enables Type Units with DWARF5 accelerator tables for split dwarf. It is
still
under discussion what is the best way to implement support for
de-duplication in
DWP. This will be in follow up PR.


  Commit: 6fd1c1b8ef407cb16f7c990a33908d289313559f
      https://github.com/llvm/llvm-project/commit/6fd1c1b8ef407cb16f7c990a33908d289313559f
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M libc/src/__support/HashTable/bitmask.h
    M libc/src/__support/HashTable/generic/bitmask_impl.inc
    M libc/test/src/__support/HashTable/CMakeLists.txt

  Log Message:
  -----------
  [libc] fix HashTable warnings and build problems (#74371)

According to https://lab.llvm.org/buildbot/#/builders/163/builds/48002,
the generic build on HashTable fails with two major issues with
`werror`:
1. warnings on `error: suggest braces around initialization of
subobject`.
2. `__support/HashTable` tests are built regardless of its entrypoints`

This PR attempts to fix such issues.


  Commit: ce9b72c9798680c9297de3f2a77f0a09303c06e5
      https://github.com/llvm/llvm-project/commit/ce9b72c9798680c9297de3f2a77f0a09303c06e5
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

  Log Message:
  -----------
  [NFC] Fix unused variable (used only in assert) after d1cdcddcc2ef712c4e2ab61c6e4ca83350e7e9e3


  Commit: b73d79fda85b26fc111c47fe292d94d46b925754
      https://github.com/llvm/llvm-project/commit/b73d79fda85b26fc111c47fe292d94d46b925754
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Fix typo in comment. NFC

This should say "Assume that VL output is <= 65536".


  Commit: d9570babf1b253767a3a6c1450fa1b9e10b4e2f9
      https://github.com/llvm/llvm-project/commit/d9570babf1b253767a3a6c1450fa1b9e10b4e2f9
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
    M llvm/lib/Target/RISCV/RISCVScheduleV.td
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/div-fdiv.s
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/gpr-bypass-c.s
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/gpr-bypass.s
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/reductions.s
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/strided-load-x0.s
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/vector-integer-arithmetic.s
    M llvm/test/tools/llvm-mca/RISCV/different-lmul-instruments.s
    M llvm/test/tools/llvm-mca/RISCV/different-sew-instruments.s
    M llvm/test/tools/llvm-mca/RISCV/disable-im.s
    M llvm/test/tools/llvm-mca/RISCV/fractional-lmul-data.s
    M llvm/test/tools/llvm-mca/RISCV/lmul-instrument-at-start.s
    M llvm/test/tools/llvm-mca/RISCV/lmul-instrument-in-middle.s
    M llvm/test/tools/llvm-mca/RISCV/lmul-instrument-in-region.s
    M llvm/test/tools/llvm-mca/RISCV/lmul-instrument-straddles-region.s
    M llvm/test/tools/llvm-mca/RISCV/multiple-same-lmul-instruments.s
    M llvm/test/tools/llvm-mca/RISCV/multiple-same-sew-instruments.s
    M llvm/test/tools/llvm-mca/RISCV/needs-sew-but-only-lmul.s
    M llvm/test/tools/llvm-mca/RISCV/no-vsetvli-to-start.s
    M llvm/test/tools/llvm-mca/RISCV/sew-instrument-at-start.s
    M llvm/test/tools/llvm-mca/RISCV/sew-instrument-in-middle.s
    M llvm/test/tools/llvm-mca/RISCV/sew-instrument-in-region.s
    M llvm/test/tools/llvm-mca/RISCV/sew-instrument-straddles-region.s
    M llvm/test/tools/llvm-mca/RISCV/vle-vse.s
    M llvm/test/tools/llvm-mca/RISCV/vsetivli-lmul-instrument.s
    M llvm/test/tools/llvm-mca/RISCV/vsetivli-lmul-sew-instrument.s
    M llvm/test/tools/llvm-mca/RISCV/vsetvli-lmul-instrument.s
    M llvm/test/tools/llvm-mca/RISCV/vsetvli-lmul-sew-instrument.s

  Log Message:
  -----------
  [RISCV] Remove SiFive7PipeV and replace it with SiFive7VCQ (#73969)

The Arithmetic, Load, and Store sequencers can accept instructions in
parallel. The PipeV blocked that from happening since it became busy if
any of the sequencers were busy. This change allows the sequencers to
accept instructions in parallel.

The VCQ accepts instructions from the the A Pipe and holds them until
the vector unit is ready to dequeue them. The unit dequeues up to one
instruction per cycle, in order, as soon as the sequencer for that type
of instruction is avaliable. This resource is meant to be used for 1
cycle by all vector instructions, to model that only one vector
instruction may be dequed at a time. The actual dequeueing into the
sequencer is modeled by the VA, VL, and VS sequencer resources below.
Each of them will only accept a single instruction at a time and remain
busy for the number of cycles associated with that instruction.


  Commit: 1157bee5ce2c7acb803cda5003b2ea9d0ed962e2
      https://github.com/llvm/llvm-project/commit/1157bee5ce2c7acb803cda5003b2ea9d0ed962e2
  Author: Juergen Ributzka <juergen at ributzka.de>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Basic/CodeGenOptions.h
    R clang/include/clang/Basic/DebugOptions.def
    M clang/include/module.modulemap
    M clang/lib/Basic/CodeGenOptions.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    R clang/test/ClangScanDeps/strip-codegen-args.m

  Log Message:
  -----------
  Revert "[clang][modules] Reset codegen options. (#74006)"

This reverts commit fef1854318bd797c1f8a141d4b45b113b04860d1.


  Commit: 3e09a93859c69f1e5692226a849c067b71d010b1
      https://github.com/llvm/llvm-project/commit/3e09a93859c69f1e5692226a849c067b71d010b1
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M mlir/lib/Dialect/Mesh/IR/CMakeLists.txt

  Log Message:
  -----------
  [mlir][mesh] Fix build breakage (#74362)

```
/usr/bin/ld: CMakeFiles/obj.MLIRMeshDialect.dir/MeshOps.cpp.o: in function
 `mlir::mesh::BroadcastOp::print(mlir::OpAsmPrinter&) [clone .localalias]':
MeshOps.cpp:(.text._ZN4mlir4mesh11BroadcastOp5printERNS_12OpAsmPrinterE+0x2 d3): undefined reference to `mlir::printDynamicIndexList(mlir::OpAsmPrinter&, mlir::Operation*, mlir::OperandRange, llvm::ArrayRef<long>, mlir::TypeRange, llvm::ArrayRef<bool>, mlir::AsmParser::Delimiter)'
```


  Commit: 7e3aeee3bf515f5922b564d3a850ab9f933a32dd
      https://github.com/llvm/llvm-project/commit/7e3aeee3bf515f5922b564d3a850ab9f933a32dd
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M compiler-rt/lib/asan/asan_interceptors.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/Mips/msa/basic_operations.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
    M llvm/test/CodeGen/X86/pr59980.ll

  Log Message:
  -----------
  [NFC][asan] Replace AsanInited/ENSURE_ASAN_INITED with TryAsanInitFromRtl (#74172)


  Commit: b83289b0b66c8e88a8ab5c53d91327a380cfb0bd
      https://github.com/llvm/llvm-project/commit/b83289b0b66c8e88a8ab5c53d91327a380cfb0bd
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M compiler-rt/lib/asan/asan_interceptors.cpp

  Log Message:
  -----------
  [NFC][asan] Replace a few `#if SANITIZER_APPLE` with `if (SANITIZER_APPLE` (#74173)


  Commit: 7f170be56138335f074d4316822c9d4f8643d8c7
      https://github.com/llvm/llvm-project/commit/7f170be56138335f074d4316822c9d4f8643d8c7
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M clang/test/CXX/drs/dr5xx.cpp
    M clang/tools/clang-format/git-clang-format
    M clang/www/cxx_dr_status.html
    M compiler-rt/lib/scudo/standalone/combined.h
    M flang/include/flang/Frontend/CompilerInvocation.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M libc/cmake/modules/LLVMLibCObjectRules.cmake
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/dev/code_style.rst
    M libc/spec/linux.td
    M libc/spec/spec.td
    M libc/src/__support/HashTable/bitmask.h
    M libc/src/__support/HashTable/generic/bitmask_impl.inc
    M libc/src/__support/float_to_string.h
    M libc/src/sys/mman/CMakeLists.txt
    M libc/src/sys/mman/linux/CMakeLists.txt
    R libc/src/sys/mman/linux/mincore.cpp
    R libc/src/sys/mman/mincore.h
    M libc/test/src/__support/HashTable/CMakeLists.txt
    M libc/test/src/sys/mman/linux/CMakeLists.txt
    R libc/test/src/sys/mman/linux/mincore_test.cpp
    M libcxx/include/__availability
    M libcxx/include/__format/escaped_output_table.h
    M libcxx/include/__format/extended_grapheme_cluster_table.h
    M libcxx/include/__iterator/iter_swap.h
    M libcxx/include/__string/extern_template_lists.h
    M libcxx/include/__utility/integer_sequence.h
    M libcxx/include/bitset
    M libcxx/include/chrono
    M libcxx/include/memory
    M libcxx/include/span
    M libcxx/include/sstream
    M libcxx/include/string
    M libcxx/include/string_view
    M libcxx/include/tuple
    M libcxx/include/unordered_set
    M libcxx/include/vector
    M libcxx/src/locale.cpp
    A libcxx/utils/clang-format-merge-driver.sh
    M libcxx/utils/generate_escaped_output_table.py
    M libcxx/utils/generate_extended_grapheme_cluster_table.py
    M lld/COFF/InputFiles.cpp
    M lld/test/COFF/lto-imp-prefix.ll
    M lldb/include/lldb/Core/PluginManager.h
    M lldb/source/Core/CoreProperties.td
    M lldb/source/Core/FormatEntity.cpp
    M lldb/source/Core/PluginManager.cpp
    M lldb/source/Host/common/SocketAddress.cpp
    M lldb/source/Host/posix/DomainSocket.cpp
    M lldb/source/Initialization/SystemInitializerCommon.cpp
    M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
    M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolLocator/CMakeLists.txt
    A lldb/source/Plugins/SymbolLocator/Debuginfod/CMakeLists.txt
    A lldb/source/Plugins/SymbolLocator/Debuginfod/SymbolLocatorDebuginfod.cpp
    A lldb/source/Plugins/SymbolLocator/Debuginfod/SymbolLocatorDebuginfod.h
    A lldb/source/Plugins/SymbolLocator/Debuginfod/SymbolLocatorDebuginfodProperties.td
    M lldb/test/API/api/multithreaded/common.h
    M lldb/test/API/tools/lldb-server/thread-name/main.cpp
    M llvm/docs/LangRef.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/CodeGen/AccelTable.h
    M llvm/include/llvm/Debuginfod/Debuginfod.h
    R llvm/include/llvm/Support/Host.h
    M llvm/include/module.modulemap
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/Debuginfod/Debuginfod.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
    M llvm/lib/Target/RISCV/RISCVGISel.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
    M llvm/lib/Target/RISCV/RISCVScheduleV.td
    M llvm/lib/Target/X86/X86CallingConv.td
    M llvm/lib/Target/X86/X86RegisterInfo.cpp
    A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/rotate-rv32.mir
    A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/rotate-rv64.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-rotate-rv32.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-rotate-rv64.mir
    A llvm/test/CodeGen/X86/preserve_mostcc64_win.ll
    M llvm/test/DebugInfo/X86/debug-names-types.ll
    A llvm/test/Transforms/LoopVectorize/preserve-or-disjoint.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/div-fdiv.s
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/gpr-bypass-c.s
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/gpr-bypass.s
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/reductions.s
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/strided-load-x0.s
    M llvm/test/tools/llvm-mca/RISCV/SiFive7/vector-integer-arithmetic.s
    M llvm/test/tools/llvm-mca/RISCV/different-lmul-instruments.s
    M llvm/test/tools/llvm-mca/RISCV/different-sew-instruments.s
    M llvm/test/tools/llvm-mca/RISCV/disable-im.s
    M llvm/test/tools/llvm-mca/RISCV/fractional-lmul-data.s
    M llvm/test/tools/llvm-mca/RISCV/lmul-instrument-at-start.s
    M llvm/test/tools/llvm-mca/RISCV/lmul-instrument-in-middle.s
    M llvm/test/tools/llvm-mca/RISCV/lmul-instrument-in-region.s
    M llvm/test/tools/llvm-mca/RISCV/lmul-instrument-straddles-region.s
    M llvm/test/tools/llvm-mca/RISCV/multiple-same-lmul-instruments.s
    M llvm/test/tools/llvm-mca/RISCV/multiple-same-sew-instruments.s
    M llvm/test/tools/llvm-mca/RISCV/needs-sew-but-only-lmul.s
    M llvm/test/tools/llvm-mca/RISCV/no-vsetvli-to-start.s
    M llvm/test/tools/llvm-mca/RISCV/sew-instrument-at-start.s
    M llvm/test/tools/llvm-mca/RISCV/sew-instrument-in-middle.s
    M llvm/test/tools/llvm-mca/RISCV/sew-instrument-in-region.s
    M llvm/test/tools/llvm-mca/RISCV/sew-instrument-straddles-region.s
    M llvm/test/tools/llvm-mca/RISCV/vle-vse.s
    M llvm/test/tools/llvm-mca/RISCV/vsetivli-lmul-instrument.s
    M llvm/test/tools/llvm-mca/RISCV/vsetivli-lmul-sew-instrument.s
    M llvm/test/tools/llvm-mca/RISCV/vsetvli-lmul-instrument.s
    M llvm/test/tools/llvm-mca/RISCV/vsetvli-lmul-sew-instrument.s
    M llvm/utils/gn/secondary/llvm/test/BUILD.gn
    M mlir/lib/Dialect/Mesh/IR/CMakeLists.txt
    M polly/lib/External/isl/interface/extract_interface.cc
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  rebase

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/215a90b4e36a...7f170be56138


More information about the All-commits mailing list