[all-commits] [llvm/llvm-project] 79213d: Update release notes for Wasm improvements to nm a...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Feb 16 04:19:27 PST 2024


  Branch: refs/heads/users/fhahn/sroa-use-tbaa-for-matching-field-access
  Home:   https://github.com/llvm/llvm-project
  Commit: 79213da0313f07bd46882d72ed30973f16947953
      https://github.com/llvm/llvm-project/commit/79213da0313f07bd46882d72ed30973f16947953
  Author: Derek Schuff <dschuff at chromium.org>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst

  Log Message:
  -----------
  Update release notes for Wasm improvements to nm and objdump (#81924)

Describes improvements made for #76107


  Commit: 4bf50e02554460df86903791380fb5ca17a28bdc
      https://github.com/llvm/llvm-project/commit/4bf50e02554460df86903791380fb5ca17a28bdc
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
    M llvm/lib/ToolDrivers/llvm-dlltool/Options.td
    M llvm/test/tools/llvm-dlltool/arm64ec.test

  Log Message:
  -----------
  [llvm-dlltool] Use -N for input native def option to avoid conflict with GNU dlltool --no-delete option. (#81847)


  Commit: 69a96ae0e80f0e62c1f25a1c255a3f46ff7dc9e8
      https://github.com/llvm/llvm-project/commit/69a96ae0e80f0e62c1f25a1c255a3f46ff7dc9e8
  Author: Haopeng Liu <haopliu at google.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  add initialized attribute LangRef


  Commit: 1d03d59aff07d40420a08af13ee74fed9846d7d8
      https://github.com/llvm/llvm-project/commit/1d03d59aff07d40420a08af13ee74fed9846d7d8
  Author: Haopeng Liu <haopliu at google.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  Revert "add initialized attribute LangRef"

This reverts commit 69a96ae0e80f0e62c1f25a1c255a3f46ff7dc9e8.


  Commit: 761113a18b720d1264d4a9d676577191b0a0e0cc
      https://github.com/llvm/llvm-project/commit/761113a18b720d1264d4a9d676577191b0a0e0cc
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M clang/test/Driver/unknown-arg.c
    M clang/tools/driver/driver.cpp

  Log Message:
  -----------
  [clang][driver] Add missing integrated tool option in error message, NFC (#81926)


  Commit: aaf916456aeb2d748e74ddbcd394de153e19b112
      https://github.com/llvm/llvm-project/commit/aaf916456aeb2d748e74ddbcd394de153e19b112
  Author: Peiming Liu <36770114+PeimingLiu at users.noreply.github.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
    M mlir/lib/CAPI/Dialect/SparseTensor.cpp
    M mlir/lib/Dialect/SparseTensor/IR/Detail/LvlTypeParser.cpp
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorLevel.cpp
    M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
    M mlir/unittests/Dialect/SparseTensor/MergerTest.cpp

  Log Message:
  -----------
  Reapply "[mlir][sparse] remove LevelType enum, construct LevelType from LevelFormat and Properties" (#81923) (#81934)


  Commit: 340b1ab9dc6322439353d3275fa16d1cf0b4da60
      https://github.com/llvm/llvm-project/commit/340b1ab9dc6322439353d3275fa16d1cf0b4da60
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M bolt/include/bolt/Profile/BoltAddressTranslation.h

  Log Message:
  -----------
  [BOLT] Add missing include

Address the comment in
https://github.com/llvm/llvm-project/pull/76906#issuecomment-1947335336


  Commit: 2c45bda8029289bbc6b09f349c203059a61609ce
      https://github.com/llvm/llvm-project/commit/2c45bda8029289bbc6b09f349c203059a61609ce
  Author: lntue <35648136+lntue at users.noreply.github.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/stdfix.rst
    M libc/spec/spec.td
    M libc/spec/stdc_ext.td
    M libc/src/CMakeLists.txt
    M libc/src/__support/fixed_point/CMakeLists.txt
    A libc/src/__support/fixed_point/fx_bits.h
    A libc/src/stdfix/CMakeLists.txt
    A libc/src/stdfix/abshk.cpp
    A libc/src/stdfix/abshk.h
    A libc/src/stdfix/abshr.cpp
    A libc/src/stdfix/abshr.h
    A libc/src/stdfix/absk.cpp
    A libc/src/stdfix/absk.h
    A libc/src/stdfix/abslk.cpp
    A libc/src/stdfix/abslk.h
    A libc/src/stdfix/abslr.cpp
    A libc/src/stdfix/abslr.h
    A libc/src/stdfix/absr.cpp
    A libc/src/stdfix/absr.h
    M libc/test/src/CMakeLists.txt
    A libc/test/src/stdfix/AbsTest.h
    A libc/test/src/stdfix/CMakeLists.txt
    A libc/test/src/stdfix/abshk_test.cpp
    A libc/test/src/stdfix/abshr_test.cpp
    A libc/test/src/stdfix/absk_test.cpp
    A libc/test/src/stdfix/abslk_test.cpp
    A libc/test/src/stdfix/abslr_test.cpp
    A libc/test/src/stdfix/absr_test.cpp

  Log Message:
  -----------
  [libc][stdfix] Add abs functions for signed fixed point types. (#81823)


  Commit: fbacf70f647e4f0af3904ec0d35d94f4974bd6b5
      https://github.com/llvm/llvm-project/commit/fbacf70f647e4f0af3904ec0d35d94f4974bd6b5
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_report.cpp

  Log Message:
  -----------
  [NFC][hwasan] Add CHECK_LT(fp, kRecordFPModulus)


  Commit: 72e14fb33fa8f0c9b08b328367fb3abd1f7d1a49
      https://github.com/llvm/llvm-project/commit/72e14fb33fa8f0c9b08b328367fb3abd1f7d1a49
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_report.cpp

  Log Message:
  -----------
  [NFC][hwasan] Reduce nesting in function


  Commit: 327d2f8c6cee019d4f915036f40041b5369b61e5
      https://github.com/llvm/llvm-project/commit/327d2f8c6cee019d4f915036f40041b5369b61e5
  Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M lldb/include/lldb/Core/Progress.h
    M lldb/source/Core/Progress.cpp

  Log Message:
  -----------
  [lldb][progress] Add progress manager class (#81319)

Per discussions from https://github.com/llvm/llvm-project/pull/81026, it
was decided that having a class that manages a map of progress reports
would be beneficial in order to categorize them. This class is a part of
the overall `Progress` class and utilizes a map that keeps a count of
how many times a progress report category has been sent. This would be
used with the new debugger broadcast bit added in
https://github.com/llvm/llvm-project/pull/81169 so that a user listening
with that bit will receive grouped progress reports.


  Commit: 692566a8b236827ed9f109d46b21c250522a3751
      https://github.com/llvm/llvm-project/commit/692566a8b236827ed9f109d46b21c250522a3751
  Author: Hiroshi Yamauchi <56735936+hjyamauchi at users.noreply.github.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.h
    A llvm/test/CodeGen/AArch64/swifttail-funclet.ll

  Log Message:
  -----------
  Fix an assert failure with a funclet in a swifttailcc function. (#78806)

The failure happens in the livedebugvalues pass.


  Commit: dfe1759614a591601609ae0a948a681cd919c0f6
      https://github.com/llvm/llvm-project/commit/dfe1759614a591601609ae0a948a681cd919c0f6
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M mlir/lib/TableGen/CodeGenHelpers.cpp

  Log Message:
  -----------
  Apply clang-tidy fixes for llvm-qualified-auto in CodeGenHelpers.cpp (NFC)


  Commit: 1f97219a9099b56c18d2e339db8b4aa7964825fd
      https://github.com/llvm/llvm-project/commit/1f97219a9099b56c18d2e339db8b4aa7964825fd
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M mlir/lib/TableGen/Pattern.cpp

  Log Message:
  -----------
  Apply clang-tidy fixes for performance-move-const-arg in Pattern.cpp (NFC)


  Commit: 867678dd81031edc36e1acc7a7f7cda01e2e0514
      https://github.com/llvm/llvm-project/commit/867678dd81031edc36e1acc7a7f7cda01e2e0514
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M mlir/lib/Target/LLVM/NVVM/Target.cpp

  Log Message:
  -----------
  Apply clang-tidy fixes for llvm-qualified-auto in Target.cpp (NFC)


  Commit: 332a5049855a3bf3752288c2ba0e0a41f0c4fe39
      https://github.com/llvm/llvm-project/commit/332a5049855a3bf3752288c2ba0e0a41f0c4fe39
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M mlir/lib/Target/LLVM/NVVM/Target.cpp

  Log Message:
  -----------
  Apply clang-tidy fixes for readability-container-size-empty in Target.cpp (NFC)


  Commit: eb0c8de1eed7c8198e397c56aa12b30abad42cf5
      https://github.com/llvm/llvm-project/commit/eb0c8de1eed7c8198e397c56aa12b30abad42cf5
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp

  Log Message:
  -----------
  Apply clang-tidy fixes for llvm-else-after-return in SerializeOps.cpp (NFC)


  Commit: 3e77871c220e4d4c91956060b15ff28e27b2b764
      https://github.com/llvm/llvm-project/commit/3e77871c220e4d4c91956060b15ff28e27b2b764
  Author: lntue <35648136+lntue at users.noreply.github.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

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

  Log Message:
  -----------
  [libc] Tempporarily disable fixed point entry points until #80757 is merged. (#81945)


  Commit: d0c2c0ab6d7e52ae52fdf73b843cad607f5a85e6
      https://github.com/llvm/llvm-project/commit/d0c2c0ab6d7e52ae52fdf73b843cad607f5a85e6
  Author: Michael Jones <71531609+michaelrj-google at users.noreply.github.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    A libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
    M libc/cmake/modules/LLVMLibCObjectRules.cmake
    M libc/cmake/modules/LLVMLibCRules.cmake
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/test/UnitTest/CMakeLists.txt

  Log Message:
  -----------
  [libc] Move compile options to new cmake file (#81917)

The cmake test generator needed to be updated to support the same flags
as the source. To simplify the code, I moved it to a new file.


  Commit: a057506b7b06f74ce45865d46c4107952f5ab261
      https://github.com/llvm/llvm-project/commit/a057506b7b06f74ce45865d46c4107952f5ab261
  Author: Youngsuk Kim <joseph942010 at gmail.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/docs/NVPTXUsage.rst

  Log Message:
  -----------
  [docs][NVPTX] Use opaque pointers in IR examples (NFC) (#81941)

Replace outdated typed-pointer notation in LLVM IR examples. NFC.


  Commit: feee627974df81e4cbf15537e4c4688aed66b12f
      https://github.com/llvm/llvm-project/commit/feee627974df81e4cbf15537e4c4688aed66b12f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    A llvm/test/CodeGen/RISCV/branch-opt.mir

  Log Message:
  -----------
  [RISCV] Make sure ADDI replacement in optimizeCondBranch has a virtual reg destination. (#81938)

If it isn't virtual, we may extend the live range of the physical
register past were it is valid. For example, across a call.

Found while trying to enable -riscv-enable-sink-fold which enables some
copy propagation in machine sink that led to ADDIs with physical
register destinations.


  Commit: 088c7ce429197a809f8943e5699a7fd0650fe9f7
      https://github.com/llvm/llvm-project/commit/088c7ce429197a809f8943e5699a7fd0650fe9f7
  Author: Peiming Liu <36770114+PeimingLiu at users.noreply.github.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
    M mlir/lib/Dialect/SparseTensor/IR/Detail/LvlTypeParser.cpp
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/Dialect/SparseTensor/invalid_encoding.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip_encoding.mlir

  Log Message:
  -----------
  [mlir][sparse] introduce SoA level property on singleton level. (#81942)


  Commit: 55b5ac8917b4a1e0ceb79bee4c4c6f7d35b95526
      https://github.com/llvm/llvm-project/commit/55b5ac8917b4a1e0ceb79bee4c4c6f7d35b95526
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp

  Log Message:
  -----------
  [RISCV] Remove X0 handling from RISCVInstrInfo::optimizeCondBranch. (#81931)

This was trying to rewrite a branch that uses X0 to a branch that uses a
register produced by LI of 1 or -1. Using X0 is free so there is no
reason to rewrite it. Doing so would just extend the live range of the
LI register increasing register pressure.

In practice this might not have triggered often because we were calling
MRI.hasOneUse on X0. I'm not sure what the returns for a physical
reigster.


  Commit: 2549c24142816073b195abc294cfc3a546ecb7a0
      https://github.com/llvm/llvm-project/commit/2549c24142816073b195abc294cfc3a546ecb7a0
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/rvv-shuffle.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-vectorextract.ll
    M llvm/test/Analysis/CostModel/RISCV/shuffle-extract_subvector.ll

  Log Message:
  -----------
  Reapply "[RISCV][TTI] Extract subvector at index zero is free (#81751)"

This reverts commit 834d11c21541c8bf92ef598c1171e8163b69e8c7 which was
a revert of my 3a626937b1b652e3c87cd0050df9c24cc5127d3b.  I had failed
to rebase after new tests added overnight by
fc0b67e1d79d1f199687f8f06d619984d9520230.

Original commit message follows:

Extracing a subvector at index zero corresponds to a type conversion and
possibly a subregister operation. We will not emit a vslidedown. As such,
they are free.

As an aside, it looks like we're not passing an index in for cases where
the subvec type is scalable. For at least index zero, we probably should be.

Revert "Revert "[RISCV][TTI] Extract subvector at index zero is free (#81751)""


  Commit: 0065161c720c37e8ab545979aed6a03d944a3176
      https://github.com/llvm/llvm-project/commit/0065161c720c37e8ab545979aed6a03d944a3176
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp

  Log Message:
  -----------
  Remove assert introduced in #71098

This should effectively preserve the old behavior for non-HLSL code.


  Commit: 39e32b451ca1bf6ae06da10682c053c9a5659b9a
      https://github.com/llvm/llvm-project/commit/39e32b451ca1bf6ae06da10682c053c9a5659b9a
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_report.cpp
    M compiler-rt/test/hwasan/TestCases/stack-uas.c

  Log Message:
  -----------
  [hwasan] Fix stack tag mismatch report (#81939)

Existing code worked only for local, recorder FP, and the faulty address
are the same 1 MiB page.

Now, instead of guessing FP, we guess variable address.
We need to try just two cases of addresses around of faulty one.

Fixes https://github.com/google/sanitizers/issues/1723


  Commit: ac452204aade6abfa44324c3f1db4890a63eb941
      https://github.com/llvm/llvm-project/commit/ac452204aade6abfa44324c3f1db4890a63eb941
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
    M llvm/lib/Target/ARM/ARMTargetObjectFile.h
    A llvm/test/MC/ELF/rtti-proxy-arm-got-prel.ll

  Log Message:
  -----------
  [llvm] Support indirect symbol replacement with R_ARM_GOT_PREL (#81916)

R_ARM_GOT_PREL is equivalent to GOTPCREL on other architectures, so we
can use it for indirect symbol replacement the same way. This is the
equivalent of https://github.com/llvm/llvm-project/pull/67754 for x86_64
and https://github.com/llvm/llvm-project/pull/78003 for AArch64 and
64-bit RISC-V.


  Commit: cc23574184335df187275ca0e716bf79b93b75f1
      https://github.com/llvm/llvm-project/commit/cc23574184335df187275ca0e716bf79b93b75f1
  Author: akshaykumars614 <88362922+akshaykumars614 at users.noreply.github.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/lib/Lex/Lexer.cpp
    A clang/test/Lexer/raw-string-dlim-invalid.cpp

  Log Message:
  -----------
  bad error message on incorrect string literal #18079 (#81670)

(bad error message on incorrect string literal)

Fixed the error message for incorrect string literal

before:

```
test.cpp:1:19: error: invalid character '
' character in raw string delimiter; use PREFIX( )PREFIX to delimit raw string
char const* a = R"
                  ^
```

now:

```
test.cpp:1:19: error: invalid newline character in raw string delimiter; use PREFIX( )PREFIX to delimit raw string
    1 | char const* a = R"
      |                   ^
```

---------

Co-authored-by: Jon Roelofs <jroelofs at gmail.com>


  Commit: e606dc1dafead794f92a677fd92b2ea8e5a3fb4f
      https://github.com/llvm/llvm-project/commit/e606dc1dafead794f92a677fd92b2ea8e5a3fb4f
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M clang/include/clang/AST/Availability.h
    M clang/include/clang/ExtractAPI/API.h
    R clang/include/clang/ExtractAPI/AvailabilityInfo.h
    M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
    A clang/lib/AST/Availability.cpp
    M clang/lib/AST/CMakeLists.txt
    R clang/lib/ExtractAPI/AvailabilityInfo.cpp
    M clang/lib/ExtractAPI/CMakeLists.txt

  Log Message:
  -----------
  [clang] Move `AvailabilityInfo` into AST library (#81897)

Previously this class was only used by ExtractAPI, but it will soon also
be needed by InstallAPI. This patch should not change availability
behavior but just centralizes the information next to what already is
captured about availability for AST traversal.


  Commit: e9cec392398ca5c7ce56ba52f9abb90f42a16c24
      https://github.com/llvm/llvm-project/commit/e9cec392398ca5c7ce56ba52f9abb90f42a16c24
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/prefer-member-initializer.cpp

  Log Message:
  -----------
  [clang-tidy] fix incorrect hint for InitListExpr in prefer-member-initializer (#81560)


  Commit: 2f516d4b31cd16b720ddabde09676d0c2ded7571
      https://github.com/llvm/llvm-project/commit/2f516d4b31cd16b720ddabde09676d0c2ded7571
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

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

  Log Message:
  -----------
  [gn build] Port 24144d726fef


  Commit: 9150858b828511af507ffd6ef4d0813bd49d211f
      https://github.com/llvm/llvm-project/commit/9150858b828511af507ffd6ef4d0813bd49d211f
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
    M llvm/utils/gn/secondary/clang/lib/ExtractAPI/BUILD.gn

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


  Commit: 3af5c98200e0b1268f755c3f289be4f73aac4214
      https://github.com/llvm/llvm-project/commit/3af5c98200e0b1268f755c3f289be4f73aac4214
  Author: azhan92 <alisonxzhang at gmail.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

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

  Log Message:
  -----------
  [Release] Install compiler-rt builtins during Phase 1 on AIX (#81485)

The current test-release.sh script does not install the necessary
compiler-rt builtin's during Phase 1 on AIX, resulting on a
non-functional Phase 1 clang. Futhermore, the installation is also
necessary for Phase 2 on AIX.

Co-authored-by: Alison Zhang <alisonzhang at ibm.com>


  Commit: ceaf09cd1a1fb7811e394ab7a5a9da4e513129b0
      https://github.com/llvm/llvm-project/commit/ceaf09cd1a1fb7811e394ab7a5a9da4e513129b0
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
    M clang/test/Analysis/Checkers/WebKit/mock-types.h
    M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp

  Log Message:
  -----------
  [alpha.webkit.UncountedCallArgsChecker] Detect more trivial functions (#81829)

Allow address-of operator (&), enum constant, and a reference to
constant as well as materializing temporqary expression and an
expression with cleanups to appear within a trivial function.


  Commit: 118a2a52fd465b7576c54bd102ee2e417a3b9a71
      https://github.com/llvm/llvm-project/commit/118a2a52fd465b7576c54bd102ee2e417a3b9a71
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Support `llvm` conversion for `omp.private` regions (#81414)

Introduces conversion of `omp.private`'s regions to the LLVM dialect.
This reuses the already existing conversion pattern for
`ReducetionDeclareOp` and repurposes it to be used for multi-region ops
as well.


  Commit: 096c530ab3ea5c96526451181117f30db17b4b1d
      https://github.com/llvm/llvm-project/commit/096c530ab3ea5c96526451181117f30db17b4b1d
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
    M lldb/test/API/commands/command/script/add/test_commands.py
    M lldb/test/API/commands/expression/nested/TestNestedExpressions.py
    M lldb/test/API/commands/process/attach/TestProcessAttach.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
    M lldb/test/API/functionalities/executable_first/TestExecutableFirst.py
    M lldb/test/API/functionalities/inline-sourcefile/TestInlineSourceFiles.py
    M lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py
    M lldb/test/API/functionalities/type_find_first/TestFindFirstType.py
    M lldb/test/API/functionalities/vtable/TestVTableValue.py
    M lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
    M lldb/test/API/lang/cpp/unique-types4/TestUniqueTypes4.py
    M lldb/test/API/lang/objc/charstar_dyntype/TestCharStarDynType.py
    M lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
    M lldb/test/API/python_api/process/cancel_attach/TestCancelAttach.py
    M lldb/test/API/python_api/value/TestValueAPI.py
    M lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_logpoints.py

  Log Message:
  -----------
  [lldb] Fix Python test formatting (NFC)


  Commit: 266bbc203da2d0bc880e643560fb48aff4830478
      https://github.com/llvm/llvm-project/commit/266bbc203da2d0bc880e643560fb48aff4830478
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py

  Log Message:
  -----------
  [lldb] Re-enable TestStepOverWatchpoint on macOS 14.4 and later


  Commit: 67282077ea460cbeec3f837b1a448a1bc958ec10
      https://github.com/llvm/llvm-project/commit/67282077ea460cbeec3f837b1a448a1bc958ec10
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M clang/lib/AST/Interp/InterpBuiltin.cpp
    M clang/test/AST/Interp/builtin-functions.cpp

  Log Message:
  -----------
  [clang][Interp] Implement __builtin_launder

Just forward the pointer.
Copy tests from SemaCXX


  Commit: 6abf5e5be2be8834183163f1db33a6cff696f13e
      https://github.com/llvm/llvm-project/commit/6abf5e5be2be8834183163f1db33a6cff696f13e
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [MLIR] NFC: Change dyn_cast to isa to prevent warning (#81899)

This is to avoid warnings when invoked from the flang documentation
generation build.

The warning can be seen in the CI
(https://lab.llvm.org/buildbot/#/builders/89/builds/57451).
```
/home/buildbot/as-worker-4/publish-sphinx-docs/llvm-project/mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp:2956:38: warning: unused variable ‘operand’ [-Wunused-variable]
```


  Commit: 1807e02b8c280af10628538d69e9511d3df3ed5f
      https://github.com/llvm/llvm-project/commit/1807e02b8c280af10628538d69e9511d3df3ed5f
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
    A llvm/test/DebugInfo/fixed-point.ll

  Log Message:
  -----------
  [llvm] Fix assertion error where we didn't check fixed point types. (#80757)

This fixes https://github.com/llvm/llvm-project/issues/81555


  Commit: a300a1a71119008e6e54299e52824fbca4bf2a75
      https://github.com/llvm/llvm-project/commit/a300a1a71119008e6e54299e52824fbca4bf2a75
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M llvm/docs/RISCVUsage.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoZa.td
    M llvm/test/CodeGen/RISCV/atomic-cmpxchg-branch-on-result.ll
    M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
    M llvm/test/CodeGen/RISCV/atomic-rmw.ll

  Log Message:
  -----------
  [RISCV][ISel] Add codegen support for the experimental zabha extension (#80192)

This patch implements the codegen support of zabha (Byte and Halfword
Atomic Memory Operations) v1.0-rc1 extension.
See also https://github.com/riscv/riscv-zabha/blob/v1.0-rc1/zabha.adoc.

---------

Co-authored-by: Craig Topper <craig.topper at sifive.com>


  Commit: 42b5037cc403c09ebf9b4d65ee41422ded79e054
      https://github.com/llvm/llvm-project/commit/42b5037cc403c09ebf9b4d65ee41422ded79e054
  Author: Balázs Kéri <balazs.keri at ericsson.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp

  Log Message:
  -----------
  [clang][analyzer] Simplify code of StreamChecker (NFC). (#79312)

A class is added that contains common functions and data members that are used in many of the "eval" functions. This results in shorter "eval" functions and less code repetition.


  Commit: d26a6464f85fc224dc2f3ddb67d404ba82a331fa
      https://github.com/llvm/llvm-project/commit/d26a6464f85fc224dc2f3ddb67d404ba82a331fa
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M flang/include/flang/Runtime/descriptor.h
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Fir/ignore-missing-type-descriptor.fir
    M flang/test/Fir/polymorphic.fir
    M flang/test/Fir/tbaa.fir
    M flang/test/Fir/type-descriptor.fir
    M flang/test/Lower/allocatable-polymorphic.f90

  Log Message:
  -----------
  [flang] Do not leave length parameters uninitialized in descriptor addendums (#81858)

Descriptor addendum have a field to hold length parameters (currently
only one). This field is currently never used because flang does not
lowered derived types with length parameters.

However, leaving it uninitialized is causing bugs in code like gFTL
where the code is trying to sort POINTERs (see [1]). More precisely, it
is an issue when two pointers should compare equal (same base address),
because the uninitialized values in the addendum may differ depending on
the "stack history" and optimization level.

Always initialized the length parameters field in the addendum to zero.

[1]:
https://github.com/Goddard-Fortran-Ecosystem/gFTL/blob/dc93a5fc2fe2b487590580d9f0a17d77ca3fe5c1/include/v1/templates/set_impl.inc#L312

The type being transferred to an integer array may look like:

```
   TYPE :: localwrapper
    TYPE(T), POINTER :: item
   END TYPE localwrapper
```

Which in flang case ends-up transferring a descriptor to an integer
array, the code in gFTL later compare the integer arrays. This logic is
used when building set data structures in gFTL.


  Commit: 4cf458c696047d6d2991c121da7a5c165ff747ce
      https://github.com/llvm/llvm-project/commit/4cf458c696047d6d2991c121da7a5c165ff747ce
  Author: Jason Molenda <jason at molenda.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M lldb/source/Core/CoreProperties.td

  Log Message:
  -----------
  Fix help doc for 'enable-background-lookup' obsolete setting

The setting name that was settled on is symbols.auto-download.


  Commit: f2329a38de03e331c97fb5ed36e4286dfc5c2309
      https://github.com/llvm/llvm-project/commit/f2329a38de03e331c97fb5ed36e4286dfc5c2309
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/VOP1Instructions.td

  Log Message:
  -----------
  [AMDGPU] Reimplement V_READFIRSTLANE_B32 as a normal VOP1 Pseudo. NFCI. (#81877)


  Commit: b6c453c13f9dca064ac06b8b2cff80946225aa47
      https://github.com/llvm/llvm-project/commit/b6c453c13f9dca064ac06b8b2cff80946225aa47
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M mlir/test/Integration/Dialect/SparseTensor/CPU/concatenate_dim_0.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_cast.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_cmp.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_1d_nwc_wcf.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_55.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_block.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_coo_test.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dot.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_expand.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_filter_conv2d.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_generate.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_index_dense.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matmul.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matrix_ops.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_reduction.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_permute.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pooling_nhwc.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_quantized_matmul.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom_prod.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom_sum.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reductions.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reductions_min.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reductions_prod.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_mm_fusion.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_scf_nested.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_select.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_semiring_select.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum_bf16.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum_c32.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum_f16.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_tanh.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_tensor_mul.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_unary.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_vector_ops.mlir

  Log Message:
  -----------
  [mlir][sparse] Fix memory leaks (part 1) (#81843)

This commit fixes memory leaks in sparse tensor integration tests by
adding `bufferization.dealloc_tensor` ops.

Note: Buffer deallocation will be automated in the future with the
ownership-based buffer deallocation pass, making `dealloc_tensor`
obsolete (only codegen path, not when using the runtime library).


  Commit: 8ba915fe1096de290f5e569d6de97a8bcc8652f7
      https://github.com/llvm/llvm-project/commit/8ba915fe1096de290f5e569d6de97a8bcc8652f7
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MIMGInstructions.td

  Log Message:
  -----------
  [AMDGPU] Set DecoderNamespace consistently for GFX10+ MIMG instructions (#81881)

This was done inconsistently before. Many instructions used the default
"AMDGPU" namespace which I would like to remove.


  Commit: 92ef40874d58d4fca4b7657c31ab2538e1301f26
      https://github.com/llvm/llvm-project/commit/92ef40874d58d4fca4b7657c31ab2538e1301f26
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

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

  Log Message:
  -----------
  [clang-format] Delete a redundant newline at the end of a test case

It slipped in from commit fa6025e25b57.


  Commit: 3b6e25048f188692c27e7788f4e4453a3963306d
      https://github.com/llvm/llvm-project/commit/3b6e25048f188692c27e7788f4e4453a3963306d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
    M llvm/test/Transforms/InstCombine/struct-assign-tbaa.ll

  Log Message:
  -----------
  [TBAA] Only clear TBAAStruct if field can be extracted. (#81285)

Retain TBAAStruct if we fail to match the access to a single field. All
users at the moment use this when using the full size of the original
access. SROA also retains the original TBAAStruct when accessing parts
at offset 0.

Motivation for this and follow-on patches is to improve codegen for
libc++, where using memcpy limits optimizations, like vectorization for
code iteration over std::vector<std::complex<float>>:
https://godbolt.org/z/f3vqYos3c

Depends on https://github.com/llvm/llvm-project/pull/81284


  Commit: 8c2033719a843a1880427a5e8caa5563248bce78
      https://github.com/llvm/llvm-project/commit/8c2033719a843a1880427a5e8caa5563248bce78
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

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

  Log Message:
  -----------
  [asan] Intercept __makecontext_v2 on Solaris/SPARC (#81588)

As detailed in [GCC PR
sanitizer/113785](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113785),
the GCC test `c-c++-common/asan/swapcontext-test-1.c` `FAIL`s on
Solaris/sparc.

This is due to the fact that Solaris 10/SPARC changed the semantics of
`makecontext` so `ucontext_t.uc_stack.ss_sp` refers to the stack base
address. To maintain binary compatiblity, the external name was changed
to `__makecontext_v2`, keeping the old version.

To match this, `__makecontext_v2` needs to be intercepted instead of
`makecontext`.

Tested on GCC trunk on `sparc-sun-solaris2.11`, `i386-pc-solaris2.11`,
and `x86_64-pc-linux-gnu`.

Also tested on the same targets on LLVM `main`. However, this only
proves that Linux/x86_64 isn't broken, since all `makecontext` tests are
Linux-specific.


  Commit: 3c02cb7492fc78fb678264cebf57ff88e478e14f
      https://github.com/llvm/llvm-project/commit/3c02cb7492fc78fb678264cebf57ff88e478e14f
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M llvm/test/tools/llvm-objcopy/ELF/binary-output-target.test
    M llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp

  Log Message:
  -----------
  [llvm-objcopy] Add SystemZ support (#81841)

This is also necessary for enabling ClangBuiltLinux:
https://github.com/ClangBuiltLinux/linux/issues/1530


  Commit: 2e43ca49d06d4cf78a3fd86e1e41175fde083708
      https://github.com/llvm/llvm-project/commit/2e43ca49d06d4cf78a3fd86e1e41175fde083708
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M clang/lib/AST/Interp/Context.cpp
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/EvalEmitter.h
    M clang/lib/AST/Interp/EvaluationResult.cpp
    M clang/lib/AST/Interp/EvaluationResult.h
    M clang/test/AST/Interp/c.c

  Log Message:
  -----------
  [clang][Interp] Check variable initialization in Ret op

Just like we did with the l-to-r conversion, we need to do this
while the data is still alive.


  Commit: bf471c915d14035a24ec027fb2bb0373cefdabe1
      https://github.com/llvm/llvm-project/commit/bf471c915d14035a24ec027fb2bb0373cefdabe1
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-objcopy.rst

  Log Message:
  -----------
  [docs][llvm-objcopy] Add missing formats (#81981)

Bring list of supported formats in docs back in sync with the code.


  Commit: c681ea6623082324bcf3f7e1966495ce01817c59
      https://github.com/llvm/llvm-project/commit/c681ea6623082324bcf3f7e1966495ce01817c59
  Author: J. Ryan Stinnett <jryans at gmail.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M llvm/docs/_themes/llvm-theme/static/llvm-theme.css

  Log Message:
  -----------
  [Docs] Fix large vertical space at top of pages (#81599)

This fixes a large vertical blank space at the top of the page that was caused
by the floating sidebar.


  Commit: 0ea64ad88abcbb939547a92000d98efb2b00d95f
      https://github.com/llvm/llvm-project/commit/0ea64ad88abcbb939547a92000d98efb2b00d95f
  Author: Pierrick Bouvier <pierrick.bouvier at linaro.org>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAArch64.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/intrin.h
    M clang/test/CodeGen/arm64-microsoft-intrinsics.c
    M clang/test/CodeGen/ms-intrinsics-other.c
    M clang/test/CodeGen/ms-intrinsics-underaligned.c

  Log Message:
  -----------
  [COFF][Aarch64] Add _InterlockedAdd64 intrinsic (#81849)

Found when compiling openssl master branch using clang-cl.

This commit introduces usage of InterlockedAdd64:

https://github.com/openssl/openssl/commit/d0e1a0ae701cfaca7f3dd3bf28a3f934a6408813


https://learn.microsoft.com/en-us/cpp/intrinsics/interlockedadd-intrinsic-functions


  Commit: 2ed2a3ad90934efac12cbeb01cf73afebc01d963
      https://github.com/llvm/llvm-project/commit/2ed2a3ad90934efac12cbeb01cf73afebc01d963
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/include/llvm/Transforms/Utils/LoopUtils.h
    M llvm/lib/CodeGen/ExpandReductions.cpp
    M llvm/lib/Transforms/Utils/LoopUtils.cpp

  Log Message:
  -----------
  [Transforms][Utils] Add helpers to map between Reduction IntrinsicID and Arithmetic Instruction Opcode and MinMax IntrinsicID / RecurKind

Noticed on #81852


  Commit: 181d9602f35c476201ecc72c26c00042ad949544
      https://github.com/llvm/llvm-project/commit/181d9602f35c476201ecc72c26c00042ad949544
  Author: Hsiangkai Wang <hsiangkai.wang at arm.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
    A mlir/test/Dialect/Affine/SuperVectorize/vectorize_affine_apply.mlir

  Log Message:
  -----------
  [mlir][vectorize] Support affine.apply in SuperVectorize (#77968)

We have no need to vectorize affine.apply inside the vectorizing loop.
However, we still need to generate it in the original scalar form. We
have to replace all its operands with the generated scalar operands in
the vectorizing loop, e.g., induction variables.


  Commit: f06e07be9a41978e39fdf22f6174194cf8382047
      https://github.com/llvm/llvm-project/commit/f06e07be9a41978e39fdf22f6174194cf8382047
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Check pointer compound assign operators for errors

This needs to be done but we didn't use to do it.


  Commit: 7dcca6213258bf2df2dd8a7d555c9a12c1484759
      https://github.com/llvm/llvm-project/commit/7dcca6213258bf2df2dd8a7d555c9a12c1484759
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/ArmSVE/IR/ArmSVE.td
    M mlir/lib/Dialect/ArmSVE/Transforms/LegalizeForLLVMExport.cpp
    M mlir/test/Dialect/ArmSVE/invalid.mlir
    M mlir/test/Dialect/ArmSVE/legalize-for-llvm.mlir
    M mlir/test/Dialect/ArmSVE/roundtrip.mlir

  Log Message:
  -----------
  [mlir][ArmSVE] Add `arm_sve.zip.x2` and `arm_sve.zip.x4` ops (#81278)

This adds ops for the two and four-way SME 2 multi-vector zips.

See:

-
https://developer.arm.com/documentation/ddi0602/2023-12/SME-Instructions/ZIP--two-registers---Interleave-elements-from-two-vectors-?lang=en
-
https://developer.arm.com/documentation/ddi0602/2023-12/SME-Instructions/ZIP--four-registers---Interleave-elements-from-four-vectors-?lang=en


  Commit: a52c0c770056e040390839e753dbbaccbf4d63c4
      https://github.com/llvm/llvm-project/commit/a52c0c770056e040390839e753dbbaccbf4d63c4
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

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

  Log Message:
  -----------
  [clang][Interp] Lazily visit constant locals in C++

While we _do_ get them registered via visitInitializer(), they
are still local, so gone on the next call to e.g. evaluateAsRValue().

Visit them lazily, similarly like we do in C.


  Commit: a3baf66f3856317e3e1534aa7cce38b5a0ecf564
      https://github.com/llvm/llvm-project/commit/a3baf66f3856317e3e1534aa7cce38b5a0ecf564
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M bolt/include/bolt/Profile/BoltAddressTranslation.h
    M clang-tools-extra/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/prefer-member-initializer.cpp
    M clang/include/clang/AST/Availability.h
    M clang/include/clang/Basic/BuiltinsAArch64.def
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/include/clang/ExtractAPI/API.h
    R clang/include/clang/ExtractAPI/AvailabilityInfo.h
    M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
    A clang/lib/AST/Availability.cpp
    M clang/lib/AST/CMakeLists.txt
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Context.cpp
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/EvalEmitter.h
    M clang/lib/AST/Interp/EvaluationResult.cpp
    M clang/lib/AST/Interp/EvaluationResult.h
    M clang/lib/AST/Interp/InterpBuiltin.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    R clang/lib/ExtractAPI/AvailabilityInfo.cpp
    M clang/lib/ExtractAPI/CMakeLists.txt
    M clang/lib/Headers/intrin.h
    M clang/lib/Lex/Lexer.cpp
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
    M clang/test/AST/Interp/arrays.cpp
    M clang/test/AST/Interp/builtin-functions.cpp
    M clang/test/AST/Interp/c.c
    M clang/test/Analysis/Checkers/WebKit/mock-types.h
    M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
    M clang/test/CodeGen/arm64-microsoft-intrinsics.c
    M clang/test/CodeGen/ms-intrinsics-other.c
    M clang/test/CodeGen/ms-intrinsics-underaligned.c
    M clang/test/Driver/unknown-arg.c
    A clang/test/Lexer/raw-string-dlim-invalid.cpp
    M clang/tools/driver/driver.cpp
    M clang/unittests/Format/FormatTest.cpp
    M compiler-rt/lib/asan/asan_interceptors.cpp
    M compiler-rt/lib/hwasan/hwasan_report.cpp
    M compiler-rt/test/hwasan/TestCases/stack-uas.c
    M flang/include/flang/Runtime/descriptor.h
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Fir/ignore-missing-type-descriptor.fir
    M flang/test/Fir/polymorphic.fir
    M flang/test/Fir/tbaa.fir
    M flang/test/Fir/type-descriptor.fir
    M flang/test/Lower/allocatable-polymorphic.f90
    A libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
    M libc/cmake/modules/LLVMLibCObjectRules.cmake
    M libc/cmake/modules/LLVMLibCRules.cmake
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/stdfix.rst
    M libc/spec/spec.td
    M libc/spec/stdc_ext.td
    M libc/src/CMakeLists.txt
    M libc/src/__support/fixed_point/CMakeLists.txt
    A libc/src/__support/fixed_point/fx_bits.h
    A libc/src/stdfix/CMakeLists.txt
    A libc/src/stdfix/abshk.cpp
    A libc/src/stdfix/abshk.h
    A libc/src/stdfix/abshr.cpp
    A libc/src/stdfix/abshr.h
    A libc/src/stdfix/absk.cpp
    A libc/src/stdfix/absk.h
    A libc/src/stdfix/abslk.cpp
    A libc/src/stdfix/abslk.h
    A libc/src/stdfix/abslr.cpp
    A libc/src/stdfix/abslr.h
    A libc/src/stdfix/absr.cpp
    A libc/src/stdfix/absr.h
    M libc/test/UnitTest/CMakeLists.txt
    M libc/test/src/CMakeLists.txt
    A libc/test/src/stdfix/AbsTest.h
    A libc/test/src/stdfix/CMakeLists.txt
    A libc/test/src/stdfix/abshk_test.cpp
    A libc/test/src/stdfix/abshr_test.cpp
    A libc/test/src/stdfix/absk_test.cpp
    A libc/test/src/stdfix/abslk_test.cpp
    A libc/test/src/stdfix/abslr_test.cpp
    A libc/test/src/stdfix/absr_test.cpp
    M lldb/include/lldb/Core/Progress.h
    M lldb/source/Core/CoreProperties.td
    M lldb/source/Core/Progress.cpp
    M lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
    M lldb/test/API/commands/command/script/add/test_commands.py
    M lldb/test/API/commands/expression/nested/TestNestedExpressions.py
    M lldb/test/API/commands/process/attach/TestProcessAttach.py
    M lldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
    M lldb/test/API/functionalities/executable_first/TestExecutableFirst.py
    M lldb/test/API/functionalities/inline-sourcefile/TestInlineSourceFiles.py
    M lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py
    M lldb/test/API/functionalities/type_find_first/TestFindFirstType.py
    M lldb/test/API/functionalities/vtable/TestVTableValue.py
    M lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
    M lldb/test/API/lang/cpp/unique-types4/TestUniqueTypes4.py
    M lldb/test/API/lang/objc/charstar_dyntype/TestCharStarDynType.py
    M lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
    M lldb/test/API/python_api/process/cancel_attach/TestCancelAttach.py
    M lldb/test/API/python_api/value/TestValueAPI.py
    M lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_logpoints.py
    M llvm/docs/CommandGuide/llvm-objcopy.rst
    M llvm/docs/NVPTXUsage.rst
    M llvm/docs/RISCVUsage.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/docs/_themes/llvm-theme/static/llvm-theme.css
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/include/llvm/Transforms/Utils/LoopUtils.h
    M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
    M llvm/lib/CodeGen/ExpandReductions.cpp
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.h
    M llvm/lib/Target/AMDGPU/MIMGInstructions.td
    M llvm/lib/Target/AMDGPU/VOP1Instructions.td
    M llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
    M llvm/lib/Target/ARM/ARMTargetObjectFile.h
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoZa.td
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
    M llvm/lib/ToolDrivers/llvm-dlltool/Options.td
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    M llvm/test/Analysis/CostModel/RISCV/rvv-shuffle.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-vectorextract.ll
    M llvm/test/Analysis/CostModel/RISCV/shuffle-extract_subvector.ll
    A llvm/test/CodeGen/AArch64/swifttail-funclet.ll
    M llvm/test/CodeGen/RISCV/atomic-cmpxchg-branch-on-result.ll
    M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
    M llvm/test/CodeGen/RISCV/atomic-rmw.ll
    A llvm/test/CodeGen/RISCV/branch-opt.mir
    A llvm/test/DebugInfo/fixed-point.ll
    A llvm/test/MC/ELF/rtti-proxy-arm-got-prel.ll
    M llvm/test/tools/llvm-dlltool/arm64ec.test
    M llvm/test/tools/llvm-objcopy/ELF/binary-output-target.test
    M llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
    M llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
    M llvm/utils/gn/secondary/clang/lib/ExtractAPI/BUILD.gn
    M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
    M llvm/utils/release/test-release.sh
    M mlir/include/mlir/Dialect/ArmSVE/IR/ArmSVE.td
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
    M mlir/lib/CAPI/Dialect/SparseTensor.cpp
    M mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp
    M mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
    M mlir/lib/Dialect/ArmSVE/Transforms/LegalizeForLLVMExport.cpp
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Dialect/SparseTensor/IR/Detail/LvlTypeParser.cpp
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorLevel.cpp
    M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
    M mlir/lib/TableGen/CodeGenHelpers.cpp
    M mlir/lib/TableGen/Pattern.cpp
    M mlir/lib/Target/LLVM/NVVM/Target.cpp
    M mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp
    M mlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir
    A mlir/test/Dialect/Affine/SuperVectorize/vectorize_affine_apply.mlir
    M mlir/test/Dialect/ArmSVE/invalid.mlir
    M mlir/test/Dialect/ArmSVE/legalize-for-llvm.mlir
    M mlir/test/Dialect/ArmSVE/roundtrip.mlir
    M mlir/test/Dialect/SparseTensor/invalid_encoding.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip_encoding.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/concatenate_dim_0.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_cast.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_cmp.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_1d_nwc_wcf.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_55.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_block.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_coo_test.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dot.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_expand.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_filter_conv2d.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_generate.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_index_dense.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matmul.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matrix_ops.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_reduction.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_permute.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pooling_nhwc.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_quantized_matmul.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom_prod.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom_sum.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reductions.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reductions_min.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reductions_prod.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_mm_fusion.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_scf_nested.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_select.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_semiring_select.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum_bf16.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum_c32.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum_f16.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_tanh.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_tensor_mul.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_unary.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_vector_ops.mlir
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
    M mlir/unittests/Dialect/SparseTensor/MergerTest.cpp

  Log Message:
  -----------
  Merge branch 'main' into users/fhahn/sroa-use-tbaa-for-matching-field-access


Compare: https://github.com/llvm/llvm-project/compare/39a460098440...a3baf66f3856


More information about the All-commits mailing list